:root {
  --bg: #f7f5f0;
  --fg: #1e2d3a;
  --muted: #5f6d78;
  --brand: #17324d;
  --brand-strong: #0d253b;
  --brand-ghost: #e9f0f2;
  --accent: #65d6b4;
  --warm: #f5b85a;
  --warm-strong: #9a551c;
  --card: #fffdf9;
  --border: #d9dfdf;
  --shadow: 0 18px 50px rgba(23, 50, 77, 0.09);
  --radius: 18px;
}

html { scroll-behavior: smooth; }
body { background: radial-gradient(circle at 20% 0%, #fffdf8 0, transparent 38%), var(--bg); }
.container { max-width: 1160px; padding-inline: clamp(18px, 4vw, 38px); }
.brand-mark { width: auto; height: 52px; }
.header { padding-block: 18px; }
.nav a { color: var(--brand); font-weight: 650; }
.nav a:last-child { border: 1px solid #c6d3d6; background: #fff; }
.footer { border-top: 1px solid var(--border); line-height: 1.8; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--brand-strong); letter-spacing: -0.035em; }

.home-shell { padding: 34px 0 70px; }
.eyebrow { margin: 0 0 12px; color: var(--warm-strong); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-section { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr); gap: clamp(34px, 7vw, 78px); align-items: center; min-height: 570px; padding: 55px 0 70px; }
.hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .96; }
.hero-lede { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2.1vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.btn { min-height: 48px; padding: 14px 22px; border-radius: 12px; background: var(--brand); font-weight: 750; box-shadow: 0 8px 24px rgba(23, 50, 77, .15); }
.btn:hover { filter: brightness(1.08); }
.text-link { font-weight: 750; text-underline-offset: 4px; }
.beta-note { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
.beta-note span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(101,214,180,.18); }
.proof-card { padding: 26px; border: 1px solid #ccd9da; border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.proof-label { margin: 0 0 14px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.proof-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.proof-card li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.proof-card li > span { color: var(--warm-strong); font-size: .75rem; font-weight: 850; }
.proof-card strong, .proof-card small { display: block; }
.proof-card small { margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.check-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 70px); align-items: center; padding: clamp(32px, 6vw, 62px); border-radius: 28px; background: var(--brand); color: #eaf1f3; }
.check-section h2 { margin: 0 0 16px; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.check-copy > p:not(.eyebrow) { color: #cad7dc; line-height: 1.65; }
.scope-list { display: grid; gap: 10px; padding-left: 20px; color: #e8eff1; }
.picker-card { padding: clamp(24px, 5vw, 38px); border: 1px solid rgba(255,255,255,.62); border-radius: 22px; background: #fffdf9; color: var(--fg); text-align: center; }
.picker-card h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.picker-card > p { margin: 0 0 22px; color: var(--muted); }
.file-icon { display: grid; width: 68px; height: 78px; margin: 0 auto; place-items: center; border: 2px solid var(--brand); border-radius: 10px 18px 10px 10px; color: var(--brand); font-size: .82rem; font-weight: 900; letter-spacing: .1em; }
.selection-result { display: grid; gap: 8px; margin-top: 20px; padding: 15px; border-radius: 12px; text-align: left; }
.selection-result span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.selection-result.is-ready { border: 1px solid #a9d9ca; background: #edf9f5; }
.selection-result.is-error { border: 1px solid #e0b3ad; background: #fff1ee; color: #7e3128; }
.btn.compact { justify-self: start; min-height: 40px; margin-top: 5px; padding: 10px 16px; font-size: .92rem; }

.upload-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 32px; align-items: center; margin-top: 22px; padding: 28px 34px; border: 1px solid #a9d9ca; border-radius: 20px; background: #edf9f5; }
.upload-panel[hidden] { display: none; }
.upload-panel h2 { margin: 0 0 8px; }
.upload-panel p { margin: 0; color: var(--muted); line-height: 1.55; }
.upload-panel .upload-boundary { margin-top: 10px; font-size: .88rem; }
.upload-meter { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; }
.upload-meter progress { width: 100%; height: 14px; accent-color: var(--brand); }
.upload-meter strong { color: var(--brand); font-variant-numeric: tabular-nums; }
.upload-meter .btn { grid-column: 1 / -1; }
.turnstile-admission { display: grid; gap: .45rem; justify-items: center; margin: .25rem 0 .75rem; }
.turnstile-admission p { color: var(--muted); font-size: .8rem; margin: 0; max-width: 23rem; }

.beta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px; padding: 28px 34px; border: 1px solid #d9bc7c; border-radius: 20px; background: #fff8e8; }
.beta-panel[hidden] { display: none; }
.beta-panel h2 { margin: 0 0 8px; }
.beta-panel p:last-child { max-width: 710px; margin: 0; color: var(--muted); line-height: 1.6; }
.beta-panel .btn { flex: none; }

.process-section, .faq-section { padding-top: 95px; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-grid article { min-height: 235px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.step-grid span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--brand); font-weight: 850; }
.step-grid h3 { margin: 48px 0 9px; }
.step-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.philosophy-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-top: 95px; padding: 48px 0; border-block: 1px solid var(--border); }
.philosophy-section h2 { max-width: 490px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
.philosophy-copy p { margin: 0 0 18px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.privacy-section { display: grid; grid-template-columns: 80px 1fr; gap: 24px; margin-top: 95px; padding: clamp(28px, 6vw, 52px); border: 1px solid #bcd8d1; border-radius: 24px; background: #edf8f4; }
.privacy-mark { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 18px; background: var(--brand); color: var(--accent); }
.privacy-section h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.privacy-section p { max-width: 800px; color: #4f6867; line-height: 1.65; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { padding: 22px 4px; color: var(--brand); font-size: 1.06rem; font-weight: 750; cursor: pointer; }
.faq-list p { max-width: 820px; margin: 0 0 24px; color: var(--muted); line-height: 1.7; }
.final-cta { margin-top: 95px; padding: clamp(40px, 8vw, 74px); border-radius: 28px; background: #e7eceb; text-align: center; }
.final-cta h2 { max-width: 720px; margin: 0 auto 12px; font-size: clamp(2.2rem, 5vw, 4rem); }
.final-cta > p:not(.eyebrow) { margin: 0 auto 24px; color: var(--muted); }

.legal-shell { max-width: 800px; margin: 0 auto; padding: 70px 0 90px; }
.legal-shell h1 { margin: 0; font-size: clamp(3rem, 7vw, 5rem); }
.legal-lede { margin: 18px 0 50px; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.legal-shell section { padding: 26px 0; border-top: 1px solid var(--border); }
.legal-shell section h2 { margin: 0 0 10px; }
.legal-shell section p { color: var(--muted); line-height: 1.7; }

@media (max-width: 850px) {
  .hero-section, .check-section, .philosophy-section { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; padding-top: 42px; }
  .proof-card { max-width: 600px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beta-panel { align-items: flex-start; flex-direction: column; }
  .upload-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .home-shell { padding-top: 8px; }
  .hero-section { padding-bottom: 52px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .check-section { margin-inline: -8px; padding: 28px 20px; border-radius: 20px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: auto; }
  .step-grid h3 { margin-top: 26px; }
  .privacy-section { grid-template-columns: 1fr; }
  .beta-panel { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
