/* FamilyStork /go/ pages — derived from familystork.com landing tokens
   ink #2D3748 · gold #B7935A · cream #FBF7EE · fawn #E2E8F0
   Cormorant Garamond (headlines) · Hanken Grotesk (body) */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('https://familystork.com/fonts/CormorantGaramond-var.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('https://familystork.com/fonts/HankenGrotesk-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --cream: #FBF7EE;
  --fawn: #E2E8F0;
  --coal: #2D3748;
  --coal-soft: #4A5568;
  --rust: #B7935A;
  --rust-deep: #2D3748;
  --flag: #C41E3A;
  --white: #FFFFFF;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Hanken Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Hanken Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--coal-soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- layout ---------- */
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.go-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1.5px solid var(--fawn);
}
.go-nav .wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  color: var(--coal); text-decoration: none; letter-spacing: -0.02em;
}
.go-nav .wordmark .paw { color: var(--rust); }
.go-nav-links { display: flex; gap: 18px; align-items: center; }
.go-nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--coal-soft);
  text-decoration: none;
}
.go-nav-links a:hover { color: var(--coal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1.02rem;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--coal-soft); color: #fff; }
.btn-primary:hover { background: var(--coal); color: #fff; }
.btn-ghost { background: transparent; color: var(--coal); border-color: var(--coal); }
.btn-ghost:hover { background: var(--coal); color: var(--paper); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 14px;
}

h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--coal);
  margin-bottom: 20px;
}
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--coal);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.01em; color: var(--coal);
  margin-bottom: 10px;
}

/* ---------- hero ---------- */
.go-hero {
  padding: 56px 0 48px;
  text-align: center;
}
.go-hero p {
  font-size: 1.12rem; color: var(--coal-soft); max-width: 36rem; margin: 0 auto 28px;
}

/* ---------- sections ---------- */
.go-section {
  padding: 56px 0;
  border-top: 1.5px solid var(--fawn);
}
.go-section.cream { background: var(--cream); }
.go-section.dark { background: var(--coal); color: rgba(255,255,255,.92); }
.go-section.dark h2 { color: var(--white); }
.go-section.dark p { color: rgba(255,255,255,.78); }
.go-section.dark .eyebrow { color: #C9A56F; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 28px;
}
.card {
  background: var(--white); border: 1.5px solid var(--fawn);
  border-radius: 20px; padding: 26px 24px;
}
.card .tag {
  display: inline-block; font-family: var(--mono); font-size: .68rem;
  font-weight: 500; letter-spacing: .12em; color: var(--rust-deep);
  background: var(--cream); border-radius: 999px; padding: 4px 11px;
  margin-bottom: 14px;
}
.card p { font-size: .96rem; color: var(--coal-soft); }

/* ---------- step flow (the signature element for how-it-works) ---------- */
.step-flow { margin-top: 36px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--fawn);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-marker {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--fawn);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600; font-size: .82rem;
  color: var(--rust); flex-shrink: 0;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .96rem; }

/* ---------- checklist (signature element for records checklist) ---------- */
.checklist-group { margin-bottom: 36px; }
.checklist-group h3 {
  padding-bottom: 10px; border-bottom: 2px solid var(--fawn);
  margin-bottom: 16px;
}
.check-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0;
}
.check-box {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  border: 2px solid var(--fawn); border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
  background: var(--white);
}
.check-box.checked {
  background: var(--rust); border-color: var(--rust);
}
.check-box.checked::after {
  content: '✓'; color: white; font-size: .8rem; font-weight: 700;
}
.check-item-text strong { color: var(--coal); display: block; font-size: .98rem; }
.check-item-text span { font-size: .88rem; color: var(--coal-soft); }

.checklist-progress {
  background: var(--cream); border-radius: 16px; padding: 20px 24px;
  text-align: center; margin-top: 32px; border: 1.5px solid var(--fawn);
}
.checklist-progress .count {
  font-family: var(--display); font-weight: 700;
  font-size: 2.2rem; color: var(--coal);
}
.progress-bar {
  height: 8px; background: var(--fawn); border-radius: 99px;
  margin: 12px 0; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--rust); border-radius: 99px;
  transition: width .3s ease;
}

/* ---------- callout ---------- */
.callout {
  background: var(--cream); border-left: 4px solid var(--rust);
  border-radius: 0 14px 14px 0; padding: 20px 24px;
  margin: 28px 0; font-size: .95rem;
}
.callout strong { color: var(--coal); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 64px 0;
  background: var(--coal); color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 24px; }
.cta-band .btn-primary { background: var(--rust); }
.cta-band .btn-primary:hover { background: #a07e4a; }

/* ---------- footer ---------- */
.go-footer {
  padding: 28px 0; border-top: 1.5px solid var(--fawn);
  text-align: center; font-size: .82rem; color: var(--coal-soft);
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-marker { width: 40px; height: 40px; font-size: .76rem; }
  .card-grid { grid-template-columns: 1fr; }
  .go-nav-links a { font-size: .82rem; }
}
