/* ============================================================
   Better Half — landing page
   Warm Modern · Midnight teal + amber: lamp-lit evening palette
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Deep ink teal surface family */
  --bg:           oklch(0.18 0.035 200);
  --bg-deep:      oklch(0.14 0.035 200);
  --bg-blush:     oklch(0.22 0.045 195);
  --surface:      oklch(0.23 0.040 200);
  --surface-2:    oklch(0.27 0.040 198);

  /* Ink / text — warm parchment on dark */
  --ink:          oklch(0.94 0.014 75);
  --ink-soft:     oklch(0.80 0.018 75);
  --ink-muted:    oklch(0.65 0.022 75);

  /* Lines & dividers */
  --line:         oklch(0.32 0.025 200);
  --line-strong:  oklch(0.42 0.030 200);

  /* Accent: radiant amber gold */
  --accent:       oklch(0.74 0.150 75);
  --accent-deep:  oklch(0.58 0.140 70);
  --accent-glow:  oklch(0.36 0.090 75);
  --on-accent:    oklch(0.16 0.030 200);

  /* Supporting hue — dusty rose, used sparingly */
  --sage:         oklch(0.72 0.080 25);
  --sage-soft:    oklch(0.34 0.055 25);
  --clay:         oklch(0.72 0.080 25);
  --clay-soft:    oklch(0.34 0.055 25);

  /* Deep CTA scene (richer than page bg) */
  --dark:         oklch(0.13 0.030 200);
  --dark-2:       oklch(0.10 0.030 200);
  --on-dark:      oklch(0.94 0.014 75);
  --on-dark-soft: oklch(0.78 0.018 75);

  /* Feedback */
  --ok:           oklch(0.78 0.110 165);
  --err:          oklch(0.72 0.175 28);

  /* Radius scale */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Spacing scale (rem) */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --s-8: 6rem;

  /* Shadows — deepen below the surface */
  --shadow-sm:  0 2px 6px oklch(0.05 0.030 200 / 0.45);
  --shadow-md:  0 16px 32px -12px oklch(0.04 0.030 200 / 0.65);
  --shadow-lg:  0 50px 90px -30px oklch(0.04 0.030 200 / 0.75);

  /* Fonts */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Iowan Old Style", serif;

  /* Layout */
  --shell-max: 1180px;
  --shell-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Ease */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1000px 700px at 88% -10%, oklch(0.42 0.120 75 / 0.45), transparent 60%),
    radial-gradient(800px 600px at -10% 8%,  oklch(0.30 0.055 205 / 0.60), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* Universal focus ring */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  display: block;
  height: 36px;
  width: auto;
}
.brand-footer .brand-mark img {
  height: 28px;
}
.brand-word { font-size: 1.02rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.2rem;
  transition: color 160ms var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.site-nav .nav-cta:hover { background: var(--accent); color: var(--on-accent); }

@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--s-3) 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow.muted { color: var(--ink-muted); }
.eyebrow.on-dark { color: var(--on-dark-soft); }
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.74 0.150 75 / 0.30);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(0.74 0.150 75 / 0.30); }
  50%      { box-shadow: 0 0 0 7px oklch(0.74 0.150 75 / 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot { animation: none; }
}

/* ---------- Display type ---------- */
.display, .h-display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 var(--s-3) 0;
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
.display {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
}
.h-display {
  font-size: clamp(1.85rem, 4.3vw, 3rem);
  line-height: 1.05;
}
.serif-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0 0 var(--s-5) 0;
}
.lede.on-dark { color: var(--on-dark-soft); }

.prose {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 var(--s-3) 0;
}
.prose.strong { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: clip;
}
.hero-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

/* ---------- Signup form ---------- */
.signup { max-width: 540px; }
.signup-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.45rem 0.45rem 0.55rem;
  box-shadow: var(--shadow-md), inset 0 1px 0 oklch(1 0 0 / 0.04);
  transition: border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.signup-row:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 4px oklch(0.74 0.150 75 / 0.22);
}
.signup-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  font-size: 1rem;
}
.signup-row input::placeholder { color: oklch(0.62 0.020 75); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--r-pill);
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), box-shadow 200ms var(--ease-out);
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.40),
    inset 0 -2px 0 oklch(0.30 0.080 60 / 0.40),
    0 10px 24px -8px oklch(0.55 0.150 75 / 0.55);
}
.btn-primary:hover {
  background: oklch(0.78 0.150 75);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.40),
    inset 0 -2px 0 oklch(0.30 0.080 60 / 0.40),
    0 14px 30px -8px oklch(0.55 0.150 75 / 0.70);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.30),
    inset 0 2px 0 oklch(0.30 0.080 60 / 0.40),
    0 4px 10px -6px oklch(0.55 0.150 75 / 0.55);
}
.btn-icon { transition: transform 200ms var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid oklch(0.16 0.030 200 / 0.35);
  border-top-color: var(--on-accent);
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn[data-state="loading"] { pointer-events: none; }
.btn[data-state="loading"] .btn-label { opacity: 0.55; }
.btn[data-state="loading"] .btn-icon { display: none; }
.btn[data-state="loading"] .btn-spinner { display: inline-block; }

.btn[data-state="success"] {
  background: var(--ok);
  color: var(--on-accent);
}
.btn[data-state="success"] .btn-icon { display: none; }

.trust {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.trust.on-dark { color: var(--on-dark-soft); }
.trust svg { flex-shrink: 0; opacity: 0.85; }

.form-status {
  margin: 0.7rem 0 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--ink-soft);
}
.form-status[data-tone="success"] { color: var(--ok); font-weight: 500; }
.form-status[data-tone="error"]   { color: var(--err); font-weight: 500; }
.form-status.on-dark[data-tone="success"] { color: var(--ok); }
.form-status.on-dark[data-tone="error"]   { color: var(--err); }

@media (max-width: 520px) {
  .signup-row {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 0.65rem;
    gap: 0.5rem;
  }
  .signup-row input { padding: 0.85rem 0.75rem; }
  .btn { width: 100%; padding: 0.95rem 1rem; }
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  isolation: isolate;
}
.visual-frame {
  position: relative;
  padding: clamp(1rem, 3vw, 1.5rem);
  min-height: 360px;
}
.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-md), inset 0 1px 0 oklch(1 0 0 / 0.04);
  max-width: 360px;
  transition: transform 400ms var(--ease-out);
}
.mock + .mock { margin-top: -1.2rem; }
.mock-1 { transform: rotate(-1.6deg); z-index: 3; }
.mock-2 { transform: translateX(28%) rotate(2deg); z-index: 2; margin-top: -0.5rem; max-width: 320px; }
.mock-3 { transform: translateX(-6%) rotate(-1deg); z-index: 1; margin-top: -0.5rem; max-width: 300px; }

@media (max-width: 939px) {
  .visual-frame { display: flex; flex-direction: column; align-items: center; }
  .mock { max-width: 460px; width: 100%; transform: none !important; margin: 0 0 -0.8rem !important; }
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.mock-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.tag-amber { background: oklch(0.32 0.085 75); color: oklch(0.88 0.130 80); }
.tag-sage  { background: oklch(0.30 0.055 165); color: oklch(0.86 0.090 165); }
.tag-clay  { background: oklch(0.32 0.060 25); color: oklch(0.86 0.090 25); }
.mock-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.mock-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.4rem 0;
  color: var(--ink);
}
.mock-body {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.mock-body em { font-style: normal; font-weight: 600; color: var(--accent); margin-right: 0.25rem; }
.mock-actions { display: flex; gap: 0.4rem; margin-top: 0.8rem; }
.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
}
.chip.ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line-strong); font-weight: 500; }
.mock-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.dot-sage {
  width: 8px; height: 8px; border-radius: 50%; background: oklch(0.70 0.110 165);
}
.mock-meta { font-size: 0.85rem; color: var(--ink-soft); }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}
.glow-a {
  top: -10%; right: -10%;
  width: 320px; height: 320px;
  background: oklch(0.52 0.140 75 / 0.50);
}
.glow-b {
  bottom: -15%; left: -5%;
  width: 280px; height: 280px;
  background: oklch(0.34 0.060 200 / 0.65);
}

/* ---------- Credibility billboard ---------- */
.credibility {
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
  text-align: center;
}
.credibility p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0 auto;
}
.cred-dot { display: none; }

/* ---------- Section base ---------- */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.section-head {
  max-width: 780px;
  margin: 0 auto var(--s-6);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }

/* ---------- Problem ---------- */
.problem { background: linear-gradient(180deg, transparent, var(--bg-deep) 40%, transparent); }
.two-col {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 820px) {
  .two-col { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}
.col-head { position: sticky; top: 100px; }
.col-head .h-display { margin: 0; }

/* ---------- Solution ---------- */
.solution-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 880px) {
  .solution-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.photo-slot { margin: 0; }
.photo-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-blush);
}
.photo-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 oklch(1 0 0 / 0.04);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), inset 0 1px 0 oklch(1 0 0 / 0.06);
  border-color: oklch(0.45 0.060 200);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), oklch(0.62 0.135 55));
  color: var(--on-accent);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -6px oklch(0.55 0.150 75 / 0.55);
}
.h-step {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
}
.step p { color: var(--ink-soft); margin: 0; max-width: 38ch; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.feature {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 oklch(1 0 0 / 0.04);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
  display: flex; flex-direction: column;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), inset 0 1px 0 oklch(1 0 0 / 0.06);
  border-color: oklch(0.50 0.080 75);
}
.feature h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.22rem;
  margin: 0 0 0.45rem 0;
  color: var(--ink);
  line-height: 1.25;
}
.feature p { color: var(--ink-soft); margin: 0; max-width: 42ch; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background: oklch(0.30 0.080 75);
  color: var(--accent);
  border: 1px solid oklch(0.40 0.090 75);
}
/* ---------- Reassurance ---------- */
.reassurance { padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(2rem, 5vw, 3rem); }
.reassure {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  position: relative;
}
.reassure p {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}
.reassure .quote-mark {
  display: inline-block;
  font-size: 1.2em;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 0.1em;
}
.reassure .quote-mark-end {
  margin-right: 0;
  margin-left: 0.1em;
}
.reassure footer {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-style: normal;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(80% 80% at 20% 0%, oklch(0.30 0.085 75) 0%, transparent 60%),
    linear-gradient(170deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  border-radius: clamp(20px, 3vw, 36px);
  margin: clamp(2rem, 5vw, 4rem) var(--shell-pad);
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.30 0.040 200);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; height: 80%;
  background: radial-gradient(closest-side, oklch(0.65 0.150 75 / 0.35), transparent 70%);
  pointer-events: none;
}
.final-shell {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
@media (min-width: 920px) {
  .final-shell { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
.final-copy .h-display { color: var(--on-dark); }
.final-copy .serif-italic { color: var(--accent); }
.signup-dark .signup-row {
  background: oklch(1 0 0 / 0.06);
  border-color: oklch(1 0 0 / 0.16);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.05);
}
.signup-dark .signup-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.74 0.150 75 / 0.25);
}
.signup-dark .signup-row input { color: var(--on-dark); }
.signup-dark .signup-row input::placeholder { color: oklch(0.70 0.030 75); }

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--s-7) 0 var(--s-5);
  border-top: 1px solid var(--line);
  margin-top: var(--s-4);
}
.footer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.brand-footer { color: var(--ink); }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 0.15rem 0 0.1rem;
  max-width: 32ch;
}
.footer-by {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}
.footer-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 160ms var(--ease-out);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent-deep);
}
.footer-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Motion: subtle entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-visual,
  .section-head > *,
  .step,
  .feature,
  .reassure > *,
  .final-copy > * {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 700ms var(--ease-out) forwards;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 60ms; }
  .hero-copy > *:nth-child(2) { animation-delay: 140ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 220ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 320ms; }
  .hero-visual { animation-delay: 380ms; }
  .mock-1 { animation: none; opacity: 1; transform: rotate(-1.6deg); }
  .mock-2 { animation: none; opacity: 1; transform: translateX(28%) rotate(2deg); }
  .mock-3 { animation: none; opacity: 1; transform: translateX(-6%) rotate(-1deg); }

  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.in {
    opacity: 1; transform: translateY(0);
    transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

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