:root {
  --ink: #0f1f2e;
  --ink-2: #3b4b5c;
  --muted: #6a7887;
  --bg: #fbfaf7;
  --panel: #ffffff;
  --line: #e4e2dc;
  --brand: #0e5c63;
  --brand-2: #127a83;
  --brand-soft: #e3f1f0;
  --accent: #c8792a;
  --ok: #d8efe2;
  --todo: #fdf0c9;
  --flag: #f9dede;
  --on-brand: #ffffff;
  --band: #0e5c63;
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eef2; --ink-2: #c3ccd5; --muted: #93a1ae; --bg: #0d1418; --panel: #141e24;
    --line: #26343c; --brand: #4fb3b9; --brand-2: #6cc6cb; --brand-soft: #16302f;
    --ok: #1d3a2b; --todo: #3d3417; --flag: #3f2223;
    --on-brand: #06201f; --band: #123c40;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: .3em 0 .45em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .2em 0 .6em; }
h3 { font-size: 1.05rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--brand); margin: 0; }
section { padding: 88px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-family: var(--serif); font-size: 1.15rem; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: var(--brand); }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--brand); transition: background .15s; }
.btn:hover { background: var(--brand-2); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: #0e5c63; border-color: #fff; }
.btn-light:hover { background: #eaf6f5; }

/* hero */
.hero { padding: 72px 0 80px; background: radial-gradient(900px 420px at 85% 10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .93rem; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 7px; }

/* screenshot frames / placeholders */
.shot { margin: 0; }
.shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.shot img { width: 100%; display: block; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(15,31,46,.35); }
.placeholder { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -30px rgba(15,31,46,.35); overflow: hidden; }
.ph-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.ph-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.ph-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 18px; font-size: .86rem; }
.ph-doc p { margin: 0 0 .75em; }
.ph-h { font-weight: 600; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.ph-doc mark { padding: 1px 4px; border-radius: 4px; color: var(--ink); }
.ph-doc mark.ok { background: var(--ok); }
.ph-doc mark.todo { background: var(--todo); border-bottom: 2px dashed var(--accent); }
.ph-doc mark.flag { background: var(--flag); text-decoration: underline wavy #c0504d; }
.ph-doc sup { color: var(--brand); font-weight: 600; }
.ph-page { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--bg); }
.ph-page span { font-size: .72rem; color: var(--muted); }
.ph-lines { height: 170px; margin-top: 8px; background: repeating-linear-gradient(var(--line) 0 2px, transparent 2px 13px); position: relative; }
.ph-lines::after { content: ""; position: absolute; left: 0; right: 18%; top: 52px; height: 28px; background: color-mix(in srgb, var(--todo) 80%, transparent); outline: 2px solid var(--accent); border-radius: 3px; }
.ph-small { aspect-ratio: 16/10; display: grid; place-items: center; color: var(--muted); font-size: .9rem; background: linear-gradient(135deg, var(--panel), var(--brand-soft)); }

/* sections */
.pain { background: var(--panel); border-block: 1px solid var(--line); }
.pain p { font-size: 1.1rem; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.steps p, .grid p, .facts p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.features { background: var(--panel); border-block: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.grid article h3::before { content: ""; display: block; width: 26px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: 12px; }
.gallery { padding: 64px 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.shot img { height: auto; }
.shots-note { color: var(--muted); font-size: .85rem; margin-top: 18px; text-align: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; margin-top: 32px; }
.facts h3 { color: var(--brand); }
.hipaa { margin-top: 48px; padding: 32px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); background: var(--panel); }
.hipaa h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .3em; }
.hipaa-lede { color: var(--ink-2); }
.hipaa dl { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px 32px; }
.hipaa dt { font-weight: 600; }
.hipaa dd { margin: 0; color: var(--ink-2); font-size: .97rem; }
.hipaa dd ul { margin: 0; padding-left: 1.1em; }
.hipaa dd li { margin-bottom: 6px; }
.pricing { background: var(--panel); border-block: 1px solid var(--line); }
.sub { color: var(--ink-2); max-width: 40em; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.tier-main { border: 2px solid var(--brand); }
.price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; margin: .1em 0 .4em; }
.price span { font: 500 .95rem var(--sans); color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0; color: var(--ink-2); }
.tier li { padding: 7px 0; border-top: 1px solid var(--line); }
.price-notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; color: var(--ink-2); font-size: .93rem; }
.price-notes strong { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }
.closing { background: var(--band); color: #fff; }
.closing h2 { color: #fff; }
.closing p { color: #d9eeee; font-size: 1.1rem; margin-bottom: 1.6em; }
.foot { padding: 28px 0; font-size: .88rem; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid, .facts, .tiers, .shots { grid-template-columns: 1fr 1fr; }
  .price-notes { grid-template-columns: 1fr; }
  .hipaa dl { grid-template-columns: 1fr; gap: 6px; }
  .hipaa dd { margin-bottom: 14px; }
  .hipaa { padding: 22px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .steps, .grid, .facts, .tiers, .shots { grid-template-columns: 1fr; }
  .ph-body { grid-template-columns: 1fr; }
  .ph-page { display: none; }
}
