:root {
  color-scheme: dark;
  --bg: #06070a;
  --card: #111620;
  --text: #f5f8fb;
  --muted: #a8b1bd;
  --line: #26313d;
  --green: #00e87a;
  --green-soft: #8affc1;
  --teal: #2dd4bf;
  --radius: 8px;
  --max: 1120px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 232, 122, .16), transparent 34rem),
    linear-gradient(180deg, #080a0e 0%, var(--bg) 48%, #050608 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap,
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.wrap.narrow { max-width: 880px; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(7, 9, 13, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
}
.site-header.is-scrolled { background: rgba(7, 9, 13, .93); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #041009;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav .nav-cta { background: var(--green); color: #03110a; }
.nav-toggle { display: none; background: transparent; border: 0; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
}
.button.primary { background: var(--green); color: #03110a; border-color: var(--green); box-shadow: 0 12px 40px rgba(0,232,122,.22); }
.button.secondary { background: rgba(255,255,255,.06); color: var(--text); }
.button.full { width: 100%; }

.hero {
  min-height: 680px;
  padding: 130px 0 70px;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,10,.96), rgba(6,7,10,.7) 48%, rgba(6,7,10,.2)),
    linear-gradient(0deg, var(--bg), rgba(6,7,10,0) 30%);
}
.hero-content {
  position: relative;
  width: min(820px, calc(100% - 40px));
  margin: 0 auto 0 max(20px, calc((100vw - var(--max)) / 2));
  padding-right: 20px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1,
.article-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
}
.hero-copy,
.page-hero p,
.article-hero p {
  max-width: 640px;
  color: #d4dce5;
  font-size: clamp(16px, 1.4vw, 19px);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.trust-row span,
.tag {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 7px 10px;
  color: #dce8f0;
  font-size: 13px;
  font-weight: 800;
}

.section { padding: 86px 0; }
.proof-band {
  margin-top: -34px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.proof-band div { background: rgba(17,22,32,.94); padding: 24px; }
.proof-band strong { display: block; font-size: 26px; }
.proof-band span,
.section p { color: var(--muted); }

.split,
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.section-heading { max-width: 800px; margin-bottom: 28px; }
.section h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }

.demo-panel,
.price-card,
.post-card,
.reasons-grid article,
.steps article,
.benefit-grid article,
.link-card,
.article-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.demo-panel { padding: 22px; }
.phone-shell { max-width: 360px; margin: auto; background: #0a0d12; border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.chat-header { margin-bottom: 16px; font-weight: 900; }
.bubble { max-width: 82%; margin: 8px 0; padding: 10px 12px; border-radius: 14px; font-size: 14px; }
.bubble.bot { background: #152033; }
.bubble.patient { margin-left: auto; background: #0b6b42; }
.dashboard-card { display: flex; align-items: center; gap: 12px; max-width: 420px; margin: 18px auto 0; padding: 14px; background: #101722; border: 1px solid var(--line); border-radius: var(--radius); }
.dashboard-card div { display: grid; }
.dashboard-card span { color: var(--muted); font-size: 14px; }
.dashboard-card button { margin-left: auto; border: 0; border-radius: 999px; background: var(--green); color: #041009; font-weight: 900; padding: 10px 14px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); }

.steps,
.link-grid,
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-grid,
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps article,
.benefit-grid article,
.link-card,
.reasons-grid article,
.post-card { padding: 24px; }
.steps span,
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,232,122,.12); color: var(--green); font-weight: 900; }
.link-card span { color: var(--green-soft); font-size: 12px; text-transform: uppercase; font-weight: 900; }
.link-card strong { display: block; margin: 10px 0 6px; font-size: 20px; }

.price-card { padding: 30px; }
.plan-label { color: var(--green-soft); font-weight: 900; }
.price { margin: 14px 0; font-size: 56px; font-weight: 900; line-height: 1; }
.price span { color: var(--muted); font-size: 18px; }
.price-card li { margin: 10px 0; color: #dce5ed; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); padding: 16px; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 34px 0 46px; color: var(--muted); display: flex; justify-content: space-between; border-top: 1px solid var(--line); }

.page-hero,
.article-hero { padding: 150px 0 70px; background: radial-gradient(circle at 20% 0, rgba(0,232,122,.18), transparent 34rem); }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.breadcrumbs a { color: var(--green-soft); }
.post-card { display: block; transition: transform .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(0,232,122,.45); }
.post-card.featured { grid-column: span 2; }
.post-card h2 { margin: 14px 0 10px; font-size: 28px; line-height: 1.1; }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 18px; }
.muted-card { opacity: .72; }
.article-layout { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.article-body { color: #d7dfe7; font-size: 18px; }
.article-body h2 { margin: 44px 0 10px; font-size: 34px; line-height: 1.15; }
.article-body p { margin: 0 0 18px; }
.article-cta { margin: 44px 0; padding: 26px; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.compare-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: rgba(255,255,255,.035); }
.compare-table th,
.compare-table td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table th,
.compare-table td:last-child { color: var(--green-soft); font-weight: 800; }

@media (max-width: 820px) {
  .site-header { top: 8px; width: calc(100% - 16px); border-radius: 20px; align-items: flex-start; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; margin: 0 8px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #090d13; }
  .nav.is-open { display: grid; }
  .nav a,
  .hero-actions .button { width: 100%; }
  .hero { min-height: 720px; padding-top: 120px; }
  .hero-content { width: calc(100% - 32px); margin: 0 auto; }
  .hero h1,
  .page-hero h1,
  .article-hero h1 { font-size: 37px; }
  .proof-band,
  .split,
  .pricing,
  .steps,
  .benefit-grid,
  .link-grid,
  .reasons-grid,
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; }
  .section { padding: 58px 0; }
  .final-cta,
  .footer { display: grid; }
}
