/* =========================================================
   Family Scam Plan — design system
   Warm paper, editorial serif headlines, calm accent.
   ========================================================= */

:root {
  /* Surface */
  --ivory:        #FAF6EF;
  --ivory-deep:   #F3EDE2;
  --paper:        #FFFDF9;
  --paper-warm:   #FFF9F0;

  /* Ink */
  --ink:          #16263D;   /* deep navy — headings */
  --ink-mid:      #3E4E63;
  --ink-soft:     #56657A;   /* body */
  --ink-faint:    #58687A;   /* 5.3:1 on ivory — small print still passes AA */

  /* Accent */
  --coral:        #A8462F;   /* text-safe coral: 5.4:1 on ivory, 4.9:1 on coral-wash */
  --coral-bright: #C4614A;   /* fills */
  --coral-wash:   #F6E7E0;
  --coral-line:   #E8CFC5;

  --forest:       #2F5347;
  --forest-wash:  #E7EFEA;
  --gold:         #B8862F;
  --gold-wash:    #F7EEDA;

  /* Lines */
  --line:         #E7DECE;
  --line-soft:    #F0E8DA;

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:  ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand:  "Snell Roundhand", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;

  /* Space + shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(22,38,61,.05), 0 2px 8px rgba(22,38,61,.05);
  --shadow-md: 0 2px 4px rgba(22,38,61,.04), 0 10px 26px -8px rgba(22,38,61,.14);
  --shadow-lg: 0 4px 8px rgba(22,38,61,.05), 0 26px 58px -18px rgba(22,38,61,.26);

  --sect-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--coral); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2.5px solid var(--coral-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); text-decoration: none; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); }
.section { padding-block: var(--sect-y); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); text-wrap: balance; }
.section__head p { margin-bottom: 0; }

/* ---------- Type helpers ---------- */
.display {
  font-size: clamp(2.3rem, 5.3vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: .35em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--coral); }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--ink-mid); text-wrap: pretty; }
.eyebrow {
  font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 1.1rem;
}
.note { text-align: center; color: var(--ink-faint); font-size: .95rem; margin: 1.75rem auto 0; max-width: 40rem; }

.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ico--sm { width: 1.15rem; height: 1.15rem; }
.ico--xs { width: 1rem; height: 1rem; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, border-color .16s ease;
}
/* Fill uses --coral, not --coral-bright: white on #A8462F clears 4.5:1. */
.btn--primary { --btn-bg: var(--coral); --btn-fg: #fff; --btn-bd: var(--coral); box-shadow: var(--shadow-md); }
.btn--primary:hover { --btn-bg: #8E3A26; --btn-bd: #8E3A26; transform: translateY(-1px); }
.btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--line); background: var(--paper); }
.btn--ghost:hover { --btn-bd: var(--ink-faint); transform: translateY(-1px); }
.btn--sm { padding: .6rem 1.15rem; font-size: .9375rem; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: #F1E9DC;
  font-size: .9rem; text-align: center; padding: .6rem 1rem;
}
.announce p { margin: 0; }
.announce__link {
  color: #fff; font-weight: 600; margin-left: .4rem;
  display: inline-flex; align-items: center; gap: .3rem;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.45);
}
.announce__link:hover { text-decoration-color: #fff; }
.announce__arrow { width: .85rem; height: .85rem; transition: transform .16s ease; }
.announce__link:hover .announce__arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.wordmark__mark svg { width: 30px; height: 30px; fill: none; }
.wordmark__mark rect { fill: var(--ink); }
.wordmark__mark path { stroke: #E8A87C; stroke-width: 2.2; }
.wordmark__text { font-family: var(--serif); font-size: 1.13rem; font-weight: 600; letter-spacing: -0.015em; }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a:not(.btn) { color: var(--ink-mid); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--coral); }
.site-nav .btn { white-space: nowrap; }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }
@media (max-width: 560px) {
  .site-header__inner { min-height: 60px; }
  .wordmark__text { font-size: 1rem; }
  .wordmark__mark svg { width: 26px; height: 26px; }
  .site-nav .btn { padding: .5rem .9rem; font-size: .875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(90rem 42rem at 78% -12%, var(--paper-warm) 0%, rgba(255,249,240,0) 62%),
    radial-gradient(52rem 34rem at 4% 8%, #FDF3E9 0%, rgba(253,243,233,0) 60%),
    var(--ivory);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(3rem, 6vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); } }
.hero__copy { max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.6rem; }

.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; font-size: .92rem; color: var(--ink-faint); }
.assurances li { display: inline-flex; align-items: center; gap: .4rem; }
.assurances .ico { color: var(--forest); flex: none; }

/* ---------- Product mockups ---------- */
.hero__art { position: relative; }
.composition {
  position: relative;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.35rem;
}

/* Plan document */
.mock--doc {
  background: linear-gradient(180deg, #FFFDF9 0%, #FFFBF4 100%);
  border-radius: var(--r-md);
  padding: 1.9rem 1.7rem 2.1rem;
  position: relative;
}
.mock--doc .mock__rule { width: 44px; height: 3px; border-radius: 2px; background: var(--coral-bright); margin-bottom: 1.15rem; }
.mock__kicker { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .75rem; font-weight: 600; }
.mock__title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.16; margin-bottom: .6rem; }
.mock__sub { font-size: .82rem; color: var(--ink-faint); margin: 0; }
.mock--doc .mock__sub { padding-right: 3.75rem; } /* clear the seal */
.mock__seal {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest-wash); color: var(--forest);
}
.mock__seal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Fridge sheet */
.mock--fridge { background: var(--paper-warm); position: relative; padding-top: 1.6rem; }
.magnet {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E4A07C, #C4614A);
  box-shadow: 0 2px 5px rgba(22,38,61,.25);
}
.mock__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 650; margin-bottom: .55rem; }
.mock--fridge h4 { font-size: 1.08rem; margin-bottom: .7rem; }
.mock__steps { list-style: none; counter-reset: s; display: grid; gap: .4rem; font-size: .875rem; color: var(--ink-mid); }
.mock__steps li { counter-increment: s; display: flex; gap: .55rem; align-items: baseline; }
.mock__steps li::before {
  content: counter(s); flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral-wash); color: var(--coral);
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
  transform: translateY(2px);
}
.mock__foot { margin: .8rem 0 0; padding-top: .7rem; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--ink-faint); }

/* Wallet card */
.mock--wallet {
  background: linear-gradient(140deg, #1B2E48 0%, #16263D 60%);
  border-color: #1B2E48; color: #EDE3D6;
  border-radius: 12px; padding: 1rem 1.1rem 1.15rem;
  aspect-ratio: 1.586 / 1;
  max-width: 330px; /* keep credit-card proportions believable when stacked */
  display: flex; flex-direction: column; justify-content: space-between;
}
.wallet__top { display: flex; align-items: center; gap: .45rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: #E8A87C; }
.wallet__top svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.wallet__line { margin: 0; font-size: .92rem; color: #FBF6EE; line-height: 1.35; }
.wallet__line strong { color: #fff; }
.wallet__num { display: block; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: #C7D2E0; font-size: .86rem; }
.wallet__hand { margin: -1.15rem 0 0; font-family: var(--hand); font-size: 1.5rem; color: rgba(232,168,124,.92); line-height: 1; align-self: flex-end; }

/* Phone */
.mock--phone {
  background: #16263D; border-color: #16263D; border-radius: 26px;
  padding: 10px; box-shadow: var(--shadow-lg);
}
.phone__screen { background: var(--paper); border-radius: 18px; padding: 1.1rem 1rem 1.2rem; }
.phone__title { font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 600; margin-bottom: .75rem; }
.phone__list { list-style: none; display: grid; gap: .5rem; font-size: .82rem; color: var(--ink-mid); }
.phone__list li { display: flex; align-items: center; gap: .55rem; background: var(--ivory); border-radius: 9px; padding: .42rem .55rem; }
.phone__list span {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .66rem; font-weight: 700;
  display: grid; place-items: center;
}
.phone__pill {
  margin-top: .8rem; font-size: .72rem; font-weight: 600;
  background: var(--forest-wash); color: var(--forest);
  padding: .38rem .6rem; border-radius: 999px; text-align: center;
}

/* Staggered collage on larger screens.
   Areas keep the pieces from covering each other's text; the rotations and
   small offsets supply the layered, on-a-table feel. */
@media (min-width: 700px) {
  .composition {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    grid-template-areas:
      "doc    phone"
      "fridge phone"
      "fridge wallet";
    column-gap: 1.15rem;
    row-gap: 1.1rem;
    align-items: start;
  }
  .mock--doc    { grid-area: doc;    transform: rotate(-1.4deg); }
  .mock--fridge { grid-area: fridge; transform: rotate(1.2deg); z-index: 2; }
  .mock--phone  { grid-area: phone;  transform: rotate(2deg) translateX(4px); margin-top: 1.75rem; z-index: 4; }
  .mock--wallet { grid-area: wallet; transform: rotate(-2.6deg) translateX(-16px); z-index: 3; margin-top: .35rem; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .composition { max-width: 640px; margin-inline: auto; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.15rem; }
.cards--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.85rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--coral-wash); color: var(--coral);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.card h3 { font-size: 1.22rem; margin-bottom: .35em; }
.card p { margin: 0; font-size: .97rem; }

.section--problem { background: var(--ivory-deep); }
.pullquote {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 44rem; text-align: center;
  font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.42; color: var(--ink); text-wrap: balance;
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 1.35rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.75rem 0; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--paper-warm);
  font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; }
.step__body p { font-size: .97rem; margin-bottom: 1.6rem; }
.step__art {
  margin-top: auto; margin-inline: -1.75rem;
  padding: 1.5rem 1.75rem; background: var(--ivory-deep);
  border-top: 1px solid var(--line-soft);
  min-height: 176px; display: flex; flex-direction: column; justify-content: center;
}
.step__art > * { width: 100%; }

.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.mini__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 650; margin-bottom: .7rem; }

.contact-row { display: flex; align-items: center; gap: .65rem; padding: .42rem 0; font-size: .88rem; }
.contact-row + .contact-row { border-top: 1px solid var(--line-soft); }
.contact-row strong { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; }
.contact-row small { color: var(--ink-faint); font-size: .74rem; }
.contact-row--muted { opacity: .55; }
.avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral-wash); color: var(--coral);
  display: grid; place-items: center; font-size: .82rem; font-weight: 700;
}
.avatar--alt { background: var(--forest-wash); color: var(--forest); }
.avatar--ghost { background: transparent; border: 1.5px dashed var(--line); color: var(--ink-faint); }

.rule { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .8rem; color: var(--ink-faint); padding: .45rem 0; margin: 0; }
.rule + .rule { border-top: 1px solid var(--line-soft); }
.rule__value { color: var(--ink); font-weight: 600; font-size: .84rem; text-align: right; }
.rule__value--no { color: var(--coral); }
.rule--phrase .rule__value { font-family: var(--serif); font-size: .95rem; }
.rule--phrase em { font-family: var(--hand); font-style: normal; font-size: 1.15rem; }

.mini--formats { display: flex; flex-wrap: wrap; gap: .5rem; background: transparent; border: 0; box-shadow: none; padding: 0; }
.fmt {
  font-size: .8rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; box-shadow: var(--shadow-sm);
}
.fmt--sheet { background: var(--paper-warm); }
.fmt--wallet { background: var(--ink); color: #F1E9DC; border-color: var(--ink); }
.fmt--phone { background: var(--forest-wash); border-color: #D6E3DB; color: var(--forest); }

/* ---------- Contents grid ---------- */
.section--contents { background: var(--ivory-deep); }
.contents-grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contents-grid { grid-template-columns: repeat(3, 1fr); } }

.item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.item h3 { font-size: 1.1rem; margin-bottom: .3em; }
.item p { margin: 0; font-size: .93rem; }
.item__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--gold-wash); color: var(--gold);
}
.item__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.item__art { background: var(--ivory-deep); border-radius: var(--r-md); padding: 1.35rem; display: grid; place-items: center; }

@media (min-width: 1000px) {
  .item--feature { grid-row: span 2; }
  .item--feature .item__art { flex: 1; } /* fill the taller card instead of leaving dead space */
}
.mock--doc-sm { padding: 1.4rem 1.3rem 1.6rem; width: 100%; transform: rotate(-1.2deg); }
.mock--doc-sm .mock__title { font-size: 1.28rem; }
.mock--fridge-sm { width: 100%; transform: rotate(.8deg); }
.mock--fridge-sm h4 { font-size: .98rem; }
.mock--wallet-sm { width: 100%; max-width: 250px; transform: rotate(-2deg); }
.mock--wallet-sm .wallet__line { font-size: .85rem; }

/* ---------- Scenario ---------- */
.scenario {
  display: grid; gap: 0; grid-template-columns: 1fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
}
@media (min-width: 880px) { .scenario { grid-template-columns: .85fr 1.15fr; } }
.scenario__setup {
  background: linear-gradient(160deg, #1B2E48, #16263D);
  color: #EDE3D6; padding: clamp(2rem, 4vw, 3rem);
  display: grid; align-content: center;
}
.scenario__quote {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35; color: #FBF6EE; margin: 0; text-wrap: pretty;
}
.scenario__steps { padding: clamp(2rem, 4vw, 3rem); }
.response-list { list-style: none; counter-reset: r; display: grid; gap: .9rem; }
.response-list li {
  counter-increment: r; display: flex; gap: .9rem; align-items: flex-start;
  font-size: 1rem; color: var(--ink-mid);
}
.response-list li::before {
  content: counter(r); flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--coral-wash); color: var(--coral);
  font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.response-list li + li { border-top: 1px solid var(--line-soft); padding-top: .9rem; }

/* ---------- Comparison ---------- */
.section--diff { background: var(--ivory-deep); }
.compare { display: grid; gap: 1.15rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: var(--r-lg); padding: 2rem 1.85rem; border: 1px solid var(--line); }
.compare__col h3 { font-size: 1.12rem; margin-bottom: 1.2rem; }
.compare__col ul { list-style: none; display: grid; gap: .75rem; }
.compare__col--plain { background: transparent; border-style: dashed; }
.compare__col--plain h3 { color: var(--ink-mid); }
.compare__col--plain li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink-faint); font-size: .97rem; }
.compare__col--plain li::before { content: ""; flex: none; width: 14px; height: 1.5px; background: var(--ink-faint); opacity: .6; transform: translateY(-4px); }
.compare__col--ours { background: var(--paper); box-shadow: var(--shadow-md); border-color: var(--coral-line); }
.compare__badge {
  display: inline-block; background: var(--coral-wash); color: var(--coral);
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .35rem .75rem; border-radius: 999px;
}
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-size: .99rem; font-weight: 500; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: .18rem; fill: none; stroke: var(--forest); stroke-width: 2.2; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 34rem; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.85rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg);
}
.price-card__head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.price-card__head h3 { font-size: 1.5rem; margin: 0; }
.price-card__price { margin: 0; text-align: right; }
.price-card__label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 650; margin-bottom: .1rem; }
.price-card__price strong { font-family: var(--serif); font-size: 2.5rem; color: var(--ink); line-height: 1; font-weight: 600; }
.price-card__list { list-style: none; display: grid; gap: .8rem; margin: 1.5rem 0 1.9rem; }
.price-card__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: var(--ink-mid); }
.price-card__list svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; fill: none; stroke: var(--forest); stroke-width: 2.2; }
.price-card__note { text-align: center; font-size: .875rem; color: var(--ink-faint); margin: 1rem 0 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: none; border: 0; padding: 1.35rem .25rem; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.2rem); font-weight: 600;
  color: var(--ink); line-height: 1.35;
}
.faq__q:hover { color: var(--coral); }
.faq__chev { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; color: var(--ink-faint); transition: transform .24s ease; }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); color: var(--coral); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 3rem 1.55rem .25rem; max-width: 58ch; }
.faq__a[hidden] { display: none; }
.faq__a.is-animating { display: block; }

/* ---------- Signup ---------- */
.section--signup { background: var(--ivory-deep); }
.signup-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.85rem, 4.5vw, 3.25rem); box-shadow: var(--shadow-lg);
  position: relative;
}
.signup-card__head { text-align: center; margin-bottom: 2.15rem; }
.signup-card__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.signup-card__head p { margin: 0 auto; max-width: 38rem; }

.form { display: grid; gap: 1.15rem; }
.form[hidden] { display: none; } /* display:grid would otherwise beat the UA [hidden] rule */
.field { display: grid; gap: .42rem; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--ink-faint); font-size: .82rem; margin-left: .3rem; }
.req { color: var(--coral); }
.field input, .select-wrap select {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--paper-warm); color: var(--ink);
  font-size: 1rem; transition: border-color .16s ease, background-color .16s ease;
}
.field input::placeholder { color: #A9B2BE; }
.field input:hover, .select-wrap select:hover { border-color: #DBCFBB; }
.field input:focus, .select-wrap select:focus { background: #fff; border-color: var(--coral-bright); }
.field input[aria-invalid="true"] { border-color: var(--coral); background: #FDF4F1; }
.field__error { margin: 0; font-size: .85rem; color: var(--coral); font-weight: 500; }
.field__error[hidden] { display: none; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select-wrap__chev { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; }

.checkbox { display: flex; align-items: flex-start; gap: .7rem; padding: .15rem 0 .3rem; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: .18rem 0 0; accent-color: var(--coral-bright); cursor: pointer; }
.checkbox label { font-size: .95rem; color: var(--ink-mid); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__legal { font-size: .82rem; color: var(--ink-faint); text-align: center; margin: -.25rem 0 0; }
.form__status { margin: 0; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .92rem; font-weight: 500; background: #FDF0EC; color: var(--coral); border: 1px solid var(--coral-line); }
.form__status[hidden] { display: none; }

.success { text-align: center; padding: 1.5rem 0 .5rem; }
.success[hidden] { display: none; }
.success__mark {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--forest-wash); color: var(--forest); margin: 0 auto 1.25rem;
  animation: pop .4s cubic-bezier(.2,.9,.3,1.3) both;
}
.success__mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.success h3 { font-size: 1.65rem; }
.success p { margin: 0; color: var(--ink-mid); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.is-submitting .btn--primary { opacity: .65; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D2DE; padding-block: clamp(3rem, 6vw, 4.5rem) 2.25rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.wordmark--footer { color: #fff; margin-bottom: .85rem; }
.wordmark--footer .wordmark__mark rect { fill: #fff; }
.wordmark--footer .wordmark__mark path { stroke: #16263D; }
.site-footer__tag { margin: 0; font-size: .95rem; color: #A9B6C6; max-width: 26rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__links a { color: #D7DFE9; text-decoration: none; font-size: .95rem; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__disclaimer { margin: 2rem 0 1.25rem; font-size: .84rem; line-height: 1.6; color: #93A2B4; max-width: 62rem; }
.site-footer__copy { margin: 0; font-size: .84rem; color: #7E8DA1; }

/* ---------- Scroll reveal ----------
   Scoped to .js-reveal-ready, which an inline head script adds only when the
   browser can actually animate. Without JS every .reveal stays fully visible. */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1);
}
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Section anchors clear the sticky header */
:where(section, div)[id] { scroll-margin-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .mock, .mock--doc-sm, .mock--fridge-sm, .mock--wallet-sm { transform: none !important; }
}

@media print {
  .announce, .site-header, .hero__actions, .section--signup { display: none; }
  body { background: #fff; }
}
