/* Self-hosted Nunito variable (SIL OFL 1.1), latin subset, weights 200-1000.
   Official file from @fontsource-variable/nunito 5.3.0 (Google Fonts / Nunito Project). */
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-wght-normal.ba344451eab2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #F6F3EC;
  --bg-2: #FFFFFF;
  --line: #E4DFD3;
  --line-2: #DDD7C9;
  --line-3: #E4DFD3;
  --line-4: #D4CDBD;
  --text: #3A372F;
  --heading: #14110A;
  --muted: #5C574C;
  --muted-2: #5C574C;
  --muted-3: #3A372F;
  --gold: #F4C56A;
  --gold-text: #8B5E10;
  --ink: #14110A;
  --danger: #B42318;
  --ok: #1F7A3A;
  --radius: 16px;
  --font: Nunito, system-ui, sans-serif;
  --display: Nunito, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--heading); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }

/* Hidden until focused. Avoid transform-only hiding, which can stay visible in some WebKit layouts. */
.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus, .skip:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 14px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: nowrap;
  outline: 2px solid var(--gold-text);
  outline-offset: 2px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Header, mockup spacing and type */
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(244,197,106,0.55);
  flex: none;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 15px;
}
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--heading); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(0.98); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-block {
  width: 100%;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  margin-top: 6px;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.hero h1 em, .hero h1 span { font-style: normal; color: var(--gold-text); }
.lead {
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  margin-top: 40px;
}
.stat-num {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: var(--heading);
}
.stat-lab { font-size: 14px; color: var(--muted-2); }

/* Quote card / form: mockup card, plus the fields the API requires */
.quote-card {
  flex: 1 1 400px;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 80px -20px rgba(20, 17, 10, 0.08);
}
.quote-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
}
.sub { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field .err { display: none; margin: 0; color: var(--danger); font-size: 13px; }
.field.invalid .err { display: block; }
.field.invalid input,
.field.invalid select { border-color: var(--danger); }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.row > .field { flex: 1 1 140px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  background: #FBF9F4;
  border: 1px solid var(--line-4);
  border-radius: 10px;
  padding: 14px;
  color: var(--heading);
  font-size: 16px;
  width: 100%;
}
input::placeholder { color: #6B6559; } /* 5.78:1 on white/input */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line-4);
  color: var(--muted-3);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.chip input { accent-color: var(--gold-text); margin: 0; }
.chip:has(input:checked) {
  border-color: var(--gold-text);
  background: rgba(244,197,106,0.22);
  color: var(--heading);
}
fieldset.lights { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
fieldset.lights legend { font-size: 14px; color: var(--muted); margin-bottom: 0; padding: 0; }

.agree {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
}
.agree a {
  color: var(--gold-text);
  text-decoration: underline;
}

.status { margin: 0; font-size: 14px; line-height: 1.5; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--danger); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.never { margin: 0; font-size: 13px; color: var(--muted-2); text-align: center; }
.path { margin: 0; font-size: 13px; color: var(--muted-2); }

/* Sections */
.band { border-top: 1px solid var(--line); padding: 96px 32px; }
.band-pad { padding: 0 32px 96px; }
.band h2, .band-pad h2 {
  margin: 0 0 48px;
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: -0.01em;
  color: var(--heading);
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line-3);
  border-radius: 16px;
  padding: 28px;
}
.step-num {
  font-family: var(--display);
  color: var(--gold-text);
  font-size: 14px;
  font-weight: 600;
}
.step h3 { margin: 16px 0 8px; font-size: 20px; color: var(--heading); font-weight: 600; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; }

.bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.bar-copy { flex: 1 1 360px; min-width: 0; }
.bar-copy h2 { margin: 0 0 0; }
.bar-copy p { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.bar-grid {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-3);
  border: 1px solid var(--line-3);
  border-radius: 16px;
  overflow: hidden;
}
.bar-cell { background: var(--bg-2); padding: 28px; }
.bar-num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  color: var(--heading);
}
.bar-lab { margin-top: 6px; color: var(--muted-2); font-size: 14px; }

.pricing {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.pricing-kicker { font-size: 14px; color: var(--gold-text); font-weight: 600; }
.pricing-amt {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--heading);
  line-height: 1.05;
}
.pricing p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }

.areas h2 { margin: 0 0 24px; font-size: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li {
  border: 1px solid var(--line-4);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--muted-3);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted-2);
}
.footer-inner a { color: var(--muted-3); }
.footer-inner a.footer-email { color: var(--gold-text); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; }

/* Doc pages (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 32px 96px; }
.doc h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.015em;
  color: var(--heading);
}
.doc h2 {
  margin: 36px 0 12px;
  font-family: var(--display);
  font-size: 24px;
  color: var(--heading);
}
.doc p, .doc li { color: var(--text); line-height: 1.65; }
.doc a { color: var(--gold-text); }

@media (max-width: 720px) {
  .wrap, .site-header, .hero, .band, .band-pad { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 36px; }
  .band { padding-top: 64px; padding-bottom: 64px; }
  .pricing { padding: 32px; }
  .site-header nav { gap: 16px; }
  .bar-cell { padding: 20px 12px; }
  .bar-num { font-size: 28px; }
}
