:root {
  color-scheme: dark;
  --ink: #080b11;
  --ink-soft: #0d111a;
  --surface: #111722;
  --surface-raised: #151d29;
  --line: rgba(206, 222, 255, .13);
  --line-strong: rgba(206, 222, 255, .23);
  --text: #f4f7ff;
  --muted: #a8b3c6;
  --subtle: #748198;
  --blue: #8bbaff;
  --blue-bright: #c5dcff;
  --amber: #ffb44d;
  --violet: #bd8cff;
  --green: #8ed9b3;
  --red: #ff909a;
  --content: 1240px;
  --radius: 22px;
  --font-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; font-size: calc(16px * var(--font-scale)); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.high-contrast { --muted: #d5dced; --subtle: #bdc8da; --line: rgba(255,255,255,.32); --line-strong: rgba(255,255,255,.5); }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #a7caff; outline-offset: 3px; }
::selection { background: rgba(123, 173, 255, .35); color: white; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; border-radius: 9px; color: #06101f; background: #dbe9ff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.announcement { position: relative; z-index: 20; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 52px; background: #0d1624; border-bottom: 1px solid rgba(153, 192, 255, .14); color: #c7d6ec; text-align: center; font-size: .78rem; letter-spacing: .015em; }
.announcement strong { color: #e9f1ff; font-weight: 700; }
.announcement .announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px #7dafff; flex: 0 0 auto; }
.announce-close { position: absolute; right: max(20px, calc((100vw - var(--content))/2)); top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #b7c8df; font-size: .7rem; cursor: pointer; padding: 5px 8px; }
.site-header { position: sticky; top: 0; z-index: 15; background: rgba(8, 11, 17, .82); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(225, 235, 255, .08); }
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-fox { width: 39px; height: 39px; object-fit: contain; }
.brand-wordmark { width: 150px; max-height: 39px; object-fit: contain; }
.brand-label { display: grid; gap: 1px; }
.brand-label strong { font-size: .9rem; letter-spacing: .17em; font-weight: 650; }
.brand-label span { color: #91a0b7; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.nav-link { padding: 10px 13px; border-radius: 999px; color: #bdc7d7; font-size: .88rem; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; background: rgba(145, 181, 238, .11); }
.nav-actions { display: flex; align-items: center; gap: 11px; }
.mobile-toggle { display: none; min-width: 58px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #101723; cursor: pointer; font-size: .72rem; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: .9rem; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(105deg, #255cb0, #4388f3 52%, #2967c9); box-shadow: 0 7px 26px rgba(55, 117, 224, .24), inset 0 1px 0 rgba(255,255,255,.32); border-color: rgba(171, 205, 255, .58); }
.button-primary:hover { box-shadow: 0 9px 32px rgba(55, 117, 224, .34), inset 0 1px 0 rgba(255,255,255,.38); }
.button-quiet { color: #dbe6f8; border-color: var(--line-strong); background: rgba(10, 15, 24, .44); }
.button-quiet:hover { border-color: rgba(193, 215, 255, .5); background: rgba(148, 184, 245, .1); }
.button-small { min-height: 40px; padding-inline: 15px; font-size: .83rem; }
.button-text { color: #d9e7ff; border: 0; padding: 9px 0; background: transparent; cursor: pointer; font-weight: 630; }
.button-text:hover { color: #fff; }
.button-arrow { font-size: 1.1rem; line-height: 1; }

main { min-height: 70vh; }
.hero { position: relative; min-height: 735px; display: flex; align-items: flex-start; overflow: hidden; background-color: #070b12; background-image: linear-gradient(90deg, rgba(4,7,12,.77), rgba(4,7,12,.43) 54%, rgba(4,7,12,.12)), linear-gradient(0deg, #080b11 0%, transparent 42%), url('/assets/preview-horizon.webp'); background-position: center, center, center 48%; background-size: cover; }
.hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(ellipse at 48% 36%, rgba(36,81,145,.12), transparent 45%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(90px, 13vh, 160px); padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #b6c9e8; text-transform: uppercase; letter-spacing: .23em; font-size: .72rem; font-weight: 700; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px rgba(143, 188, 255, .9); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 790px; margin: 24px 0 18px; font-size: clamp(3.3rem, 7vw, 6.5rem); line-height: .99; letter-spacing: -.065em; font-weight: 590; text-wrap: balance; }
.hero h1 span { color: #9bc5ff; text-shadow: 0 5px 30px rgba(86, 152, 255, .2); }
.hero-copy { max-width: 600px; margin-bottom: 30px; color: #c1ccdc; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.hero-note { margin: 17px 0 0; color: #a7b4c8; font-size: .8rem; }
.hero-note strong { color: #d8e5fa; font-weight: 650; }
.hero-orbit-label { position: absolute; right: max(34px, calc((100vw - var(--content))/2)); bottom: 55px; z-index: 1; display: flex; align-items: center; gap: 10px; color: rgba(232, 241, 255, .65); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-orbit-label::before { content: ""; width: 36px; height: 1px; background: rgba(193, 217, 255, .48); }
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-kicker { margin: 0 0 11px; color: var(--blue); text-transform: uppercase; letter-spacing: .19em; font-size: .7rem; font-weight: 750; }
.section-heading h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1.1; font-weight: 560; }
.section-heading p { max-width: 440px; margin: 12px 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #cfe0ff; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.text-link:hover { color: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program-card { position: relative; overflow: hidden; min-height: 305px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(21, 29, 41, .96), rgba(12, 17, 25, .94)); transition: transform .22s, border-color .22s; }
.program-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.program-card.post { border-top: 2px solid rgba(255,180,77,.48); }
.program-card.gather { border-top: 2px solid rgba(189,140,255,.48); }
.program-card > * { position: relative; z-index: 1; }
.program-mark { width: 56px; height: 30px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.045); color: var(--blue-bright); font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.program-card.post .program-mark { color: var(--amber); border-color: rgba(255,180,77,.3); background: rgba(255,180,77,.075); }
.program-card.gather .program-mark { color: var(--violet); border-color: rgba(189,140,255,.3); background: rgba(189,140,255,.075); }
.program-type { color: var(--muted); text-transform: uppercase; letter-spacing: .17em; font-size: .68rem; font-weight: 700; }
.program-card h3 { margin: 5px 0 8px; font-size: 1.55rem; letter-spacing: -.035em; }
.program-card.post h3 span { color: var(--amber); }
.program-card.gather h3 span { color: var(--violet); }
.program-card p { max-width: 440px; margin-bottom: 21px; color: var(--muted); font-size: .94rem; }
.program-actions { display: flex; align-items: center; gap: 16px; }
.demo-label { color: #98abc5; font-size: .76rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-step { position: relative; padding: 27px 34px 30px 0; }
.how-step + .how-step { padding-left: 34px; border-left: 1px solid var(--line); }
.step-index { color: var(--blue); font-size: .74rem; letter-spacing: .15em; font-weight: 800; }
.how-step h3 { margin: 12px 0 7px; font-size: 1.12rem; }
.how-step p { margin: 0; max-width: 320px; color: var(--muted); font-size: .9rem; }
.trust-note { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-left: 2px solid var(--blue); background: rgba(110, 157, 231, .06); color: #c9d5e8; font-size: .9rem; }
.trust-note strong { display: block; margin-bottom: 4px; color: #f2f6ff; }
.trust-note p { margin: 0; }

.page-top { position: relative; padding: 78px 0 62px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 70% 0%, rgba(67,120,201,.17), transparent 38%), linear-gradient(180deg, #0b111b, #080b11); }
.page-top .wrap { position: relative; z-index: 1; }
.page-top h1 { max-width: 900px; margin: 20px 0 13px; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 590; }
.page-top p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: 30px; color: var(--subtle); font-size: .82rem; }
.breadcrumb a:hover { color: var(--text); }
.catalog-list { display: grid; gap: 16px; }
.catalog-row { display: grid; grid-template-columns: 64px minmax(190px, .9fr) minmax(240px, 1.2fr) auto; align-items: center; gap: 20px; padding: 21px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.catalog-row:hover { background: rgba(151, 182, 235, .045); }
.catalog-row:first-child { border-top: 1px solid var(--line); }
.catalog-row h3 { margin: 0 0 3px; font-size: 1.2rem; }
.catalog-row h3.post-name { color: var(--amber); }
.catalog-row h3.gather-name { color: var(--violet); }
.catalog-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.catalog-row .program-mark { margin: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(185,201,225,.18); border-radius: 999px; color: #c2cede; background: rgba(167, 187, 222, .06); font-size: .72rem; white-space: nowrap; }
.status-pill .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #9cb4d8; }
.status-pill.demo .status-dot { background: #e9c980; }
.status-pill.requested .status-dot { background: #83b9ff; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr); gap: clamp(32px, 5vw, 70px); align-items: center; padding: 80px 0 88px; }
.detail-hero.post { --accent: var(--amber); --accent-soft: rgba(255,180,77,.12); }
.detail-hero.gather { --accent: var(--violet); --accent-soft: rgba(189,140,255,.12); }
.detail-hero h1 { margin: 16px 0 14px; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.065em; line-height: .98; font-weight: 590; }
.detail-hero h1 span { color: var(--accent); }
.detail-hero-copy { max-width: 570px; color: #c0cad9; font-size: 1.08rem; }
.detail-hero .button-primary { background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 44%, #111), var(--accent)); border-color: color-mix(in srgb, var(--accent) 65%, white); color: #101018; box-shadow: 0 7px 25px color-mix(in srgb, var(--accent) 18%, transparent); }
.concept-figure { margin: 0; }
.concept-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.36); }
.concept-figure figcaption { margin-top: 10px; color: var(--subtle); font-size: .75rem; }
.detail-content { padding: 60px 0 100px; border-top: 1px solid var(--line); background: #0a0e15; }
.detail-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 34px; margin-top: 30px; }
.feature-item { padding-top: 15px; border-top: 1px solid var(--line); }
.feature-item strong { display: block; margin-bottom: 5px; font-size: .96rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .86rem; }
.eligibility { padding: 25px 26px; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,25,36,.72); }
.eligibility h3 { margin-bottom: 10px; font-size: 1.16rem; }
.eligibility p, .eligibility li { color: var(--muted); font-size: .9rem; }
.eligibility ul { margin: 17px 0 0; padding-left: 20px; }
.eligibility li + li { margin-top: 8px; }
.detail-callout { margin-top: 22px; padding: 15px 17px; border-radius: 12px; background: var(--accent-soft); color: #e3e7f2; font-size: .85rem; }

.dashboard-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 650px; border-bottom: 1px solid var(--line); }
.dashboard-side { padding: 30px 18px 26px max(24px, calc((100vw - var(--content))/2)); background: #0b1018; border-right: 1px solid var(--line); }
.dashboard-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 31px; color: #dbe6f5; font-size: .83rem; letter-spacing: .14em; }
.dashboard-brand img { width: 30px; height: 30px; object-fit: contain; }
.side-nav { display: grid; gap: 7px; }
.side-nav a { padding: 11px 12px; border-radius: 10px; color: #adb9cc; font-size: .87rem; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: white; background: rgba(148,181,241,.11); }
.demo-account-card { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.demo-account-card strong { display: block; color: var(--text); margin-bottom: 3px; }
.dashboard-main { width: 100%; max-width: 1200px; padding: 42px max(28px, calc((100vw - var(--content))/2)) 80px 42px; }
.demo-state { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; padding: 15px 17px; border: 1px solid rgba(237,200,122,.25); border-radius: 13px; background: rgba(237,200,122,.06); color: #e7d9b9; font-size: .84rem; }
.demo-state strong { display: block; margin-bottom: 2px; color: #fff0cd; }
.demo-state p { margin: 0; }
.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.dashboard-head h1 { margin: 8px 0 4px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -.05em; font-weight: 570; }
.dashboard-head p { margin: 0; color: var(--muted); }
.dash-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 46px; }
.summary-item { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,23,34,.67); }
.summary-item span { display: block; color: var(--subtle); font-size: .76rem; }
.summary-item strong { display: block; margin-top: 6px; font-size: 1.15rem; font-weight: 650; }
.dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 15px; }
.dash-section-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.025em; }
.dash-programs { display: grid; gap: 0; margin-bottom: 43px; border-top: 1px solid var(--line); }
.dash-program { display: grid; grid-template-columns: 55px minmax(180px, 1fr) minmax(140px, .7fr) auto; align-items: center; gap: 18px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.dash-program .program-mark { width: 48px; height: 28px; margin: 0; border-radius: 999px; }
.dash-program h3 { margin: 0 0 2px; font-size: .98rem; }
.dash-program p { margin: 0; color: var(--muted); font-size: .79rem; }
.dash-program .local-summary { margin-top: 5px; max-width: 390px; color: #8e9bb0; }
.dash-feedback-row { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(120px, .5fr) auto; align-items: center; gap: 18px; padding: 15px 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dash-feedback-row strong { font-size: .88rem; }
.dash-feedback-row p { margin: 3px 0 0; color: var(--muted); font-size: .79rem; }
.dash-feedback-empty { padding: 22px 0; color: var(--muted); border-top: 1px solid var(--line); }
.instruction-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 14px; }
.instruction { border-top: 1px solid var(--line); padding-top: 16px; }
.instruction strong { display: block; margin: 0 0 6px; font-size: .9rem; }
.instruction p { margin: 0; color: var(--muted); font-size: .84rem; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.form-panel { max-width: 780px; }
.form-panel h2 { margin-bottom: 8px; font-size: 1.55rem; letter-spacing: -.03em; }
.form-intro { color: var(--muted); margin-bottom: 25px; }
.form-demo-callout { margin-bottom: 24px; padding: 13px 15px; border-left: 2px solid #e3c274; background: rgba(227,194,116,.075); color: #e0d4b6; font-size: .83rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label, .field-label { color: #d7e0ee; font-weight: 630; font-size: .85rem; }
.field small { color: var(--subtle); font-size: .76rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 13px; color: var(--text); background: #0d131d; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #96bdff; box-shadow: 0 0 0 3px rgba(127,173,244,.16); }
.field textarea { min-height: 124px; resize: vertical; }
.field select { appearance: auto; }
.field input::placeholder, .field textarea::placeholder { color: #75839a; }
.form-check { display: flex; align-items: flex-start; gap: 11px; color: #c5d0df; font-size: .84rem; }
.form-check input { margin-top: 4px; accent-color: #81adf8; }
.form-aside { position: sticky; top: 110px; padding: 22px 23px; border: 1px solid var(--line); border-radius: 17px; background: #0e141e; }
.form-aside h3 { margin-bottom: 10px; font-size: 1rem; }
.form-aside p, .form-aside li { color: var(--muted); font-size: .81rem; }
.form-aside ul { margin: 14px 0 0; padding-left: 18px; }
.form-aside li + li { margin-top: 8px; }
.form-success { margin-top: 20px; padding: 17px 18px; border: 1px solid rgba(142,217,179,.34); border-radius: 13px; background: rgba(84,180,132,.09); color: #d7f4e5; }
.form-success strong { display: block; margin-bottom: 3px; }
.form-success p { margin: 0; color: #b9d9c9; font-size: .87rem; }
.error-text { display: none; color: #ffb0b8; font-size: .78rem; }
.field.invalid .error-text { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: rgba(255,144,154,.8); }

.auth-wrap { display: grid; place-items: center; padding: 80px 24px 110px; min-height: 520px; background: radial-gradient(ellipse at 50% 0%, rgba(76,126,205,.17), transparent 49%); }
.auth-panel { width: min(100%, 500px); padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: rgba(14,20,30,.95); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.auth-panel .brand { margin-bottom: 27px; }
.auth-panel h1 { margin-bottom: 8px; font-size: 2.1rem; letter-spacing: -.04em; }
.auth-panel p { color: var(--muted); }
.auth-panel .button { width: 100%; margin-top: 10px; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 23px 0; color: var(--subtle); font-size: .75rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.inline-notice { padding: 12px 14px; border-radius: 10px; background: rgba(137,177,244,.08); color: #c5d8f8; font-size: .83rem; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); gap: 40px; align-items: start; }
.account-card { padding: 25px 0; border-top: 1px solid var(--line); }
.account-card h2 { margin-bottom: 8px; font-size: 1.14rem; }
.account-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.account-details { display: grid; grid-template-columns: 135px 1fr; gap: 10px 16px; margin-top: 20px; font-size: .86rem; }
.account-details dt { color: var(--subtle); }
.account-details dd { margin: 0; color: #e5ecf8; }

.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 45px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; padding: 18px 3px; cursor: pointer; font-weight: 630; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: #abc7fa; font-size: 1.25rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 25px 18px 3px; margin: 0; color: var(--muted); font-size: .9rem; }
.help-contact { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); }
.accessibility-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(17,23,34,.72); }
.segmented button { min-height: 36px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .83rem; }
.segmented button[aria-pressed="true"] { background: rgba(143,181,244,.2); color: white; }
.check-control { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #d5dfed; }
.check-control input { accent-color: #85b6ff; }
.empty-state { padding: 28px 0; color: var(--muted); }
.not-found { text-align: center; padding: 100px 20px; }
.not-found h1 { font-size: 3rem; }

.site-footer { padding: 45px 0 32px; border-top: 1px solid var(--line); background: #070a0f; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 30px; }
.footer-brand p { max-width: 330px; margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 22px; color: #adb9ca; font-size: .84rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--subtle); font-size: .74rem; }
.footer-disclaimer { max-width: 620px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: min(380px, calc(100% - 32px)); padding: 15px 17px; border: 1px solid rgba(169,203,255,.28); border-radius: 13px; background: #121b2a; box-shadow: 0 14px 45px rgba(0,0,0,.4); color: #edf4ff; animation: toast-in .2s ease-out; }
.toast strong { display: block; font-size: .9rem; }
.toast span { display: block; margin-top: 3px; color: #b6c4d8; font-size: .81rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(1,4,9,.75); backdrop-filter: blur(10px); }
.modal { width: min(100%, 460px); padding: 28px; border: 1px solid var(--line-strong); border-radius: 19px; background: #101722; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.modal h2 { margin-bottom: 8px; font-size: 1.4rem; }
.modal p { color: var(--muted); font-size: .91rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.modal-close { float: right; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .78rem; }

@media (max-width: 960px) {
  .wrap { width: min(var(--content), calc(100% - 44px)); }
  .nav-shell { gap: 12px; }
  .brand-wordmark { width: 128px; }
  .main-nav { gap: 2px; }
  .nav-link { padding-inline: 9px; font-size: .81rem; }
  .detail-hero { gap: 35px; grid-template-columns: 1fr .88fr; }
  .dashboard-shell { grid-template-columns: 190px minmax(0,1fr); }
  .dashboard-side { padding-left: 22px; }
  .dashboard-main { padding-left: 26px; padding-right: 22px; }
  .dash-program { grid-template-columns: 48px minmax(140px,1fr) minmax(120px,.7fr); }
  .dash-program .program-action { grid-column: 2/-1; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 36px); }
  .announcement { justify-content: flex-start; text-align: left; padding: 8px 46px 8px 18px; font-size: .73rem; }
  .announce-close { right: 10px; }
  .nav-shell { min-height: 68px; justify-content: space-between; }
  .brand { gap: 9px; }
  .brand-fox { width: 34px; height: 34px; }
  .brand-wordmark { width: 120px; max-height: 33px; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 9px 18px 16px; border-bottom: 1px solid var(--line); background: rgba(8,11,17,.97); box-shadow: 0 18px 30px rgba(0,0,0,.34); }
  .main-nav.open { display: grid; }
  .nav-link { display: block; padding: 12px 14px; font-size: .94rem; }
  .nav-actions { gap: 8px; }
  .nav-actions .button { min-height: 39px; padding-inline: 14px; font-size: .8rem; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: 690px; background-position: center, center, 56% center; }
  .hero-inner { padding-top: 95px; padding-bottom: 45px; }
  .hero h1 { max-width: 630px; font-size: clamp(3.1rem, 12vw, 5rem); }
  .hero-copy { max-width: 520px; font-size: 1rem; }
  .hero-orbit-label { display: none; }
  .section { padding: 74px 0; }
  .section-tight { padding: 56px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  .section-heading p { margin-top: 8px; }
  .program-grid { grid-template-columns: 1fr; gap: 13px; }
  .program-card { min-height: 270px; padding: 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step, .how-step + .how-step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .how-step:last-child { border-bottom: 0; }
  .page-top { padding: 56px 0 45px; }
  .page-top h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .catalog-row { grid-template-columns: 48px 1fr auto; gap: 13px; padding: 17px 0; }
  .catalog-row .catalog-description { grid-column: 2/-1; grid-row: 2; }
  .catalog-row .program-mark { width: 48px; height: 27px; }
  .catalog-row .catalog-action { grid-column: 2/-1; }
  .detail-hero { grid-template-columns: 1fr; padding: 58px 0 62px; }
  .detail-hero h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .concept-image { aspect-ratio: 16/10; }
  .detail-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature-list { gap: 18px; }
  .dashboard-shell { display: block; }
  .dashboard-side { padding: 13px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-brand { display: none; }
  .side-nav { display: flex; overflow-x: auto; gap: 5px; }
  .side-nav a { flex: 0 0 auto; padding: 9px 12px; font-size: .8rem; }
  .demo-account-card { display: none; }
  .dashboard-main { padding: 25px 18px 60px; }
  .dashboard-head { align-items: flex-start; flex-direction: column; }
  .dash-summary { gap: 8px; margin: 19px 0 35px; }
  .summary-item { padding: 13px 12px; }
  .summary-item strong { font-size: .95rem; }
  .summary-item span { font-size: .68rem; }
  .dash-program { grid-template-columns: 48px 1fr; gap: 12px; }
  .dash-program .status-pill { grid-column: 2; justify-self: start; }
  .dash-program .program-action { grid-column: 2; }
  .dash-feedback-row { grid-template-columns: 1fr auto; gap: 9px; }
  .dash-feedback-row .status-pill { grid-column: 1/-1; justify-self: start; grid-row: 2; }
  .instruction-list { grid-template-columns: 1fr; gap: 17px; }
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .form-aside { position: static; order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .auth-wrap { padding: 54px 18px 75px; }
  .auth-panel { padding: 25px 21px; }
  .account-grid { grid-template-columns: 1fr; gap: 10px; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .brand-wordmark { width: 105px; }
  .nav-actions .button { padding-inline: 11px; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: 3.15rem; }
  .hero-actions .button { width: 100%; }
  .program-card { padding: 22px; }
  .feature-list { grid-template-columns: 1fr; }
  .dash-summary { grid-template-columns: 1fr 1fr; }
  .dash-summary .summary-item:last-child { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
