/* ===========================================================
   Setpoint Automations — styles
   Brand: rich green + moody warm neutrals
   Headings: Outfit (closest free match to the logo's rounded geometric sans)
   =========================================================== */

:root {
  /* Brand */
  --green: #1a3d30;          /* buttons + highlights only */
  --green-hover: #112a21;
  --green-text: #2f5d4a;     /* slightly lifted green for highlighted words */
  --green-soft: #e4e9e5;     /* tint behind highlight chips */
  --sand: #b89a63;           /* the "power" tick in the logo */
  --sand-soft: #f3ead8;

  /* Tertiary: slate blue. The "cool" side of heating & cooling,
     balances the warm brass. Used for glass tints, glows and tags only. */
  --slate: #4a6878;
  --slate-ink: #2e4856;
  --slate-soft: #e2eaee;
  --leaf: #2f7a57;           /* small success ticks / live dots */
  --leaf-soft: #dfeee5;

  /* Liquid glass */
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
                  0 1px 2px rgba(24, 32, 28, 0.04),
                  0 24px 60px -24px rgba(26, 61, 48, 0.28);

  /* Neutrals */
  --ink: #18201c;            /* headings */
  --text: #3d4541;           /* body copy */
  --muted: #6b726e;
  --line: #e4e0d8;
  --bg: #f7f5f0;             /* warm off-white */
  --surface: #ffffff;
  --dark: #1b1f1d;           /* moody charcoal for the final CTA */
  --dark-text: #c9ccc8;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(24, 32, 28, 0.04), 0 8px 24px rgba(24, 32, 28, 0.06);
  --maxw: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }

p { margin: 0; }

a { color: var(--green); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 72px 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- Liquid glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46));
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.94); }
}
/* soft colour pools that sit behind glass panels */
.hero, .calc, .crew { position: relative; overflow: hidden; }
.hero > .wrap, .calc > .wrap, .crew > .wrap { position: relative; }
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 380px at 8% 22%, rgba(74, 104, 120, 0.24), transparent 70%),
    radial-gradient(640px 440px at 92% 38%, rgba(31, 90, 67, 0.22), transparent 70%),
    radial-gradient(520px 360px at 55% 96%, rgba(184, 154, 99, 0.22), transparent 70%);
}
.glow-soft { opacity: 0.75; }
.kicker {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
  color: var(--green);
  text-decoration: none;
  line-height: 1;
}
/* the "o" drawn as a power symbol */
.logo .o {
  position: relative;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin: 0 0.035em;
  border: 0.105em solid currentColor;
  border-radius: 50%;
  transform: translateY(0.01em);
}
.logo .o::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.17em;
  width: 0.085em;
  height: 0.27em;
  margin-left: -0.0425em;
  background: var(--sand);
  border-radius: 1em;
  box-shadow: 0 0 0 0.05em var(--logo-bg, var(--surface));
}
.logo-sub {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 10px;
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line);
  --logo-bg: #ffffff;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
}
.site-header .logo,
.site-header .btn { height: auto; margin: 12px 0; }

/* Section links: second row on phones, inline on bigger screens */
.site-nav {
  order: 3;
  width: 100%;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  margin: 0 calc(var(--gutter) * -1);
  width: calc(100% + var(--gutter) * 2);
}
.site-nav a {
  flex: 1 1 auto;
  text-align: center;
  padding: 11px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease;
}
.site-nav a + a { border-left: 1px solid var(--line); }
.site-nav a:hover { color: var(--green); }
.site-nav a:focus-visible { outline: 3px solid var(--sand); outline-offset: -3px; border-radius: 6px; }

/* Land each section just below the sticky header */
:root { --header-h: 110px; }
#calculator, #how, #faq { scroll-margin-top: calc(var(--header-h) - 36px); }

@media (min-width: 860px) {
  :root { --header-h: 68px; }
  .site-header .wrap { flex-wrap: nowrap; height: 68px; }
  .site-header .logo, .site-header .btn { margin: 0; }
  .site-nav {
    order: 0;
    width: auto;
    margin: 0 8px 0 auto;
    border-top: 0;
    gap: 4px;
  }
  .site-nav a {
    flex: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .site-nav a + a { border-left: 0; }
  .site-nav a:hover { background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; background: var(--bg); --logo-bg: var(--bg); }
.hero-grid { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.4rem, 8.5vw, 4.4rem); }
.hero h1 .hl { color: var(--green-text); }
.hero .lede { font-size: 1.12rem; color: var(--text); max-width: 540px; }
.hero .cta-row { margin-top: 24px; display: flex; flex-direction: column; flex-wrap: wrap; gap: 14px; }
.hero .cta-row .btn { width: 100%; }
.guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}
.guarantee svg { flex: none; width: 20px; height: 20px; color: var(--green); }

/* ---------- Demo panel ---------- */
.demo { margin-top: 40px; border-radius: 24px; overflow: hidden; }
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid rgba(24, 32, 28, 0.07);
  background: rgba(255, 255, 255, 0.35);
}
.demo-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.demo-tab:hover { color: var(--ink); }
.demo-tab:focus-visible { outline: 3px solid var(--sand); outline-offset: 1px; }
.demo-tab .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); display: none; }
.demo-tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(24, 32, 28, 0.08);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(24, 32, 28, 0.06);
}
.demo-tab.is-active .dot { display: block; }
.demo-badge {
  flex: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(24, 32, 28, 0.12);
  border-radius: 7px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 759px) {
  .demo-top { flex-wrap: wrap; row-gap: 8px; padding: 8px; }
  .demo-tabs { width: 100%; justify-content: space-between; }
  .demo-tab { padding: 8px 10px; font-size: 0.86rem; }
  .demo-tab.is-active .dot { display: none; }
  .demo-badge { margin-left: 6px; }
}
.demo-body { display: grid; }
.demo-side { display: none; }
.demo-panel { display: grid; }
.demo-panel[hidden] { display: none; }
.demo-panel.is-active { animation: calcIn 0.25s ease; }
.demo-main { padding: 22px 18px; min-width: 0; }
.demo-main h3 { margin-top: 6px; font-size: clamp(1.25rem, 4vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.demo-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px;
  border-top: 1px solid rgba(24, 32, 28, 0.07);
  background: rgba(255, 255, 255, 0.28);
  min-width: 0;
}

.demo-list { list-style: none; margin: 16px 0 0; padding: 0; }
.demo-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(24, 32, 28, 0.08);
}
.demo-list li > div { min-width: 0; }
.demo-list b { display: block; color: var(--ink); font-weight: 600; }
.demo-list span:not(.pill) { display: block; font-size: 0.88rem; color: var(--muted); }

.pill {
  flex: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.pill-green { background: var(--leaf-soft); color: #22604a; }
.pill-slate { background: var(--slate-soft); color: var(--slate-ink); }
.pill-sand { background: var(--sand-soft); color: #7a5f2c; }
.pill-neutral { background: rgba(24, 32, 28, 0.06); color: var(--muted); }

.demo-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.95rem;
  color: var(--ink);
}
.demo-card .kicker + p { margin-top: 10px; }
.demo-card p + p { margin-top: 10px; }
.you { color: var(--green-text); }
.demo-sms, .mini-sms {
  background: var(--green);
  color: #eef3f0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.93rem;
}
.demo-sms .kicker { color: #a7bcae; display: block; margin-bottom: 6px; }

.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.msg + .msg { margin-top: 8px; }
.msg.out { background: var(--green); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg.in { background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(24, 32, 28, 0.08); color: var(--ink); border-bottom-left-radius: 4px; }

.demo-ok { display: flex; align-items: center; gap: 8px; color: var(--leaf); font-weight: 500; font-size: 0.92rem; }
.demo-ok svg { flex: none; width: 18px; height: 18px; }
.stars { color: #c99a3a; letter-spacing: 1px; font-size: 0.95rem; }

.demo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.split-box { border-radius: 12px; padding: 12px 14px; font-size: 0.86rem; line-height: 1.4; }
.split-box b { display: block; margin-bottom: 4px; font-size: 0.92rem; }
.split-box.green { background: var(--leaf-soft); }
.split-box.green b { color: #22604a; }
.split-box.slate { background: var(--slate-soft); }
.split-box.slate b { color: var(--slate-ink); }

.timeline .t-item {
  position: relative;
  padding: 0 0 16px 18px;
  border-left: 2px solid rgba(74, 104, 120, 0.3);
  font-size: 0.93rem;
  color: var(--ink);
}
.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.timeline .t-call::before { background: var(--leaf); }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .kicker { display: block; margin-bottom: 4px; }

.week { display: grid; gap: 8px; margin-top: 18px; }
.day {
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
}
.day-name {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.day-empty { display: none; }
.appt {
  margin-top: 8px;
  background: var(--leaf-soft);
  border-left: 3px solid var(--leaf);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.84rem;
  line-height: 1.35;
}
.appt .kicker { display: block; color: #22604a; font-size: 0.64rem; margin-bottom: 4px; }
.appt b { display: block; color: var(--ink); }
.appt span:not(.kicker) { display: block; color: var(--muted); }
.demo-main > .demo-ok { margin-top: 16px; }

.demo-co {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(24, 32, 28, 0.08);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.2;
}
.demo-co-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-family: "Outfit", sans-serif;
}
.demo-nav { list-style: none; margin: 18px 0 0; padding: 0; }
.demo-nav li {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
.demo-nav li:hover { background: rgba(255, 255, 255, 0.5); }
.demo-nav li.is-active { background: rgba(26, 61, 48, 0.08); color: var(--ink); font-weight: 600; }
.demo-live { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--leaf); padding-left: 4px; }
.demo-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(47, 122, 87, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 122, 87, 0.45); }
  100% { box-shadow: 0 0 0 8px rgba(47, 122, 87, 0); }
}

/* ---------- Problem ---------- */
.problem { background: var(--surface); --logo-bg: var(--surface); }
.problem-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.problem-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.problem-item h3 { margin-bottom: 8px; }
.problem-item p { color: var(--text); }
.problem-close {
  max-width: 680px;
  margin: 36px auto 0;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}
.problem-close .hl { color: var(--green-text); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step .when {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ---------- What you get (three parts) ---------- */
.how, .why { background: var(--surface); }
.crew { background: var(--bg); }
.crew-head { display: grid; gap: 16px; margin-bottom: 36px; }
.crew-head h2 { font-size: clamp(2rem, 6.5vw, 3.2rem); }
.crew-head p { font-size: 1.08rem; color: var(--muted); max-width: 520px; }
.crew-grid { display: grid; gap: 16px; }
.crew-card { display: flex; flex-direction: column; border-radius: 22px; padding: 26px 22px; }
.crew-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.crew-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--green);
  color: #a9d8bd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 20px -8px rgba(26, 61, 48, 0.5);
}
.crew-icon svg { width: 24px; height: 24px; }
.crew-card h3 { font-size: 1.45rem; font-weight: 700; }
.crew-sub { margin-top: 6px; color: var(--muted); }
.checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--leaf); }
.crew-mini {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 32, 28, 0.08);
}
.mini-quote { font-size: 0.93rem; color: var(--ink); }
.crew-mini .msg { max-width: 92%; }
.crew-mini .msg + .msg { margin-top: 0; }

/* ---------- Why us ---------- */
.reasons {
  display: grid;
  gap: 16px;
}
.reason {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}
.reason h3 { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-list { max-width: 980px; margin: 0 auto; }
.faq-head { margin-bottom: 32px; }
.faq-head h2 { font-size: clamp(2rem, 6vw, 3rem); }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details:hover { border-color: #d3cec4; }
.faq details[open] {
  border-color: rgba(26, 61, 48, 0.3);
  box-shadow: 0 6px 20px rgba(24, 32, 28, 0.05);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 22px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 14px; }
.faq summary .chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.15s ease;
}
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--green); }
.faq .answer { padding: 0 22px 22px; max-width: 760px; }
.faq .answer p + p { margin-top: 10px; }

@media (min-width: 760px) {
  .faq-head { margin-bottom: 44px; }
  .faq summary { min-height: 88px; padding: 22px 32px; font-size: 1.12rem; }
  .faq .answer { padding: 0 32px 26px; }
}

/* ---------- Missed-call calculator ---------- */
.calc-card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 24px 20px 20px;
}
.calc-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 28px;
}
.calc-progress span {
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  transition: background 0.25s ease;
}
.calc-progress span.is-done { background: var(--green); }

.calc-step { display: none; }
.calc-step.is-active { display: block; animation: calcIn 0.25s ease; }
@keyframes calcIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.calc-q {
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.calc-sub { margin-top: 8px; color: var(--muted); }

.calc-options { display: grid; gap: 10px; margin-top: 24px; }
.calc-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.calc-option:hover { border-color: rgba(26, 61, 48, 0.4); }
.calc-option:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.calc-option .k {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
}
.calc-option.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
}
.calc-option.is-selected .k { border-color: var(--green); color: var(--green); }

.calc-big {
  margin-top: 22px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 15vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green-text);
  font-variant-numeric: tabular-nums;
}
.calc-unit { margin-top: 8px; color: var(--muted); }
.calc-unit strong { color: var(--ink); }

.calc-range {
  --pct: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;               /* big touch target */
  margin: 22px 0 0;
  background: transparent;
  cursor: pointer;
}
.calc-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--green) var(--pct), var(--green-soft) var(--pct));
}
.calc-range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--green-soft); }
.calc-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--green); }
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.calc-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.calc-range:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; border-radius: 6px; }
.calc-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.calc-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 28px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.calc-next:hover { background: var(--green-hover); }
.calc-next:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

.calc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}
.calc-back:hover { color: var(--ink); }
.calc-back svg { width: 16px; height: 16px; }
.calc-back[hidden] { display: none; }

.calc-result .eyebrow { margin-bottom: 0; }
.calc-result .calc-big { margin-top: 10px; }
.calc-line {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--ink);
}
.calc-line:empty { display: none; }
.calc-breakdown {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.calc-breakdown dt { color: var(--text); }
.calc-breakdown dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.calc-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.calc-result .btn { margin-top: 24px; width: 100%; }

@media (min-width: 560px) {
  .calc-result .btn { width: auto; }
}
@media (min-width: 760px) {
  .calc-card { padding: 40px 48px 32px; }
}

/* ---------- Calculator: contact step ---------- */
.field-grid { display: grid; gap: 14px; margin-top: 22px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;            /* 16px stops iPhones zooming in on focus */
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26, 61, 48, 0.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; font-size: 0.92rem; color: #a3402c; }
.lead-form .calc-next { margin-top: 20px; }
.calc-next:disabled { opacity: 0.75; cursor: progress; }
.form-note { margin-top: 12px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.form-note a { color: var(--muted); }

/* ---------- Final CTA ---------- */
.final {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(26, 61, 48, 0.35), transparent 70%),
    var(--dark);
  color: var(--dark-text);
  text-align: center;
  padding: 88px 0;
}
.final h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.final h2 .hl { color: #a7bcae; }
.final p { max-width: 560px; margin: 18px auto 0; font-size: 1.1rem; }
.final .btn { margin-top: 32px; width: 100%; max-width: 360px; box-shadow: 0 0 0 1px rgba(167, 188, 174, 0.45), 0 10px 30px rgba(0, 0, 0, 0.35); }
.final .guarantee { justify-content: center; margin-top: 18px; color: var(--dark-text); }
.final .guarantee svg { color: #a7bcae; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8d928f;
  font-size: 0.9rem;
  padding: 28px 0;
  --logo-bg: var(--dark);
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.site-footer .logo { color: #fff; font-size: 1.3rem; }
.site-footer a { color: #c9ccc8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 8px; color: #8d928f; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { padding: 2px 0; }

/* ---------- Guarantee terms / privacy pages ---------- */
.legal-page { background: var(--surface); }
.legal-page .site-header { --logo-bg: #ffffff; }
.legal { padding: 40px 0 80px; }
.legal .wrap { max-width: 720px; }
.legal-back {
  display: block;
  width: fit-content;
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}
.legal-back:hover { color: var(--green); }
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal-meta { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.legal-lede { margin-top: 20px; font-size: 1.1rem; color: var(--ink); }
.legal h2 { margin-top: 40px; margin-bottom: 10px; font-size: 1.35rem; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--green); }
/* draft placeholders: fill these in before launch */
mark.todo {
  background: #fff1b8;
  color: #5c4a00;
  border-radius: 4px;
  padding: 0 3px;
}

/* ===========================================================
   Larger screens
   =========================================================== */
@media (min-width: 560px) {
  .hero .cta-row { flex-direction: row; align-items: center; gap: 20px; }
  .hero .cta-row .btn { width: auto; }
  .final .btn { width: auto; }
}

@media (min-width: 760px) {
  :root { --gutter: 24px; }
  section { padding: 104px 0; }
  .section-head { margin-bottom: 56px; }
  .logo-sub { display: inline; }
  .steps, .reasons { grid-template-columns: repeat(3, 1fr); }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .demo-main { padding: 26px 24px; }
  .demo-detail { padding: 26px 24px; }
  .demo-panel { grid-template-columns: 1.15fr 0.85fr; }
  .demo-panel-wide { grid-template-columns: 1fr; }
  .demo-detail { border-top: 0; border-left: 1px solid rgba(24, 32, 28, 0.07); }
  .week { grid-template-columns: repeat(3, 1fr); }
  .day-empty { display: block; }
  .crew-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .problem-list { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { flex-direction: row; gap: 24px; padding-top: 4px; }
  .footer-copy { padding-top: 6px; }
  .legal { padding: 64px 0 112px; }
}

@media (min-width: 980px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
  .demo { margin-top: 56px; }
  .demo-top { padding: 12px 14px; }
  .demo-body { grid-template-columns: 230px 1fr; }
  .demo-side { display: block; padding: 20px 16px; border-right: 1px solid rgba(24, 32, 28, 0.07); background: rgba(255, 255, 255, 0.22); }
  .week { grid-template-columns: repeat(6, 1fr); }
  .day { min-height: 190px; }
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-live .dot { animation: none; }
  .demo-panel.is-active, .calc-step.is-active { animation: none; }
  * { transition: none !important; }
}
