:root {
  color-scheme: dark;
  --paper: #0b0f14;
  --paper-deep: #111820;
  --ink: #f1eee6;
  --muted: #9ba6af;
  --line: rgba(241, 238, 230, 0.17);
  --cyan: #16a9bd;
  --dark: #0d131a;
  --dark-muted: #aeb8c2;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--dark); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 74px; margin: 0 auto; border-bottom: 1px solid var(--line); background: rgba(11, 15, 20, .92); backdrop-filter: blur(14px); }
.site-header.is-scrolled { background: rgba(11, 15, 20, .98); }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: .65rem; color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 24px; height: 24px; fill: var(--cyan); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a, .header-link { color: var(--muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .header-link:hover { color: var(--ink); }
.header-link { justify-self: end; }

.text-link { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-underline-offset: 4px; }
.text-link span { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid transparent; font-size: .82rem; font-weight: 750; text-decoration: none; transition: transform 140ms ease, background 140ms ease, color 140ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(22,169,189,.4); outline-offset: 3px; }
.button-dark { background: var(--cyan); color: #071014; }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline { border-color: rgba(255,255,255,.32); color: white; }
.button-outline:hover { background: white; color: var(--dark); }

.hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem, 10vw, 10rem); align-items: end; width: min(calc(100% - 48px), var(--max)); min-height: 670px; margin: 0 auto; padding: 9rem 0 6rem; }
.kicker, .section-label { margin: 0 0 1.4rem; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.03; letter-spacing: -.045em; }
h1 { margin-bottom: 2rem; font-size: clamp(4rem, 8vw, 7.7rem); font-weight: 560; }
.hero-intro { max-width: 660px; margin: 0; color: #c1c9cf; font-size: clamp(1.03rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.founder-note { max-width: 350px; padding-bottom: .3rem; color: #d6dadd; }
.note-rule { display: block; width: 44px; height: 3px; margin-bottom: 1.6rem; background: var(--cyan); }
.founder-note p { margin: 0; font-size: 1.03rem; }
.founder-note .note-small { margin-top: 1.3rem; color: var(--muted); font-size: .8rem; }

.hero-figure { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero-figure img { border: 1px solid rgba(255,255,255,.2); background: var(--dark); }
figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; color: var(--muted); font-size: .7rem; }
figcaption span:first-child { color: var(--ink); font-weight: 700; }

.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 48px), var(--max)); margin: 5rem auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-row p { margin: 0; padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.proof-row p:first-child { padding-left: 0; }
.proof-row p:last-child { border-right: 0; }
.proof-row strong, .proof-row span { display: block; }
.proof-row strong { font-size: 1rem; }
.proof-row span { color: var(--muted); font-size: .7rem; }

.section { display: grid; grid-template-columns: .35fr 1.65fr; gap: 2rem; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 10rem 0 4rem; }
.section-title { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 540; }
.section-title p { margin: 0; color: var(--muted); }

.feature-list { width: min(calc(100% - 48px), var(--max)); margin: 0 auto 10rem; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: .35fr 1.05fr .9fr; gap: 2rem; align-items: start; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.feature-list article > span { color: var(--cyan); font-size: .7rem; font-weight: 800; }
.feature-list h3 { margin: 0; max-width: 550px; font-size: clamp(1.4rem, 2.6vw, 2.15rem); font-weight: 600; }
.feature-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.product-evidence { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); padding: 7rem max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper-deep); }
.evidence-image { margin: 0; border: 1px solid var(--line); box-shadow: 22px 26px 0 rgba(22,169,189,.12); }
.evidence-copy h2 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); }
.evidence-copy > p:not(.kicker) { max-width: 520px; margin: 1.7rem 0; color: var(--muted); }
.evidence-copy ul { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.evidence-copy li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 650; }

.powerpoint-band { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 9rem 0; }
.powerpoint-band > div:last-child > p:first-child { margin: 0; color: #c0c8ce; font-size: 1.05rem; }
.fine-print { margin-top: 1.6rem; color: var(--muted); font-size: .72rem; }

.report-section { display: grid; grid-template-columns: .72fr 1.28fr; align-items: end; gap: clamp(3rem, 8vw, 8rem); padding: 7rem max(24px, calc((100vw - var(--max)) / 2)); background: var(--dark); color: white; }
.report-copy { align-self: center; }
.report-copy h2 { font-size: clamp(2.8rem, 4.8vw, 4.7rem); }
.report-copy > p:last-child { max-width: 450px; margin-top: 1.8rem; color: var(--dark-muted); }
.report-section figure { margin: 0; }
.report-section img { border: 1px solid rgba(255,255,255,.14); }
.report-section figcaption { color: #828e99; }

.principles { display: grid; grid-template-columns: .35fr 1.65fr; gap: 2rem; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 9rem 0; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.principle-grid article { min-height: 220px; padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.principle-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
.principle-grid article:nth-child(even) { padding-left: 2rem; }
.principle-grid h3 { margin-bottom: 1rem; font-size: 1.45rem; font-weight: 620; }
.principle-grid p { max-width: 370px; margin: 0; color: var(--muted); font-size: .88rem; }

.downloads { padding: 8rem max(24px, calc((100vw - var(--max)) / 2)); background: #18232c; color: white; }
.download-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: end; margin-bottom: 5rem; }
.download-intro .kicker { grid-column: 1 / -1; }
.download-intro > p:last-child { margin: 0; color: var(--dark-muted); }
.download-list { border-top: 1px solid rgba(255,255,255,.22); }
.download-list article { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.download-list span:first-child { color: var(--cyan); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.download-list h3 { margin: .35rem 0; font-size: 1.55rem; font-weight: 620; }
.download-list p { margin: 0; color: var(--dark-muted); font-size: .75rem; }
.download-list .unsigned-note { max-width: 620px; margin-top: .65rem; color: #d2c8a4; }
.release-note { max-width: 690px; margin: 2rem 0 0; color: #8f9ba5; font-size: .7rem; }

footer { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 2rem; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 2.2rem 0; color: var(--muted); font-size: .72rem; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }
footer nav { display: flex; gap: 1rem; }
footer nav a { text-underline-offset: 3px; }

.motion-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 620ms cubic-bezier(.2,.72,.2,1) var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.2,.72,.2,1) var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .hero-figure.reveal { clip-path: inset(0 0 16% 0); transform: translateY(18px); transition: opacity 760ms ease, transform 760ms cubic-bezier(.2,.72,.2,1), clip-path 900ms cubic-bezier(.2,.72,.2,1); }
.motion-ready .hero-figure.reveal.is-visible { clip-path: inset(0 0 0 0); transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 7rem 0 4rem; }
  .founder-note { max-width: 620px; }
  .section, .principles { grid-template-columns: 1fr; }
  .section-title, .product-evidence, .powerpoint-band, .report-section, .download-intro { grid-template-columns: 1fr; gap: 3rem; }
  .feature-list article { grid-template-columns: .18fr 1fr; }
  .feature-list article p { grid-column: 2; max-width: 620px; }
  .report-copy { padding-bottom: 1rem; }
}

@media (max-width: 600px) {
  .site-header, .hero, .hero-figure, .proof-row, .section, .feature-list, .powerpoint-band, .principles, footer { width: min(calc(100% - 28px), var(--max)); }
  .header-link { font-size: .72rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-figure { width: 100%; }
  .hero-figure figcaption { padding: .75rem .9rem 0; }
  .hero-figure figcaption span:last-child { display: none; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row p { padding: 1rem 0; border-bottom: 1px solid var(--line); border-right: 0; }
  .proof-row p:nth-child(odd) { border-right: 1px solid var(--line); }
  .proof-row p:nth-child(even) { padding-left: 1rem; }
  .section { padding-top: 7rem; }
  .feature-list { margin-bottom: 7rem; }
  .feature-list article { grid-template-columns: 32px 1fr; gap: 1rem; }
  .feature-list h3 { font-size: 1.45rem; }
  .product-evidence, .report-section, .downloads { padding-left: 14px; padding-right: 14px; }
  .evidence-image { box-shadow: 9px 12px 0 rgba(22,169,189,.12); }
  .powerpoint-band { gap: 2rem; padding: 7rem 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:nth-child(even) { min-height: auto; padding: 1.6rem 0; border-right: 0; }
  .download-list article { align-items: flex-start; flex-direction: column; }
  .download-list .button { width: 100%; }
  footer { grid-template-columns: 1fr; gap: .7rem; }
  footer p:last-child { justify-self: start; }
  footer nav { margin: .5rem 0; }
}

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

.legal-page { background: var(--dark); color: #f4f2eb; }
.legal-header { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), 920px); margin: 0 auto; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.legal-header .brand { color: #f4f2eb; }
.legal-header > a:last-child { color: #abb6c0; font-size: .76rem; text-underline-offset: 4px; }
.legal-main { width: min(calc(100% - 48px), 760px); margin: 0 auto; padding: 7rem 0 9rem; }
.legal-main h1 { margin-bottom: .9rem; font-size: clamp(3.2rem, 8vw, 6rem); }
.legal-updated { margin: 0 0 4rem; color: #89949e; font-size: .76rem; }
.legal-summary { margin: 0 0 5rem; padding: 1.5rem 1.6rem; border-left: 3px solid var(--cyan); background: #151e27; }
.legal-summary strong { display: block; margin-bottom: .5rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-summary p { margin: 0; color: #c1c9d0; }
.legal-main section { padding: 2.2rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.legal-main section h2 { margin-bottom: 1.2rem; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-main section p, .legal-main section li { color: #b1bbc4; font-size: .92rem; }
.legal-main section p { margin: 0 0 1rem; }
.legal-main section p:last-child { margin-bottom: 0; }
.legal-main section li { margin-bottom: .65rem; }
.legal-main section strong { color: #edf0f2; }
.legal-main section a { color: #68d5e3; text-underline-offset: 3px; }
.legal-footer { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), 920px); margin: 0 auto; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.16); color: #89949e; font-size: .72rem; }
.legal-footer nav { display: flex; gap: 1.2rem; }
.legal-footer a { color: #b1bbc4; text-underline-offset: 3px; }

.access-main { width: min(calc(100% - 48px), 980px); margin: 0 auto; padding: 6rem 0 9rem; }
.access-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; margin-bottom: 4rem; }
.access-intro h1 { margin-bottom: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.access-intro > p:last-child { margin: 0; color: var(--muted); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.access-panel { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper-deep); }
.access-panel h2 { margin-bottom: .9rem; font-size: 1.65rem; letter-spacing: -.025em; }
.access-panel > p { color: var(--muted); font-size: .88rem; }
.access-form { display: grid; gap: 1rem; margin-top: 2rem; }
.access-form label { display: grid; gap: .45rem; color: #dfe3e5; font-size: .76rem; font-weight: 700; }
.access-form input, .access-form select { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid rgba(255,255,255,.22); border-radius: 0; background: #0b1117; color: white; font: inherit; }
.access-form input:focus, .access-form select:focus { outline: 3px solid rgba(22,169,189,.3); border-color: var(--cyan); }
.access-form .check-label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .7rem; color: var(--muted); font-weight: 500; }
.access-form .check-label input { width: 18px; min-height: 18px; margin-top: .2rem; }
.access-form .button { width: fit-content; border: 0; cursor: pointer; }
.form-message { margin: 0 0 2rem; padding: 1rem 1.1rem; border-left: 3px solid var(--cyan); background: #142029; color: #d7e1e5; font-size: .86rem; }
.form-message.error { border-color: #dc8879; background: #241817; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.download-access-list { display: grid; gap: 1px; margin-top: 2rem; background: var(--line); }
.download-access-list article { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem; background: #0b1117; }
.download-access-list h3, .download-access-list p { margin: 0; }
.download-access-list p { color: var(--muted); font-size: .72rem; }
.checksum { margin-top: .5rem !important; overflow-wrap: anywhere; color: #7f8b94 !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem !important; }
.installer-warning { margin-top: 2rem; padding: 1rem 1.1rem; border: 1px solid rgba(216,193,113,.35); color: #d8cea8; font-size: .78rem; }
.admin-main { width: min(calc(100% - 48px), 1120px); margin: 0 auto; padding: 5rem 0 8rem; }
.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.admin-toolbar h1 { margin-bottom: 0; font-size: clamp(2.8rem, 6vw, 5rem); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.admin-table th, .admin-table td { padding: 1rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-table form { display: inline; }
.admin-table button { padding: .45rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.issued-code { margin-bottom: 2rem; padding: 1.3rem; border: 1px solid var(--cyan); background: #102129; }
.issued-code code { display: block; margin-top: .5rem; color: white; font-size: 1.3rem; letter-spacing: .06em; }

@media (max-width: 600px) {
  .legal-header, .legal-main, .legal-footer { width: min(calc(100% - 28px), 920px); }
  .legal-main { padding: 5rem 0 7rem; }
  .legal-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .access-main, .admin-main { width: min(calc(100% - 28px), 920px); padding-top: 4.5rem; }
  .access-intro, .access-grid { grid-template-columns: 1fr; gap: 2rem; }
  .access-grid { gap: 1px; }
  .download-access-list article { align-items: flex-start; flex-direction: column; }
  .download-access-list .button { width: 100%; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-table { display: block; overflow-x: auto; }
}
