/* 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-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-launcher:hover{box-shadow:0 8px 28px #e7284026}
.landing-btn-primary--sm,.landing-btn-launcher--sm{min-height:40px}
.landing-btn-ghost{background:#10172280;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{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px;color:#acb9ca;font-size:16px;line-height:1.4}
.modern-launch>span{width:8px;height:8px;border-radius:50%;background:#67d9ab}
.modern-launch b{font-weight:600;border-left:1px solid #ffffff30;padding-left:12px;color:#edf1f7}
.landing-hero__actions{justify-content:flex-start;margin-top:25px}
.landing-hero__servers{max-width:650px;margin:52px 0 0;gap:12px}
.landing-server-card{background:#121a25a6;border-radius:10px;padding:16px 18px;box-shadow:none}
.landing-server-card:hover{background:#182130;box-shadow:none;transform:none}
.landing-hero :is(.landing-btn-ghost,.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:#a5b1c1}
.landing-server-card__online-label{color:#a5b1c1}
.landing-hero__anchors{display:none}
.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;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%)}}

.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}}

.landing-topbar.sticky {
    --bar-text: #f0f2f6;
    --bar-accent: #ff9aab;
    --bar-control: #171e29;
    --bar-hover: #293444;
    --bar-border: #3a4454;
    --bar-selected: #303c4e;
    --bar-quiet: #b6c1d0;
    --bar-panel: var(--landing-surface);
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: linear-gradient(180deg, #0c1016e0, #0c101600);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    animation: none;
    color: var(--bar-text);
    transition: background-color 150ms ease, border-color 150ms ease;
}
.landing-topbar.sticky:is(.is-scrolled, :has(#landing-menu-btn[aria-expanded="true"])) {
    --bar-text: #171c25;
    --bar-accent: #b31b3b;
    --bar-control: #fff;
    --bar-hover: #e8ebf0;
    --bar-border: #d3d9e2;
    --bar-selected: #e8ebf0;
    --bar-quiet: #576171;
    background: var(--landing-bg);
    border-color: var(--landing-border);
}
.dark .landing-topbar.sticky:is(.is-scrolled, :has(#landing-menu-btn[aria-expanded="true"])) {
    --bar-text: #f0f2f6;
    --bar-accent: #ff9aab;
    --bar-control: #131922;
    --bar-hover: #25303e;
    --bar-border: #323c4a;
    --bar-selected: #293444;
    --bar-quiet: #a0aabb;
}
.landing-topbar__row {
    width: min(100% - 32px, 1216px);
    min-height: 64px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.landing-topbar__brand {
    display: block;
    width: 104px;
    flex: none;
}
.landing-topbar__controls,
.landing-topbar__account {
    display: flex;
    align-items: center;
    gap: 8px;
}
.landing-topbar__desktop,
.landing-topbar__account,
.landing-topbar__mobile[hidden] {
    display: none;
}
.landing-topbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.landing-topbar .landing-topbar__link {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    color: var(--bar-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
    transition: color 150ms ease;
}
.landing-topbar .landing-topbar__link:hover {
    color: var(--bar-accent);
    text-decoration: underline;
}
.landing-topbar .landing-topbar__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    padding: 7px 13px;
    border-radius: 8px;
    background: #c91d40;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    transition: background-color 150ms ease;
}
.landing-topbar .landing-topbar__register:hover {
    background: #aa1737;
}
.landing-topbar .landing-topbar__register:active {
    background: #91142e;
}
.landing-topbar :is(a, button, summary):focus-visible,
.landing-topbar__theme .light-switch:focus-visible + label {
    outline: 2px solid var(--bar-accent);
    outline-offset: 3px;
}
.landing-topbar .ui-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    padding: 3px;
    margin: 0;
    border: 1px solid var(--bar-border);
    border-radius: 8px;
    background: var(--bar-control);
}
.landing-topbar .ui-language-switch__option {
    display: grid;
    place-items: center;
    width: 30px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--bar-quiet);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.landing-topbar .ui-language-switch__option[aria-current] {
    background: var(--bar-selected);
    color: var(--bar-text);
}
.landing-topbar button.ui-language-switch__option:not(:disabled):hover {
    color: var(--bar-text);
    background: var(--bar-hover);
}
.landing-topbar__theme .ui-icon-button,
.landing-topbar__toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--bar-border);
    border-radius: 8px;
    background: var(--bar-control);
    color: var(--bar-text);
    transition: background-color 150ms ease;
}
.landing-topbar__theme .ui-icon-button:hover,
.landing-topbar__toggle:hover {
    background: var(--bar-hover);
}
.landing-topbar__theme svg {
    color: currentColor;
}

.landing-topbar__mobile {
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom, 0px));
    background: var(--bar-panel);
    border-top: 1px solid var(--landing-border);
}
.landing-topbar__mobile-grid,
.landing-topbar__mobile-actions {
    width: min(100%, 480px);
    margin-inline: auto;
}
.landing-topbar__mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.landing-topbar__mobile-grid h2 {
    margin-bottom: 4px;
    color: var(--bar-quiet);
    font-size: 13px;
    font-weight: 650;
}
.landing-topbar__mobile .landing-topbar__link {
    display: block;
    min-height: 44px;
    padding-block: 12px;
}
.landing-topbar__mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 12px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--landing-border);
}
.landing-topbar__mobile-actions .landing-topbar__download {
    flex-basis: 100%;
}
.landing-topbar__mobile-actions .landing-topbar__register {
    margin-left: auto;
}

@media (min-width: 1024px) {
    .landing-topbar__row {
        display: grid;
        grid-template-columns: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
        width: min(100% - 64px, 1216px);
        min-height: 72px;
    }
    .landing-topbar__brand {
        width: 120px;
    }
    .landing-topbar__desktop {
        display: block;
    }
    .landing-topbar__controls {
        justify-self: end;
        gap: 10px;
    }
    .landing-topbar__account,
    .landing-topbar__desktop > ul {
        display: flex;
        align-items: center;
        gap: clamp(10px, 1.35vw, 22px);
    }
    .landing-topbar__disclosure {
        position: relative;
    }
    .landing-topbar__disclosure summary {
        list-style: none;
        cursor: pointer;
    }
    .landing-topbar__disclosure summary::-webkit-details-marker {
        display: none;
    }
    .landing-topbar__disclosure[open] summary {
        color: var(--bar-accent);
    }
    .landing-topbar__disclosure[open] summary svg {
        transform: rotate(180deg);
    }
    .landing-topbar__disclosure .landing-topbar__dropdown {
        position: absolute;
        inset: calc(100% + 4px) auto auto 0;
        width: max-content;
        min-width: 180px;
        padding: 5px 12px;
        border: 1px solid var(--landing-border);
        border-radius: 10px;
        background: var(--bar-panel);
        box-shadow: 0 6px 20px #0002;
    }
    .landing-topbar__dropdown .landing-topbar__link {
        color: var(--landing-text);
    }
    .landing-topbar__dropdown .landing-topbar__link:hover {
        color: #b31b3b;
    }
    .dark .landing-topbar__dropdown .landing-topbar__link:hover {
        color: #ff9aab;
    }
    .landing-topbar__dropdown a:focus-visible {
        outline-color: #b31b3b;
    }
    .dark .landing-topbar__dropdown a:focus-visible {
        outline-color: #ff9aab;
    }
    .landing-topbar__toggle,
    .landing-topbar__mobile {
        display: 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;
    }
}
