:root {
  --paper: #f4f4ee;
  --paper-deep: #e7e9e2;
  --white: #fff;
  --ink: #14231e;
  --forest: #173f35;
  --forest-dark: #0f2e27;
  --blue: #006d91;
  --sky: #d9edf0;
  --rust: #c36946;
  --muted: #66706a;
  --line: #ced3cc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 70px rgba(20, 35, 30, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.4rem, 6.8vw, 7.2rem); line-height: .91; }
h1 em { display: block; color: var(--blue); font-style: italic; }
h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 4vw, 4.3rem); line-height: .98; }
h3 { margin-bottom: 9px; font-size: 1.65rem; line-height: 1.05; }

.site-header { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 64px), 1380px); min-height: 88px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.brand img { width: 108px; height: 50px; object-fit: contain; }
.header-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .035em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #42a15e; box-shadow: 0 0 0 4px rgba(66, 161, 94, .12); }
.header-link { justify-self: end; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 800; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, .76fr); gap: clamp(46px, 7vw, 112px); align-items: center; width: min(calc(100% - 64px), 1380px); min-height: calc(100vh - 88px); margin-inline: auto; padding: 72px 0 92px; }
.hero::before { content: "PRIVATE / BETA / 01"; position: absolute; right: -22px; top: 50%; color: #9da49f; font-size: .61rem; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl; transform: translateY(-50%); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--forest); font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 31px; height: 1px; background: currentColor; }
.hero-lede { max-width: 680px; margin-bottom: 38px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
.founder-note { display: grid; grid-template-columns: 38px 1fr; gap: 20px; max-width: 650px; padding: 22px 0; border-block: 1px solid var(--line); }
.note-index { color: var(--blue); font-size: .7rem; font-weight: 850; letter-spacing: .09em; }
.founder-note strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.32rem; font-weight: 500; }
.founder-note p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 25px 0 0; padding: 0; color: #4c5751; list-style: none; font-size: .8rem; font-weight: 700; }
.trust-row span { margin-right: 5px; color: var(--blue); }

.intake-card { position: relative; padding: 35px 36px 30px; border: 1px solid #c5cbc4; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.intake-card::after { content: ""; position: absolute; z-index: -1; inset: 10px -11px -11px 10px; border: 1px solid #9faaa2; }
.card-kicker { display: flex; justify-content: space-between; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.intake-card h2 { font-size: clamp(2.1rem, 3vw, 3.15rem); }
.card-intro { margin-bottom: 25px; color: var(--muted); font-size: .91rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .035em; }
.field > span small { color: var(--muted); font-size: .66rem; font-weight: 650; letter-spacing: 0; }
.field b { color: var(--rust); }
.field input, .field select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #c7ccc6; border-radius: 0; outline: 0; color: var(--ink); background: #fbfbf8; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.field input::placeholder { color: #9ca39e; }
.field input:focus, .field select:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 109, 145, .11); }
.field input.invalid { border-color: #a74231; box-shadow: 0 0 0 3px rgba(167, 66, 49, .1); }
.consent-field { display: flex; align-items: flex-start; gap: 10px; }
.consent-field input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; }
.consent-field span { font-size: .75rem; font-weight: 500; line-height: 1.45; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; }
.field-error { min-height: 0; color: #923b2d; font-size: .72rem; }
.field-error:not(:empty) { margin-top: -2px; }
.primary-button, .download-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid var(--forest); color: white; background: var(--forest); font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.primary-button:hover, .download-button:hover { background: var(--forest-dark); transform: translateY(-1px); }
.primary-button:focus-visible, .download-button:focus-visible, .text-button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(0, 109, 145, .35); outline-offset: 3px; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.form-note span { color: var(--blue); font-size: .58rem; }
.form-success { min-height: 390px; padding-top: 42px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; color: white; background: var(--forest); font-size: 1.3rem; }
.success-label { color: var(--blue); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.form-success > p:not(.success-label) { max-width: 410px; margin: 0 auto 26px; color: var(--muted); }
.code-step { padding-top: 18px; }
.code-step .success-mark { margin-left: 0; }
.code-step > p:not(.success-label) { color: var(--muted); font-size: .9rem; }
.code-step .field small { color: var(--muted); font-size: .72rem; }
.text-button { margin-top: 15px; padding: 7px 10px; border: 0; border-bottom: 1px solid var(--muted); color: var(--muted); background: transparent; font-size: .76rem; font-weight: 750; cursor: pointer; }

.downloads { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 8vw, 130px); padding: 105px max(32px, calc((100vw - 1380px)/2)); color: white; background: var(--forest-dark); }
.section-copy > p:last-child { max-width: 580px; color: #bdcdc7; font-size: 1.02rem; }
.downloads .eyebrow, .privacy-panel .eyebrow { color: #9ccabe; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; align-self: center; border: 1px solid rgba(255,255,255,.2); }
.download-card { display: grid; grid-template-rows: auto 1fr auto; min-height: 330px; padding: 28px; }
.download-card + .download-card { border-left: 1px solid rgba(255,255,255,.2); }
.platform-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 43px; }
.windows-icon { grid-template-columns: 1fr 1fr; gap: 3px; }
.windows-icon i { width: 20px; height: 20px; background: var(--sky); }
.apple-icon { color: var(--sky); font-size: 2.6rem; line-height: 1; }
.build-label { color: #9ccabe; font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.download-copy h3 { margin: 8px 0; color: white; }
.download-copy p { color: #aebfb9; font-size: .78rem; }
.download-button { min-height: 49px; border-color: rgba(255,255,255,.75); background: transparent; }
.download-button { text-decoration: none; }
.download-button:hover { color: var(--forest-dark); background: var(--sky); }
.download-locked { display: flex; align-items: center; justify-content: center; min-height: 49px; border: 1px solid rgba(255,255,255,.35); color: #bdcdc7; font-size: .78rem; font-weight: 750; }
.download-status { margin-top: 25px; font-size: .85rem !important; }
.prototype-note { grid-column: 2; margin: -92px 0 0; color: #839891; font-size: .69rem; }

.how-it-works { width: min(calc(100% - 64px), 1380px); margin-inline: auto; padding: 110px 0; }
.section-heading { max-width: 820px; margin-bottom: 55px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { min-height: 290px; padding: 29px 32px 25px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 32px; }
.steps li:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 70px; color: var(--blue); font-size: .71rem; font-weight: 850; }
.steps p { max-width: 350px; color: var(--muted); }

.privacy-panel { display: grid; grid-template-columns: 150px .9fr 1fr; gap: 52px; align-items: center; padding: 82px max(32px, calc((100vw - 1380px)/2)); color: white; background: var(--forest); }
.privacy-mark { display: grid; place-items: center; width: 122px; height: 122px; border: 1px solid #7ea99d; border-radius: 50%; color: #a9ccc3; font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-align: center; transform: rotate(-8deg); }
.privacy-panel h2 { margin-bottom: 0; font-size: clamp(2.25rem, 3.8vw, 4rem); }
.privacy-panel > p { margin-bottom: 0; color: #c0d0cb; font-size: 1rem; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(calc(100% - 64px), 1380px); min-height: 105px; margin-inline: auto; color: var(--muted); font-size: .75rem; }
footer img { width: 94px; height: 44px; object-fit: contain; }
footer p { margin: 0; }
footer a { border-bottom: 1px solid var(--muted); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 25px; width: max-content; max-width: calc(100% - 32px); padding: 13px 18px; color: white; background: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.23); font-size: .78rem; font-weight: 750; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 28px; }
  .hero::before { display: none; }
  .intake-card { width: min(100%, 700px); }
  .downloads { grid-template-columns: 1fr; }
  .prototype-note { grid-column: 1; margin: 0; }
  .privacy-panel { grid-template-columns: 130px 1fr; }
  .privacy-panel > p { grid-column: 2; }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; width: min(calc(100% - 36px), 1380px); min-height: 76px; }
  .header-meta { display: none; }
  .brand img { width: 92px; }
  .hero { width: min(calc(100% - 36px), 1380px); padding: 54px 0 74px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .founder-note { grid-template-columns: 30px 1fr; }
  .intake-card { padding: 27px 20px 24px; }
  .intake-card::after { display: none; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .downloads { padding: 78px 18px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 300px; }
  .download-card + .download-card { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .how-it-works { width: min(calc(100% - 36px), 1380px); padding: 82px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: auto; padding: 27px 0 33px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-number { margin-bottom: 38px; }
  .privacy-panel { grid-template-columns: 1fr; gap: 28px; padding: 68px 18px; }
  .privacy-panel > p { grid-column: 1; }
  footer { flex-direction: column; align-items: flex-start; width: min(calc(100% - 36px), 1380px); padding: 28px 0; }
}

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