/* ProstaPath — site styles */
:root {
  --navy: #14304a;
  --navy-2: #1d4263;
  --ink: #23272b;
  --muted: #5b6670;
  --line: #e2e6e3;
  --bg: #ffffff;
  --cream: #f7f5f0;
  --sage: #e6efea;
  --brand: #1f7a6d;
  --brand-dark: #17605a;
  --amber: #f2a33a;
  --amber-dark: #e08f1f;
  --red-soft: #fbebeb;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 48, 74, .10);
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  font-size: 18px; line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; }

/* Announcement bar */
.topbar {
  background: var(--navy); color: #fff; font-size: 14.5px; text-align: center; padding: 9px 16px;
}
.topbar a { color: var(--amber); font-weight: 600; text-decoration: none; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo {
  font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px; flex: none; display: inline-block;
  background: url("/assets/logo-icon.svg") center / contain no-repeat;
}
.logo b { color: var(--brand); font-weight: inherit; }
.site-footer .logo b { color: #7fd1c1; }
.nav { display: flex; gap: 26px; font-size: 15.5px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber); color: var(--navy); text-decoration: none;
  padding: 17px 30px; min-height: 56px; border-radius: 12px; font-weight: 700; font-size: 18.5px;
  box-shadow: 0 6px 0 var(--amber-dark); transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: var(--navy); background: #f5ae4c; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--amber-dark); }
.btn .arrow { font-size: 22px; line-height: 1; }
.btn-small { padding: 10px 18px; min-height: 42px; font-size: 15.5px; box-shadow: 0 4px 0 var(--amber-dark); }
.btn-block { display: flex; width: 100%; }
.btn-ghost {
  background: transparent; color: var(--navy); box-shadow: none; border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--sage); color: var(--brand-dark); font-weight: 700;
  font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 50px; letter-spacing: -0.015em; margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 21px; color: var(--muted); margin: 0 0 24px; max-width: 600px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.price-note { font-size: 15.5px; color: var(--muted); margin: 18px 0 0; }
.price-note strong { color: var(--navy); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Hero visual: photo + iPhone + floating chips */
.hero-visual { position: relative; width: 100%; max-width: 500px; height: 640px; margin: 0 auto; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 74%; height: 86%; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow);
}
.hero-visual::before {
  content: ""; position: absolute; right: -18px; bottom: 30px; width: 60%; height: 60%;
  background: var(--sage); border-radius: 28px; z-index: -1;
}
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: 0 14px 34px rgba(20,48,74,.18); font-size: 13px; line-height: 1.3;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip b { display: block; color: var(--navy); font-size: 13.5px; }
.float-chip small { color: var(--muted); font-size: 12px; }
.chip-ic {
  width: 36px; height: 36px; border-radius: 11px; background: #e3f0fb; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.chip-ic.chip-amber { background: #fdf0dc; }
.chip-top { right: -8px; top: 28px; }
.chip-bottom { right: 6px; bottom: 120px; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
.hero-visual .iphone { position: absolute; left: 0; bottom: 0; z-index: 2; }

/* iPhone mockup */
.iphone {
  width: 290px; height: 600px; border-radius: 54px; padding: 11px; flex: none;
  background: linear-gradient(145deg, #4b525c 0%, #23272d 45%, #3a4048 100%);
  box-shadow: 0 0 0 1.5px #6b727c inset, 0 40px 70px rgba(20,48,74,.32), 0 8px 18px rgba(20,48,74,.18);
  position: relative;
}
.iphone::before, .iphone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a4048;
}
.iphone::before { left: -3px; top: 120px; height: 56px; box-shadow: 0 70px 0 #3a4048; }
.iphone::after { right: -3px; top: 150px; height: 86px; }
.iphone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #f3f6f4;
  font-family: var(--sans); font-size: 13px; line-height: 1.3; color: var(--ink);
  box-shadow: 0 0 0 2px #0c0e10;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px;
  background: #000; border-radius: 20px; z-index: 5;
}
.statusbar {
  display: flex; justify-content: space-between; align-items: center; height: 46px;
  padding: 4px 26px 0 30px; font-weight: 700; font-size: 14px; color: #111;
}
.sb-icons { display: flex; align-items: center; gap: 5px; }
.sb-icons svg { fill: #111; }
.batt { width: 24px; height: 12px; border: 1.5px solid #111; border-radius: 4px; padding: 1.5px; position: relative; opacity: .9; }
.batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #111; border-radius: 0 2px 2px 0; }
.batt i { display: block; width: 78%; height: 100%; background: #111; border-radius: 2px; }

.app { padding: 6px 16px 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
.app-head small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.app-head b { display: block; font-family: var(--serif); font-size: 19px; color: var(--navy); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.today-card {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #2a9484 100%); color: #fff;
  border-radius: 20px; box-shadow: 0 10px 20px rgba(31,122,109,.28);
}
.today-card b { display: block; font-size: 15.5px; }
.today-card small { opacity: .88; font-size: 12px; }
.ring-svg { width: 60px; height: 60px; flex: none; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.mini-stats.two { grid-template-columns: 1fr 1fr; }
.mini-stats div { background: #fff; border-radius: 14px; padding: 9px 10px; box-shadow: 0 2px 8px rgba(20,48,74,.06); }
.mini-stats small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.mini-stats b { display: block; font-size: 17px; color: var(--navy); margin-top: 2px; }
.mini-stats span { font-size: 10.5px; color: var(--muted); }
.app-sub { font-weight: 700; color: var(--navy); font-size: 13px; margin: 12px 2px 6px; }
.app-tasks { list-style: none; margin: 0; padding: 0; }
.app-tasks li {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 9px 10px; margin-bottom: 7px; box-shadow: 0 2px 8px rgba(20,48,74,.06);
}
.ti { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ti-green { background: #e2f2ec; } .ti-blue { background: #e3f0fb; } .ti-amber { background: #fdf0dc; }
.tt { flex: 1; font-weight: 600; font-size: 12.5px; color: var(--ink); }
.tt small { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); }
.chk {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd8d4; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800;
}
.is-done .chk { background: var(--brand); border-color: var(--brand); }
.is-done .tt { color: var(--muted); text-decoration: line-through; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 74px; padding: 8px 14px 22px;
  display: flex; justify-content: space-around; background: rgba(255,255,255,.94);
  border-top: 1px solid #e3e8e5; backdrop-filter: blur(8px);
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: #9aa6ae; }
.tabbar svg { width: 22px; height: 22px; fill: currentColor; }
.tabbar .on { color: var(--brand); }
.home-ind { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 3px; background: #111; z-index: 4; }

/* Progress screen */
.chart-card { background: #fff; border-radius: 18px; padding: 12px 14px 10px; box-shadow: 0 2px 8px rgba(20,48,74,.06); }
.cc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cc-head b { font-size: 13px; color: var(--navy); }
.cc-head span { font-size: 10.5px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; justify-content: space-between; height: 110px; padding-bottom: 16px; position: relative; }
.bars span { width: 22px; height: var(--h); background: #cfe4dd; border-radius: 7px 7px 4px 4px; position: relative; }
.bars span.today { background: var(--brand); }
.bars i { position: absolute; bottom: -17px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 10px; color: var(--muted); font-weight: 600; }
.recipe-card { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 8px; margin-top: 10px; box-shadow: 0 2px 8px rgba(20,48,74,.06); }
.recipe-card img { width: 72px; height: 60px; object-fit: cover; border-radius: 11px; flex: none; }
.recipe-card small { display: block; font-size: 10.5px; color: var(--brand-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.recipe-card b { display: block; font-size: 13px; color: var(--navy); }
.recipe-card span { font-size: 10.5px; color: var(--muted); }

.mock-label { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* Photo cards */
.photo-card { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.94);
  color: var(--navy); border-radius: 12px; padding: 10px 14px; font-size: 15px;
}
.symptoms-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.symptoms-grid .symptoms { grid-template-columns: 1fr; max-width: none; gap: 12px; }
.night-card { min-height: 420px; }
.night-card figcaption { background: rgba(20,48,74,.88); color: #fff; }
.night-card figcaption b { color: var(--amber); }

.inside-grid { display: grid; grid-template-columns: 330px 1fr; gap: 48px; align-items: start; }
.inside-phone { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; }
.inside-grid .features { grid-template-columns: 1fr 1fr; }

.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.day-photos { display: grid; gap: 18px; }
.day-photos .photo-card { aspect-ratio: 16 / 10; box-shadow: 0 20px 40px rgba(0,0,0,.3); }

.final-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; text-align: left; }
.final-grid p { margin-left: 0; }
.final-photo { width: 100%; height: 340px; object-fit: cover; border-radius: 26px; border: 6px solid rgba(255,255,255,.12); }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 38px; margin: 0 0 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); }
.bg-navy { background: var(--navy); color: #e7eef5; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .section-head p { color: #bccbd9; }
.center { text-align: center; }
.cta-wrap { text-align: center; margin-top: 44px; }
.cta-wrap .price-note { margin-top: 14px; }

/* Symptoms */
.symptoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; max-width: 900px; margin: 0 auto; }
.symptom {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; font-weight: 500;
}
.symptom .x {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: #b2453c;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.note {
  max-width: 900px; margin: 26px auto 0; background: #fff; border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0; padding: 16px 20px; font-size: 16px; color: var(--muted);
}

/* Reframe */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 36px; margin: 0 0 18px; }
.split p { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pillar { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pillar img { display: block; width: 100%; height: 130px; object-fit: cover; }
.pillar-body { padding: 16px 18px 20px; }
.pillar h3 { font-size: 19px; margin: 0 0 6px; }
.pillar p { font-size: 15.5px; margin: 0; color: var(--muted); }
.sources { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px;
}
.step h3 { font-size: 21px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16.5px; }
.step .time { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand-dark); background: var(--sage); padding: 4px 10px; border-radius: 999px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: flex;
  align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px;
}
.feature h3 { font-size: 20px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Day timeline */
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.18); }
.tl-item { display: grid; grid-template-columns: 80px 1fr; gap: 34px; padding: 14px 0; position: relative; }
.tl-time { font-weight: 700; color: var(--amber); text-align: right; font-size: 16px; padding-top: 2px; }
.tl-item::after {
  content: ""; position: absolute; left: 86px; top: 22px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px var(--navy);
}
.tl-body h3 { font-size: 19px; margin: 0 0 4px; }
.tl-body p { margin: 0; color: #bccbd9; font-size: 16px; }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 16.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { background: var(--navy); color: #fff; font-weight: 600; font-size: 15.5px; }
.compare th.hl { background: var(--brand); }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare td.hl { background: #f1f8f5; font-weight: 700; color: var(--brand-dark); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--brand); font-weight: 800; }
.no { color: #b2453c; font-weight: 800; }
.compare-note { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }

/* For / not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-box { border-radius: var(--radius); padding: 30px; }
.fit-yes { background: var(--sage); }
.fit-no { background: var(--cream); }
.fit-box h3 { margin: 0 0 14px; font-size: 22px; }
.fit-box ul { margin: 0; padding-left: 0; list-style: none; }
.fit-box li { padding-left: 30px; position: relative; margin-bottom: 10px; font-size: 16.5px; }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: #b2453c; font-weight: 800; }

/* Pricing */
.pricing-card {
  max-width: 560px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(20,48,74,.16);
  border: 3px solid var(--brand); overflow: hidden;
}
.pricing-head { background: var(--brand); color: #fff; text-align: center; padding: 14px; font-weight: 700; letter-spacing: .04em; font-size: 15px; text-transform: uppercase; }
.pricing-body { padding: 34px 36px 30px; text-align: center; }
.big-price { font-family: var(--serif); font-size: 64px; font-weight: 700; color: var(--navy); line-height: 1; }
.big-price small { font-family: var(--sans); font-size: 18px; color: var(--muted); font-weight: 500; }
.then { margin: 12px 0 4px; font-size: 18px; }
.per-day { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.pricing-body .checks { text-align: left; margin: 0 auto 28px; max-width: 400px; }
.secure { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.terms-line { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; line-height: 1.55; }

/* Guarantee */
.guarantee { display: flex; gap: 30px; align-items: center; max-width: 860px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.seal {
  flex: none; width: 140px; height: 140px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 6px solid var(--amber); font-weight: 700; line-height: 1.1;
}
.seal b { font-family: var(--serif); font-size: 42px; color: var(--amber); }
.seal span { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.guarantee h2 { font-size: 30px; margin: 0 0 10px; }
.guarantee p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 26px; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 16.5px; }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: 40px; margin: 0 0 14px; }
.final p { color: #bccbd9; font-size: 19px; max-width: 640px; margin: 0 auto 30px; }

/* Disclaimer */
.disclaimer {
  border-left: 4px solid var(--brand); background: var(--cream);
  padding: 18px 22px; border-radius: 0 10px 10px 0; font-size: 15px; color: var(--muted);
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff;
  border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.sticky-cta .btn { width: 100%; min-height: 50px; padding: 12px; font-size: 17px; }
.sticky-cta small { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 5px; }

/* Legal pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: 38px; letter-spacing: -0.01em; margin: 0 0 6px; }
.page .updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.page h2 { font-size: 23px; margin: 38px 0 10px; }
.page h3 { font-size: 19px; margin: 24px 0 8px; }
.page li { margin-bottom: 6px; }
.page table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 16px; }
.page th, .page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.page th { background: var(--cream); }
.contact-box { border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 20px 0; }
.contact-box p { margin: 4px 0; }
.welcome-card { background: var(--cream); border-radius: 22px; padding: 40px; text-align: center; }
.welcome-card .big-check {
  width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 40px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.welcome-steps { text-align: left; max-width: 520px; margin: 26px auto 0; }

/* Footer */
.site-footer { background: var(--navy); color: #bccbd9; padding: 48px 0 40px; font-size: 14.5px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.site-footer p { margin: 5px 0; }
.site-footer a { color: #fff; }
.site-footer .fine { margin-top: 18px; font-size: 13px; color: #8fa3b6; max-width: 860px; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr; gap: 36px; }
  .inside-phone { position: static; }
  .day-grid { grid-template-columns: 1fr; gap: 36px; }
  .day-photos { grid-template-columns: 1fr 1fr; }
  .symptoms-grid { grid-template-columns: 1fr 1fr; }
  .final-grid { grid-template-columns: 220px 1fr; gap: 32px; }
  .final-photo { height: 260px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .site-header .wrap { height: 62px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 18.5px; }
  section { padding: 60px 0; }
  .section-head h2, .split h2 { font-size: 29px; }
  .symptoms, .pillars, .features, .fit { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px 8px; }
  .guarantee { flex-direction: column; text-align: center; padding: 28px 22px; }
  .timeline::before { left: 64px; }
  .tl-item { grid-template-columns: 56px 1fr; gap: 30px; }
  .tl-item::after { left: 58px; }
  .tl-time { font-size: 14px; }
  .big-price { font-size: 54px; }
  .pricing-body { padding: 28px 22px; }
  .final h2 { font-size: 30px; }
  .hero-visual { height: 560px; max-width: 420px; }
  .hero-visual .iphone { zoom: .86; }
  .hero-photo { width: 76%; height: 80%; }
  .chip-top { right: -4px; top: 18px; }
  .chip-bottom { right: 0; bottom: 96px; }
  .hero-visual::before { right: -8px; }
  .symptoms-grid { grid-template-columns: 1fr; }
  .night-card { min-height: 0; height: 300px; }
  .inside-grid .features { grid-template-columns: 1fr; }
  .day-photos { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; text-align: center; }
  .final-photo { width: 180px; height: 180px; border-radius: 50%; margin: 0 auto; }
  .final-grid p { margin-left: auto; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 86px; }
  .page h1 { font-size: 30px; }
}
