:root {
  --navy: #1F3A6B;
  --navy-deep: #142A52;
  --navy-900: #0F1C3A;
  --cream: #FBF6EE;
  --apricot: #F4B183;
  --ink: #1F2430;
  --muted: #55596A;
  --card: #FFFFFF;
  --line: #E6DFD3;
  --tint: #E4EAF5;
  --bg: #FBF6EE;
  --text: #1F2430;
  --text-secondary: #55596A;
  --accent: #1F3A6B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12182A;
    --card: #1C2540;
    --line: #30395A;
    --tint: #2A3560;
    --text: #EEF1FA;
    --text-secondary: #BFC6DD;
    --accent: #8FB0F0;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 18px;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header and hero */
.top { background: var(--navy-deep); color: #fff; }
header.bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 22px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; }
.logo img { height: 84px; width: auto; }
.logo span { color: var(--apricot); }
nav.menu a { color: #D6DEF2; text-decoration: none; margin-left: 24px; font-size: 0.98rem; }
nav.menu a:hover, nav.menu a.current { color: #fff; }
nav.menu a.current { font-weight: 600; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 36px 24px 72px; }
.hero h1 { font-size: 3rem; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #D6DEF2; margin: 0 0 28px; max-width: 34em; }
.pill { display: inline-block; background: rgba(244,177,131,0.16); color: var(--apricot); border: 1px solid rgba(244,177,131,0.4); padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 210px; padding: 12px 22px; border-radius: 14px; text-decoration: none; line-height: 1.25; }
.btn small { font-size: 0.74rem; opacity: 0.85; }
.btn strong { font-size: 1.08rem; }
.btn.primary { background: var(--apricot); color: #3A2208; }
.btn.ghost { background: transparent; color: #D6DEF2; border: 1px dashed rgba(255,255,255,0.4); cursor: default; }
.btn.navy { background: var(--navy); color: #fff; }

/* Phone mockup (sample data only) */
.phone { width: 290px; margin: 0 auto; background: #0F1C3A; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.screen { background: #FBF6EE; color: #1F2430; border-radius: 30px; padding: 18px 14px 16px; font-size: 15px; line-height: 1.35; }
.screen .hi { font-size: 21px; font-weight: 600; margin: 0 4px 2px; }
.screen .date { color: #5A5566; margin: 0 4px 12px; font-size: 14px; }
.voice { background: #1F3A6B; color: #fff; border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.voice .lab { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #DCE4F5; }
.voice .dot { width: 22px; height: 22px; border-radius: 50%; background: #F4B183; display: inline-block; }
.voice .q { font-size: 16.5px; font-weight: 600; margin: 6px 0 10px; line-height: 1.3; }
.voice .row { display: flex; gap: 8px; }
.voice .row span { flex: 1; text-align: center; padding: 10px 6px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.voice .yes { background: #F4B183; color: #3F2008; }
.voice .no { border: 1.5px solid #DCE4F5; color: #fff; }
.mini { background: #fff; border: 1px solid #E6DFD3; border-radius: 16px; padding: 11px 12px; margin-bottom: 9px; }
.mini b { font-size: 16px; }
.mini .t { float: right; color: #5A5566; font-size: 13px; }
.mini .d { margin: 2px 0 7px; font-size: 14.5px; }
.chip { display: inline-block; background: #E4EAF5; color: #1F3A6B; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.next { background: #fff; border: 1px solid #E6DFD3; border-radius: 16px; padding: 11px 12px; }
.next b { font-size: 16.5px; display: block; }
.next span { color: #5A5566; font-size: 14px; }

/* Sections */
section.block { padding: 72px 0; }
h2 { font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; }
.sub { color: var(--text-secondary); max-width: 36em; margin: 0 0 36px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ic svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--text-secondary); font-size: 1rem; }

.band { background: var(--navy); color: #fff; }
.band h2 { color: #fff; }
.band .sub { color: #D6DEF2; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 8px; }
.step { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 26px; }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--apricot); color: #3A2208; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.2rem; color: #fff; }
.step p { margin: 0; color: #D6DEF2; font-size: 1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sheet { background: #fff; color: #1F2430; border: 1px solid #E6DFD3; border-radius: 16px; padding: 24px; font-size: 15px; box-shadow: 0 16px 40px rgba(31,58,107,0.12); }
.sheet h4 { margin: 0 0 4px; font-size: 18px; }
.sheet .m { padding: 12px 0; border-top: 1px solid #E6DFD3; }
.sheet .m b { display: block; font-size: 16px; }
.sheet .m span { color: #55596A; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--text-secondary); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--apricot); }
.note { background: var(--tint); border-radius: 14px; padding: 16px 18px; color: var(--text-secondary); font-size: 0.95rem; margin-top: 24px; }

.contact-btn { display: inline-block; margin-top: 8px; background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; }
footer.foot { background: var(--navy-deep); color: #C6D0EA; text-align: center; padding: 28px 24px; font-size: 0.75rem; }
footer.foot a { color: #fff; }

/* Content pages (doctors, privacy) */
.page { padding: 56px 0 24px; }
.page .card { margin-bottom: 20px; }
.page h2 { font-size: 1.6rem; }
.list { margin: 12px 0 0; padding-left: 20px; color: var(--text-secondary); }
.list li { margin-bottom: 8px; }
.policy { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.policy h1 { font-size: 2.2rem; margin: 0 0 4px; }
.policy h2 { font-size: 1.25rem; margin-top: 36px; margin-bottom: 8px; }
.policy p, .policy li { color: var(--text); font-size: 1.02rem; }
.policy ul { padding-left: 20px; }
.policy .meta { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 32px; }
.policy hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.page-hero { color: #fff; padding-top: 8px; padding-bottom: 56px; }
.page-hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.page-hero p { color: #D6DEF2; max-width: 38em; margin: 0; font-size: 1.15rem; }

.card p + p { margin-top: 12px; }
.hero > * { min-width: 0; }
header.bar { flex-wrap: wrap; gap: 10px 20px; }
nav.menu { display: flex; flex-wrap: wrap; gap: 4px 0; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
  .hero h1 { font-size: 2.2rem; }
  .btn { min-width: 0; flex: 1 1 160px; }
  .phone { max-width: 100%; }
  nav.menu a { margin-left: 0; margin-right: 16px; }
  .hero h1 { font-size: 2.3rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  nav.menu a { font-size: 0.92rem; }
  section.block { padding: 48px 0; }
  h2 { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.logo .wm { font-weight: 700; }
