:root {
  --bg: #f4efe6;
  --bg-deep: #e7efe9;
  --paper: #fffaf3;
  --ink: #16241f;
  --ink-soft: #445850;
  --muted: #667870;
  --brand: #0f7a72;
  --brand-dark: #0b5c56;
  --brand-soft: #d8efe9;
  --accent: #e39a62;
  --accent-soft: #f8e3d2;
  --line: #d5ddd6;
  --good: #1e7a4d;
  --shadow: 0 18px 40px rgba(22, 36, 31, 0.1);
  --radius: 22px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --sticky-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, #e9f4ef 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 20%, #f8e8d6 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
}
.nav {
  display: none;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 122, 114, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fff; }
.btn-wide { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* Hero */
.hero {
  padding: 28px 0 20px;
  display: grid;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(2.15rem, 6vw, 4.15rem); font-weight: 650; margin-bottom: 16px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 6px; }
.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.price-chip {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand-dark);
}
.price-chip s {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.price-chip .save {
  background: var(--accent-soft);
  color: #8a4b1c;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.trust span { display: flex; align-items: center; gap: 7px; }
.trust i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

.scene-wrap {
  position: relative;
  background: linear-gradient(180deg, #eef6f3 0%, #f7f3ea 100%);
  border: 1px solid #dbe6e1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scene-wrap svg { width: 100%; height: auto; }
.scene-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Sections */
section { padding: 72px 0; scroll-margin-top: 80px; }
.section-kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.split {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(22, 36, 31, 0.04);
}
.bad h3 { color: #8a3b2a; }
.good h3 { color: var(--good); }
.card ul { padding-left: 18px; color: var(--ink-soft); }
.card li { margin: 8px 0; }

/* Heads */
.heads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.head-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.head-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.head-card svg { margin: 0 auto 10px; width: 92px; height: 92px; }
.head-card h3 { font-family: var(--font); font-size: 1rem; letter-spacing: 0; }
.head-card p { color: var(--muted); font-size: 0.88rem; }

/* Features */
.features {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.feature .icon { width: 72px; height: 72px; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* Before / after */
.compare {
  position: relative;
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: none;
  background: #d7c4aa;
  aspect-ratio: 4/3;
}
.compare-layer {
  position: absolute;
  inset: 0;
}
.compare-layer.after { }
.compare-layer.before {
  z-index: 2;
  width: 52%;
  overflow: hidden;
  border-right: 3px solid #fff;
}
.compare svg { width: 100%; height: 100%; object-fit: cover; }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 44px;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
}
.compare-handle b {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  font-size: 1.1rem;
}
.compare-tag {
  position: absolute;
  top: 14px;
  z-index: 4;
  background: rgba(22, 36, 31, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; }

/* Steps */
.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 78px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
}
.step p { color: var(--ink-soft); }

/* Pricing */
.plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #f3fbf8 0%, var(--paper) 40%);
  box-shadow: var(--shadow);
}
.plan .tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.plan .amt {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 8px 0;
}
.plan .amt small { font-size: 1rem; color: var(--muted); font-family: var(--font); font-weight: 500; }
.plan s { color: var(--muted); }
.plan ul { list-style: none; margin: 14px 0 22px; color: var(--ink-soft); }
.plan li { padding: 6px 0 6px 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.guarantee {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.guarantee p { color: var(--ink-soft); }

/* FAQ */
.faq { margin-top: 22px; display: grid; gap: 8px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding: 0 0 16px; }

footer {
  padding: 48px 0 140px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
}
footer a { color: var(--ink-soft); }

/* Sticky buy */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.28s ease;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.sticky.show { transform: translateY(0); }
.sticky-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky .who { font-weight: 700; }
.sticky .who small { display: block; font-weight: 500; color: var(--muted); }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16, 24, 21, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-card {
  width: min(460px, 100%);
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.modal-card p { color: var(--ink-soft); margin: 10px 0 22px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .heads { grid-template-columns: repeat(3, 1fr); }
  .split, .plans, .features { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare { aspect-ratio: 16/10; }
}
@media (min-width: 980px) {
  .hero {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 40px;
    padding-top: 36px;
  }
  .features { grid-template-columns: 1fr 1fr 1fr; }
  .feature { grid-template-columns: 1fr; text-align: left; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .heads { grid-template-columns: repeat(3, 1fr); }
  section { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

@media (max-width: 979px) {
  .hero { display: flex; flex-direction: column; }
  .scene-wrap { order: -1; margin-bottom: 8px; }
  .hero > div:first-child { order: 1; }
}
