/* baldwin.insure — The Baldwin Insurance Firm, LLC
   Build stamp: editorial index (numbered sections) · light sibling of baldwin.financial
   mood: warm/premium · palette: paper #F4EFE7 / ink #1A1512 / green #245B4C
   contrast: ink/paper 14.9:1, green/paper 6.9:1, paper/green 6.9:1, ink-2/paper 6.2:1
   motion: GSAP + ScrollTrigger (reveals, word reveal, counters); no smooth-scroll engine by design (conversion page, anchor-driven)
   self-critique (1–5): show-don't-tell 4 · philosophy 4 · hierarchy 4 · specificity 5 · restraint 4 · variety 4 */

/* ---------- Tokens ---------- */
:root {
  --paper: #F4EFE7;
  --paper-2: #FBF8F3;
  --white: #FFFDFA;
  --ink: #1A1512;
  --ink-2: #5B524A;
  --ink-3: #8A7F75;
  --line: rgba(26, 21, 18, 0.12);
  --line-2: rgba(26, 21, 18, 0.07);
  --green: #245B4C;
  --green-2: #1B4A3D;
  --green-soft: #DCE8E1;
  --green-tint: rgba(36, 91, 76, 0.08);
  --mint: #CFE3D8;
  --green-mid: #3F7A66;
  --amber: #CFE3D8; /* legacy alias, now mint */
  --amber-soft: #DCE8E1;
  --red: #A5402F;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --shadow-sm: 0px 2px 3px -1px rgba(0,0,0,0.1), 0px 1px 0px 0px rgba(25,28,33,0.02), 0px 0px 0px 1px rgba(25,28,33,0.08);
  --shadow-md: 0px 0px 0px 1px rgba(0,0,0,0.06), 0px 1px 1px -0.5px rgba(0,0,0,0.06), 0px 3px 3px -1.5px rgba(0,0,0,0.06), 0px 6px 6px -3px rgba(0,0,0,0.06), 0px 12px 12px -6px rgba(0,0,0,0.06), 0px 24px 24px -12px rgba(0,0,0,0.06);
  --shadow-lg: 0 2.8px 2.2px rgba(0,0,0,0.034), 0 6.7px 5.3px rgba(0,0,0,0.048), 0 12.5px 10px rgba(0,0,0,0.06), 0 22.3px 17.9px rgba(0,0,0,0.072), 0 41.8px 33.4px rgba(0,0,0,0.086), 0 100px 80px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --gutter: 16px;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-position: from-font; text-decoration-thickness: from-font; text-decoration-skip-ink: auto; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out);
}
.skip-link:focus { top: 16px; }

[id] { scroll-margin-top: 88px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.display em, .display i { font-style: italic; font-weight: 400; color: var(--green); }
.eyebrow {
  font-size: 12px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--green);
}
.eyebrow .num { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 14px; margin-right: 12px; color: var(--ink-3); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 20px; }
.tiny { font-size: 12px; line-height: 16px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--green); color: var(--paper-2); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 8px; }
.btn-ink { background: var(--green); color: var(--paper-2); }
.btn-sm { padding: 8px 14px; font-size: 14px; line-height: 20px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-2); }
  .btn-secondary:hover { border-color: var(--ink); }
  .btn-ink:hover { background: var(--green-2); }
  .btn-ghost:hover { color: var(--green); }
}
.btn .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(3px); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 420px) { .nav .brand-sub { display: none; } }
.brand-mark { width: 10px; height: 10px; border-radius: 3px; background: var(--green); display: inline-block; transform: translateY(-1px); margin-right: 2px; }
.nav-links { display: none; gap: 20px; align-items: center; white-space: nowrap; }
.nav-links a { text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); transition: color 200ms ease; }
.nav-links a[aria-current="page"], .nav-links a.is-active { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-cta { display: none; align-items: center; gap: 12px; }
.nav-phone { text-decoration: none; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.nav-mobile { display: flex; align-items: center; gap: 8px; }
@media (min-width: 960px) { .nav-links, .nav-cta { display: flex; } .nav-mobile { display: none; } }

.nav-burger {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; position: relative;
}
.nav-burger span {
  position: absolute; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 260ms var(--ease-in-out), opacity 200ms ease;
}
.nav-burger span:nth-child(1) { transform: translateY(-5px); }
.nav-burger span:nth-child(3) { transform: translateY(5px); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49; background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease-out), visibility 0s linear 240ms;
}
.menu[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 240ms var(--ease-out), visibility 0s; }
.menu > a { font-family: var(--font-display); font-size: 36px; line-height: 40px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-2);
  opacity: 0; transform: translateY(16px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.menu[data-open="true"] > a { opacity: 1; transform: translateY(0); }
.menu[data-open="true"] > a:nth-child(1) { transition-delay: 40ms; }
.menu[data-open="true"] > a:nth-child(2) { transition-delay: 80ms; }
.menu[data-open="true"] > a:nth-child(3) { transition-delay: 120ms; }
.menu[data-open="true"] > a:nth-child(4) { transition-delay: 160ms; }
.menu[data-open="true"] > a:nth-child(5) { transition-delay: 200ms; }
.menu[data-open="true"] > a:nth-child(6) { transition-delay: 240ms; }
.menu .menu-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
body[data-menu="open"] { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-tight { padding-block: 48px; }
@media (min-width: 960px) { .section { padding-block: 128px; } .section-tight { padding-block: 64px; } }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: 36px; line-height: 1.1; }
@media (min-width: 768px) { .section-head h2 { font-size: 48px; line-height: 1.05; } .section-head { margin-bottom: 64px; } }
.rule { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 48px; padding-bottom: 64px; position: relative; overflow: hidden; }
@media (min-width: 960px) { .hero { padding-top: 96px; padding-bottom: 112px; } }
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: start; } .hero-grid > .fit { margin-top: 8px; } }
.hero h1 { font-size: 48px; line-height: 1; max-width: 680px; }
@media (min-width: 768px) { .hero h1 { font-size: 60px; } }
@media (min-width: 1100px) { .hero h1 { font-size: 72px; } }
.hero .lede { margin-top: 24px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ---------- Fit check card ---------- */
.fit {
  background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 24px; position: relative;
}
@media (min-width: 768px) { .fit { padding: 32px; } }
.fit-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.fit-head .eyebrow { color: var(--ink-3); }
.fit-dots { display: flex; gap: 6px; }
.fit-dots i { width: 24px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color 240ms ease; }
.fit-dots i.done { background: var(--green); }
.fit-dots i.now { background: var(--ink); }
.fit-step { display: none; }
.fit-step[data-active="true"] { display: block; animation: step-in 220ms var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.fit-q { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 500; margin-bottom: 16px; }
.fit-opts { display: grid; gap: 8px; }
@media (min-width: 480px) { .fit-opts { grid-template-columns: 1fr 1fr; } }
.fit-opt {
  text-align: left; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 24px;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
}
.fit-opt small { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.fit-opt:active { transform: scale(0.98); }
.fit-opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
@media (hover: hover) and (pointer: fine) { .fit-opt:hover { border-color: var(--ink); } }
.fit-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fit-months .fit-opt { padding: 8px; text-align: center; font-size: 14px; line-height: 20px; }
.fit-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.fit-back { background: none; border: 0; padding: 8px 0; color: var(--ink-2); font-weight: 600; cursor: pointer; font-size: 14px; line-height: 20px; }
.fit-back:disabled { visibility: hidden; }
.fit-note { font-size: 12px; line-height: 16px; color: var(--ink-3); }

.fit-result { display: none; }
.fit-result[data-active="true"] { display: block; }
.fit-result .path { font-family: var(--font-display); font-size: 36px; line-height: 1.1; margin: 4px 0 12px; }
.fit-result .fit-why { color: var(--ink-2); }
.fit-result .layer { margin-top: 16px; padding: 12px 16px; background: var(--paper); border-radius: var(--radius); font-size: 14px; line-height: 20px; }
.fit-result .layer b { color: var(--ink); }
.fit-result .timing { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.fit-result .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.fit-result .restart { background: none; border: 0; color: var(--ink-2); font-weight: 600; cursor: pointer; padding: 8px 0; font-size: 14px; line-height: 20px; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper-2); padding: 24px; display: grid; gap: 8px; align-content: start; }
.stat .n { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.stat .n sup { font-size: 20px; line-height: 1; vertical-align: top; color: var(--green); margin-left: 2px; }
.stat .l { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.sources { font-size: 12px; line-height: 16px; color: var(--ink-3); margin-top: 16px; }
.sources a { color: var(--ink-2); }

/* ---------- Two-column argument ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.split-sticky { position: sticky; top: 96px; }

/* ---------- Turnover calculator ---------- */
.calc { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; display: grid; gap: 24px; }
@media (min-width: 768px) { .calc { padding: 32px; } }
.calc label { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 8px; }
.calc label output { font-weight: 700; color: var(--green); }
.calc input[type="range"] { width: 100%; accent-color: var(--green); }
.calc-out { border-top: 1px solid var(--line-2); padding-top: 24px; }
.calc-out .big { font-family: var(--font-display); font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { .calc-out .big { font-size: 48px; line-height: 1; } }
.calc-out .big span { color: var(--green); }
.calc-out p { margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 20px; }

/* ---------- Tagline reveal ---------- */
.tagline { padding-block: 96px; }
@media (min-width: 960px) { .tagline { padding-block: 160px; } }
.tagline p { font-family: var(--font-display); font-size: 36px; line-height: 1.12; max-width: 900px; font-weight: 500; letter-spacing: -0.01em; }
@media (min-width: 768px) { .tagline p { font-size: 48px; } }
@media (min-width: 1100px) { .tagline p { font-size: 60px; } }
.tagline .w { display: inline-block; color: var(--ink); opacity: 0.28; transition: opacity 500ms var(--ease-drawer); }
.tagline .w.on { opacity: 1; }
.tagline .w.on em { color: var(--green); }

/* ---------- Comparison matrix ---------- */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.matrix { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.matrix th, .matrix td { padding: 16px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14px; line-height: 20px; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix thead th { background: var(--paper); font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 500; }
.matrix thead th small { display: block; font-family: var(--font-sans); font-size: 12px; line-height: 16px; color: var(--ink-2); font-weight: 500; margin-top: 4px; }
.matrix tbody th { font-weight: 700; color: var(--ink); width: 180px; background: var(--paper); }
@media (max-width: 640px) { .matrix tbody th { width: 128px; } }
.matrix td { color: var(--ink-2); }
.matrix td b { color: var(--ink); font-weight: 600; }
.matrix .good { color: var(--green); font-weight: 600; }
.matrix .warn { color: var(--ink); font-weight: 600; }
.matrix col.hl { background: var(--green-tint); }

.swipe-hint { display: block; margin-bottom: 8px; }
@media (min-width: 800px) { .swipe-hint { display: none; } }

/* ---------- CTA bands ---------- */
.band { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1fr) auto; padding: 32px 40px; gap: 40px; } }
.band-title { font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
@media (min-width: 768px) { .band-title { font-size: 30px; } }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.band-ink { background: var(--green-2); color: var(--paper); }
.band-ink p { color: rgba(244, 239, 231, 0.78); }
.band-ink .band-title { color: var(--paper); }
.band-ink .band-title em { color: var(--mint); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 48;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px;
  background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px)); opacity: 0;
  transition: transform 320ms var(--ease-drawer), opacity 240ms ease;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.sticky-cta[data-show="true"] { transform: translateY(0); opacity: 1; }
.sticky-cta .btn-secondary { background: var(--white); }
@media (min-width: 960px) { .sticky-cta { display: none; } }
body[data-menu="open"] .sticky-cta { opacity: 0; pointer-events: none; }

/* ---------- Industry panel ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--green); color: var(--paper-2); border-color: var(--green); }
@media (hover: hover) and (pointer: fine) { .tab:not([aria-selected="true"]):hover { border-color: var(--ink); color: var(--ink); } }
.panel { display: none; }
.panel[data-active="true"] { display: grid; }
.panel { gap: 24px; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; }
@media (min-width: 768px) { .panel { padding: 32px; grid-template-columns: 1.1fr 1fr; gap: 32px; } }
.panel h3 { font-family: var(--font-display); font-size: 30px; line-height: 36px; margin-bottom: 8px; }
.panel .cols { display: grid; gap: 16px; }
.panel .col h4 { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.panel .col ul { display: grid; gap: 6px; }
.panel .col li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.panel .col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.panel .col li b { color: var(--ink); font-weight: 600; }
.package { background: var(--paper); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 12px; align-content: start; }
.package h4 { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 500; }
.package .stack { display: grid; gap: 8px; }
.package .layer-row { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; line-height: 20px; }
.package .layer-row .tag { margin-left: auto; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.package .layer-row .tag.opt { color: var(--ink-3); }
.package .layer-row .k { width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.package .watch { font-size: 14px; line-height: 20px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.package .watch b { color: var(--green); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line-2); }
@media (min-width: 768px) { .step { grid-template-columns: 120px 1fr 1fr; gap: 24px; align-items: start; } }
.step .when { font-family: var(--font-display); font-size: 20px; line-height: 28px; color: var(--green); }
.step h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 20px; }
.step .get { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.step .get b { color: var(--ink); font-weight: 600; }

.calendar { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; margin-top: 48px; }
@media (min-width: 768px) { .calendar { padding: 32px; } }
.calendar-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.calendar-head h3 { font-family: var(--font-display); font-size: 24px; line-height: 32px; }
.calendar-head .pick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.calendar-head select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); }
.cal-svg { width: 100%; height: auto; display: block; }
.cal-svg g { animation: step-in 260ms var(--ease-out) both; }
.cal-svg g:nth-of-type(2) { animation-delay: 30ms; } .cal-svg g:nth-of-type(3) { animation-delay: 60ms; } .cal-svg g:nth-of-type(4) { animation-delay: 90ms; }
.cal-svg g:nth-of-type(5) { animation-delay: 120ms; } .cal-svg g:nth-of-type(6) { animation-delay: 150ms; } .cal-svg g:nth-of-type(7) { animation-delay: 180ms; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Carry list ---------- */
.carry { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .carry { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .carry { grid-template-columns: repeat(3, 1fr); } }
.carry li { background: var(--paper-2); padding: 24px; display: grid; gap: 6px; align-content: start; }
.carry li b { font-weight: 600; }
.carry li span { font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* ---------- Why ---------- */
.why { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.portrait { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--green-soft); box-shadow: var(--shadow-md); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--green); font-size: 14px; line-height: 20px; font-weight: 600; }
.portrait .cap { position: absolute; left: 16px; bottom: 16px; right: 16px; background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 12px 16px; }
.portrait .cap b { display: block; font-weight: 700; }
.portrait .cap span { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.why-points { display: grid; gap: 24px; }
.why-points li { display: grid; gap: 4px; padding-left: 24px; position: relative; }
.why-points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.why-points b { font-size: 18px; line-height: 28px; font-weight: 600; }
.why-points p { color: var(--ink-2); }
.tie { margin-top: 32px; background: var(--green-2); color: var(--paper); border-radius: var(--radius-xl); padding: 24px; display: grid; gap: 12px; }
@media (min-width: 768px) { .tie { padding: 32px; } }
.tie h3 { font-family: var(--font-display); font-size: 24px; line-height: 32px; font-weight: 500; }
.tie h3 em { color: var(--mint); font-style: italic; font-weight: 400; }
.tie p { color: rgba(244, 239, 231, 0.78); }
.tie a { color: var(--paper); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .x { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .x::before, .faq summary .x::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); width: 14px; height: 2px; transform: translate(-50%, -50%); transition: transform 240ms var(--ease-in-out); }
.faq summary .x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 720px; }
.faq details[open] .a { animation: step-in 240ms var(--ease-out) both; }

/* ---------- Quote form ---------- */
.quote { background: var(--green-2); color: var(--paper); border-radius: var(--radius-xl); overflow: hidden; }
.quote-grid { display: grid; gap: 32px; padding: 32px 24px; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 64px; } }
.quote h2 { font-family: var(--font-display); font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { .quote h2 { font-size: 48px; line-height: 1.05; } }
.quote h2 em { color: var(--mint); font-style: italic; font-weight: 400; }
.quote .lede { color: rgba(244, 239, 231, 0.78); }
.quote .alt { margin-top: 32px; display: grid; gap: 12px; }
.quote .alt a { color: var(--paper); }
.quote .alt .btn-secondary { color: var(--paper); border-color: rgba(244, 239, 231, 0.3); }
@media (hover: hover) and (pointer: fine) { .quote .alt .btn-secondary:hover { border-color: var(--paper); } }
.quote .prefill { margin-top: 24px; font-size: 14px; line-height: 20px; color: rgba(244, 239, 231, 0.7); display: none; }
.quote .prefill[data-show="true"] { display: block; }
.quote .prefill b { color: var(--paper); font-weight: 600; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; color: rgba(244, 239, 231, 0.9); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper-2);
  border: 1px solid transparent; border-radius: var(--radius); padding: 10px 12px; min-height: 44px;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--paper); outline-offset: 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.field .err { display: none; font-size: 12px; line-height: 16px; color: #FFD6CC; }
.field .err[data-show="true"] { display: block; }
.checks { display: grid; gap: 8px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: rgba(244, 239, 231, 0.9); cursor: pointer; }
.check input { accent-color: var(--paper); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.form .consent { font-size: 12px; line-height: 16px; color: rgba(244, 239, 231, 0.6); }
.form .consent a { color: rgba(244, 239, 231, 0.85); }
.form .submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn-amber { background: var(--paper); color: var(--green-2); }
@media (hover: hover) and (pointer: fine) { .btn-amber:hover { background: var(--white); } }
.form-status { display: none; font-size: 14px; line-height: 20px; }
.form-status[data-show="true"] { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { display: none; gap: 16px; }
.success[data-show="true"] { display: grid; }
.success h3 { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 500; }
.success p { color: rgba(244, 239, 231, 0.78); }
.success ol { display: grid; gap: 12px; counter-reset: s; }
.success ol li { position: relative; padding-left: 36px; color: rgba(244, 239, 231, 0.9); }
.success ol li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-display); color: var(--mint); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line-2); margin-top: 80px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer h4 { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-2); font-size: 14px; line-height: 20px; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--ink); } }
.footer .about { color: var(--ink-2); font-size: 14px; line-height: 20px; max-width: 420px; margin-top: 12px; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.footer .legal a { font-size: 12px; line-height: 16px; }
.footer .sister { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--ink); }
.footer .sister .sq { width: 10px; height: 10px; border-radius: 3px; background: var(--green); display: inline-block; }

/* ---------- Simple page (quote, legal) ---------- */
.page { padding: 48px 0 80px; }
.page h1 { font-family: var(--font-display); font-size: 48px; line-height: 1.05; margin-bottom: 16px; }
.page .prose { max-width: 760px; display: grid; gap: 16px; color: var(--ink-2); }
.page .prose h2 { font-family: var(--font-display); font-size: 30px; line-height: 36px; color: var(--ink); margin-top: 24px; }
.page .prose p b { color: var(--ink); }
.page .prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.page .prose .ph { background: var(--amber-soft); padding: 2px 6px; border-radius: 4px; color: var(--ink); font-weight: 600; }
.breadcrumb { font-size: 14px; line-height: 20px; color: var(--ink-3); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; align-content: center; gap: 16px; padding: 80px 0; }
.lost h1 { font-family: var(--font-display); font-size: 60px; line-height: 1; }

/* ---------- Reveal defaults (JS adds motion; without JS everything is visible) ---------- */
[data-reveal] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .tagline .w { opacity: 1; }
  .fit-step[data-active="true"], .faq details[open] .a, .cal-svg g { animation: none; }
}

/* ---------- In-card mini form (hero conversion) ---------- */
.mini { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.mini-title { font-weight: 700; font-size: 16px; line-height: 1.4; }
.mini-row { display: grid; gap: 12px; }
@media (min-width: 520px) { .mini-row { grid-template-columns: 1fr 1fr; } }
.field-lt { display: grid; gap: 4px; }
.field-lt label { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.field-lt input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-height: 44px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field-lt input:focus { outline: 2px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.field-lt input[aria-invalid="true"] { border-color: var(--red); }
.field-lt .err { color: var(--red); }
.mini-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mini .form-status { color: var(--ink-2); }
.mini-success { display: none; gap: 8px; margin: 20px 0 8px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.mini-success[data-show="true"] { display: grid; animation: step-in 320ms var(--ease-out) both; }
.mini-success a { color: var(--green); font-weight: 600; }
.fit-result[data-sent="true"] .restart { display: none; }

/* ---------- The experience: phone screens ---------- */
.exp { display: grid; gap: 48px; }
@media (min-width: 1040px) { .exp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: 264px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screens .phone { scroll-snap-align: start; }
@media (min-width: 1040px) { .exp { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } .screens { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; align-items: start; } .screens .phone:nth-child(2) { margin-top: 40px; } .screens .phone:nth-child(3) { margin-top: 80px; } }
.phone { margin: 0; display: grid; gap: 12px; }
.phone-top, .phone-body { background: var(--white); }
.phone-top { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 12px 14px 8px; border-radius: 28px 28px 0 0; border: 1px solid var(--line-2); border-bottom: 0; font-size: 11px; line-height: 16px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.phone-step { margin-left: auto; color: var(--green); }
.phone-body { padding: 12px 14px 16px; border-radius: 0 0 28px 28px; border: 1px solid var(--line-2); border-top: 0; display: grid; gap: 8px; box-shadow: var(--shadow-lg); }
.ph-h { font-family: var(--font-display); font-size: 18px; line-height: 1.25; margin-bottom: 4px; }
.plan { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; line-height: 1.35; }
.plan b { display: block; font-weight: 700; }
.plan span { display: block; color: var(--ink-2); font-size: 11px; line-height: 14px; max-width: 150px; }
.plan-cost { text-align: right; white-space: nowrap; }
.plan-cost b { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.plan.is-pick { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green) inset; }
.ph-btn { background: var(--green); color: var(--paper-2); text-align: center; font-weight: 700; font-size: 13px; line-height: 20px; padding: 10px; border-radius: 999px; margin-top: 4px; }
.ph-note { font-size: 11px; line-height: 14px; color: var(--ink-3); text-align: center; }
.row-chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; line-height: 1.35; }
.row-chk i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line); flex: none; margin-top: 1px; background: var(--white); position: relative; }
.row-chk.is-on i { background: var(--green); border-color: var(--green); }
.row-chk.is-on i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--paper-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.row-chk b { display: block; font-weight: 700; }
.row-chk span { display: block; color: var(--ink-2); font-size: 11px; line-height: 14px; }
.sign { border: 1px dashed var(--line); border-radius: 12px; padding: 8px 12px 4px; margin-top: 4px; background: var(--paper-2); }
.sign-label { font-size: 11px; line-height: 14px; color: var(--ink-3); display: block; }
.sign svg { width: 100%; height: 44px; display: block; }
.sig { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.phone.is-in .sig { animation: draw 1400ms var(--ease-in-out) 300ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.idcard { background: var(--green-2); color: var(--paper); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.id-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.id-top b { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.id-top span { font-size: 11px; line-height: 14px; color: var(--mint); letter-spacing: 0.04em; }
.id-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.id-grid span { display: block; font-size: 10px; line-height: 12px; color: rgba(244,239,231,0.65); text-transform: uppercase; letter-spacing: 0.06em; }
.id-grid b { font-size: 14px; line-height: 18px; font-weight: 700; }
.ph-list { display: grid; gap: 6px; }
.ph-li { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; line-height: 1.3; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ph-li b { font-weight: 700; } .ph-li span { color: var(--ink-2); font-size: 11px; line-height: 14px; text-align: right; }
.ph-li.ph-help { background: var(--green-tint); border-color: var(--green); }
.phone figcaption { font-size: 14px; line-height: 20px; color: var(--ink-2); padding: 0 4px; }
.exp-points { display: grid; gap: 20px; }
@media (min-width: 1040px) { .exp-points { position: sticky; top: 96px; } }
.exp-points li { display: grid; gap: 4px; padding-left: 24px; position: relative; }
.exp-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.exp-points b { font-size: 17px; line-height: 1.35; font-weight: 600; }
.exp-points p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .sig { stroke-dashoffset: 0; animation: none; } }
