/* Hallmark · macrostructure: Split Studio · genre: utilitarian-trust · tone: trustworthy/urgent · theme: custom (warm-oat paper · signal-orange accent · warm-charcoal ink) · anchor hue: 42 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 */

:root {
  /* paper / ink / neutrals — warm (anchor hue ~60–70) */
  --color-paper:   oklch(98%   0.008 75);
  --color-paper-2: oklch(95.5% 0.012 75);
  --color-paper-3: oklch(92.5% 0.015 70);
  --color-rule:    oklch(87%   0.014 70);
  --color-neutral: oklch(56%   0.012 60);
  --color-muted:   oklch(44%   0.014 55);
  --color-ink:     oklch(24%   0.018 55);
  /* accent — signal orange (heat / urgency / the action) */
  --color-accent:      oklch(62%  0.184 42);
  --color-accent-2:    oklch(55%  0.188 40);
  --color-accent-ink:  oklch(99%  0.006 75);
  --color-accent-soft: oklch(95%  0.03  55);
  /* functional */
  --color-good:  oklch(56% 0.12 150);
  --color-focus: oklch(52% 0.19 250);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 4-pt spacing scale */
  --space-3xs: 0.25rem; --space-2xs: 0.5rem; --space-xs: 0.75rem;
  --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2rem;
  --space-xl: 3rem; --space-2xl: 4.5rem; --space-3xl: 6.5rem;

  /* type scale (major third) */
  --text-sm: 0.85rem; --text-base: 1rem; --text-md: 1.15rem;
  --text-lg: 1.4rem; --text-xl: 1.85rem; --text-2xl: 2.3rem;
  --text-display: clamp(2rem, 4.2vw + 1rem, 3.3rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 180ms;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 18px 48px -24px oklch(24% 0.05 55 / 0.45);
  --measure: 60ch;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
  font-size: 1.0625rem;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3 { font-family: var(--font-display); font-style: normal; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0; overflow-wrap: anywhere; min-width: 0; }
a { color: var(--color-accent-2); }
p { margin: 0; }
strong { font-weight: 600; }

/* ---------- buttons ---------- */
.btn, .hero__form button[type="submit"], .hero__form .tf-next, .sticky-quote {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-md); line-height: 1.1; white-space: nowrap;
  color: var(--color-accent-ink); background: var(--color-accent);
  border: 0; border-radius: var(--radius-sm); padding: 0.95rem 1.6rem;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform 90ms var(--ease-out);
}
.btn:hover, .hero__form button[type="submit"]:hover, .hero__form .tf-next:hover, .sticky-quote:hover { background: var(--color-accent-2); }
.btn:active, .hero__form button[type="submit"]:active, .hero__form .tf-next:active, .sticky-quote:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-focus); outline-offset: 2px;
}

/* ---------- hero (Split Studio) ---------- */
/* Abstract "heat" background — pure CSS (0 extra bytes, no request): a warm
   monochromatic glow + faint concentric heat-rings. Deliberately single-hue
   (not the purple-aurora cliché); kept low-contrast so the ink headline stays
   crisp. No representational imagery on a conversion LP (trust + speed). */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(125% 105% at 90% -18%, oklch(93% 0.06 58 / 0.9), transparent 56%),
    radial-gradient(95% 85% at 2% 118%, oklch(92% 0.03 238 / 0.55), transparent 60%),
    var(--color-paper);
  border-bottom: 1px solid var(--color-rule);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle at 87% 16%, transparent 184px, oklch(68% 0.15 50 / 0.10) 185px, transparent 189px),
    radial-gradient(circle at 87% 16%, transparent 250px, oklch(68% 0.15 50 / 0.07) 251px, transparent 255px),
    radial-gradient(circle at 87% 16%, transparent 326px, oklch(68% 0.15 50 / 0.05) 327px, transparent 331px);
  background-repeat: no-repeat;
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.hero__grid {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.25rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
}
.locale {
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: var(--space-md);
}
.hero__copy h1 { font-size: var(--text-display); margin-bottom: var(--space-md); }
.subhead { font-size: var(--text-md); color: var(--color-muted); max-width: 46ch; margin-bottom: var(--space-lg); }
.trust { list-style: none; padding: 0; margin: 0 0 var(--space-md); display: grid; gap: 0.6rem; }
.trust li { position: relative; padding-left: 1.7rem; font-size: var(--text-base); }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7rem; height: 0.4rem;
  border-left: 2.5px solid var(--color-good); border-bottom: 2.5px solid var(--color-good);
  transform: rotate(-45deg);
}
.hero__call { color: var(--color-muted); font-size: var(--text-base); }
.hero__call a { font-weight: 600; color: var(--color-ink); text-decoration: none; border-bottom: 2px solid var(--color-accent); }

/* the capture card — the page's one elevated surface */
.hero__form {
  background: var(--color-paper); border: 1px solid var(--color-rule);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2rem); align-self: start;
}
.form__head { font-size: var(--text-xl); margin-bottom: var(--space-md); line-height: 1.12; }
#lead-form { display: grid; gap: 0.85rem; }
#lead-form label { display: grid; gap: 0.35rem; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
#lead-form input[type="text"], #lead-form input[type="tel"], #lead-form input[type="email"] {
  font: inherit; font-weight: 400; padding: 0.8rem 0.9rem; width: 100%;
  border: 1px solid var(--color-rule); border-radius: var(--radius-sm);
  background: var(--color-paper-2); color: var(--color-ink);
  transition: border-color var(--dur-short) var(--ease-out);
}
#lead-form input:focus { border-color: var(--color-accent); }
/* needs #lead-form to beat `#lead-form label { display:grid }` above */
#lead-form .consent { flex-direction: row; align-items: start; gap: 0.55rem; display: flex; font-weight: 400 !important; font-size: 0.85rem; color: var(--color-muted); line-height: 1.45; }
#lead-form .consent input { margin-top: 0.2rem; flex: none; width: 1.15rem; height: 1.15rem; accent-color: var(--color-accent); }
#lead-form button[type="submit"], #lead-form .tf-next { width: 100%; padding: 1.05rem; font-size: var(--text-md); }
#lead-form button:disabled { opacity: 0.6; cursor: default; }

/* ---------- Typeform-style multi-step ---------- */
.tf-progress { height: 4px; background: var(--color-paper-3); border-radius: 99px; margin-bottom: var(--space-md); overflow: hidden; }
.tf-progress span { display: block; height: 100%; width: 33%; background: var(--color-accent); transition: width 0.3s var(--ease-out); }
.tf-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.tf-step.is-active { display: block; animation: tf-in 0.25s var(--ease-out); }
@keyframes tf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tf-step legend { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.2; padding: 0; margin-bottom: var(--space-md); }
.tf-choices { display: grid; gap: 0.6rem; }
.tf-choice { font: inherit; font-weight: 600; text-align: left; padding: 0.95rem 1.1rem; border: 1.5px solid var(--color-rule); border-radius: var(--radius-sm); background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: border-color 0.12s, background-color 0.12s, transform 0.08s; }
.tf-choice:hover { border-color: var(--color-accent); }
.tf-choice.sel { border-color: var(--color-accent); background: var(--color-accent-soft); }
.tf-choice:active { transform: translateY(1px); }
.tf-hint { font-size: var(--text-sm); color: var(--color-muted); margin: 0.1rem 0 0.9rem; }
.tf-nav { display: flex; gap: 0.6rem; align-items: stretch; }
.tf-back { flex: none; width: 48px; font: inherit; cursor: pointer; color: var(--color-muted); background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-sm); }
.tf-back:hover { color: var(--color-ink); border-color: var(--color-muted); }
.tf-step input[type="text"], .tf-step input[type="tel"], .tf-step input[type="email"] { margin-bottom: 0.7rem; }
.tf-step .consent { margin-bottom: 0.9rem; }
.form-status { margin: 0; min-height: 1.2em; font-size: var(--text-sm); color: var(--color-muted); }
.form__assure { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- proof ---------- */
.proof { padding: clamp(2.5rem, 5vw, 3.75rem) 0; border-bottom: 1px solid var(--color-rule); }
.rating { font-size: var(--text-md); margin-bottom: var(--space-lg); font-variant-numeric: tabular-nums; }
.rating strong { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-accent-2); }
.reviews { display: grid; gap: var(--space-md); }
.review { margin: 0; padding-top: var(--space-md); border-top: 2px solid var(--color-rule); }
.review p { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.4; margin-bottom: var(--space-2xs); }
.review cite { font-style: normal; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- offer (asymmetric: head left, stack right) ---------- */
.offer { background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.offer__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.offer__head h2 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.urgency { color: var(--color-accent-2); font-weight: 600; margin-bottom: var(--space-md); }
.offer .btn { margin-top: var(--space-2xs); }
.stack { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-sm); }
.stack li { position: relative; padding: 0 0 var(--space-sm) 2.1rem; border-bottom: 1px solid var(--color-rule); font-size: var(--text-md); }
.stack li:last-child { border-bottom: 0; padding-bottom: 0; }
.stack li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 0.85rem; height: 0.5rem;
  border-left: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent); transform: rotate(-45deg);
}

/* ---------- faq ---------- */
.faq { padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--color-rule); }
.faq h2 { font-size: var(--text-xl); margin-bottom: var(--space-lg); }
.qa-list { max-width: var(--measure); }
.qa { border-top: 1px solid var(--color-rule); padding: var(--space-sm) 0; }
.qa:last-child { border-bottom: 1px solid var(--color-rule); }
.qa summary { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-sm); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--color-accent); font-family: var(--font-body); font-weight: 600; flex: none; }
.qa[open] summary::after { content: "–"; }
.qa p { color: var(--color-muted); margin-top: var(--space-2xs); max-width: var(--measure); }

/* ---------- final cta ---------- */
.final { padding: clamp(2.75rem, 6vw, 4.5rem) 0; text-align: center; }
.final h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }

/* ---------- footer ---------- */
footer { padding: var(--space-xl) 0 calc(var(--space-xl) + 4.5rem); color: var(--color-muted); font-size: var(--text-sm); }
footer .wrap { max-width: var(--measure); }
footer p { margin: 0.35rem 0; }
footer a { color: var(--color-muted); }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; gap: 0.6rem;
  padding: 0.7rem clamp(1rem, 4vw, 1.5rem); background: var(--color-paper);
  border-top: 1px solid var(--color-rule); box-shadow: 0 -8px 24px -18px oklch(24% 0.05 55 / 0.5);
}
.sticky-call {
  flex: none; display: inline-flex; align-items: center; padding: 0.85rem 1.2rem;
  font-weight: 600; text-decoration: none; color: var(--color-ink);
  border: 1px solid var(--color-rule); border-radius: var(--radius-sm);
}
.sticky-quote { flex: 1; text-align: center; padding: 0.85rem 1rem; }

/* ---------- responsive ---------- */
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); align-items: center; }
  .proof .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
  .offer__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .offer__head { position: sticky; top: var(--space-lg); }
  .sticky-cta { display: none; }
  footer { padding-bottom: var(--space-xl); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.legal { font-size: 0.78rem; opacity: 0.78; line-height: 1.45; }
