/* RecoFirst landing page — style-3-warm (Nimrod, 2026-11-16) */
:root {
  --bg: #FBF6EF;
  --paper: #FFFAF4;
  --sand: #F3E4D2;
  --fg: #3C2A1F;
  --muted: #6A5344;
  --terra: #C45C26;
  --terra-d: #9A4318;
  --sage: #4F7A5A;
  --sage-s: #E5EFE7;
  --line: #EAD9C4;
  --focus: #9A4318;
  --danger: #8B2E16;
}
*, *::before, *::after { box-sizing: border-box; }
.nb { white-space: nowrap; }
[dir="ltr"] { unicode-bidi: isolate; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-orb { animation: none !important; opacity: 0.45; }
  .js .steps::before { transform: none !important; }
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Assistant", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}
body {
  background:
    radial-gradient(circle at 12% 6%, #f7e3cc 0 160px, transparent 161px),
    radial-gradient(circle at 94% 12%, #f0d3b8 0 120px, transparent 121px),
    var(--bg);
}
a { color: var(--terra-d); text-underline-offset: 3px; }
a:hover { color: #7A3512; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: 0;
  transform: translateY(-200%);
  background: var(--fg);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus, .skip:focus-visible { transform: translateY(12px); }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 8px;
  flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 24px; color: var(--fg); text-decoration: none; }
.brand span { color: var(--terra-d); }
.brand:hover { color: var(--fg); }
nav.primary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav.primary a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 16px; }
nav.primary a:hover { color: var(--terra-d); }
nav.primary a.btn,
nav.primary a.btn:hover,
nav.primary a.btn:focus-visible {
  color: #fff;
}
.btn {
  display: inline-block;
  background: var(--terra-d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(196,92,38,0.22);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover { background: #7A3512; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(196,92,38,0.28); }
}
.btn:focus-visible {
  background: #7A3512;
  color: #fff;
  outline: 3px solid #7A3512;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #7A3512;
}
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 14px; padding: 10px 18px; box-shadow: none; }
.hero {
  position: relative;
  padding: 48px 0 40px;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  z-index: 0;
}
.hero-accent {
  position: absolute;
  inset: -60px -20% auto;
  height: 420px;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-a {
  width: 280px;
  height: 280px;
  top: -30px;
  right: 6%;
  background: radial-gradient(circle, #f0d3b8 0%, transparent 70%);
  animation: hero-float-a 12s ease-in-out infinite;
}
.hero-orb-b {
  width: 220px;
  height: 220px;
  top: 90px;
  left: 4%;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.16) 0%, transparent 70%);
  animation: hero-float-b 14s ease-in-out infinite;
}
@keyframes hero-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 14px); }
}
@keyframes hero-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -12px); }
}
.eyebrow {
  display: inline-block;
  background: #efe0cd;
  color: var(--terra-d);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
h1 .sub {
  display: block;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 26px);
  margin-top: 10px;
  color: #5a4030;
  line-height: 1.35;
}
.lead { color: var(--muted); font-size: 20px; margin: 18px auto 28px; max-width: 34em; }
.beta {
  display: block;
  margin-top: 14px;
  color: var(--sage);
  font-weight: 700;
  font-size: 15px;
}
.hero-independent {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.price-note {
  margin: 0 0 16px;
  color: var(--fg);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
}
section { padding: 16px 0 8px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 36px 32px;
  box-shadow: 0 10px 30px rgba(80,50,20,0.05);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.h2-row,
.price-hero h2,
.panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.h2-row .icon,
.price-hero h2 .icon { color: var(--terra); flex: 0 0 28px; width: 28px; height: 28px; }
.yes h3 .icon { color: var(--sage); }
.no h3 .icon { color: var(--terra-d); }
.intro { color: var(--muted); margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--sand); border-radius: 18px; padding: 18px 20px; }
.fact b { display: block; font-weight: 700; margin-bottom: 6px; }
.src { font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border-radius: 20px; padding: 22px 22px 18px; }
.panel h3 { margin: 0 0 12px; font-size: 22px; }
.yes { background: var(--sage-s); }
.yes h3 { color: var(--sage); }
.no { background: #f8e6d6; }
.no h3 { color: var(--terra-d); }
.panel ul { margin: 0; padding-inline-start: 1.2em; }
.panel li { margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 16px;
  text-align: center;
}
.steps { position: relative; }
.step-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--terra-d); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0; font-size: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--paper);
}
.step-top .icon { color: var(--terra-d); }
@media (min-width: 801px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 21px;
    right: 12.5%;
    left: 12.5%;
    height: 2px;
    background: var(--sand);
    z-index: 0;
  }
  .js .steps::before {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.8s ease 0.15s;
  }
  .js .steps.is-visible::before { transform: scaleX(1); }
}
.step h3 { font-size: 18px; margin: 0 0 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
.note { margin: 20px 0 0; font-weight: 600; text-align: center; }
.honest p { margin: 0 0 12px; }
.price-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(180deg, #fff8f1, #f8e6d4);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 36px;
  margin-bottom: 20px;
}
.price-value {
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 700;
  color: var(--terra-d);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.price-vat { color: var(--muted); font-weight: 600; font-size: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
}
.plan h3 { margin: 0 0 8px; font-size: 20px; }
.plan .amt { font-size: 28px; font-weight: 700; color: var(--terra-d); margin: 0 0 8px; }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
.about-card { text-align: start; }
.about-name {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
}
.about-card p {
  margin: 0 0 12px;
  color: var(--fg);
  font-size: 17px;
  line-height: 1.65;
  max-width: 42em;
}
.about-card p:last-child { margin-bottom: 0; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: inline-start;
  margin-inline-end: 10px;
  color: var(--terra);
  font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; color: var(--fg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label, .legend { font-weight: 700; font-size: 15px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--fg);
  width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  border-color: var(--focus);
}
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; gap: 16px; flex-wrap: wrap; }
.radios label, .check label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.notice {
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--fg);
  margin: 18px 0;
}
.notice h3 { font-size: 16px; margin: 0 0 8px; }
.notice ul { margin: 0; padding-inline-start: 1.2em; }
.check { margin: 12px 0; }
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8e6d6;
  color: var(--terra-d);
  font-weight: 700;
}
.form-msg.show { display: block; }
footer.site {
  margin-top: 24px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
footer.site a { color: var(--terra-d); }
.legal-page { padding: 24px 0 48px; }
.legal-page .card { max-width: 760px; margin-inline: auto; }
.legal-page h1 { font-size: 36px; text-align: start; }
#tally-embed iframe {
  width: 100%;
  border: 0;
  min-height: 200px;
}
.update-note {
  display: inline-block;
  background: var(--sand);
  color: var(--fg);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.draft-banner {
  display: inline-block;
  background: #f8e6d6;
  color: var(--terra-d);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.legal-page h2 { font-size: 22px; margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--fg); }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 28px); }
  .facts, .split, .steps, .price-hero, .plans, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .card, .price-hero { padding: 24px 20px; border-radius: 22px; }
  nav.primary a:not(.btn) { display: none; }
  .btn { width: 100%; text-align: center; }
  /* Hide the header CTA on the same breakpoint as the sticky bar.
     display:none removes it from the accessibility tree. Desktop unchanged. */
  header.site .btn { display: none; }
  .hero { padding: 32px 0 28px; }
}

.tally-fallback, noscript p {
  margin: 12px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8e6d6;
  color: var(--terra-d);
  font-weight: 600;
}

/* Icons — Lucide (ISC), see ICONS-LICENSE.md */
.icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 24px;
  color: var(--terra-d);
}
.icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--terra-d);
}
.fact .icon-wrap { background: var(--paper); }
.plan .icon-wrap { background: var(--sand); }

/* Scroll reveal: hidden only after motion.js sets html.motion-on.
   If motion.js never runs or fails first, .reveal stays visible. */
.js.motion-on .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js.motion-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hover / focus micro-interactions — not on the lead card (Tally iframe) */
.fact, .plan, .step, .panel, .price-hero, .about-card, .faq details {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .fact:hover, .plan:hover, .step:hover, .panel:hover, .price-hero:hover, .about-card:hover, .faq details:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(80, 50, 20, 0.09);
  }
  /* Keep lead/Tally card still so iframe height is not disturbed */
  #lead .card:hover { transform: none; box-shadow: 0 10px 30px rgba(80,50,20,0.05); }
}
.fact:focus-within, .plan:focus-within, .step:focus-within, .panel:focus-within, .faq details:focus-within, .btn:focus-visible, .price-hero:focus-within {
  box-shadow: 0 0 0 3px var(--focus);
}

/* Sticky mobile CTA — only with JS, and never covering content (body padding).
   Padding is applied as soon as html.js is set (in <head>), so the first
   screen is not covered while waiting for motion.js. */
.sticky-cta { display: none; }
@media (max-width: 800px) {
  .js body { padding-bottom: 88px; }
  .js body.lead-in-view { padding-bottom: 0; }
  .js .sticky-cta {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 246, 239, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(80, 50, 20, 0.07);
  }
  .js .sticky-cta.is-away { display: none; }
  .sticky-cta .btn { width: 100%; text-align: center; }
}

.price-alt {
  font-size: 22px;
  font-weight: 700;
  color: var(--muted);
  margin: 6px 0 4px;
}
.price-alt-inline {
  margin: -4px 0 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
}
.price-media {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.founding-offer {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.founding-offer h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.founding-offer p { margin: 0 0 10px; color: var(--fg); }
.founding-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 14px;
}
.founding-rates p {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--fg);
}
.founding-offer p.founding-terms {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .founding-offer { padding: 20px 18px; border-radius: 20px; }
  .founding-rates { grid-template-columns: 1fr; }
}
