/* drsmiles.ai - rebuilt. Single stylesheet, zero build step, zero dependencies.
   Brand truth lives in :root. Change the brand once here and once in config/brand.json. */

:root {
  --brand-name: "drsmiles.ai";
  --ink: #0A1412;
  --ink-2: #1D2B27;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --teal: #0E6B5C;
  --teal-deep: #0A4A40;
  --teal-soft: #E8F2EF;
  --sand: #F5F0E8;
  --sand-ink: #7A6A55;
  --surface-2: #FCFBF8;
  --clay: #B85C36;
  --clay-ink: #8A3F1F;   /* clay text on a clay surface: 6.5:1 */
  --clay-soft: #FBEEE7;
  --line: #E3E7E2;
  --line-2: #EEF1EE;
  --muted: #5C6663;
  --muted-2: #6B7673;  /* the lightest grey that still passes 4.5:1 on paper */
  --on-dark: #9FB0AA;
  --on-dark-accent: #63C7B0;
  --on-dark-line: #C7D2CF;
  --warn-line: #E8CFC2;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(10,20,18,.04), 0 4px 14px rgba(10,20,18,.05);
  --shadow-2: 0 2px 4px rgba(10,20,18,.05), 0 18px 44px rgba(10,20,18,.09);
  /* The floating layer. A panel that sits on top of the page needs a real
     shadow or it reads as a rectangle that was dropped on the page. */
  --shadow-3: 0 1px 1px rgba(10,20,18,.06), 0 6px 14px rgba(10,20,18,.08),
              0 28px 64px rgba(10,20,18,.16);
  --maxw: 1160px;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--line) var(--paper);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #C9D0CB; border-radius: 99px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
::selection { background: var(--teal-soft); color: var(--ink); }
::placeholder { color: var(--muted-2); opacity: 1; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02","cv03","cv04","cv11";
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.05rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); letter-spacing: -.028em; }
h3 { font-size: 1.25rem; letter-spacing: -.014em; }
h4 { font-size: 1rem; letter-spacing: -.008em; }
p { margin: 0 0 1.05em; }
a { color: var(--teal); text-decoration-color: rgba(14,107,92,.32); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.lede { font-size: 1.1rem; color: var(--muted); line-height: 1.62; }
.eyebrow { font-size: .755rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.hero .eyebrow { margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; color: var(--muted); line-height: 1.55; }
.center { text-align: center; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(251,250,247,.88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 1.06rem; color: var(--ink); text-decoration: none; }
/* Official wordmark (assets/logo-dark.png). Swap the file, not the markup. */
.brand-logo { width: auto; height: 42px; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }
@media (max-width: 560px) { .legend { flex-direction: column; gap: 7px; } }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; font-weight: 500; }
.nav-links a { color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--teal); color: #fff !important; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 76px 0 66px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 96% at 16% 6%, rgba(14,107,92,.11), transparent 62%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 46px 0; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--teal); }
.hero-sub { font-size: 1.13rem; color: var(--muted); max-width: 33em; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.hero-note { font-size: .82rem; color: var(--muted-2); }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust div { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
/* Icons are drawn, one stroke weight, in the brand colours. No glyphs. */
.tick {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%230E6B5C'/%3E%3Cpath d='M5.9 10.2l2.6 2.6 5.6-5.7' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-size: contain; background-repeat: no-repeat;
}
.icon-x {
  width: 20px; height: 20px; flex: none; border-radius: 7px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23FBEEE7'/%3E%3Cpath d='M6.6 6.6l6.8 6.8M13.4 6.6l-6.8 6.8' fill='none' stroke='%23B85C36' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* the live-check card */
.check { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.check-top { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #fff, var(--surface-2)); }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.check-url { font-size: .78rem; color: var(--muted-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.check-body { padding: 22px; }
.check-score { margin-bottom: 12px; }
.check-eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 9px; }
.check-score b { display: block; font-family: var(--sans); font-size: 3.35rem; line-height: .96; font-weight: 700; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.check-cap { display: block; font-size: .9rem; color: var(--muted); margin-top: 8px; }
.check-label { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; display: flex; margin-bottom: 20px; }
.bar i { display: block; height: 100%; }
.bar .you { background: var(--teal); }
.bar .rival { background: var(--sand); }
.legend { display: flex; gap: 16px; font-size: .78rem; color: var(--muted); margin-bottom: 20px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: 6px; }
.legend .sw-you { background: var(--teal); }
.legend .sw-rival { background: var(--sand); }
.qlist { border-top: 1px solid var(--line-2); }
.qrow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .855rem; }
.qrow:last-child { border-bottom: 0; }
.qrow .t { flex: 1; color: var(--ink-2); }
.qrow .w { font-size: .74rem; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.w-you { background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; }
.w-rival { background: var(--sand); color: var(--sand-ink); }
.w-open { background: var(--clay-soft); color: var(--clay-ink); font-weight: 600; }

/* ---------------------------------------------------------------- strips */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.strip-in { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.strip-in div { font-size: .87rem; color: var(--muted); }
.strip-in b { color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-right: 3px; }

/* ---------------------------------------------------------------- sections */
section { padding: 84px 0; }
section.tight { padding: 60px 0; }
section.sand { background: var(--sand); }
section.mint { background: var(--teal-soft); }
section.dark { background: var(--ink); color: #E8EDEA; }
section.mint { --muted-2: #5F6A67; }   /* secondary text on a tint: 4.9:1 */
section.mint .small, section.mint .muted { color: var(--muted); }
section.dark .lede, section.dark .muted { color: var(--on-dark); }
section.dark .eyebrow { color: var(--on-dark-accent); }

.sec-head { max-width: 660px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--serif); font-size: 1.6rem; color: var(--teal); line-height: 1; margin-bottom: 12px; display: block; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }
.card ul li { margin-bottom: 6px; }

/* problem list */
.prob { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
/* The two columns are named, so the pairs read as a comparison rather than
   as a list of unrelated assertions. */
.prob-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-bottom: 4px; }
.prob-head span { font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prob-head span:last-child { color: var(--teal); }
@media (max-width: 820px) { .prob { grid-template-columns: 1fr; } }
.prob-row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.prob-row .x, .prob-row .y { width: 24px; height: 24px; margin-top: 2px; }
.prob-row .x { background: var(--clay-soft) center / 20px 20px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.6 6.6l6.8 6.8M13.4 6.6l-6.8 6.8' fill='none' stroke='%23B85C36' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.prob-row .y { background: var(--teal-soft) center / 20px 20px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.9 10.2l2.6 2.6 5.6-5.7' fill='none' stroke='%230E6B5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.prob-row b { display: block; margin-bottom: 3px; }
.prob-row p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 1.05rem; color: #fff; background: var(--teal); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; font-weight: 600; }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; position: relative; }
.plan.pop { border-color: var(--teal); box-shadow: var(--shadow-2); }
/* The badge sits beside the plan name, not floating above it. A standalone
   label above a heading reads as decoration; next to the name it reads as
   information. */
.plan-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.plan .tag { background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin-bottom: 4px; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 4px; }
.price b { font-size: 2.5rem; letter-spacing: -.04em; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: .9rem; }
.plan .for { font-size: .87rem; color: var(--muted); min-height: 42px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: .925rem; }
.plan li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.plan li:last-child { border-bottom: 0; }
.plan li .tick { margin-top: 4px; }
.plan .foot { font-size: .8rem; color: var(--muted-2); margin-top: 12px; }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
  min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,107,92,.12); }
.field .hint { font-size: .78rem; color: var(--muted-2); margin-top: 5px; }
.form-status { margin-top: 14px; font-size: .9rem; padding: 11px 14px; border-radius: 10px; display: none; }
.form-status.err { display: block; background: var(--clay-soft); color: var(--clay-ink); }
.form-status.ok { display: block; background: var(--teal-soft); color: var(--teal-deep); }
.checkline { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted);
  margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); cursor: pointer; }
.checkline input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }

/* ---------------------------------------------------------------- faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.01rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 15px; font-size: 1.4rem; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding-bottom: 20px; color: var(--muted); font-size: .95rem; max-width: 62ch; }

/* ---------------------------------------------------------------- quote */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 4px; left: 20px; font-family: var(--serif);
  font-size: 3.1rem; line-height: 1; color: var(--teal); opacity: .22; }
.quote p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.5; color: var(--ink); margin-bottom: 8px; }
.quote cite { font-style: normal; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--ink); color: #EAF0ED; border-radius: var(--r-lg); padding: 46px; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 34px 26px; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--on-dark); margin: 0; max-width: 52ch; }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 34px; background: var(--surface); }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; margin-bottom: 40px; }
@media (max-width: 820px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.f-grid h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.f-grid ul { list-style: none; padding: 0; margin: 0; }
.f-grid li { margin-bottom: 9px; }
.f-grid a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.f-grid a:hover { color: var(--teal); }
.f-bottom { border-top: 1px solid var(--line-2); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-2); }

/* ---------------------------------------------------------------- misc */
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--teal-soft); color: var(--teal-deep); }
.pill.warn { background: var(--clay-soft); color: var(--clay-ink); }
.note { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; background: var(--surface); }
.note.warn { border-color: var(--warn-line); background: var(--clay-soft); }
.note h4 { margin-bottom: 8px; }
.note p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 15px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.6 10.4l3.6 3.6 7.2-7.6' fill='none' stroke='%230E6B5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-size: contain; background-repeat: no-repeat;
}
.checklist.x li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 5.6l8.8 8.8M14.4 5.6l-8.8 8.8' fill='none' stroke='%23B85C36' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hidden { display: none !important; }
.spacer-sm { height: 14px; }

/* ---------------------------------------------------------------- a11y */
[id] { scroll-margin-top:92px; }

.skip { position:absolute; left:-9999px; top:0; z-index:300; background:var(--ink); color:#fff;
        padding:12px 18px; border-radius:0 0 10px 0; font-weight:600; }
.skip:focus { left:0; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
        overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
:focus-visible { outline:3px solid var(--teal); outline-offset:2px; border-radius:4px; }

/* ---------------------------------------------------------------- compare table */
.tablewrap { overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--r-md);
        border:1px solid var(--line); background:var(--surface); padding:14px; }
.cmp { width:100%; min-width:680px; border-collapse:collapse; font-size:.92rem; }
.cmp th, .cmp td { padding:15px 18px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line-2); }
.cmp thead th { background:var(--ink); color:#fff; font-weight:700; font-size:.78rem;
        letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.cmp thead th:last-child { background:var(--teal-deep); }
.cmp tbody tr:last-child td { border-bottom:0; }
.cmp tbody tr:nth-child(even) { background:var(--surface-2); }
.cmp td:first-child { font-weight:600; color:var(--ink); }
.cmp .yes { color:var(--teal-deep); font-weight:700; }
.cmp .no { color:var(--muted-2); }

/* ---------------------------------------------------------------- form: what happens next */
.next3 { margin-top:18px; padding-top:16px; border-top:1px solid var(--line-2); display:grid; gap:10px; }
.next3 > div { display:flex; gap:10px; align-items:flex-start; }
.next3 b { flex:0 0 20px; width:20px; height:20px; border-radius:50%; background:var(--teal-soft);
        color:var(--teal-deep); font-size:.72rem; display:grid; place-items:center; margin-top:1px; }
.next3 span { font-size:.84rem; color:var(--muted); }

/* ---------------------------------------------------------------- card that is also a link */
.cardlink { display:block; color:inherit; text-decoration:none; }
.cardlink h3 { color:var(--teal-deep); }
.cardlink:hover h3 { text-decoration:underline; text-underline-offset:3px; }

/* ---------------------------------------------------------------- mobile sticky CTA */
.sticky-cta { display:none; }
@media (max-width:760px) {
  .sticky-cta { display:flex; align-items:center; gap:12px; position:fixed; left:0; right:0; bottom:0;
        z-index:90; background:rgba(10,20,18,.97); backdrop-filter:blur(10px);
        padding:10px 16px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid rgba(255,255,255,.12); }
  .sticky-cta span { color:var(--on-dark-line); font-size:.78rem; line-height:1.25; flex:1; }
  .sticky-cta a { background:var(--teal); color:#fff!important; font-weight:700; font-size:.9rem;
        padding:13px 20px; border-radius:999px; text-decoration:none; white-space:nowrap; min-height:46px;
        display:inline-flex; align-items:center; }
  body.has-sticky-cta { padding-bottom:calc(70px + env(safe-area-inset-bottom)); }
}

/* ================================================================== mobile
   A practice owner opens this link on a phone, often between patients.
   The phone is not a small desktop: the navigation becomes a sheet, the
   type gets larger, the targets get bigger, the spacing gets tighter.
   Everything below is a rebuild for that screen, not a scale-down. */

.nav-back {
  display: none; margin-left: auto; align-items: center; min-height: 44px;
  font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.nav-back:hover { color: var(--teal); }
@media (max-width: 900px) { .nav-back { display: inline-flex; } }

/* ---------------------------------------------------------------- the menu */
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center; gap: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars { display: block; width: 19px; height: 14px; position: relative; }
.nav-toggle-bars i {
  position: absolute; left: 0; height: 2px; width: 19px; border-radius: 2px;
  background: var(--ink); transition: transform .24s cubic-bezier(.22,1,.36,1), opacity .18s;
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6px; }
.nav-toggle-bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* the sheet: the one authored moment on this site */
.nav-sheet { position: fixed; inset: 0; z-index: 120; }
.nav-sheet[hidden] { display: none; }
.nav-sheet-scrim {
  position: absolute; inset: 0; background: rgba(10,20,18,.42); opacity: 0;
  transition: opacity .3s cubic-bezier(.22,1,.36,1);
}
.nav-sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 358px);
  background: var(--surface); box-shadow: -20px 0 50px rgba(10,20,18,.20);
  transform: translateX(102%); display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 20px calc(22px + env(safe-area-inset-bottom));
  transition: transform .36s cubic-bezier(.22,1,.36,1);
}
.nav-sheet.is-open .nav-sheet-scrim { opacity: 1; }
.nav-sheet.is-open .nav-sheet-panel { transform: translateX(0); }
.nav-sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.nav-sheet-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}
.nav-sheet-close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.nav-sheet-close::before {
  content: ""; width: 16px; height: 16px; display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.4 5.4l9.2 9.2M14.6 5.4l-9.2 9.2' fill='none' stroke='%230A1412' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center; background-size: contain; background-repeat: no-repeat;
}
.nav-sheet-links { display: flex; flex-direction: column; margin-top: 6px; }
.nav-sheet-links a {
  display: flex; align-items: center; min-height: 54px; padding: 12px 2px;
  font-size: 1.08rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.nav-sheet-links a:last-child { border-bottom: 0; }
.nav-sheet-links a:active { color: var(--teal); }
.nav-sheet-cta { margin-top: auto; padding-top: 24px; }
.nav-sheet-note { margin-top: 12px; font-size: .78rem; color: var(--muted-2); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .nav-sheet.is-open .nav-sheet-links a { animation: sheet-in .42s cubic-bezier(.22,1,.36,1) backwards; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(1) { animation-delay: .06s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(2) { animation-delay: .10s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(3) { animation-delay: .14s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(4) { animation-delay: .18s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(5) { animation-delay: .22s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(6) { animation-delay: .26s; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- the phone */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-in { height: 62px; gap: 12px; }
  .brand { min-height: 44px; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .brand-logo { height: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }

  .hero { padding: 32px 0 44px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.05rem, 8.4vw, 2.55rem); letter-spacing: -.03em; }
  .hero-sub { font-size: 1.05rem; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-note { font-size: .86rem; }
  .trust { gap: 10px 18px; margin-top: 24px; padding-top: 20px; }
  .trust div { font-size: .88rem; }

  .sec-head { margin-bottom: 30px; }
  .lede { font-size: 1.04rem; }
  .small { font-size: 1rem; }
  .eyebrow, .check-eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .plan .tag { font-size: .75rem; }

  .btn { min-height: 50px; padding: 14px 22px; }
  .btn-lg { padding: 15px 24px; font-size: 1rem; }
  .card { padding: 22px 20px; }
  .plan { padding: 26px 20px; }
  .form-card { padding: 22px 18px; }
  .note { padding: 20px; }

  .prob-row { padding: 18px 0; grid-template-columns: 26px 1fr; gap: 12px; }
  .prob-head { display: none; }
  .step::before { margin-bottom: 12px; }

  .strip { padding: 18px 0; }
  .strip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .strip-in div { font-size: .84rem; line-height: 1.45; }
  .strip-in b { font-size: 1.12rem; display: block; margin-bottom: 2px; }

  .cta-band { padding: 30px 22px; gap: 22px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .f-grid a { display: inline-block; padding: 6px 0; min-height: 28px; }
  .f-bottom { font-size: .84rem; padding-bottom: env(safe-area-inset-bottom); }

  .faq summary { min-height: 56px; padding: 18px 44px 18px 0; }
  .faq summary::after { top: 17px; }
  .quote { padding: 24px 22px; }

  .check-body { padding: 18px; }
  .check-top { padding: 13px 16px; }
  .qrow { font-size: .88rem; }

  .tablehint { display: flex; }
  .docstrip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .docstrip figure, .docstrip img { min-width: 0; }
}
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .strip-in { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .docstrip { grid-template-columns: 1fr; }
}

/* touch, not hover */
@media (hover: none) {
  .btn:hover { transform: none; }
  .cardlink:active h3 { text-decoration: underline; text-underline-offset: 3px; }
}

/* the hint under a wide table */
.tablehint {
  display: none; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: .82rem; color: var(--muted-2);
}
.tablehint::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11.5 5.5L16 10l-4.5 4.5' fill='none' stroke='%236B7673' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-size: contain; background-repeat: no-repeat;
}

/* ---------------------------------------------------------------- tablet */
@media (min-width: 761px) and (max-width: 1024px) {
  .hero h1 { font-size: clamp(2.6rem, 5.2vw, 3.4rem); }
  .card, .plan { padding: 24px; }
  .f-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------------------------------------------------------------- solutions nav
   Added for the four-solution platform (2026-11-15). Same tokens, same grid. */
.nav-menu { position: relative; }
.nav-menu-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 2px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }
.nav-menu-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid var(--muted-2); border-bottom: 1.6px solid var(--muted-2); transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.nav-menu:hover .nav-menu-btn::after, .nav-menu.open .nav-menu-btn::after { transform: translateY(1px) rotate(225deg); }
.nav-menu-pop { position: absolute; top: calc(100% + 12px); left: -14px; width: 330px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.nav-menu:hover .nav-menu-pop, .nav-menu.open .nav-menu-pop, .nav-menu:focus-within .nav-menu-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu-pop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-menu-item { display: block; padding: 11px 13px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background .14s ease; }
.nav-menu-item:hover { background: var(--teal-soft); }
.nav-menu-kicker { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); margin-bottom: 3px; }
.nav-menu-name { display: block; font-weight: 600; font-size: .98rem; letter-spacing: -.012em; }
.nav-menu-blurb { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) { .nav-menu { display: none; } }

/* ---------------------------------------------------------------- solution cards */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1040px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sol-grid { grid-template-columns: 1fr; } }
.sol-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px 24px; text-decoration: none; color: var(--ink); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--teal); }
.sol-card .sol-num { font-family: var(--serif); font-size: 1.05rem; color: var(--teal); display: block; margin-bottom: 10px; letter-spacing: .02em; }
.sol-card h3 { margin-bottom: 6px; letter-spacing: -.018em; }
.sol-card p { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.sol-card .sol-art { margin: 0 0 18px; height: 86px; border-radius: var(--r-sm); background: var(--teal-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sol-card .sol-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .86rem; font-weight: 600; color: var(--teal); }
.sol-card .sol-foot span:last-child { transition: transform .16s ease; }
.sol-card:hover .sol-foot span:last-child { transform: translateX(3px); }
.sol-card.is-flagship { border-color: var(--teal); box-shadow: var(--shadow-1); }
.sol-card.is-flagship .sol-art { background: var(--ink); }
.sol-card .sol-badge { position: absolute; top: -11px; right: 18px; background: var(--teal); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }

/* ---------------------------------------------------------------- solution pages */
.sol-hero { padding: 64px 0 52px; position: relative; overflow: hidden; }
.sol-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 88% at 88% 4%, rgba(14,107,92,.10), transparent 58%); pointer-events: none; }
.sol-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; position: relative; }
@media (max-width: 980px) { .sol-hero-grid { grid-template-columns: 1fr; gap: 40px; } .sol-hero { padding: 40px 0 34px; } }
.sol-hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); margin-bottom: 18px; }
.sol-hero .lede { max-width: 34em; margin-bottom: 26px; }
.sol-crumb { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.sol-crumb a { color: var(--muted-2); text-decoration: none; font-weight: 600; letter-spacing: .06em; }
.sol-crumb a:hover { color: var(--teal); }
.sol-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 24px; }
.sol-panel .sol-panel-title { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.sol-offer { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.sol-offer:last-of-type { border-bottom: 0; }
.sol-offer .n { font-weight: 600; font-size: .95rem; }
.sol-offer .p { font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sol-offer .d { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.sol-list { list-style: none; padding: 0; margin: 0; }
.sol-list li { display: flex; gap: 11px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; color: var(--ink-2); }
.sol-list li:last-child { border-bottom: 0; }
.sol-list .tick { flex: 0 0 auto; margin-top: 3px; }
.sol-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .sol-2col { grid-template-columns: 1fr; } }
/* A three-up row that folds to one column on the phone. The inline
   grid-template-columns that used to sit on these wrappers overrode every
   media query, so the four solution pages overflowed a 390px screen. */
.sol-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .sol-3col { grid-template-columns: 1fr; } }

.sol-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.sol-step .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.sol-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.sol-step p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
/* The callout is a tinted box with a clear title, not a box with a stripe
   down one edge. The stripe was decoration; the title carries the meaning. */
.sol-note { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.sol-note h3 { font-size: 1rem; font-weight: 600; color: var(--clay-ink); letter-spacing: -.01em; margin-bottom: 8px; }
.sol-note h3 { font-size: 1.02rem; margin-bottom: 8px; }
.sol-note p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }
.sol-cta { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
@media (max-width: 860px) { .sol-cta { grid-template-columns: 1fr; padding: 28px 24px; } }
.sol-cta h2 { color: #fff; margin-bottom: 10px; }
.sol-cta p { color: var(--on-dark); margin-bottom: 0; }
.sol-cta .btn-primary { background: var(--on-dark-accent); color: var(--ink); }
.sol-cta .btn-primary:hover { background: #7FD6C1; }
.sol-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .sol-next { grid-template-columns: 1fr; } }
.sol-next a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); }
.sol-next a:hover { border-color: var(--teal); }
.sol-next .k { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); margin-bottom: 5px; }
.sol-next .n { display: block; font-weight: 600; font-size: .97rem; margin-bottom: 4px; }
.sol-next .b { display: block; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- upsell */
.upsell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 34px; margin-top: 34px; }
@media (max-width: 860px) { .upsell { padding: 24px 20px; } }
.upsell-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .upsell-grid { grid-template-columns: 1fr; } }
.upsell h2 { font-size: 1.55rem; margin-bottom: 10px; }
.upsell p { color: var(--muted); font-size: .96rem; }
.upsell .upsell-tiers { display: grid; gap: 10px; }
.upsell-tier { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); cursor: pointer; text-align: left; font: inherit; width: 100%; }
.upsell-tier[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.upsell-tier .n { font-weight: 600; font-size: .93rem; }
.upsell-tier .p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.upsell-tier .d { grid-column: 1 / -1; display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.upsell-tier .p { text-align: right; }

/* ---------------------------------------------------------------------------
   Sample report pages: two columns at a readable size, one on a phone, and a
   full-page lightbox. A five-up strip shrinks a 1000px page image to 200px,
   which is not a preview - it is a thumbnail of a thumbnail.
   --------------------------------------------------------------------------- */
.docstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.docstrip figure { margin: 0; cursor: zoom-in; border-radius: var(--r-md); }
.docstrip figure:focus-within { outline: 2px solid var(--teal); outline-offset: 3px; }
.docstrip img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-md); display: block; box-shadow: var(--shadow-1); transition: box-shadow .18s ease, border-color .18s ease; }
.docstrip figure:hover img { box-shadow: var(--shadow-2); border-color: var(--teal); }
.docstrip figcaption { font-size: .82rem; color: var(--muted); margin-top: 9px; display: flex; align-items: center; gap: 8px; }
.docstrip figcaption::after { content: "↗"; font-size: .74rem; color: var(--teal); }
.docstrip.one { grid-template-columns: minmax(0, 640px); justify-content: center; }
.docstrip.one figure { cursor: default; }
.docstrip.one figcaption::after { content: ""; }

.zoombox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.zoombox[hidden] { display: none; }
.zoombox-scrim { position: absolute; inset: 0; background: rgba(10, 20, 18, .82); backdrop-filter: blur(3px); animation: zoomfade .16s ease; }
.zoombox-panel { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 30px 90px rgba(0, 0, 0, .4); overflow: hidden; animation: zoomin .18s ease; }
.zoombox-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex: none; }
.zoombox-title { font-size: .92rem; font-weight: 600; color: var(--ink); }
.zoombox-actions { display: flex; align-items: center; gap: 10px; }
.zoombox-download { font-size: .84rem; font-weight: 600; color: var(--teal); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.zoombox-download:hover { border-color: var(--teal); }
.zoombox-close { font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink); background: var(--sand); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.zoombox-close:hover { background: var(--line-2); }
.zoombox-stage { overflow: auto; padding: 18px; background: var(--sand); }
.zoombox-stage img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-2); }
body.zoombox-open { overflow: hidden; }

@keyframes zoomfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomin { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .docstrip { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .zoombox { padding: 0; }
  .zoombox-panel { max-height: 100vh; height: 100vh; border-radius: 0; }
  .zoombox-bar { padding: 12px 14px; }
  .zoombox-download { padding: 9px 12px; }
  .zoombox-close { padding: 10px 14px; }
  .zoombox-stage { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .zoombox-scrim, .zoombox-panel { animation: none; }
}

.docnav { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; justify-content: center; }
.docnav a { font-size: .86rem; font-weight: 600; color: var(--teal); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; }
.docnav a:hover { border-color: var(--teal); }
.docnav .docnav-dl { color: var(--ink); background: var(--sand); border-color: var(--line); }
.docnav .docnav-dl:hover { border-color: var(--teal); color: var(--teal); }

/* ---------------------------------------------------------------------------
   The platform, as four editorial rows. Four identical cards made the four
   solutions look interchangeable and pushed the prices into the reader's
   face. A row can carry what is actually different about each one.
   --------------------------------------------------------------------------- */
.sol-stack { border-top: 1px solid var(--line); }
.sol-row { display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sol-row-mark { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--teal); background: var(--teal-soft); border-radius: var(--r-sm); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.sol-row-main h3 { font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 8px; }
.sol-row-main > p:last-child { font-size: .97rem; color: var(--muted); max-width: 52ch; margin: 0; }
.sol-row-step { font-size: .755rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 6px; }
.sol-row-label { font-size: .755rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px; }
.sol-row-list { list-style: none; margin: 0 0 16px; padding: 0; }
.sol-row-list li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--muted); margin-bottom: 7px; line-height: 1.5; }
.sol-row-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); opacity: .75; }
.sol-row-link { font-size: .9rem; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(14,107,92,.3); padding-bottom: 2px; }
.sol-row-link:hover { border-bottom-color: currentColor; }
.sol-row-link span { display: inline-block; transition: transform .16s ease; }
.sol-row-link:hover span { transform: translateX(3px); }

@media (max-width: 900px) {
  .sol-row { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .sol-row-mark { width: 34px; height: 34px; font-size: .72rem; }
  .sol-row-side { grid-column: 2; }
}
@media (max-width: 560px) {
  .sol-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sol-row-mark { display: none; }
  .sol-row-side { grid-column: 1; }
  .sol-row-main h3 { font-size: 1.3rem; }
}

/* ---------------------------------------------------------------------------
   The authenticity band. No practice logos: a real practice's logo in a
   partner strip says "these dentists trust us", and that is a claim we cannot
   make on day one. What we can show is the list of engines we measure and the
   list of directories AI cites — all of it verifiable.
   --------------------------------------------------------------------------- */
.marquee-band { padding: 0 0 34px; }
.marquee-row { overflow: hidden; padding: 20px 0; }
.marquee-row-ink { background: var(--ink); }
.marquee-row-paper { background: var(--surface); border-bottom: 1px solid var(--line); }
.marquee-label { max-width: var(--maxw); margin: 0 auto 14px; padding: 0 24px; text-align: center; font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.marquee-row-paper .marquee-label { color: var(--muted-2); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; padding-left: 23px; animation: marquee 46s linear infinite; }
.marquee-slow .marquee-track { animation-duration: 72s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size: .95rem; font-weight: 600; color: var(--on-dark); white-space: nowrap; letter-spacing: -.008em; }
.marquee-row-paper .marquee-item { color: var(--ink-2); }
.marquee-foot { font-size: .82rem; color: var(--muted-2); text-align: center; margin: 20px auto 0; max-width: 860px; line-height: 1.55; }
.marquee-stop { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font: inherit; font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.marquee-stop:hover { border-color: var(--teal); color: var(--teal); }
.marquee-stop:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 14px 28px; }
  .marquee-copy { display: none; }
  .marquee-stop { display: none; }
}

/* ---------------------------------------------------------------------------
   Testimonials. When there are no real, approved quotes, the section says so
   and shows the work instead. A made-up review is worse than no review.
   --------------------------------------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.testi { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; display: flex; flex-direction: column; }
.testi blockquote { margin: 0 0 18px; flex: 1; }
.testi blockquote p { font-size: 1.02rem; line-height: 1.55; color: var(--ink); margin: 0; }
.testi blockquote p::before { content: "\201C"; }
.testi blockquote p::after { content: "\201D"; }
.testi figcaption { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 14px; }
.testi figcaption b { display: block; color: var(--ink); font-weight: 600; }
.testi.is-sample { border-style: dashed; background: var(--surface-2); }
.testi-flag { font-size: .8rem; color: var(--clay-ink); background: var(--clay-soft); border: 1px solid var(--warn-line); border-radius: var(--r-sm); padding: 9px 13px; margin: 0 0 18px; }
.testi-empty { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.testi-empty-main h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.testi-empty-main .lede { font-size: 1.02rem; }
.testi-empty-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.testi-empty-list { list-style: none; margin: 0; padding: 0; }
.testi-empty-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); line-height: 1.55; }
.testi-empty-list li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi-empty { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 560px) {
  .testi-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
   "Talk to us". A lead capture with a real person behind it - not a chatbot
   that pretends. It never says "we will be in touch" when the message did not
   reach the server.
   --------------------------------------------------------------------------- */
.talk { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
body.has-sticky-cta .talk { bottom: 78px; }
.talk-btn { display: inline-flex; align-items: center; gap: 9px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--surface); background: var(--ink); border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; box-shadow: 0 6px 22px rgba(10, 20, 18, .22); transition: transform .16s ease, background .16s ease; }
.talk-btn:hover { transform: translateY(-2px); background: var(--teal-deep); }
/* A static dot. A pulse would imply something is live here, and nothing is:
   this is a form, and a person reads it when they send it. */
.talk-btn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-accent); }
.talk-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: 340px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.talk-panel.is-open { opacity: 1; transform: none; }
.talk-panel[hidden] { display: none; }
.talk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line-2); }
.talk-title { font-size: .95rem; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.talk-sub { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.45; }
.talk-close { font: inherit; font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--sand); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; flex: none; }
.talk-close:hover { color: var(--ink); }
.talk-form { padding: 16px 18px 18px; }
.talk-label { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); margin: 0 0 5px; }
.talk-input { width: 100%; font: inherit; font-size: .9rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 12px; }
.talk-input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.talk-area { resize: vertical; min-height: 74px; }
.talk-status { font-size: .82rem; margin: 0 0 10px; min-height: 1.2em; }
.talk-status.is-ok { color: var(--teal); }
.talk-status.is-err { color: var(--clay-ink); }
.talk-submit { width: 100%; }
.talk-fine { font-size: .72rem; color: var(--muted-2); margin: 10px 0 0; line-height: 1.45; }

@media (max-width: 560px) {
  .talk { right: 14px; bottom: 14px; }
  body.has-sticky-cta .talk { bottom: 74px; }
  .talk-panel { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  body.has-sticky-cta .talk-panel { bottom: 70px; }
  .talk-btn { padding: 11px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-btn, .talk-panel, .talk-btn-dot { animation: none; transition: none; }
}

/* ---------------------------------------------------------------- Smiles AI
   The sales assistant on the homepage. Same palette, same radii, same
   type scale as everything else: it is part of the site, not a widget
   bolted on from somewhere else. Mobile first - the panel is a sheet on
   a phone and a docked card on a desktop.

   The one thing that separates "a part of the site" from "a thing pasted on
   the site" is the shadow. A floating panel needs a real edge: a tight
   contact shadow where it meets the page, and a wide soft shadow that puts
   it above the page. One flat rectangle with a thin border looks broken. */
.smiles-ai { position: fixed; right: 22px; bottom: 74px; z-index: 95; }
body.has-sticky-cta .smiles-ai { bottom: 130px; }

/* The layer behind the sheet on a phone. */
.smiles-scrim { position: fixed; inset: 0; background: rgba(10, 20, 18, .32);
  opacity: 0; transition: opacity .2s ease; z-index: -1; }
.smiles-scrim.is-open { opacity: 1; }
.smiles-scrim[hidden] { display: none; }

.smiles-btn { display: inline-flex; align-items: center; gap: 10px; font: inherit;
  font-size: .9rem; font-weight: 600; color: var(--surface); background: var(--ink);
  border: 0; border-radius: 999px; padding: 9px 18px 9px 9px; cursor: pointer;
  box-shadow: var(--shadow-3); transition: transform .16s ease, background .16s ease,
    box-shadow .16s ease; }
.smiles-btn:hover { transform: translateY(-2px); background: var(--teal-deep);
  box-shadow: 0 1px 1px rgba(10, 20, 18, .08), 0 8px 18px rgba(10, 20, 18, .12),
    0 34px 70px rgba(10, 20, 18, .2); }
.smiles-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.smiles-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .02em; }
.smiles-avatar-lg { width: 38px; height: 38px; font-size: 1rem; }

.smiles-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: 384px;
  max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-3); overflow: hidden;
  display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 120px));
  opacity: 0; transform: translateY(10px) scale(.985); transform-origin: bottom right;
  transition: opacity .18s ease, transform .18s ease; }
.smiles-panel.is-open { opacity: 1; transform: none; }
.smiles-panel[hidden] { display: none; }

.smiles-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px 16px 12px; border-bottom: 1px solid var(--line-2); background: var(--surface); }
/* min-width:0 lets the name and the subtitle shrink instead of pushing the
   close button off the edge of the panel. */
.smiles-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.smiles-who-text { min-width: 0; }
.smiles-title { font-size: .95rem; font-weight: 700; color: var(--ink); margin: 0 0 2px;
  overflow-wrap: anywhere; }
.smiles-sub { font-size: .76rem; color: var(--muted); margin: 0; line-height: 1.35;
  overflow-wrap: anywhere; }
.smiles-close { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: var(--sand); color: var(--muted); font-size: 1.15rem; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.smiles-close:hover { color: var(--ink); }
.smiles-close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* min-height:0 is what lets this flex child actually scroll instead of
   pushing the panel past its max-height. */
.smiles-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 16px 4px; background: var(--surface-2); }
.smiles-msg { display: flex; min-width: 0; margin-bottom: 10px; }
.smiles-msg-you { justify-content: flex-end; }
/* anywhere, not break-word: a URL or an email in an answer has to break
   somewhere, and it must break inside the bubble and not past its edge. */
.smiles-bubble { max-width: 86%; min-width: 0; font-size: .88rem; line-height: 1.5;
  padding: 10px 13px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.smiles-msg-you .smiles-bubble { background: var(--teal); border-color: var(--teal); color: #fff; }
.smiles-bubble:first-child { border-bottom-left-radius: 4px; }
.smiles-msg-you .smiles-bubble { border-bottom-right-radius: 4px; }

.smiles-replies { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px;
  padding: 10px 16px 4px; background: var(--surface-2); }
.smiles-replies:empty { display: none; }
.smiles-chip { font: inherit; font-size: .76rem; color: var(--teal-deep); background: var(--teal-soft);
  border: 1px solid transparent; border-radius: 999px; padding: 6px 11px; cursor: pointer;
  text-align: left; max-width: 100%; overflow-wrap: anywhere; }
.smiles-chip:hover { border-color: var(--teal); }
.smiles-chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.smiles-next { display: inline-block; max-width: 100%; font-size: .84rem; font-weight: 600;
  color: var(--teal-deep); background: var(--teal-soft); border-radius: 999px;
  padding: 8px 14px; text-decoration: none; overflow-wrap: anywhere; }
.smiles-next:hover { background: var(--teal); color: #fff; }
.smiles-next:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.smiles-capture { padding: 12px 16px 14px; border-top: 1px solid var(--line-2); background: var(--surface); }
.smiles-capture[hidden] { display: none; }
.smiles-capture-title { font-size: .82rem; font-weight: 600; color: var(--ink); margin: 0 0 10px;
  overflow-wrap: anywhere; }
.smiles-phone-row[hidden] { display: none; }
.smiles-form { padding: 10px 16px 4px; border-top: 1px solid var(--line-2); background: var(--surface); }
.smiles-label { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); margin: 0 0 5px; }
.smiles-row { display: flex; gap: 8px; min-width: 0; }
.smiles-input { width: 100%; min-width: 0; font: inherit; font-size: .9rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; margin-bottom: 10px; }
.smiles-input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.smiles-row .smiles-input { margin-bottom: 0; }
.smiles-send { flex: none; padding: 10px 16px; }
.smiles-status { font-size: .82rem; margin: 0 0 10px; min-height: 1.2em; color: var(--muted);
  overflow-wrap: anywhere; }
.smiles-status.is-ok { color: var(--teal); }
.smiles-status.is-err { color: var(--clay-ink); }
.smiles-submit { width: 100%; }

/* "Talk to us" inside the chat. It sits under the question box so it never
   competes with it, and it is the same request the floating button makes. */
/* The width is auto, not 100%: with a margin on both sides, 100% would push
   the row past the panel and the note on the right would be cut off. */
.smiles-talk { display: flex; align-items: center; gap: 8px; width: auto; font: inherit;
  font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--sand);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px;
  margin: 0 16px; cursor: pointer; text-align: left;
  transition: background .16s ease, border-color .16s ease; }
.smiles-talk:hover { background: var(--teal-soft); border-color: var(--teal); }
.smiles-talk:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.smiles-talk-icon { font-size: .95rem; line-height: 1; color: var(--teal-deep); }
.smiles-talk-note { margin-left: auto; padding-left: 10px; flex: 0 1 auto;
  min-width: 0; text-align: right; overflow-wrap: anywhere;
  font-weight: 500; color: var(--muted-2); font-size: .76rem; }
.smiles-talk-label { min-width: 0; overflow-wrap: anywhere; }

.smiles-fine { font-size: .72rem; color: var(--muted-2); margin: 8px 16px 12px; line-height: 1.45; }

@media (max-width: 720px) {
  .smiles-ai { right: 14px; bottom: 66px; }
  body.has-sticky-cta .smiles-ai { bottom: 126px; }
  /* The panel is a sheet on a phone: it covers the launchers below it and
     the sticky bar, and it is closed with the X in its own header. The
     scrim behind it is what makes it a sheet and not a rectangle. */
  .smiles-panel { position: fixed; left: 10px; right: 10px; bottom: 10px; width: auto;
    max-width: none; max-height: min(78vh, calc(100vh - 96px));
    transform: translateY(16px) scale(1); transform-origin: bottom center; }
  .smiles-panel.is-open { transform: none; }
  body.has-sticky-cta .smiles-panel { bottom: 10px; }
  .smiles-btn-text { display: none; }
  .smiles-btn { padding: 9px; }
  .smiles-bubble { max-width: 92%; }
  .smiles-talk { padding: 11px 12px; }
  /* While the chat is open it owns the bottom of the screen, so the sticky
     bar steps aside instead of showing through the sheet. */
  body.smiles-open .sticky-cta { display: none; }
  body.smiles-open.has-sticky-cta { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .smiles-btn, .smiles-panel, .smiles-scrim { animation: none; transition: none; }
  .smiles-btn:hover { transform: none; }
}
