:root {
  --bg: #05070b;
  --panel: rgba(12, 17, 27, .76);
  --ink: #f4f5f6;
  --muted: #aeb8c8;
  --line: rgba(225, 234, 255, .17);
  --blue: #82a7ff;
  --cyan: #62f3d3;
  --paper: #edf0f6;
  --paper-ink: #141a24;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: auto; opacity: .84; }
.site-header, main, footer { position: relative; z-index: 1; }
.skip-link { position: fixed; z-index: 40; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--cyan); color: #06100f; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1240px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); text-decoration: none; font: 900 1.05rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.wordmark span { color: var(--cyan); }
nav { display: flex; gap: 1.3rem; }
nav a, footer a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 720; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { color: var(--cyan); }

.header-cta, .primary-button, .secondary-button, .copy-button, .text-button, .download-link { border-radius: 9px; font-weight: 820; cursor: pointer; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.header-cta, .primary-button { border: 1px solid rgba(130,167,255,.8); color: white; background: linear-gradient(135deg, #3966dc, #3d977f); padding: .8rem 1rem; }
.header-cta { font-size: .85rem; }
.primary-button:hover, .header-cta:hover, .secondary-button:hover, .copy-button:hover, .download-link:hover { transform: translateY(-2px); }
.secondary-button, .download-link { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: .8rem 1rem; background: rgba(10,15,25,.55); color: var(--ink); }
.text-button { padding: 0; border: 0; color: var(--cyan); background: transparent; text-decoration: underline; }

.hero { width: min(1240px, calc(100% - 40px)); min-height: calc(100svh - 78px); margin: 0 auto; padding: 9rem 0 6rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .38fr); gap: 2rem; align-items: end; }
.hero-copy { max-width: 800px; }
.eyebrow { margin: 0 0 .9rem; color: rgba(205,220,255,.72); font: 800 .72rem/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .17em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.055em; line-height: .9; }
h1 { max-width: 800px; font-size: clamp(4rem, 10vw, 9.4rem); text-transform: uppercase; }
h1 em { color: var(--cyan); font-style: normal; }
h2 { font-size: clamp(2.4rem, 5vw, 5.4rem); text-transform: uppercase; }
.lede { max-width: 690px; margin: 1.5rem 0 0; color: #d4d9e2; font-size: clamp(1.1rem, 2vw, 1.38rem); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { margin: 1.1rem 0 0; color: var(--muted); font-size: .94rem; }
.hero-proof strong { color: var(--ink); }
.orbit-card { align-self: center; position: relative; border: 1px solid rgba(98,243,211,.28); border-radius: 15px; padding: 1.25rem; background: rgba(5,7,11,.56); box-shadow: 0 24px 70px rgba(0,0,0,.24); backdrop-filter: blur(9px); }
.orbit-card p { margin: 0 0 .35rem; color: var(--muted); font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.orbit-card strong { display: block; font-size: 1.25rem; }
.orbit-card small { display: block; margin-top: .65rem; color: var(--muted); line-height: 1.45; }
.orbit-dot { position: absolute; right: 1rem; top: 1rem; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }

.audience-section, .guide-section, .progress-section, .trust-section, .dispatch-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 7rem 0; }
.audience-section { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); gap: 1.5rem 3rem; border-top: 1px solid var(--line); }
.audience-section h2 { max-width: 500px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.audience-card { min-height: 210px; display: flex; flex-direction: column; align-items: start; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; color: var(--ink); background: var(--panel); cursor: pointer; }
.audience-card:hover, .audience-card:focus-visible, .audience-card.is-selected { border-color: var(--cyan); background: rgba(25, 76, 71, .28); }
.audience-card span { color: var(--cyan); font: 800 .75rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.audience-card strong { margin-top: auto; font-size: 1.15rem; }
.audience-card small { margin-top: .55rem; color: var(--muted); line-height: 1.45; }
.audience-result { grid-column: 1 / -1; margin: 0; color: var(--cyan); font-weight: 720; }

.guide-section { padding-top: 6.5rem; color: var(--paper-ink); background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(20,26,36,.22); }
.section-heading .eyebrow { color: rgba(20,26,36,.62); }
.section-heading h2 { max-width: 820px; }
.download-link { color: var(--paper-ink); border-color: rgba(20,26,36,.25); background: rgba(255,255,255,.62); white-space: nowrap; }
.section-intro { max-width: 760px; margin: 1.2rem 0 2rem; color: #505b6d; font-size: 1.08rem; line-height: 1.55; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rule-card { overflow: hidden; border: 1px solid rgba(20,26,36,.16); background: #fff; box-shadow: 0 14px 34px rgba(18,24,34,.08); }
.rule-card img { display: block; width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; object-position: top; background: #e6e9ef; }
.rule-card-copy { padding: .95rem; }
.rule-card-label { color: #53647b; font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; }
.rule-card h3 { margin: .45rem 0 .5rem; font-size: 1.18rem; line-height: 1.1; }
.rule-card p { min-height: 3.1em; margin: 0; color: #586273; line-height: 1.45; font-size: .93rem; }
.rule-card-actions { display: grid; grid-template-columns: 1fr auto; gap: .55rem; margin-top: .9rem; }
.rule-card-actions button { border: 1px solid rgba(20,26,36,.24); border-radius: 8px; padding: .7rem .8rem; color: var(--paper-ink); background: #fff; font-weight: 790; cursor: pointer; }
.rule-card-actions button:last-child { min-width: 42px; color: #0d675d; }
.rule-card-actions button.is-complete { color: white; background: #187b6f; border-color: #187b6f; }

.progress-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(330px, 1fr); gap: 3rem; }
.progress-copy > p:not(.eyebrow), .trust-copy p, .dispatch-section > div > p { color: var(--muted); line-height: 1.58; font-size: 1.08rem; }
.progress-meter { height: 8px; margin-top: 2rem; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.1); }
.progress-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .3s ease; }
.progress-text { margin: .8rem 0; color: var(--cyan); font-weight: 800; }
.field-note-list { display: grid; gap: .8rem; align-content: center; }
.field-note { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; background: var(--panel); }
.field-note span { display: block; color: var(--cyan); font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.field-note strong { display: block; margin-top: .4rem; font-size: 1.08rem; }
.field-note p { margin: .45rem 0 0; color: var(--muted); line-height: 1.45; }

.trust-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 3rem; border-top: 1px solid var(--line); }
.trust-copy p { margin: 0 0 1rem; }
.trust-copy a { display: inline-flex; gap: .5rem; color: var(--cyan); font-weight: 800; }
.dispatch-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr); gap: 3rem; padding-bottom: 8rem; }
.signup-form { padding: 1.2rem; border: 1px solid rgba(98,243,211,.31); border-radius: 15px; background: var(--panel); align-self: center; }
.signup-form label { display: block; margin-bottom: .5rem; font-weight: 780; }
.form-row { display: flex; gap: .7rem; }
.form-row input { flex: 1; min-width: 0; border: 1px solid rgba(225,234,255,.22); border-radius: 9px; padding: .78rem .9rem; color: var(--ink); background: rgba(0,0,0,.28); }
.form-row input:focus { outline: 3px solid rgba(98,243,211,.2); border-color: var(--cyan); }
.form-status { min-height: 1.35em; margin: .8rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }

footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 1.4rem 0 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; border-top: 1px solid var(--line); color: #7d899c; font-size: .86rem; }

dialog { width: min(1120px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; border: 1px solid rgba(225,234,255,.24); border-radius: 16px; padding: 0; color: var(--ink); background: #090e17; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(6px); }
.dialog-close { position: sticky; z-index: 3; top: .7rem; float: right; margin: .7rem; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #141c2b; font-size: 1.6rem; cursor: pointer; }
.dialog-layout { clear: both; display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); }
.dialog-layout > img { width: 100%; min-height: 100%; object-fit: cover; background: #fff; }
.dialog-copy { padding: 2rem; }
.dialog-copy h2 { font-size: clamp(2rem, 4vw, 4.4rem); }
.dialog-promise { color: var(--cyan); font-size: 1.15rem; line-height: 1.45; }
.dialog-copy > p:not(.eyebrow):not(.dialog-promise) { color: var(--muted); line-height: 1.55; }
.prompt-block { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prompt-block > div { display: flex; justify-content: space-between; align-items: center; padding: .75rem .85rem; background: rgba(255,255,255,.05); }
.copy-button { border: 1px solid rgba(98,243,211,.34); padding: .45rem .65rem; color: var(--cyan); background: transparent; font-size: .82rem; }
pre { max-height: 330px; overflow: auto; margin: 0; padding: 1rem; white-space: pre-wrap; color: #d9e5ef; background: #070a10; font: .85rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 1.2rem; max-width: calc(100% - 32px); transform: translate(-50%, 140%); border: 1px solid rgba(98,243,211,.5); border-radius: 10px; padding: .8rem 1rem; color: #eafffb; background: #0c372e; box-shadow: 0 10px 35px rgba(0,0,0,.35); transition: transform .22s ease; }
.toast.show { transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 920px) {
  .hero, .audience-section, .progress-section, .trust-section, .dispatch-section { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
  .orbit-card { max-width: 420px; }
  .audience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout > img { max-height: 60svh; object-fit: contain; }
}
@media (max-width: 650px) {
  .site-header { min-height: 66px; }
  .site-header nav { display: none; }
  .header-cta { padding: .65rem .7rem; font-size: .76rem; }
  .hero { min-height: calc(100svh - 66px); padding: 5rem 0 4rem; }
  h1 { font-size: clamp(3.3rem, 16.5vw, 5.5rem); }
  .audience-section, .guide-section, .progress-section, .trust-section, .dispatch-section { padding: 4.6rem 0; }
  .audience-grid, .guide-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 150px; }
  .section-heading { display: block; }
  .download-link { margin-top: 1rem; }
  .form-row { display: grid; }
  .form-row .primary-button { width: 100%; }
  .dialog-copy { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  #cosmos { opacity: .45; }
}
