/* AlohaVoice — alohavoice.app
   Editorial warmth: Instrument Serif display, Inter body,
   cream paper, rust accent. Self-contained; local fonts only. */

/* ---------- Fonts (local, OFL-licensed) ---------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f7f2e8;        /* page ground */
  --paper-deep: #efeae0;   /* brand cream, section bands */
  --card: #fffdf8;         /* raised cards */
  --ink: #241d13;          /* body text — AAA on paper */
  --ink-soft: #5d5344;     /* secondary text — AA on paper */
  --rust: #b65027;         /* display accent, large type only */
  --rust-deep: #9c3f1a;    /* links, buttons, small accents — AA */
  --teal-deep: #1f5c58;    /* Sophie's voice */
  --line: #d9d0bf;         /* hairlines */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
}

/* ---------- Reset-ish ---------- */
*, *::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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  font-feature-settings: "ss01" off;
  /* faint paper grain */
  background-image: radial-gradient(rgba(120, 96, 60, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
img, svg { display: block; max-width: 100%; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.75rem, 7.5vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1.1em; max-width: var(--measure); }
em { font-style: italic; }
a  { color: var(--rust-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--rust-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* SECLABEL rule-header, carried from the AlohaVoice report frame */
.seclabel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust-deep);
}
.seclabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}
section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.band { background: var(--paper-deep); border-block: 1px solid var(--line); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  z-index: 10;
}
.skip-link:focus { left: 0.5rem; }

/* ---------- Header ---------- */
.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark .dot { color: var(--rust); }
.head-cta {
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 8vw, 5.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero h1 em { color: var(--rust); }
.hero .lede {
  font-size: clamp(1.15rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  margin-top: 1.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 2rem;
  background: var(--rust-deep);
  color: var(--card);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}
.btn:hover { background: var(--ink); color: var(--card); }
.btn:active { transform: translateY(1px); }
.quiet-link { font-size: 1rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }

/* Conversation card — the App Store "conversation card" motif */
.convo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: 0 18px 40px -18px rgba(60, 40, 15, 0.35);
  transform: rotate(-1.4deg);
}
.convo-card .card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}
.bubble {
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 100%;
}
.bubble .who {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  opacity: 0.75;
}
.bubble.dad {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  margin-right: 1.75rem;
}
.bubble.sophie {
  background: var(--teal-deep);
  color: #f2ede2;
  margin-left: 1.75rem;
}
.convo-card .caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1.3rem 0 0;
  text-align: center;
}

/* ---------- Benefits ---------- */
.benefits-lede { font-size: 1.2rem; max-width: 56ch; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: 2.75rem;
}
.benefit h3 { margin-bottom: 0.6rem; }
.benefit h3 .tick { color: var(--rust); }
.benefit p { font-size: 1.02rem; color: var(--ink-soft); margin: 0; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: 2.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps .num {
  font-family: var(--serif);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--rust);
}
.steps .num::after { content: "."; }
.steps h3 { margin: 0.5rem 0 0.6rem; }
.steps p { font-size: 1.02rem; color: var(--ink-soft); margin: 0; }

/* ---------- Waitlist ---------- */
.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.price-note {
  border-left: 3px solid var(--rust);
  padding-left: 1.25rem;
  margin-top: 2.25rem;
}
.price-note .price {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}
.price-note .hardship {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
}

.waitlist-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 18px 40px -22px rgba(60, 40, 15, 0.3);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--rust-deep);
  outline-offset: 1px;
  border-color: var(--rust-deep);
}
.waitlist-form .btn { width: 100%; }

.form-status { margin-top: 1.1rem; }
.form-status p { margin: 0; font-size: 1.02rem; }
.status-ok {
  background: #e8efe4;
  border: 1px solid #b9c9ad;
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}
.status-ok .headline {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.status-err {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink);
  color: #cfc6b6;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 2.5rem;
  font-size: 0.95rem;
}
.site-foot a { color: #f0e9db; }
.site-foot a:hover { color: #fff; }
.disclaimer {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  color: #f0e9db;
  max-width: 40ch;
  margin: 0 0 0.9rem;
}
.disclaimer .sep { color: var(--rust); padding: 0 0.35rem; }
.crisis { max-width: var(--measure); margin-bottom: 2.25rem; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 233, 219, 0.2);
}
.foot-meta span, .foot-meta a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Motion (opt-in only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 700ms cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
  }
  .rise:nth-child(2), .rise.d2 { animation-delay: 120ms; }
  .rise.d3 { animation-delay: 240ms; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
  .convo-card { transition: transform 300ms ease; }
  .convo-card:hover { transform: rotate(0deg); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .hero-grid, .waitlist-grid { grid-template-columns: 1fr; }
  .benefit-grid, .steps { grid-template-columns: 1fr; gap: 2rem; }
  .convo-card { transform: rotate(0deg); margin-top: 0.5rem; }
  .hero-actions .btn { width: 100%; }
  .site-head { flex-wrap: wrap; }
}

/* ---------- Privacy stub ---------- */
.prose { padding: clamp(3rem, 8vw, 5rem) 0 5rem; }
.prose h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); margin-bottom: 1.25rem; }
