:root {
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --alt: #F4EDE1;
  --ink: #1E2A2C;
  --muted: #56656A;
  --line: #E7DDCC;
  --primary: #0E5A4B;
  --primary-hover: #0A4A3D;
  --primary-soft: #DCEDE7;
  --accent: #E39B32;
  --accent-hover: #D38A22;
  --accent-soft: #FBEBD0;
  --warn: #C2602A;
  --chat-bg: #EFE7DA;
  --bubble-out: #DCF3E4;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(30, 42, 44, .06), 0 8px 24px rgba(30, 42, 44, .08);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
svg { display: block; max-width: 100%; }
a { color: var(--primary); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3, .h3 { font-size: 1.25rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn-primary, .btn-small { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-small:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.topbar .btn-small { white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 28px; height: 28px; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hl { color: var(--primary); }
.lede { max-width: 34em; font-size: 1.15rem; color: var(--muted); }
.tagline { padding-left: 12px; border-left: 3px solid var(--accent); font-style: italic; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }
.fineprint { font-size: .9rem; color: var(--muted); }

/* Hero visual: chat mock */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone {
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 28px;
  background: var(--chat-bg);
  box-shadow: var(--shadow);
}
.phone-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--primary); color: #fff; }
.phone-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.phone-head small { font-size: .78rem; opacity: .8; }
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.msg {
  position: relative;
  min-width: 88px;
  max-width: 80%;
  padding: 8px 10px 20px;
  border-radius: 12px;
  font-size: .95rem;
  line-height: 1.35;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.msg.in { align-self: flex-start; background: var(--surface); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.msg.photo { padding: 6px 6px 22px; }
.time { position: absolute; right: 8px; bottom: 3px; font-size: .68rem; color: var(--muted); }
.chat-note { align-self: flex-start; margin: -2px 0 0 4px; font-size: .75rem; color: var(--muted); }
.bp-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 190px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, #F2F2F0, #D6D8D3);
}
.lcd {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  background: #B9C8B0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18);
  color: #1F2B1E;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.lcd-row { display: flex; justify-content: space-between; align-items: baseline; }
.lcd-label { font-size: .62rem; letter-spacing: .08em; }
.lcd-num { font-size: 1.9rem; font-weight: 700; line-height: 1.05; }
.lcd-row.small .lcd-num { font-size: 1.1rem; }
.bp-btn { width: 44px; height: 16px; border-radius: 999px; background: #3B6FB6; }
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: .92rem;
  line-height: 1.35;
}
.notice-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--warn);
}

/* Sections */
.section { padding: 56px 0; scroll-margin-top: 60px; }
.alt { background: var(--alt); }
@media (min-width: 900px) { .section { padding: 80px 0; } }

.steps { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #7A4A0B;
  font-weight: 700;
}

.ticks { margin: 0 0 1em; padding: 0; list-style: none; }
.ticks li { position: relative; margin-bottom: 12px; padding-left: 32px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%230E5A4B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Report card */
.report-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .report-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.report-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.report-card h3 { margin-bottom: 16px; }
.rc-kicker, .rc-label {
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.rc-stats div { padding: 10px; border-radius: 12px; background: var(--bg); }
.rc-stats strong { display: block; font-family: var(--font-head); font-size: 1.1rem; white-space: nowrap; }
@media (min-width: 420px) { .rc-stats strong { font-size: 1.25rem; } }
.rc-stats span { display: block; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.rc-chart { width: 100%; height: auto; margin-bottom: 14px; }
.rc-chart .bar { fill: #9CCBBE; }
.rc-chart .bar.over { fill: var(--warn); }
.rc-chart .target { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 4; }
.rc-chart .axis-label, .rc-chart .axis-label text { font-family: var(--font-body); font-size: 10px; fill: var(--muted); }
.rc-chart .val { font-family: var(--font-body); font-size: 10px; font-weight: 700; fill: var(--warn); }
.rc-meds { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 16px; text-align: center; }
.rc-meds span { display: block; font-size: .75rem; color: var(--muted); }
.rc-meds b {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}
.rc-meds b.miss { background: var(--accent-soft); color: var(--warn); }
.rc-questions { margin: 0; padding-left: 20px; font-size: .92rem; }
.rc-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-style: italic;
  color: var(--muted);
}

/* Who */
.who-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.who-grid > * { flex: 1 1 320px; }
.quote {
  margin: 0;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 1.2rem;
}
.quote p { margin: 0; }
.quote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .9rem; font-style: normal; color: var(--muted); }

/* Price */
.price-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; }
.amount { font-family: var(--font-head); font-size: 3rem; font-weight: 600; line-height: 1; }
.per { color: var(--muted); }
.price-sub { margin: 4px 0 20px; color: var(--muted); }
.price-card .fineprint { margin: 12px 0 0; }

/* Trust */
.trust-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plain { margin: 0; padding-left: 18px; }
.plain li { margin-bottom: 10px; }
.advisor { margin: 12px 0 0; font-size: .92rem; font-weight: 500; color: var(--primary); }

/* FAQ */
details { margin-bottom: 10px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
summary { position: relative; padding: 16px 28px 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--primary); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Final call to action */
.final { padding: 64px 0; background: var(--primary); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { opacity: .92; }
.final-link { margin: 16px 0 0; }
.final-link a { color: #fff; }

.footer { padding: 28px 0 96px; font-size: .9rem; color: var(--muted); }
.footer p { margin: 0 0 6px; }
.footer a, .legal-links a { color: inherit; }

/* Privacy policy and terms */
.legal { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.legal > .brand { display: inline-flex; margin-bottom: 20px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 4px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li { margin-bottom: 8px; }
.legal ul ul { margin-top: 8px; }
.legal-links { margin-top: 20px; }
@media (min-width: 768px) { .footer { padding-bottom: 28px; } }

/* Sticky bar on phones */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .92rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transform: translateY(150%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.sticky-cta.show { transform: none; visibility: visible; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* Small pages: home and thank-you */
.page-center { display: grid; place-items: center; min-height: 100vh; padding: 32px 16px; }
.panel {
  width: 100%;
  max-width: 540px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel .brand { margin-bottom: 24px; }
.panel h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.choice { display: grid; gap: 12px; margin-top: 20px; }
.thanks-steps { margin: 20px 0; padding: 0; list-style: none; }
.thanks-steps li { display: flex; gap: 14px; margin-bottom: 18px; }
.thanks-steps .step-num { margin: 0; }
.thanks-steps .btn { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
