:root {
  --bg: #f7f3ee;
  --paper: #ffffff;
  --paper-soft: #fbf8f3;
  --ink: #102326;
  --ink-soft: #214248;
  --muted: #587178;
  --brand: #106278;
  --brand-dark: #0b3f4b;
  --brand-soft: #eaf7f9;
  --accent: #d97757;
  --mint: #b8f1bc;
  --night: #0f2327;
  --night-card: #16343a;
  --line: #d9d3cb;
  --line-soft: rgba(16, 35, 38, 0.08);
  --shadow: 0 20px 60px rgba(16, 35, 38, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 35, 38, 0.08);
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  display: inline-flex;
  align-items: baseline;
}

.brand-wordmark .re {
  color: #1f2a28;
}

.brand-wordmark .dot {
  color: #d97757;
}

.brand-wordmark .ro {
  color: #0e5c4a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(16, 98, 120, 0.08);
  outline: none;
}

.nav-link.cta {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 98, 120, 0.18);
}

.nav-link.cta:hover,
.nav-link.cta:focus-visible {
  background: var(--brand-dark);
}

.pdp-main {
  overflow: clip;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 52px 0;
}

.section-hero {
  padding: 48px 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16, 98, 120, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(184, 241, 188, 0.28);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  max-width: 12ch;
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 34px rgba(16, 98, 120, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: rgba(16, 98, 120, 0.22);
  color: var(--brand);
  background: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--brand);
  background: rgba(16, 98, 120, 0.04);
}

.hero-proof {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-proof strong,
.metrics-bar strong,
.result-card strong,
.stat-card strong {
  display: block;
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.05em;
}

.hero-proof strong {
  font-size: 1.8rem;
}

.hero-proof span,
.metrics-bar span,
.result-card span,
.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 4% 0;
  height: 82%;
  border-radius: 50% 50% 46% 46% / 44% 44% 56% 56%;
  background: linear-gradient(180deg, #fff 0%, #f5f0ea 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  object-fit: contain;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: start;
}

.section h2,
.section h3 {
  margin: 0;
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.section-intro {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.section-dark {
  background: var(--night);
  color: #f5fbfc;
}

.section-dark .section-label {
  background: rgba(255, 255, 255, 0.08);
  color: #b7edf6;
}

.section-dark .section-intro,
.section-dark .feature-card p,
.section-dark .doctor-card p,
.section-dark .faq-intro,
.section-dark .metrics-bar span {
  color: rgba(245, 251, 252, 0.72);
}

.feature-grid,
.steps-grid,
.story-grid,
.doctor-grid,
.stat-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  margin-top: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.step-card,
.story-card,
.doctor-card,
.stat-card,
.result-card {
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(85, 196, 220, 0.42);
  background: linear-gradient(180deg, rgba(22, 52, 58, 0.9), rgba(16, 35, 39, 0.96));
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 87, 0.12);
  color: #ffb59b;
  font-size: 20px;
}

.feature-card h3,
.step-card h3,
.story-card h3,
.doctor-card h3,
.faq-copy h2 {
  margin-top: 18px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.feature-card p,
.step-card p,
.story-card p,
.doctor-card p,
.faq-intro {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.center-copy {
  text-align: center;
}

.center-copy .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.steps-grid {
  margin-top: 34px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.step-card:nth-child(5) {
  background: var(--paper-soft);
}

.step-number {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.center-cta {
  margin-top: 30px;
  text-align: center;
}

.result-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 320px);
  align-items: center;
  gap: 32px;
  margin-top: 34px;
}

.button-dark {
  background: #111a1d;
  color: #fff;
  border: 1px solid #111a1d;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #000;
}

.gauge-wrapper {
  text-align: center;
}

.gauge-label {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.gauge {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 2 / 1;
  margin: 0 auto;
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(16,35,38,0.15);
  border-bottom: 0;
  background: radial-gradient(circle at bottom, transparent 60%, rgba(16,35,38,0.02) 61%);
  overflow: hidden;
}

.gauge-scale {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  background: repeating-conic-gradient(
    from -90deg at 50% 100%,
    transparent 0deg,
    transparent 4deg,
    rgba(16,35,38,0.2) 4deg,
    rgba(16,35,38,0.2) 5deg
  );
  -webkit-mask: radial-gradient(circle at bottom, transparent 75%, #000 76%);
  mask: radial-gradient(circle at bottom, transparent 75%, #000 76%);
}

.gauge-needle {
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 4px;
  height: 80%;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.2s ease-out;
}

.gauge-value {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.gauge-value strong {
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.gauge-value span {
  color: var(--muted);
  font-size: 1rem;
}

.slider-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.weight-slider {
  -webkit-appearance: none;
  width: 100%;
  max-width: 260px;
  height: 8px;
  background: #e2dfdb;
  border-radius: 999px;
  outline: none;
  position: relative;
}

.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(16,35,38,0.1);
  box-shadow: 0 4px 10px rgba(16,35,38,0.1);
  cursor: pointer;
}

.result-card {
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 35, 38, 0.08);
}

.result-row:last-child {
  border-bottom: 0;
}

.result-row span {
  margin-top: 0;
}

.result-row strong {
  font-size: 2rem;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.story-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-copy {
  padding: 22px 22px 0;
}

.story-quote {
  width: 24px;
  opacity: 0.55;
}

.story-card p {
  color: var(--ink-soft);
}

.story-people {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  min-height: 170px;
}

.story-people img {
  align-self: end;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
}

.story-caption {
  padding: 0 22px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.metrics-bar {
  margin-top: 26px;
  padding: 20px 28px;
  border-radius: 24px;
  background: var(--brand);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  color: #fff;
  box-shadow: 0 24px 40px rgba(16, 98, 120, 0.22);
}

.metrics-bar strong {
  font-size: 2rem;
}

.metrics-bar span {
  color: rgba(255, 255, 255, 0.72);
}

.doctor-grid {
  margin-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doctor-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doctor-avatar {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(16, 98, 120, 0.14), rgba(184, 241, 188, 0.42));
  color: var(--brand-dark);
  font-family: Inter, "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
}

.doctor-tag {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 98, 120, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.doctor-card h3 {
  margin-top: 16px;
}

.doctor-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section-science {
  background: linear-gradient(180deg, rgba(231, 224, 216, 0.58), rgba(243, 239, 233, 0.8));
}

.science-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.science-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.science-point {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
}

.science-point i {
  color: var(--brand);
  font-size: 18px;
  margin-top: 2px;
}

.science-point strong {
  display: block;
  font-size: 1.02rem;
}

.science-point span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 35, 38, 0.08);
  box-shadow: var(--shadow);
}

.stat-card strong {
  font-size: 2.2rem;
}

.stat-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid rgba(16, 35, 38, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(16, 35, 38, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px 20px 0;
  position: relative;
  font-weight: 700;
  color: var(--ink-soft);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 24px;
  line-height: 1;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 28px 20px 0;
  color: var(--muted);
  line-height: 1.7;
}

.disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(16, 98, 120, 0.06);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .feature-grid,
  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header-inner {
    min-height: 76px;
  }

  .nav {
    display: none;
  }

  .hero-shell,
  .split-intro,
  .result-shell,
  .science-shell,
  .faq-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    order: -1;
    min-height: 340px;
  }

  .hero-visual img {
    width: min(100%, 380px);
  }

  .check-list,
  .metrics-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .steps-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .section-hero {
    padding-top: 26px;
  }

  .container,
  .site-header-inner {
    width: min(100% - 24px, 100% - 24px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .brand-wordmark {
    font-size: 19px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .hero-copy p,
  .section-intro,
  .feature-card p,
  .step-card p,
  .story-card p,
  .doctor-card p,
  .faq-answer {
    font-size: 0.95rem;
  }

  .hero-proof,
  .feature-grid,
  .steps-grid,
  .story-grid,
  .doctor-grid,
  .stat-grid,
  .check-list,
  .metrics-bar {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .faq-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual::before {
    inset: auto 0 0;
    height: 88%;
  }

  .story-people img {
    height: 160px;
  }

  .result-card,
  .story-copy,
  .story-caption,
  .feature-card,
  .step-card,
  .doctor-card,
  .stat-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}
