:root {
    --bg-0: #030709;
    --bg-1: #071013;
    --bg-2: #0b171a;
    --panel: rgba(8, 18, 21, .94);
    --panel-soft: rgba(11, 25, 28, .82);
    --line: rgba(197, 166, 101, .25);
    --line-strong: rgba(197, 166, 101, .55);
    --emerald: #2ad3a6;
    --emerald-deep: #08705f;
    --teal: #4ac7cf;
    --gold: #c9a665;
    --silver: #e3e8e8;
    --muted: #8c9b9e;
    --shadow: 0 24px 80px rgba(0, 0, 0, .48);
    --radius: 10px;
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--silver);
    background:
        radial-gradient(circle at 78% 8%, rgba(35, 150, 128, .13), transparent 24%),
        radial-gradient(circle at 18% 28%, rgba(197, 166, 101, .08), transparent 28%),
        linear-gradient(180deg, #030709 0%, #071013 42%, #04080a 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .15;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--emerald); }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: .01em; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 14px;
    color: #fff;
    background: #075244;
    border: 1px solid var(--emerald);
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.site-shell { overflow: hidden; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 12px max(22px, calc((100vw - var(--container)) / 2));
    background: rgba(3, 8, 10, .9);
    border-bottom: 1px solid rgba(197, 166, 101, .2);
    backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--emerald);
    border: 1px solid rgba(42, 211, 166, .52);
    transform: rotate(45deg);
    font: 700 22px Georgia, serif;
    box-shadow: 0 0 24px rgba(42,211,166,.1);
}
.brand__text { display: inline-flex; flex-direction: column; }
.brand__name { color: var(--gold); font: 600 25px/1 Georgia, "Times New Roman", serif; letter-spacing: .08em; text-shadow: 0 0 24px rgba(201, 166, 101, .24); }
.brand__studio { margin-top: 6px; color: #91a3a4; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.primary-nav a { color: #c6ced0; font-size: 14px; }
.primary-nav a:hover { color: var(--emerald); }
.topbar__actions { display: flex; gap: 10px; }
.nav-toggle { display: none; }

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--silver);
    background: rgba(7, 15, 18, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { color: #fff; transform: translateY(-1px); border-color: rgba(42, 211, 166, .72); box-shadow: 0 10px 34px rgba(0, 0, 0, .28), 0 0 24px rgba(42, 211, 166, .1); }
.button:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
.button:disabled, .button.is-disabled { opacity: .48; cursor: not-allowed; pointer-events: none; }
.button--primary { color: #effff9; border-color: rgba(67, 229, 181, .66); background: linear-gradient(180deg, #127a63, #075244); box-shadow: inset 0 0 18px rgba(76, 245, 195, .12), 0 0 25px rgba(25, 178, 143, .14); }
.button--teal { border-color: rgba(74, 199, 207, .6); background: linear-gradient(180deg, #14636b, #0b3e45); }
.button--gold { border-color: rgba(201, 166, 101, .7); background: linear-gradient(180deg, #6a5128, #3e2f1b); }
.button--ghost { background: rgba(8, 16, 19, .64); }
.button--large { min-height: 50px; padding-inline: 24px; }
.button--block { width: 100%; }

.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(197, 166, 101, .18);
    background:
        linear-gradient(90deg, rgba(2, 7, 9, .97) 0%, rgba(3, 9, 11, .88) 42%, rgba(4, 12, 15, .3) 72%, rgba(2, 7, 9, .72) 100%),
        radial-gradient(circle at 72% 42%, rgba(46, 228, 183, .24), transparent 18%),
        radial-gradient(circle at 75% 50%, rgba(30, 100, 106, .42), transparent 34%),
        linear-gradient(180deg, #0a1519, #04090b);
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before { opacity: .24; background: linear-gradient(155deg, transparent 0 58%, rgba(255,255,255,.03) 58.2% 58.4%, transparent 58.7%), repeating-linear-gradient(90deg, transparent 0 76px, rgba(255,255,255,.025) 77px, transparent 78px); }
.hero::after { background: linear-gradient(to top, #04090b 0%, transparent 35%); }
.hero__ambient { position: absolute; width: 620px; height: 620px; right: 8%; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(54, 224, 184, .12), transparent 66%); filter: blur(12px); }
.hero__content { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; padding-top: 42px; }
.hero__copy { padding: 48px 0 40px; }
.hero h1 { max-width: 660px; margin-bottom: 18px; font-size: clamp(54px, 6vw, 92px); line-height: .96; color: #f0f3f2; text-shadow: 0 4px 36px rgba(0, 0, 0, .78); }
.hero__copy > p { max-width: 650px; color: #b4c0c1; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero__meta span { padding: 5px 9px; color: #8ea0a2; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(0,0,0,.22); font-size: 11px; }

.portal-art { position: relative; min-height: 500px; }
.portal-art__ring, .portal-art__core, .portal-art__spire, .portal-art__glyph { position: absolute; left: 50%; transform: translateX(-50%); }
.portal-art__ring { border-radius: 50% 50% 46% 46%; border: 1px solid rgba(80, 239, 199, .48); box-shadow: inset 0 0 40px rgba(42, 211, 166, .12), 0 0 40px rgba(42, 211, 166, .08); }
.portal-art__ring--outer { width: 330px; height: 430px; top: 36px; border-width: 7px; border-color: rgba(171, 145, 91, .42); }
.portal-art__ring--middle { width: 285px; height: 385px; top: 58px; border-width: 4px; }
.portal-art__ring--inner { width: 230px; height: 330px; top: 86px; border-width: 2px; }
.portal-art__core { width: 190px; height: 285px; top: 110px; border-radius: 50% 50% 42% 42%; background: linear-gradient(180deg, rgba(99, 255, 220, .52), rgba(13, 102, 97, .18)); filter: blur(2px); box-shadow: 0 0 80px rgba(42, 211, 166, .38), inset 0 0 42px rgba(255,255,255,.18); }
.portal-art__core::after { content: ""; position: absolute; inset: 8% 18%; border-radius: 50%; background: radial-gradient(ellipse, rgba(226, 255, 248, .82), rgba(42, 211, 166, .2) 35%, transparent 72%); }
.portal-art__glyph { z-index: 4; top: 195px; color: rgba(231,255,248,.84); font: 700 64px Georgia, serif; text-shadow: 0 0 28px rgba(42,211,166,.72); }
.portal-art__spire { bottom: 28px; width: 92px; height: 270px; background: linear-gradient(90deg, transparent, rgba(12, 29, 32, .92), transparent); clip-path: polygon(46% 0, 54% 0, 64% 25%, 88% 100%, 12% 100%, 36% 25%); opacity: .9; }
.portal-art__spire--left { margin-left: -230px; height: 245px; }
.portal-art__spire--right { margin-left: 238px; height: 310px; }

.status-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 24px; min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: rgba(4, 11, 13, .88); box-shadow: var(--shadow); }
.status { display: inline-flex; align-items: center; gap: 8px; color: #b9c5c6; font-size: 13px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 12px currentColor; }
.status--online .status__dot { color: var(--emerald); background: var(--emerald); }
.status--pending .status__dot { color: var(--gold); background: var(--gold); }
.status__updated { margin-left: auto; color: #728184; font-size: 12px; }

.summary { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.summary-card, .section-card, .panel, .feature-grid article, .account-preview, .alpha-cta, .community-grid a {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(11, 25, 28, .94), rgba(6, 14, 17, .94));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255,255,255,.018);
}
.summary-card { min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px; border-radius: 7px; transition: transform .2s ease, border-color .2s ease; }
.summary-card:hover { transform: translateY(-2px); border-color: rgba(42, 211, 166, .46); }
.summary-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(42, 211, 166, .42); border-radius: 50%; color: var(--emerald); font-size: 24px; background: rgba(42, 211, 166, .06); }
.summary-card h2 { margin-bottom: 3px; font-size: 18px; }
.summary-card p { margin: 0; color: var(--muted); font-size: 13px; }
.summary-card__arrow { color: var(--gold); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; margin-top: 18px; }
.content-main, .sidebar { display: grid; gap: 18px; align-content: start; }
.section-card, .panel { padding: 18px; border-radius: var(--radius); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 0; font-size: 29px; }
.section-heading__note { color: #718083; font-size: 12px; }
.section-heading--center { justify-content: center; text-align: center; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-card { overflow: hidden; border: 1px solid rgba(197, 166, 101, .18); border-radius: 6px; background: rgba(3, 10, 12, .54); }
.news-card__image { height: 145px; display: flex; align-items: end; padding: 12px; border-bottom: 1px solid rgba(197, 166, 101, .18); background-size: cover; }
.news-card__image span { color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: .16em; }
.news-card__image--one { background: radial-gradient(circle at 72% 42%, rgba(43, 211, 166, .34), transparent 17%), linear-gradient(140deg, #233638, #0b1518 55%, #35291d); }
.news-card__image--two { background: radial-gradient(circle at 40% 48%, rgba(216, 104, 70, .46), transparent 19%), linear-gradient(140deg, #181d20, #3a1d18 56%, #080d0f); }
.news-card__image--three { background: radial-gradient(circle at 52% 30%, rgba(201, 166, 101, .22), transparent 19%), linear-gradient(140deg, #20272a, #0c1518 58%, #1a201e); }
.news-card time, .news-card h3, .news-card p { display: block; margin-inline: 14px; }
.news-card time { margin-top: 12px; color: var(--gold); font-size: 11px; }
.news-card h3 { margin-top: 7px; margin-bottom: 8px; font-size: 18px; }
.news-card p { margin-bottom: 16px; color: var(--muted); font-size: 13px; }

.timeline { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 96px; width: 1px; background: rgba(197, 166, 101, .22); }
.timeline li { display: grid; grid-template-columns: 82px auto 1fr; align-items: center; gap: 12px; }
.timeline time { color: #78878a; font-size: 11px; }
.timeline p { margin: 0; color: #adb8ba; font-size: 13px; }
.badge { display: inline-flex; width: max-content; padding: 3px 7px; border: 1px solid rgba(140,155,158,.28); border-radius: 999px; color: #9ca9ab; font: 700 9px/1.2 Inter, sans-serif; letter-spacing: .08em; }
.badge--green { color: #67e7bf; border-color: rgba(42, 211, 166, .34); background: rgba(42, 211, 166, .08); }
.badge--blue { color: #75d7df; border-color: rgba(74, 199, 207, .32); background: rgba(74, 199, 207, .07); }
.badge--gold { color: #d7b878; border-color: rgba(201, 166, 101, .34); background: rgba(201, 166, 101, .07); }

.diary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.diary-card { padding: 16px; border: 1px solid rgba(197, 166, 101, .18); border-radius: 6px; background: linear-gradient(145deg, rgba(18, 36, 39, .72), rgba(4, 11, 13, .7)); }
.diary-card__symbol { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 16px; color: var(--gold); border: 1px solid rgba(201, 166, 101, .34); border-radius: 50%; }
.diary-card h3 { margin-bottom: 8px; font-size: 18px; }
.diary-card p { color: var(--muted); font-size: 13px; }
.diary-card > span { color: var(--emerald); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.panel h2 { margin-bottom: 14px; font-size: 22px; }
.panel__lead { color: #a9b5b7; font-size: 13px; }
.roadmap-mini { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.roadmap-mini li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; opacity: .58; }
.roadmap-mini li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(197,166,101,.24); border-radius: 50%; color: var(--gold); font-size: 11px; }
.roadmap-mini li.is-active { opacity: 1; }
.roadmap-mini li.is-active > span { color: var(--emerald); border-color: rgba(42,211,166,.5); box-shadow: 0 0 18px rgba(42,211,166,.12); }
.roadmap-mini b, .roadmap-mini small { display: block; }
.roadmap-mini b { font-size: 13px; }
.roadmap-mini small { color: var(--muted); font-size: 11px; }
.check-list { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 20px; color: #b3bec0; font-size: 13px; }
.check-list li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--emerald); font-size: 9px; }

.world-card { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px; border: 1px solid rgba(42,211,166,.23); border-radius: 6px; background: rgba(42,211,166,.035); }
.world-card + .world-card { margin-top: 10px; }
.world-card--muted { opacity: .68; border-color: rgba(197,166,101,.16); background: rgba(255,255,255,.015); }
.world-card__emblem { width: 48px; height: 48px; display: grid; place-items: center; color: var(--emerald); border: 1px solid rgba(42,211,166,.4); transform: rotate(45deg); font: 600 22px Georgia, serif; }
.world-card__emblem span { transform: rotate(-45deg); }
.world-card h3 { margin-bottom: 5px; font-size: 16px; }
.world-card p { margin-bottom: 2px; color: var(--emerald); font-size: 12px; }
.world-card small { color: var(--muted); font-size: 11px; }

.features { margin-top: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.feature-grid article { min-height: 164px; padding: 18px 13px; text-align: center; border-radius: 7px; }
.feature-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border: 1px solid rgba(42,211,166,.34); border-radius: 50%; color: var(--emerald); font-size: 24px; }
.feature-grid h3 { margin-bottom: 8px; font-size: 17px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.account-preview { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 34px; margin-top: 24px; padding: 28px; border-radius: 10px; }
.account-preview h2 { margin-bottom: 12px; font-size: 31px; }
.account-preview p { color: #a9b5b7; }
.security-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.security-pills span { padding: 6px 10px; color: #9db0b2; border: 1px solid rgba(42,211,166,.18); border-radius: 999px; background: rgba(42,211,166,.035); font-size: 11px; }
.account-preview__window { overflow: hidden; border: 1px solid rgba(197,166,101,.28); border-radius: 8px; background: #061013; box-shadow: var(--shadow); }
.mock-window__bar { min-height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: #728184; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 10px; }
.mock-window__bar i { width: 8px; height: 8px; border-radius: 50%; background: #304044; }
.mock-window__bar span { margin-left: 8px; }
.mock-window__body { padding: 18px; }
.mock-profile { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 12px; }
.mock-profile b, .mock-profile small { display: block; }
.mock-profile small { margin-top: 3px; color: var(--muted); }
.mock-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: var(--emerald); border: 1px solid rgba(42,211,166,.4); transform: rotate(45deg); font: 700 20px Georgia, serif; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mock-stats span { padding: 10px; text-align: center; border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.018); }
.mock-stats b, .mock-stats small { display: block; }
.mock-stats b { color: var(--gold); }
.mock-stats small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.mock-row { height: 10px; margin-top: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(42,211,166,.16), rgba(255,255,255,.02)); }
.mock-row--short { width: 64%; }

.alpha-cta { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 20px; margin-top: 18px; padding: 20px 22px; border-color: rgba(42,211,166,.45); border-radius: 8px; background: linear-gradient(90deg, rgba(4,30,27,.96), rgba(7,63,51,.75), rgba(5,24,24,.96)); box-shadow: 0 0 44px rgba(42,211,166,.08), inset 0 0 32px rgba(42,211,166,.05); }
.alpha-cta__emblem { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(42,211,166,.5); color: var(--emerald); transform: rotate(45deg); font: 700 28px Georgia, serif; }
.alpha-cta__emblem span { transform: rotate(-45deg); }
.alpha-cta h2 { margin-bottom: 4px; font-size: 28px; }
.alpha-cta p { margin: 0; color: #aebabb; }

.community { margin-top: 34px; margin-bottom: 34px; }
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.community-grid a { display: flex; flex-direction: column; min-height: 110px; justify-content: center; padding: 18px; border-radius: 7px; transition: transform .2s ease, border-color .2s ease; }
.community-grid a:hover { transform: translateY(-2px); border-color: rgba(42,211,166,.48); }
.community-grid b { color: var(--gold); font: 500 22px Georgia, serif; }
.community-grid span { margin-top: 6px; color: var(--muted); font-size: 12px; }

.footer { padding: 28px 0 16px; border-top: 1px solid rgba(197,166,101,.18); background: rgba(2,7,9,.94); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.footer h2 { margin-bottom: 12px; color: var(--gold); font-size: 16px; }
.footer a, .footer span { display: block; margin: 6px 0; color: #829092; font-size: 12px; }
.footer__brand p { max-width: 250px; margin-top: 12px; color: #7c8a8d; font-size: 12px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.05); color: #667477; font-size: 11px; }

.alpha-dialog { width: min(520px, calc(100% - 30px)); color: var(--silver); border: 1px solid rgba(42,211,166,.44); border-radius: 10px; background: linear-gradient(180deg, #0b1a1d, #050c0e); box-shadow: 0 30px 100px rgba(0,0,0,.75); }
.alpha-dialog::backdrop { background: rgba(1,4,5,.76); backdrop-filter: blur(8px); }
.alpha-dialog h2 { margin-bottom: 10px; font-size: 30px; }
.alpha-dialog p { color: #a9b5b7; }
.alpha-dialog__close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; color: #9aa8aa; border: 1px solid rgba(255,255,255,.08); background: transparent; cursor: pointer; }
.alpha-dialog__actions { display: flex; gap: 10px; margin-top: 20px; }

@media (max-width: 1120px) {
    .topbar { grid-template-columns: auto auto 1fr; }
    .primary-nav { position: fixed; top: 74px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); background: rgba(3, 10, 12, .98); box-shadow: var(--shadow); }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.04); }
    .nav-toggle { display: grid; gap: 4px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; }
    .nav-toggle span:not(.sr-only) { height: 1px; background: #d8dede; }
    .topbar__actions { justify-self: end; }
    .summary { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .topbar { grid-template-columns: auto auto; }
    .topbar__actions { display: none; }
    .hero { min-height: auto; }
    .hero__content { grid-template-columns: 1fr; }
    .hero__copy { padding-bottom: 0; }
    .portal-art { min-height: 360px; opacity: .72; }
    .portal-art__ring--outer { width: 260px; height: 340px; }
    .portal-art__ring--middle { width: 220px; height: 300px; }
    .portal-art__ring--inner { width: 180px; height: 260px; }
    .portal-art__core { width: 150px; height: 220px; }
    .portal-art__glyph { top: 160px; font-size: 50px; }
    .status-bar { flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; }
    .status__updated { width: 100%; margin-left: 0; }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: repeat(2, 1fr); }
    .sidebar .panel:last-child { grid-column: 1 / -1; }
    .news-grid, .diary-grid { grid-template-columns: 1fr; }
    .news-card { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto 1fr; }
    .news-card__image { grid-row: 1 / -1; height: 100%; min-height: 180px; border-bottom: 0; border-right: 1px solid rgba(197,166,101,.18); }
    .account-preview { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .alpha-cta { grid-template-columns: 64px 1fr; }
    .alpha-cta .button { grid-column: 2; width: max-content; }
    .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .topbar { min-height: 66px; padding-inline: 12px; }
    .brand__mark { width: 36px; height: 36px; }
    .brand__name { font-size: 20px; }
    .brand__studio { font-size: 8px; }
    .primary-nav { top: 66px; left: 12px; right: 12px; }
    .hero__copy { padding-top: 42px; }
    .hero h1 { font-size: 48px; }
    .hero__copy > p { font-size: 16px; }
    .hero__actions { display: grid; }
    .button--large { width: 100%; }
    .portal-art { min-height: 310px; transform: scale(.86); transform-origin: top center; margin-bottom: -36px; }
    .status-bar { border-radius: 6px; }
    .summary { grid-template-columns: 1fr; }
    .section-card, .panel, .account-preview { padding: 14px; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 24px; }
    .section-heading__note { display: none; }
    .sidebar { grid-template-columns: 1fr; }
    .sidebar .panel:last-child { grid-column: auto; }
    .news-card { display: block; }
    .news-card__image { height: 150px; border-right: 0; border-bottom: 1px solid rgba(197,166,101,.18); }
    .timeline::before { left: 0; }
    .timeline li { grid-template-columns: 1fr; gap: 5px; padding-left: 14px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid article { min-height: 150px; }
    .account-preview h2 { font-size: 25px; }
    .alpha-cta { grid-template-columns: 1fr; text-align: center; }
    .alpha-cta__emblem { margin-inline: auto; }
    .alpha-cta .button { grid-column: auto; width: 100%; }
    .community-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__bottom { flex-direction: column; gap: 4px; }
    .alpha-dialog__actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Alpha application form — engine v0.1 */
.alpha-dialog--form {
    width: min(720px, calc(100% - 24px));
    max-height: min(900px, calc(100vh - 32px));
    overflow-y: auto;
}

.alpha-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 7px;
    color: #c9d2d2;
    font-size: 13px;
}

.form-field > span {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .03em;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(197, 166, 101, .3);
    border-radius: 5px;
    padding: 12px 13px;
    color: var(--silver);
    background: rgba(2, 9, 11, .78);
    outline: none;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(42, 211, 166, .72);
    box-shadow: 0 0 0 3px rgba(42, 211, 166, .08);
}

.form-field small,
.form-error {
    color: #ef9189;
    font-size: 12px;
}

.form-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    color: #aebabb;
    font-size: 13px;
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--emerald);
}

.form-field--honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 13px;
}

.form-message--success {
    color: #8ef0ce;
    border-color: rgba(42, 211, 166, .42);
    background: rgba(42, 211, 166, .08);
}

.form-message--error {
    color: #f0aaa4;
    border-color: rgba(211, 107, 99, .42);
    background: rgba(211, 107, 99, .08);
}

@media (max-width: 620px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .alpha-dialog--form .alpha-dialog__actions {
        display: grid;
    }
}

/* Dynamic content integration v0.2 */
.news-card a.news-card__image { display: block; }
.news-card__image span { display: inline-flex; margin: 12px; padding: 4px 7px; color: var(--gold); border: 1px solid rgba(201,166,101,.34); border-radius: 999px; background: rgba(3,9,11,.58); font: 700 9px/1 Inter, sans-serif; letter-spacing: .08em; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover, .timeline p a:hover { color: var(--emerald); }
.timeline p a { color: inherit; }


/* Elmorion CMS v0.4 homepage visibility */
[data-cms-disabled="true"] { display: none !important; }

