:root {
  --ink: #122033;
  --ink-deep: #0C1622;
  --ink-soft: #1C3046;
  --paper: #F7F4EF;
  --paper-2: #EFEBE4;
  --white: #FFFcf8;
  --muted: #5A6570;
  --muted-on-ink: #B7C0CA;
  --line: #DDD6CC;
  --line-on-ink: #2A3F55;
  --accent: #C45C32;
  --accent-dark: #A84B28;
  --accent-soft: #F3E2D8;
  --focus: #C45C32;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(18, 32, 51, 0.06), 0 12px 32px rgba(18, 32, 51, 0.06);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Inter", "Source Sans 3", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo:hover { color: inherit; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-on-ink {
  background: var(--accent);
  color: #fff;
}
.btn-on-ink:hover { background: #d46a3d; color: #fff; }
.btn-ghost-on-ink {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px #4a5f74;
}
.btn-ghost-on-ink:hover { background: var(--ink-soft); color: #fff; }
.nav .btn { padding: 0.5rem 0.95rem; }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}
.hero-copy { max-width: 40rem; }
.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lede {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}
.trust-line {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.trust-line span + span::before {
  content: "·";
  margin: 0 0.5rem;
  color: #b0a89d;
}

/* Stats */
.stats {
  margin: clamp(2.25rem, 5vw, 3.25rem) 0 0;
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
}
.stats-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.stats-intro p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-on-ink);
}
.stats-intro strong { color: var(--white); font-weight: 600; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.stat {
  padding-top: 1rem;
  border-top: 1px solid var(--line-on-ink);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--muted-on-ink);
  line-height: 1.35;
}

/* Sections */
section { padding: clamp(3.25rem, 7vw, 5.25rem) 0; }
.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.section-head h2,
.faq h2,
.signup-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p { margin: 0; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
}
.step p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.step .file-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink);
}
.step .file-list li {
  padding: 0.28rem 0;
  border-top: 1px solid var(--paper-2);
}
.step .file-list li:first-child { border-top: 0; }

/* Catch */
.catch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.catch-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.catch-grid li:last-child { grid-column: 1 / -1; }
.catch-icon {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.catch-grid h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 600;
}
.catch-grid p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Pricing */
.pricing { background: var(--paper-2); }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}
.price-card .btn { margin-top: auto; align-self: start; }
.price-card.featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow), inset 0 3px 0 var(--accent);
}
.price-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.price-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}
.price-card p { margin: 0 0 1.2rem; color: var(--muted); }

/* Signup */
.signup { padding-top: 0; background: var(--paper-2); }
.signup-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.signup-copy p { color: var(--muted); margin: 0 0 1rem; }
.signup-copy p:last-child { margin-bottom: 0; }
.note {
  font-size: 0.875rem;
  color: var(--muted);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
}
.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
}
.field input:hover { border-color: #c9c1b6; }
.field input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  background: var(--white);
}
.field-full .btn {
  align-self: start;
  width: auto;
  min-width: 10.5rem;
}
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}
.form-status[data-kind="ok"] { color: #1e6b3a; }
.form-status[data-kind="err"] { color: #8a2b1e; }

/* Privacy / FAQ */
.legal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: start;
}
.privacy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}
.privacy h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}
.privacy p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9375rem; }
.privacy p:last-of-type { margin-bottom: 0; }
.disclaimer {
  margin-top: 1rem !important;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem !important;
  color: #6a7380 !important;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  flex: none;
  margin-top: -0.2rem;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 0.2rem; }
.faq details p {
  margin: 0.55rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.975rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); }

@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .catch-grid { grid-template-columns: 1fr; }
  .catch-grid li:last-child { grid-column: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .signup-card, .legal { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 3.5rem; }
  .stat-grid { gap: 1rem; }
  .stat b { font-size: 1.7rem; }
  .form { grid-template-columns: 1fr; }
  .form .btn, .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
}
