/* Row Telehealth — design system */
:root {
  --teal-900: #0a3d38;
  --teal-700: #0e5e56;
  --teal-600: #12756a;
  --teal-100: #e2f0ed;
  --teal-50: #f1f8f6;
  --cream: #faf8f3;
  --ink: #16211f;
  --ink-60: #4c5a57;
  --ink-40: #7c8886;
  --coral: #e8734a;
  --amber: #f2b33d;
  --white: #ffffff;
  --line: #e4e2da;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(10, 61, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 61, 56, 0.14);
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.15rem; color: var(--ink-60); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font);
}
.btn-primary { background: var(--teal-700); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--teal-700); border: 2px solid var(--teal-700); }
.btn-secondary:hover { background: var(--teal-50); transform: translateY(-2px); }
.btn-lg { padding: 19px 42px; font-size: 1.08rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo span { color: var(--teal-700); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-60); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal-700); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--white); }
.nav .btn { padding: 11px 24px; font-size: 0.92rem; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { font-style: normal; color: var(--teal-700); }
.hero .lead { margin: 20px 0 30px; max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-40); }
.hero-img-frame { position: relative; }
.hero-img-frame img { border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-price-chip {
  position: absolute; bottom: 24px; left: -18px; background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px 22px; font-weight: 700;
}
.hero-price-chip small { display: block; font-weight: 600; color: var(--ink-40); font-size: 0.75rem; }
.hero-price-chip strong { font-size: 1.3rem; color: var(--teal-700); }

.trust-bar { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--ink-60); }
.trust-item svg { flex: none; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { background: var(--cream); border-radius: var(--radius); padding: 34px 30px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-700); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--ink-60); font-size: 0.97rem; }

/* Treatments */
.treatments { background: var(--teal-50); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative; border: 2px solid transparent;
}
.plan-card.featured { border-color: var(--teal-700); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal-700); color: var(--white); font-size: 0.75rem; font-weight: 700;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 1.3rem; }
.plan-sub { color: var(--ink-40); font-size: 0.9rem; margin: 4px 0 18px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--teal-900); letter-spacing: -0.03em; }
.plan-price small { font-size: 0.95rem; font-weight: 600; color: var(--ink-40); }
.plan-first { color: var(--coral); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.plan-list { list-style: none; margin: 0 0 26px; flex: 1; }
.plan-list li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-60); font-size: 0.95rem; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px;
  background: var(--teal-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230e5e56" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/11px no-repeat;
  border-radius: 50%;
}
.plan-note { font-size: 0.78rem; color: var(--ink-40); margin-top: 14px; }

/* Included band */
.included { background: var(--teal-900); color: var(--white); }
.included h2 { color: var(--white); }
.included .lead { color: rgba(255, 255, 255, 0.75); }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
.included-card { background: rgba(255, 255, 255, 0.07); border-radius: var(--radius-sm); padding: 26px 22px; }
.included-card svg { margin-bottom: 14px; }
.included-card h3 { font-size: 1rem; margin-bottom: 6px; }
.included-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* Split feature */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } }
.split-grid img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.check-list { list-style: none; margin-top: 24px; }
.check-list li { padding: 9px 0 9px 34px; position: relative; color: var(--ink-60); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px;
  background: var(--teal-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230e5e56" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
  border-radius: 50%;
}

/* Reviews */
.reviews { background: var(--cream); }
.reviews-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.review-card p { color: var(--ink-60); font-size: 0.97rem; }
.review-card footer { margin-top: 16px; font-weight: 700; font-size: 0.9rem; }
.review-card footer small { display: block; font-weight: 500; color: var(--ink-40); }

/* FAQ */
.faq-list { max-width: 780px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.05rem;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--teal-600); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item div { padding: 0 0 22px; color: var(--ink-60); max-width: 62em; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: var(--white); text-align: center; border-radius: 28px; padding: 72px 40px; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 30px; }
.cta-band .btn-primary { background: var(--white); color: var(--teal-900); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* Footer */
footer.site {
  background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 64px 0 40px; margin-top: 88px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
footer.site a { color: rgba(255, 255, 255, 0.72); display: block; padding: 4px 0; }
footer.site a:hover { color: var(--white); }
.footer-disclaimers { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 28px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }
.footer-disclaimers p { margin-bottom: 10px; }

/* Quiz */
.quiz-shell { min-height: 100vh; background: var(--cream); display: flex; flex-direction: column; }
.quiz-top { background: var(--white); border-bottom: 1px solid var(--line); }
.quiz-top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.quiz-progress { height: 5px; background: var(--teal-100); border-radius: 99px; overflow: hidden; flex: 1; margin: 0 28px; max-width: 420px; }
.quiz-progress i { display: block; height: 100%; background: var(--teal-700); width: 5%; transition: width 0.3s ease; }
.quiz-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 56px 20px; }
.quiz-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; padding: 44px 40px; }
.quiz-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.quiz-card .q-sub { color: var(--ink-60); font-size: 0.95rem; margin-bottom: 26px; }
.q-options { display: grid; gap: 12px; }
.q-opt {
  border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer;
  font-weight: 600; transition: all 0.12s ease; background: var(--white); text-align: left;
  font-size: 1rem; font-family: var(--font); color: var(--ink);
}
.q-opt:hover { border-color: var(--teal-600); background: var(--teal-50); }
.q-opt.selected { border-color: var(--teal-700); background: var(--teal-100); }
.q-opt small { display: block; font-weight: 500; color: var(--ink-40); font-size: 0.85rem; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.q-field { margin-bottom: 16px; }
.q-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 7px; }
.q-field input, .q-field select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: var(--font); background: var(--white); color: var(--ink);
}
.q-field input:focus, .q-field select:focus { outline: none; border-color: var(--teal-600); }
.q-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.q-back { background: none; border: none; color: var(--ink-40); font-weight: 600; cursor: pointer; font-size: 0.95rem; font-family: var(--font); padding: 8px; }
.q-back:hover { color: var(--ink); }
.q-error { color: #c0392b; font-size: 0.88rem; margin-top: 12px; display: none; }
.q-consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 0.85rem; color: var(--ink-60); }
.q-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal-700); }
.bmi-chip { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 12px; padding: 14px 18px; margin-top: 14px; font-weight: 600; display: none; }
.bmi-chip strong { color: var(--teal-700); font-size: 1.2rem; }
.q-result-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.q-center { text-align: center; }

/* Legal pages */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-wrap h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-updated { color: var(--ink-40); font-size: 0.9rem; margin-bottom: 40px; }
.legal-wrap h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-60); font-size: 0.97rem; margin-bottom: 12px; }
.legal-wrap ul { padding-left: 22px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Product / category pages */
.page-hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: 64px 0 56px; }
.page-hero .lead { margin-top: 14px; max-width: 40em; }
.crumb { font-size: 0.82rem; font-weight: 600; color: var(--ink-40); margin-bottom: 18px; }
.crumb a { color: var(--ink-40); }
.crumb a:hover { color: var(--teal-700); }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 44px; }
.prod-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border: 2px solid transparent; position: relative;
}
.prod-card.featured { border-color: var(--teal-700); }
.prod-card h3 { font-size: 1.12rem; }
.prod-freq { color: var(--ink-40); font-size: 0.88rem; margin: 4px 0 14px; }
.prod-price { font-weight: 800; font-size: 1.5rem; color: var(--teal-900); letter-spacing: -0.02em; }
.prod-price small { font-size: 0.82rem; font-weight: 600; color: var(--ink-40); }
.prod-tag { display: inline-block; background: var(--teal-100); color: var(--teal-700); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; align-self: flex-start; }
.prod-tag.brand { background: #fdeedd; color: #b3641f; }
.prod-card .btn { margin-top: 18px; padding: 12px 22px; font-size: 0.92rem; }
.prod-note { font-size: 0.74rem; color: var(--ink-40); margin-top: 12px; }

.detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.detail-block:first-of-type { border-top: none; }
@media (max-width: 860px) { .detail-block { grid-template-columns: 1fr; gap: 24px; } }
.detail-block h3 { font-size: 1.5rem; margin-bottom: 6px; }
.detail-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-600); }
.detail-price-row { display: flex; align-items: center; gap: 16px; margin: 16px 0 6px; flex-wrap: wrap; }
.detail-price-row .prod-price { font-size: 1.7rem; }
.spec-list { list-style: none; margin-top: 14px; }
.spec-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; color: var(--ink-60); }
.spec-list li strong { color: var(--ink); min-width: 128px; display: inline-block; font-size: 0.88rem; }
.safety-box { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 18px; font-size: 0.85rem; color: var(--ink-60); }
.safety-box strong { color: var(--ink); }

.cat-band { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
@media (max-width: 860px) { .cat-band { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--white); display: flex; flex-direction: column;
}
.cat-card img { width: 100%; height: 210px; object-fit: cover; }
.cat-card > div { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--ink-60); font-size: 0.95rem; flex: 1; }
.cat-card .btn { margin-top: 18px; align-self: flex-start; padding: 12px 24px; font-size: 0.92rem; }
