/* LA2AGE / modern Interlude. Loaded after the legacy bundle. */
.landing-page{--landing-bg:#f0f1f3;--landing-surface:#fff;--landing-text:#171c25;--landing-muted:#576171;--landing-border:#d9dde4;--landing-radius:16px;--landing-accent:#e72840;--landing-accent-glow:transparent;background:var(--landing-bg)}
.dark .landing-page{--landing-bg:#0c1016;--landing-surface:#131922;--landing-text:#f0f2f6;--landing-muted:#a0aabb;--landing-border:#28313e;--landing-accent:#ff4055;--landing-accent-soft:rgba(255,64,85,.1);--landing-dark:#090c11}
.landing-header,.dark .landing-header{background:var(--landing-bg);border-bottom:1px solid var(--landing-border);box-shadow:none;animation:none}
.landing-header.is-scrolled{background:var(--landing-bg)}
.landing-header>div,.landing-page .max-w-7xl{max-width:1280px}
.landing-btn-primary,.landing-btn-launcher,.landing-btn-ghost{border-radius:8px;box-shadow:none;min-height:48px}
.landing-btn-launcher{background:#e72840;padding:16px 25px}
.landing-btn-primary--sm,.landing-btn-launcher--sm{min-height:40px}
.landing-hero__actions .landing-btn-ghost {
    background: #10172280;
    border-color: #ffffff14;
    padding: 16px 23px;
}
.landing-hero{min-height:740px;align-items:center;background:#0c1016;isolation:isolate}
.landing-hero__bg{inset:0;animation:none!important;transform:none!important}
.landing-hero__bg img{object-position:70% 32%;animation:none!important;transform:none!important;opacity:.85}
.landing-hero__overlay{background:linear-gradient(90deg,#0c1016 0%,#0c1016ed 25%,#0c10168a 53%,#0c101610 85%),linear-gradient(0deg,#0c1016 0%,transparent 30%)}
.landing-hero__noise{display:none}
.landing-hero__content{max-width:1280px;padding:80px 32px 38px;text-align:left}
.landing-hero__badge{padding:0;border:0;border-radius:0;background:none;box-shadow:none;animation:none;backdrop-filter:none;color:#b8c3d3;font-size:11px;letter-spacing:.2em;text-shadow:none}
.landing-hero__badge-dot{display:none}
.landing-hero__title{font-size:clamp(64px,8vw,112px);letter-spacing:-.07em;line-height:1.04;margin-top:22px;max-width:790px;text-wrap:initial}
.modern-rate{color:#ff4055}
.modern-hero-line{display:block;font-size:clamp(27px,3.6vw,48px);letter-spacing:-.045em;line-height:1.2;margin-top:14px;font-weight:600}
.landing-hero__subtitle{margin:24px 0 0;max-width:430px;font-size:16px;line-height:1.75;text-wrap:initial;color:#b4becc}
.modern-launch {
    margin-top: 26px;
    color: #b8c4d2;
    font-size: 16px;
    line-height: 1.4;
}
.modern-launch time {
    color: #f0f2f6;
    font-weight: 650;
}
.landing-hero__controls {
    width: fit-content;
    max-width: 100%;
}
.landing-hero__actions {
    justify-content: flex-start;
    margin-top: 25px;
}
.landing-hero__teon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #19222e;
    color: #f0f2f6;
}
.landing-hero__teon-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.landing-hero__teon-date,
.landing-hero__teon-online {
    color: #c1ccda;
    font-size: 13px;
    line-height: 1.4;
}
.landing-hero__teon-date {
    margin-top: 3px;
}
.landing-hero__teon-online {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.landing-hero__teon-online::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-radius: 50%;
    background: #67d9ab;
}
.landing-hero__teon-online strong {
    color: #f0f2f6;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 479px) {
    .landing-hero__controls {
        width: min(100%, 340px);
    }
}
.landing-hero__servers{max-width:650px;margin:52px 0 0;gap:12px}
.landing-hero__servers--single{max-width:320px}
.landing-server-card{background:#39495e;border-radius:10px;padding:16px 18px;box-shadow:none}
.landing-server-card:hover{background:#39495e;box-shadow:none;transform:none}
.landing-hero .landing-server-card{border-color:transparent}
.landing-server-card__online-value{font-size:19px;font-weight:600}
.landing-server-card__status.is-active{animation:none;box-shadow:none}
.landing-server-card__meta{color:#d3dce8}
.landing-server-card__online-label{color:#d3dce8}
.landing-page a:focus-visible,.landing-page button:focus-visible,.landing-page summary:focus-visible{outline:2px solid var(--landing-accent);outline-offset:5px}
@media(min-width:1600px){.landing-hero{min-height:calc(100vw * 941 / 1672)}.landing-hero__bg img{object-position:center 0%}}
@media(max-width:1279px){.landing-hero__content{padding-top:64px}}
@media(max-width:767px){.landing-hero{min-height:0}.landing-hero__content{padding:64px 20px 32px}.landing-hero__title{font-size:72px}.modern-hero-line{font-size:30px;max-width:320px}.landing-hero__bg img{object-position:63% center;opacity:.55}.landing-hero__overlay{background:linear-gradient(90deg,#0c1016eb,#0c10165c),linear-gradient(0deg,#0c1016,transparent 70%)}.landing-hero__subtitle{font-size:14px;max-width:340px}.landing-hero__servers{margin-top:36px}.landing-hero__badge{font-size:10px;letter-spacing:.12em}.landing-hero__actions{gap:10px}.landing-hero__actions>a{font-size:13px;padding:14px 17px}.landing-hero__actions .text-sm{font-size:11px}}
@media(max-width:479px){.landing-hero__servers{grid-template-columns:1fr}.landing-hero__title{font-size:64px}.modern-launch{font-size:15px}.landing-hero__actions{align-items:stretch;flex-direction:column}.landing-hero__actions,.landing-hero__servers--single{max-width:340px}}
@media(prefers-reduced-motion:reduce){.landing-page *, .landing-page *:before,.landing-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Dedicated desktop and portrait hero art; composition already leaves space for text. */
.landing-hero__bg picture{display:block;width:100%;height:100%}
.landing-hero__bg img{opacity:1;object-position:75% center}
.landing-hero__overlay{background:linear-gradient(90deg,#0c1016aa 0%,#0c101650 35%,transparent 70%),linear-gradient(0deg,#0c1016 0%,transparent 24%)}
@media(min-width:1600px){.landing-hero__bg img{object-position:center 0%}}
@media(max-width:767px){.landing-hero__bg img{opacity:1;object-position:center top}.landing-hero__overlay{background:linear-gradient(90deg,#0c1016a6 0%,#0c101650 55%,#0c101610 100%),linear-gradient(0deg,#0c1016 0%,#0c101650 30%,transparent 70%)}}

/* Overlay header: transparent at the top, frosted glass on scroll. */
.landing-header.sticky,.dark .landing-header.sticky{position:fixed;inset:0 0 auto;width:100%;background:transparent;border-bottom:1px solid transparent;box-shadow:none;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);animation:none;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,backdrop-filter .25s ease}
.landing-header.is-scrolled,.landing-header:has(#landing-menu-btn[aria-expanded="true"]){background:rgba(240,241,243,.82);border-color:rgba(23,28,37,.1);box-shadow:0 8px 28px #0000000a;backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%)}
.landing-header.sticky.is-scrolled,.landing-header.sticky:has(#landing-menu-btn[aria-expanded="true"]){backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%)}
.dark .landing-header.sticky.is-scrolled,.dark .landing-header.sticky:has(#landing-menu-btn[aria-expanded="true"]){background:rgba(12,16,22,.76);border-color:rgba(255,255,255,.09);box-shadow:0 8px 28px #00000020}
.dark .landing-header.sticky.is-scrolled,.dark .landing-header.sticky:has(#landing-menu-btn[aria-expanded="true"]){backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%)}
.landing-header.sticky.is-scrolled{backdrop-filter:blur(20px) saturate(140%) !important;-webkit-backdrop-filter:blur(20px) saturate(140%) !important}
.dark .landing-header.sticky.is-scrolled{backdrop-filter:blur(20px) saturate(140%) !important;-webkit-backdrop-filter:blur(20px) saturate(140%) !important}
.landing-header.sticky:not(.is-scrolled):not(:has(#landing-menu-btn[aria-expanded="true"])) :is(.landing-nav-link,.landing-header-link,.landing-mobile-menu-btn){color:#dce3ed}
.landing-hero{padding-top:72px;min-height:812px}
@media(min-width:1600px){.landing-hero{min-height:calc(100vw * 941 / 1672)}}
@media(max-width:767px){.landing-hero{padding-top:64px;min-height:0}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.landing-header.is-scrolled,.landing-header:has(#landing-menu-btn[aria-expanded="true"]){background:#f0f1f3}.dark .landing-header.is-scrolled,.dark .landing-header:has(#landing-menu-btn[aria-expanded="true"]){background:#0c1016}}

.landing-header {
    --landing-language-bg: #171e29;
    --landing-language-selected: #303c4e;
    --landing-language-text: #f0f2f6;
    --landing-language-muted: #b6c1d0;
}
.landing-header:is(.is-scrolled, :has(#landing-menu-btn[aria-expanded="true"])) {
    --landing-language-bg: var(--landing-surface);
    --landing-language-selected: #e8ebf0;
    --landing-language-text: var(--landing-text);
    --landing-language-muted: var(--landing-muted);
}
.dark .landing-header:is(.is-scrolled, :has(#landing-menu-btn[aria-expanded="true"])) {
    --landing-language-selected: #293444;
}
.landing-header .ui-language-switch {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    margin: 0;
    border-radius: 8px;
    background: var(--landing-language-bg);
}
.landing-header .ui-language-switch__option {
    display: grid;
    place-items: center;
    width: 30px;
    height: 32px;
    padding: 0;
    border-radius: 5px;
    color: var(--landing-language-muted);
    font-size: 12px;
    font-weight: 700;
}
.landing-header .ui-language-switch__option[aria-current] {
    color: var(--landing-language-text);
    background: var(--landing-language-selected);
}


/* Interactive states for the public home page. */
.landing-page,
.landing-sticky-cta {
    --home-cta-hover: #c31b39;
    --home-control-hover: #e4e9ef;
    --home-control-border: #b7c1ce;
}
.dark .landing-page,
.landing-header.sticky:not(.is-scrolled):not(:has(#landing-menu-btn[aria-expanded="true"])),
.landing-hero {
    --home-control-hover: #283445;
    --home-control-border: #3b495d;
}

.landing-page :is(.landing-btn-primary, .landing-btn-launcher, .landing-mobile-menu__action--primary),
.landing-sticky-cta .landing-sticky-cta__btn {
    transition: background-color 150ms ease, border-color 150ms ease;
}
.landing-sticky-cta .landing-sticky-cta__btn {
    background: #e72840;
    box-shadow: none;
}
.landing-page :is(.landing-btn-primary, .landing-btn-launcher, .landing-mobile-menu__action--primary):hover,
.landing-sticky-cta .landing-sticky-cta__btn:hover {
    background: var(--home-cta-hover);
    border-color: var(--home-cta-hover);
    color: #fff;
    transform: none;
    filter: none;
    box-shadow: none;
}

.landing-header :is(.landing-nav-link, .landing-header-link, .landing-user-link,
    .landing-mobile-menu-btn, .landing-mobile-menu__link, .landing-mobile-menu__action:not(.landing-mobile-menu__action--primary),
    button.ui-language-switch__option, label[for="light-switch"]),
.landing-hero__actions .landing-btn-ghost {
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.landing-header :is(.landing-nav-link, .landing-header-link, .landing-user-link,
    .landing-mobile-menu-btn, .landing-mobile-menu__link, .landing-mobile-menu__action:not(.landing-mobile-menu__action--primary),
    button.ui-language-switch__option:not(:disabled)):hover,
.landing-header .landing-mobile-menu-btn[aria-expanded="true"] {
    background-color: var(--home-control-hover);
    border-color: var(--home-control-border);
    color: var(--landing-language-text);
    box-shadow: none;
}
.landing-header label[for="light-switch"] {
    /* The legacy theme toggle reads these variables on hover. */
    --landing-accent-soft: var(--home-control-hover);
    --landing-accent-border-hover: var(--home-control-border);
}
.landing-hero__actions .landing-btn-ghost:hover {
    background: var(--home-control-hover);
    border-color: #ffffff24;
    transform: none;
}
.landing-header .light-switch:focus-visible + label,
.landing-sticky-cta .landing-sticky-cta__btn:focus-visible {
    outline: 2px solid #ff9aab;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .landing-sticky-cta .landing-sticky-cta__btn {
        transition: none;
    }
}

/* The public landing page below the hero. */
:is(.teon-home, .teon-footer) {
    --teon-accent: #b31b3b;
    --teon-tint: #e9edf3;
    --teon-gutter: clamp(20px, 3.2vw, 48px);
    --teon-gap: clamp(20px, 2.4vw, 32px);
    color: var(--landing-text);
}
.dark :is(.teon-home, .teon-footer) {
    --teon-accent: #ff9aab;
    --teon-tint: #131922;
}
.teon-wrap {
    width: min(calc(100% - var(--teon-gutter) * 2), 1216px);
    margin-inline: auto;
}
.teon-section {
    padding-block: clamp(48px, 6vw, 88px);
    scroll-margin-top: 72px;
}
.teon-section--tint {
    background: var(--teon-tint);
}
.teon-home h2 {
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 720;
    line-height: 1.08;
    letter-spacing: -.05em;
    text-wrap: balance;
}
.teon-home h3 {
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.025em;
}
.teon-home p {
    margin-top: 8px;
    color: var(--landing-muted);
    font-size: 15px;
    line-height: 1.65;
}
.teon-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px var(--teon-gap);
    margin-bottom: var(--teon-gap);
}
.teon-home .teon-format {
    margin-top: 12px;
}
.teon-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--teon-gap);
}

.teon-home .teon-link {
    display: inline-block;
    padding-block: 5px;
    color: var(--teon-accent);
    font-size: 14px;
    font-weight: 650;
}
.teon-link small {
    margin-inline-start: 4px;
    font: inherit;
    font-size: .88em;
    font-weight: 500;
    color: var(--landing-muted);
}
.teon-home :is(.teon-link, summary),
.teon-guide h3,
.teon-footer a {
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
    transition: color 150ms ease;
}
.teon-home :is(.teon-link, summary):hover,
.teon-guide:hover h3,
.teon-footer a:hover {
    color: var(--teon-accent);
    text-decoration: underline;
}
.teon-home :is(a, summary):focus-visible,
.teon-footer a:focus-visible {
    outline: 2px solid var(--teon-accent);
    outline-offset: 4px;
}

.teon-rates {
    padding-bottom: var(--teon-gap);
}
.teon-rate {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    row-gap: 5px;
}
.teon-rate dt {
    grid-row: 2;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 600;
    line-height: 1.35;
}
.teon-rate__value {
    grid-row: 1;
    font-size: clamp(47px, 6.3vw, 86px);
    font-weight: 730;
    line-height: 1;
    letter-spacing: -.075em;
}
.teon-rate:first-child .teon-rate__value {
    color: var(--teon-accent);
}
.teon-rate__note,
.teon-mechanics dd span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--landing-muted);
}
.teon-mechanics {
    padding-top: var(--teon-gap);
    border-top: 1px solid var(--landing-border);
}
.teon-mechanics dt {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--landing-muted);
}
.teon-mechanics dd {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}
.teon-mechanics dd span {
    display: block;
    margin-top: 3px;
    font-weight: 400;
}

.teon-illustrated {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr);
    grid-template-areas: "heading art" "body art";
    grid-template-rows: max-content max-content;
    align-items: start;
    align-content: center;
    gap: 24px clamp(28px, 5vw, 72px);
}
.teon-illustrated--reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
    grid-template-areas: "art heading" "art body";
}
.teon-illustrated__heading {
    grid-area: heading;
    align-self: end;
}
.teon-illustrated__art {
    grid-area: art;
    align-self: center;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.teon-illustrated__body {
    grid-area: body;
    min-width: 0;
}
.teon-topics,
.teon-steps {
    display: grid;
    gap: 20px;
}
.teon-topics .teon-link,
.teon-steps .teon-link {
    margin-top: 5px;
}
.teon-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}
.teon-steps > li {
    display: grid;
    grid-template-columns: 2ch minmax(0, 1fr);
    gap: 12px;
}
.teon-step__number {
    font-variant-numeric: tabular-nums;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--teon-accent);
}

.teon-guide {
    display: grid;
    gap: 13px;
    color: var(--landing-text);
}
.teon-guide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}
.teon-guide p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.teon-faq {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr);
    gap: var(--teon-gap);
}
.teon-questions details + details {
    border-top: 1px solid var(--landing-border);
}
.teon-questions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 16px;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.teon-questions summary::-webkit-details-marker {
    display: none;
}
.teon-questions summary::after {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--teon-accent);
    background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
}
.teon-questions details[open] summary::after {
    background-size: 12px 1.5px, 0 0;
}
.teon-questions details p {
    max-width: 58ch;
    margin: 0;
    padding: 0 24px 16px 0;
}

.teon-footer {
    padding-block: 32px 20px;
    background: var(--teon-tint);
}
.teon-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--teon-gap);
}
.teon-footer__brand a {
    display: block;
    width: 112px;
    margin-bottom: 10px;
}
.teon-footer__brand p,
.teon-footer__base {
    color: var(--landing-muted);
    font-size: 13px;
    line-height: 1.6;
}
.teon-footer h2 {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 650;
}
.teon-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.teon-footer li a,
.teon-footer__base a {
    display: inline-block;
    padding-block: 5px;
    color: var(--landing-muted);
    font-size: 14px;
}
.teon-footer__base {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px var(--teon-gap);
    padding-top: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--landing-border);
}
.teon-footer__base div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

@media (max-width: 1023px) {
    .landing-page.has-sticky-cta {
        padding-bottom: 0;
    }
    .landing-page.has-sticky-cta .teon-footer {
        padding-bottom: calc(20px + 4.5rem + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 760px) {
    .teon-illustrated,
    .teon-illustrated--reverse {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "art" "body";
        gap: var(--teon-gap);
    }
    .teon-faq {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .teon-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .teon-rates {
        column-gap: 12px;
    }
    .teon-mechanics,
    .teon-guides {
        grid-template-columns: minmax(0, 1fr);
    }
    .teon-mechanics > div {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 8px;
    }
    .teon-guide {
        grid-template-columns: minmax(90px, 30%) minmax(0, 1fr);
        align-items: start;
    }
    .teon-guide p {
        display: none;
    }
}
