@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-regular.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-medium.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 500 700;
}

@font-face {
    font-family: "Albert Sans";
    src: url("../fonts/albert-sans-regular.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400 700;
}

:root {
    --access-bg: #08070a;
    --access-surface: #09080b;
    --access-surface-2: #0c0b0e;
    --access-text: #eeedee;
    --access-muted: rgba(238, 237, 238, 0.58);
    --access-dim: rgba(238, 237, 238, 0.42);
    --access-border: rgba(255, 255, 255, 0.075);
    --access-border-strong: rgba(255, 255, 255, 0.105);
    --access-success: #72c98e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--access-bg);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--access-text);
    background: var(--access-bg);
    font-family: "Geist", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.03em;
    -webkit-font-smoothing: antialiased;
}

.nav,
.access-hero,
.license-notice,
dream-footer {
    transition: filter 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

.guide-focus-mode .nav,
.guide-focus-mode .access-hero,
.guide-focus-mode .license-notice,
.guide-focus-mode dream-footer {
    filter: blur(12px);
    opacity: 0.16;
    pointer-events: none;
    user-select: none;
}

.guide-focus-mode .guide-wizard {
    border-color: rgba(255, 255, 255, 0.17);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

a {
    color: inherit;
}

.nav {
    width: calc(100% - 32px);
    max-width: 1240px;
    min-height: 68px;
    margin: 16px auto 0;
    padding: 8px 10px 8px 16px;
    position: sticky;
    top: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    border: 1px solid var(--access-border);
    border-radius: 18px;
    background: rgba(8, 7, 10, 0.88);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.logo {
    grid-column: 1;
    width: max-content;
    display: block;
    color: #fff;
    text-decoration: none;
}

.logo-mark {
    width: 92px;
    height: 30px;
    display: block;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ui-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-links {
    grid-column: 2;
    padding: 4px;
    display: flex;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: rgba(238, 237, 238, 0.58);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-links a:hover {
    color: var(--access-text);
}

.nav-links a.active {
    background: #fff;
    color: var(--access-bg);
}

.nav-right {
    grid-column: 3;
    justify-self: end;
}

.nav-action {
    min-height: 48px;
    padding: 7px 7px 7px 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--access-bg);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.16s ease;
}

.nav-action:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--access-bg);
}

.nav-action-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--access-bg);
    color: #fff;
}

.access-main {
    width: calc(100% - 32px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 0 120px;
}

.access-hero {
    min-height: 620px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--access-border);
    border-radius: 18px;
    background: #111;
}

.access-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 53% center;
    filter: brightness(0.65) contrast(1.06) saturate(0.86);
}

.access-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 48%);
}

.access-hero-content {
    position: absolute;
    z-index: 1;
    left: 38px;
    bottom: 38px;
    width: min(560px, calc(100% - 76px));
}

.eyebrow {
    margin: 0 0 13px;
    color: rgba(238, 237, 238, 0.46);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.access-hero h1,
.section-header h2,
.support-strip h2 {
    margin: 0;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-weight: 400;
    letter-spacing: -0.06em;
}

.access-hero h1 {
    max-width: 620px;
    font-size: clamp(54px, 6vw, 78px);
    line-height: 0.94;
}

.hero-copy {
    max-width: 520px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 15px;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.primary-action {
    min-height: 52px;
    padding: 8px 8px 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--access-bg);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.primary-action.compact {
    min-height: 50px;
}

.start-guide-action {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(6, 6, 7, 0.72);
    color: #fff;
    backdrop-filter: blur(12px);
}

.start-guide-action .primary-action-mark {
    background: #fff;
    color: var(--access-bg);
}

.primary-action-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--access-bg);
    color: #fff;
    line-height: 1;
}

.primary-action-mark .ui-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.video-action {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(6, 6, 7, 0.72);
    color: #fff;
    backdrop-filter: blur(12px);
}

.video-action-shell {
    position: relative;
    display: inline-flex;
}

.video-hover-preview {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: calc(100% + 14px);
    width: min(360px, 72vw);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: #080809;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px) scale(0.98);
    transform-origin: bottom center;
    transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-hover-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    pointer-events: none;
}

.video-action-shell.is-previewing .video-hover-preview {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.video-hover-preview iframe {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-hover-preview.is-playing iframe {
    opacity: 1;
}

.video-preview-poster,
.video-preview-poster img,
.video-preview-shade {
    position: absolute;
    inset: 0;
}

.video-preview-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-shade {
    background: rgba(0, 0, 0, 0.24);
}

.video-hover-preview .video-preview-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 42px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
    transform: translate(-50%, -50%);
}

.video-preview-time {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
}

.video-action .primary-action-mark {
    width: 38px;
    background: transparent;
}

.youtube-brand-icon {
    width: 32px;
    height: 24px;
    display: block;
    flex: 0 0 auto;
}

.text-action {
    color: rgba(238, 237, 238, 0.62);
    font-size: 13px;
    font-weight: 500;
    text-underline-offset: 4px;
    transition: color 0.16s ease;
}

.text-action:hover {
    color: #fff;
}

.guide-section {
    padding: 28px 0 0;
}

.guide-wizard {
    width: 100%;
    max-width: none;
    min-height: 560px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--access-border-strong);
    border-radius: 18px;
    background: var(--access-bg);
    transition: min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.wizard-header {
    min-height: 86px;
    padding: 20px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--access-border);
}

.wizard-header > div:first-child {
    display: grid;
    gap: 5px;
}

.wizard-header-actions {
    width: min(590px, 56%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.wizard-kicker {
    color: rgba(255, 255, 255, 0.5);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.wizard-counter {
    color: rgba(255, 255, 255, 0.9);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.wizard-step-current,
.wizard-step-total.is-complete {
    color: var(--access-success);
}

.wizard-progress {
    width: auto;
    max-width: 440px;
    flex: 1 1 auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    opacity: 1;
    visibility: visible;
    transition: max-width 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0s linear;
}

.wizard-collapse-toggle {
    width: 136px;
    min-height: 44px;
    padding: 7px 9px 7px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.82);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.03em;
    white-space: nowrap;
    cursor: pointer;
}

.wizard-collapse-toggle[hidden] {
    display: none;
}

.wizard-collapse-toggle .ui-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--access-bg);
    stroke-width: 1.8;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-collapse-toggle .ui-icon {
    transform: rotate(180deg);
}

.guide-wizard.is-collapsed .wizard-collapse-toggle .ui-icon {
    transform: rotate(0deg);
}

.wizard-progress span {
    min-width: 0;
    min-height: 34px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wizard-progress span::after {
    content: attr(data-label);
    overflow: hidden;
    color: rgba(255, 255, 255, 0.34);
    font-family: "Geist", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.wizard-progress span.is-active {
    border-color: #fff;
    background: #fff;
}

.wizard-progress span.is-active::after {
    color: #09090a;
}

.wizard-progress span.is-complete {
    border-color: #fff;
    background: #fff;
}

.wizard-progress span.is-complete::after {
    color: #09090a;
}

.wizard-stage {
    min-height: 390px;
    max-height: 620px;
    overflow: hidden;
    display: grid;
    opacity: 1;
    transition: min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.guide-wizard.is-collapsed {
    min-height: 0;
    border-color: rgba(255, 255, 255, 0.075);
    background: #070609;
}

.guide-wizard.is-collapsed .wizard-header {
    border-bottom-color: transparent;
}

.guide-wizard.is-collapsed .wizard-counter {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.76);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(26px, 2.3vw, 28px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
}

.guide-wizard.is-collapsed .wizard-kicker {
    color: rgba(255, 255, 255, 0.34);
}

.guide-wizard.is-collapsed .wizard-header-actions {
    width: auto;
}

.guide-wizard.is-collapsed .wizard-progress {
    max-width: 0;
    flex-basis: 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition-delay: 0s, 0s, 0.2s;
}

.guide-wizard.is-collapsed .wizard-stage {
    min-height: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.wizard-panel {
    min-height: 390px;
    padding: clamp(42px, 5vw, 62px) 38px;
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
    align-items: center;
    gap: clamp(36px, 6vw, 78px);
}

.wizard-panel[hidden] {
    display: none;
}

.wizard-panel.is-active {
    animation: wizard-panel-in 0.24s ease both;
}

@keyframes wizard-panel-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-copy h3 {
    max-width: 540px;
    margin: 0 0 16px;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.055em;
}

.wizard-copy > p:last-of-type {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.65;
}

.wizard-action {
    margin-top: 24px;
}

.discord-server-column {
    min-width: 0;
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.discord-server-column .wizard-action {
    margin-top: 0;
    order: 2;
}

.discord-join-action {
    width: min(100%, 330px);
    min-height: 62px;
    padding: 8px 9px 8px 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #fff;
    color: var(--access-bg);
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.discord-join-action:hover {
    background: rgba(255, 255, 255, 0.92);
}

.discord-join-brand {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #5865f2;
    color: #fff;
}

.discord-join-brand svg {
    width: 21px;
    height: 21px;
}

.discord-join-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 3px;
}

.discord-join-copy strong {
    color: #09090a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.discord-join-copy small {
    color: rgba(0, 0, 0, 0.48);
    font-size: 10px;
    line-height: 1.2;
}

.discord-join-arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #09090a;
    color: #fff;
}

.discord-join-arrow .ui-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    transition: transform 0.2s ease;
}

.discord-join-action:hover .discord-join-arrow .ui-icon {
    transform: translate(1px, -1px);
}

.wizard-note {
    min-height: 168px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--access-surface-2);
}

.wizard-note-number {
    color: rgba(255, 255, 255, 0.32);
    font-size: 11px;
    font-weight: 500;
}

.wizard-note p {
    max-width: 250px;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1.55;
}

.discord-server-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: var(--access-surface-2);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.discord-server-visual {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #111;
}

.discord-server-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.52));
}

.discord-server-visual > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.discord-server-badge {
    position: absolute;
    z-index: 1;
    top: 13px;
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(7, 6, 9, 0.66);
    color: rgba(255, 255, 255, 0.84);
    font-size: 10px;
    font-weight: 500;
    backdrop-filter: blur(12px);
}

.discord-server-badge {
    left: 13px;
}

.bot-screenshot,
.form-screenshot {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: #090807;
}

.bot-screenshot img,
.form-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.bot-screenshot figcaption,
.form-screenshot figcaption {
    min-height: 38px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 500;
}

.wizard-panel-complete {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.wizard-panel-complete .wizard-copy {
    max-width: 660px;
}

.wizard-panel-complete .wizard-copy h3,
.wizard-panel-complete .wizard-copy > p:last-of-type {
    margin-right: auto;
    margin-left: auto;
}

.completion-action {
    margin: 28px auto 0;
}

.wizard-controls {
    min-height: 84px;
    max-height: 100px;
    padding: 16px 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--access-border);
    opacity: 1;
    transition: min-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, border-color 0.3s ease;
}

.guide-wizard.is-collapsed .wizard-controls {
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    opacity: 0;
    pointer-events: none;
}

.wizard-button {
    width: max-content;
    min-height: 50px;
    padding: 7px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--access-bg);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.03em;
    cursor: pointer;
    box-shadow: none;
    transition: none;
}

.wizard-button:hover:not(:disabled) {
    background: #fff;
    color: var(--access-bg);
    transform: none;
    box-shadow: none;
}

.wizard-button:disabled:not(.is-activating) {
    opacity: 0.3;
    cursor: default;
}

.wizard-button[hidden] {
    display: none;
}

.wizard-back {
    justify-self: start;
    padding-right: 19px;
}

.wizard-next {
    justify-self: end;
    padding-left: 19px;
}

.wizard-button > span,
.wizard-button > .ui-icon {
    position: relative;
    z-index: 1;
}

.wizard-button::before {
    content: "";
    width: 34px;
    height: 34px;
    position: absolute;
    top: 50%;
    z-index: 0;
    border-radius: 50%;
    background: var(--access-bg);
    transform: translateY(-50%) scale(1);
    pointer-events: none;
}

.wizard-back::before {
    left: 7px;
}

.wizard-next::before {
    right: 7px;
}

.wizard-button .ui-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    padding: 10px;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    box-sizing: border-box;
    transition: none;
}

.wizard-button.is-activating {
    animation: wizard-control-ink 480ms ease both;
}

.wizard-button.is-activating::before {
    animation: wizard-control-fill 480ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes wizard-control-fill {
    0%, 100% { transform: translateY(-50%) scale(1); }
    42%, 64% { transform: translateY(-50%) scale(8); }
}

@keyframes wizard-control-ink {
    0%, 20%, 88%, 100% { color: var(--access-bg); }
    42%, 70% { color: #fff; }
}

.wizard-dots {
    display: flex;
    gap: 7px;
}

.wizard-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    transition: background-color 0.2s ease;
}

.wizard-dots span.is-active,
.wizard-dots span.is-complete {
    background: #fff;
}

.section-header {
    margin-bottom: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    column-gap: 72px;
    align-items: end;
}

.section-header h2 {
    font-size: clamp(46px, 5.5vw, 72px);
    line-height: 0.94;
}

.section-copy {
    max-width: 460px;
    margin: 0;
    color: rgba(238, 237, 238, 0.5);
    font-size: 14px;
    line-height: 1.65;
}

.ready-card {
    max-width: 1080px;
    margin: 0 auto 24px;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 42px;
    align-items: center;
    border: 1px solid var(--access-border-strong);
    border-radius: 14px;
    background: var(--access-surface);
}

.ready-copy h3 {
    margin: 0 0 12px;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.ready-copy > p:last-child {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.6;
}

.ready-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ready-item {
    min-height: 86px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--access-surface-2);
}

.ready-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.68);
}

.ready-mark .ui-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.ready-item div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ready-item strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 500;
}

.ready-item div > span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    line-height: 1.35;
}

.steps-list {
    max-width: 1080px;
    margin: 0 auto;
}

.step-row {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.step-index {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.step-card {
    min-height: 210px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--access-border-strong);
    border-radius: 14px;
    background: var(--access-surface);
}

.step-card-split,
.verification-card,
.final-step-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 36px;
    align-items: center;
}

.step-label {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.license-notice {
    margin-top: 18px;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--access-border-strong);
    border-radius: 18px;
    background: var(--access-bg);
    transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.license-notice:not(.is-open) {
    padding-top: 8px;
    padding-bottom: 8px;
}

.license-notice-header {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.license-toggle-action {
    width: 136px;
    min-height: 44px;
    padding: 7px 9px 7px 16px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.82);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.03em;
    cursor: pointer;
}

.license-toggle-action .ui-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--access-bg);
    stroke-width: 1.8;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.license-notice.is-open .license-toggle-action .ui-icon {
    transform: rotate(180deg);
}

.compact-toggle {
    width: 136px;
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 7px 8px 7px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.82);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
    cursor: pointer;
}

.compact-toggle > span {
    line-height: 1;
}

.compact-toggle .ui-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--access-bg);
    stroke-width: 1.8;
}

.license-toggle-action.compact-toggle {
    width: 120px;
}

.license-notice-label {
    margin: 0 0 7px;
    color: rgba(255, 255, 255, 0.5);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.license-notice-copy h2 {
    margin: 0;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(26px, 2.3vw, 28px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
}

.license-error-name {
    margin: 9px 0 0;
    color: #ff4b4b;
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.license-notice-body {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.65fr);
    align-items: stretch;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
        max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        margin-top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.7s;
}

.license-notice.is-open .license-notice-body {
    max-height: 1600px;
    margin-top: 28px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.license-error-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: #080808;
}

.license-error-image img {
    width: 100%;
    height: auto;
    display: block;
}

.license-solution {
    padding: 26px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.license-solution-label {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.46);
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.license-solution h3 {
    margin: 0;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
}

.license-solution > p:not(.license-solution-label) {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
    line-height: 1.65;
}

.license-solution code {
    color: rgba(255, 255, 255, 0.74);
    font-family: "Geist", sans-serif;
    font-size: inherit;
}

.license-video-link {
    width: min(100%, 320px);
    min-height: 60px;
    margin-top: auto;
    padding: 7px 8px 7px 12px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: var(--access-bg);
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.license-video-link:hover {
    background: rgba(255, 255, 255, 0.92);
}

.license-youtube-mark {
    width: 38px;
    height: 28px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    background: transparent;
}

.license-youtube-mark .youtube-brand-icon {
    width: 38px;
    height: 28px;
}

.license-video-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
}

.license-video-copy strong {
    color: #09090a;
    font-family: "Geist", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.license-video-copy small {
    color: rgba(0, 0, 0, 0.48);
    font-family: "Geist", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
}

.license-video-arrow {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #09090a;
    color: #fff;
}

.license-video-arrow .ui-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    transition: transform 0.2s ease;
}

.license-video-link:hover .license-video-arrow .ui-icon {
    transform: translate(1px, -1px);
}

.step-copy h3 {
    margin: 0 0 12px;
    color: var(--access-text);
    font-family: "Albert Sans", "Geist", sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.step-copy > p:last-child {
    max-width: 530px;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.6;
}

.step-link,
.support-action {
    width: max-content;
    min-height: 44px;
    padding: 0 16px;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.16s ease;
}

.step-link:hover,
.support-action:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.step-link.light {
    background: #fff;
    color: var(--access-bg);
}

.discord-preview,
.verification-preview {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--access-surface-2);
}

.discord-preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.discord-preview-brand,
.verification-preview-head span {
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.discord-preview strong,
.verification-preview-head strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.discord-preview > span:not(.discord-preview-brand):not(.discord-preview-button) {
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    line-height: 1.45;
}

.discord-preview-button {
    min-height: 34px;
    margin-top: 7px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    background: #5865f2;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.verification-preview-head {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.verification-field {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 500;
}

.verification-value {
    min-height: 36px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    background: #0a0a0c;
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
    font-weight: 400;
}

.verification-success {
    margin-top: 14px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.verification-success-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0c;
    font-size: 12px;
    font-weight: 700;
}

.verification-success div {
    display: grid;
    gap: 2px;
}

.verification-success strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 500;
}

.verification-success div span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.final-step-side {
    display: grid;
    justify-items: end;
    gap: 14px;
}

.access-result {
    width: min(100%, 310px);
    padding: 16px;
    display: grid;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--access-surface-2);
}

.access-result-label {
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.access-result div {
    min-height: 34px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 7px;
    background: #0a0a0c;
    color: rgba(255, 255, 255, 0.46);
    font-size: 10px;
}

.access-result strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.support-strip {
    min-height: 240px;
    margin-top: 28px;
    padding: 38px 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    border: 1px solid var(--access-border);
    border-radius: 18px;
    background: var(--access-surface);
}

.support-strip h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 0.98;
}

.support-strip p:last-child {
    max-width: 570px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.6;
}

.support-action {
    justify-self: auto;
}

@media (max-width: 900px) {
    .nav {
        width: calc(100% - 24px);
        height: auto;
        padding: 12px;
        grid-template-columns: 1fr auto;
    }

    .logo-mark {
        width: 84px;
        height: 27px;
    }

    .nav-right {
        grid-column: 2;
        grid-row: 1;
    }

    .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 10px;
        overflow-x: auto;
    }

    .nav-links a {
        flex: 1 0 auto;
        justify-content: center;
    }

    .access-main {
        width: calc(100% - 24px);
        padding-top: 24px;
    }

    .access-hero {
        min-height: 590px;
    }

    .section-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wizard-panel {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 30px;
    }

    .step-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-index {
        margin: 0;
    }

    .ready-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .license-notice-body {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {
    .nav-action {
        min-height: 40px;
        padding-inline: 13px;
    }

    .access-hero {
        min-height: 610px;
    }

    .access-hero-image {
        object-position: 58% center;
    }

    .access-hero-overlay {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.08) 82%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 30%);
    }

    .access-hero-content {
        right: 24px;
        bottom: 28px;
        left: 24px;
        width: auto;
    }

    .access-hero h1 {
        font-size: 52px;
    }

    .guide-section {
        padding-top: 18px;
    }

    .license-notice {
        padding: 22px 20px;
    }

    .license-notice-header {
        align-items: flex-start;
        gap: 12px;
    }

    .license-toggle-action {
        width: 44px;
        min-width: 44px;
        padding: 7px;
    }

    .license-toggle-action.compact-toggle {
        width: 44px;
    }

    .license-toggle-action > span {
        display: none;
    }

    .license-notice.is-open .license-notice-body {
        margin-top: 22px;
        gap: 18px;
    }

    .license-solution {
        padding: 22px;
    }

    .guide-wizard {
        min-height: 0;
    }

    .wizard-header {
        min-height: 78px;
        padding: 18px 20px;
    }

    .guide-wizard:not(.is-collapsed) .wizard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .wizard-header-actions {
        width: 58%;
        gap: 8px;
    }

    .guide-wizard:not(.is-collapsed) .wizard-header-actions {
        width: 100%;
    }

    .wizard-progress {
        width: auto;
        max-width: none;
        gap: 4px;
    }

    .wizard-progress span {
        min-height: 32px;
        padding: 4px 6px;
        justify-content: center;
    }

    .wizard-progress span::after {
        display: block;
        font-size: 9px;
    }

    .wizard-collapse-toggle {
        width: 44px;
        min-height: 44px;
        padding: 7px;
    }

    .wizard-collapse-toggle span {
        display: none;
    }

    .wizard-stage,
    .wizard-panel {
        min-height: 520px;
    }

    .wizard-stage {
        max-height: 1100px;
    }

    .wizard-panel {
        padding: 30px 20px;
    }

    .wizard-copy h3 {
        font-size: 38px;
    }

    .wizard-controls {
        padding: 14px;
        gap: 12px;
    }

    .wizard-button {
        min-height: 42px;
        padding-inline: 13px;
        gap: 9px;
    }

    .section-header h2 {
        font-size: 48px;
    }

    .step-card,
    .step-card-split,
    .verification-card,
    .final-step-card {
        padding: 24px 20px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ready-card {
        padding: 24px 20px;
    }

    .ready-items {
        grid-template-columns: 1fr;
    }

    .step-link {
        justify-self: start;
    }

    .final-step-side {
        justify-items: start;
        width: 100%;
    }

    .access-result {
        width: 100%;
    }

    .support-strip {
        padding: 32px 24px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .support-action {
        justify-self: start;
    }
}

@media (max-width: 440px) {
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .access-hero h1 {
        font-size: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
