/* Divorce 360 — landing page v1
   Brand tokens inherited from d360-assessment-wireframe-v1 wireframe.css.
   Single-file, no build step, Vercel static deploy. */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #767676;
  --line: #d9d6d0;
  --line-soft: #ece9e3;
  --paper: #faf8f4;
  --paper-deep: #f3efe8;
  --accent: #2b4a6f;
  --accent-soft: #e8eef5;
  --ok: #2c5e3d;
  --warn: #8a4a1a;
  --serif: 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', sans-serif;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* Layout containers */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .num {
  font-style: italic;
  color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--accent);
  cursor: pointer;
}
.btn:hover { background: #1f3854; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }

/* Hero */
.hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: none;
  margin: 0 0 14px;
}
h1 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
@media (min-width: 880px) { h1 { font-size: 52px; } }
h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.subhead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 560px;
}
.subhead strong { color: var(--ink); font-weight: 600; }

/* Form */
.form-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.form-block h3 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.field input[type="email"],
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.field input[type="email"]:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-radios { display: grid; gap: 6px; margin-top: 4px; }
.field-radios label {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}
.field-radios input[type="radio"] { margin: 0; }
.form-block button[type="submit"] {
  width: 100%;
  margin-top: 6px;
}
.trust-line {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 14px 0 0;
  line-height: 1.5;
}
.form-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 18px;
  border-radius: var(--radius);
  font-size: 15px;
  display: none;
}
.form-success.show { display: block; }

/* Trust bar */
.trust-bar {
  background: var(--paper-deep);
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.trust-item .check {
  color: var(--ok);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-item strong { color: var(--ink); font-weight: 600; }

/* Section */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line-soft);
}
.section h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
@media (min-width: 880px) { .section h2 { font-size: 34px; } }
.section p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 18px;
  max-width: 720px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.step p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* Provenance */
.provenance {
  background: var(--paper-deep);
}
.provenance-inner {
  max-width: 640px;
}

/* Footer email capture */
.footer-capture {
  padding: 48px 0;
  border-bottom: 1px solid var(--line-soft);
}
.footer-capture h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 18px;
}
.footer-capture .form-block {
  max-width: 520px;
  background: var(--paper-deep);
  border-color: var(--line);
}

/* Footer */
.footer {
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--ink-mute);
}
.footer-cols {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer a { color: var(--ink-mute); }
.footer a:hover { color: var(--accent); }

/* Privacy/terms pages */
.policy-page { padding: 48px 0; }
.policy-page h1 {
  font-size: 32px;
  margin-bottom: 24px;
}
.policy-page h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.policy-page p, .policy-page li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
