/* 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;

  /* --- depth (2026-11-16) ----------------------------------------------
     One depth system. A flat page is a page where every surface is the
     same white and every band is one flat fill. These tokens give each
     surface a job: a lift for the cards, a band for the tinted sections, a
     stronger rule for the edges. The one elevation rule still holds - a
     surface carries a border, an overlay carries a shadow, never both.

     Turn 30, the enterprise pass: the bands and the surfaces are flat
     fills now. A large company site earns attention with structure and
     space, not with gradients on every surface. */
  --teal-hi: #12796A;
  --line-strong: #D6DDD8;
  --surface-lift: #FFFFFF;
  --band-sand: #F5F0E8;
  --band-mint: #E8F2EF;
  --band-clay: #FBEEE7;
  --hero-wash: radial-gradient(120% 96% at 16% 6%, rgba(14,107,92,.07), transparent 58%);
  --shadow-btn: 0 1px 2px rgba(10,20,18,.10), 0 10px 22px rgba(14,107,92,.16);
  --shadow-lift: 0 2px 6px rgba(10,20,18,.05), 0 16px 38px rgba(10,20,18,.08);
  --focus-ring: 0 0 0 3px rgba(14,107,92,.26);

  --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;
  scroll-padding-top: 88px;
  scrollbar-color: var(--line) var(--paper);
}
/* A reader who asked for less motion still gets to the section, without the
   journey there being animated. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
::-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); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
::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; text-wrap: balance; }
h1, h2 { text-wrap: balance; }
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
   One bar, one menu button, every screen size (2026-11-17). The inline link
   row is gone: a menu that is wide on a laptop and a sheet on a phone is two
   menus, and the phone version always loses the pages nobody thought to
   duplicate into it. The hamburger is the only way in, so it is the only way
   in - and it opens the same sheet everywhere. */
/* The bar is a solid white band with a hairline under it. A large
   enterprise site does not blur the page behind its navigation. */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 3px rgba(10,20,18,.05); }
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}
.nav-in { display: flex; align-items: center; gap: 16px; 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; min-width: 0; }
/* 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; } }
/* The toggle carries the auto margin, not the call to action. The button is
   hidden on a narrow phone, and if it held the margin the menu button would
   jump back against the logo. */
.nav-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 18px; background: var(--teal); color: #fff !important; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 1080px) { .nav-cta { padding: 9px 14px; } }

/* ---------------------------------------------------------------- buttons
   A rectangle, not a pill. A large enterprise site earns attention with
   structure and space, not with rounded shapes: a flat fill, a hairline
   edge, a small shadow, and one accent colour used for the action that
   matters on that screen. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: var(--r-sm); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; font-family: inherit; }
.btn:hover { background-color: var(--teal-deep); }
.btn:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.btn-primary {
  background-color: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 1px 2px rgba(10,20,18,.12);
}
.btn-primary:hover { background-color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 76px 0 66px; position: relative; overflow: hidden; }
/* The one box under the report: what the report is, in a sentence. */
.hero-box { margin-top: 18px; border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--r-md); background: var(--surface); padding: 16px 20px; }
.hero-box b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.hero-box p { margin: 0; font-size: .89rem; color: var(--muted); line-height: 1.55; }
/* The word in the headline is typed, not printed. The text is in the
   markup, so the page is whole without the script. */
.type-word { position: relative; }
.type-word.is-typing::after { content: ""; display: inline-block; width: 3px; height: .82em;
  background: var(--teal); margin-left: 3px; vertical-align: -.06em;
  animation: type-caret 1s steps(2, start) infinite; }
@keyframes type-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-wash); 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; }
/* The status line under the URL bar is where the run happens in front of the
   reader: which engine is answering, and then the score. */
.check-status {
  margin: 0; padding: 9px 20px; font-size: .8rem; color: var(--muted);
  background: var(--surface-2); border-bottom: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums; min-height: 34px; display: flex;
  align-items: center; gap: 8px;
}
.check-status:empty { display: none; }
.check-status .caret {
  width: 7px; height: 15px; background: var(--teal); border-radius: 1px;
  display: inline-block; animation: caret-blink 1s steps(1) infinite;
}
.check-status.is-done .caret { display: none; }
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* An answer arrives: it is new information, so it gets a short fade and a
   small move. Nothing else in the card moves. */
.check .qrow .w { opacity: 1; transition: opacity .22s ease, transform .22s cubic-bezier(.16,1,.3,1); }
.check .qrow.is-answered .w { opacity: 1; transform: none; }
.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; }
.strip b, .check-score b { 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-lift); padding: 24px 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(--band-sand); }
section.mint { background: var(--band-mint); }
section.clay { background: var(--band-clay); }
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); }
/* On a dark band the button shadow is neutral, not teal. A coloured glow
   on a dark background reads as a light leak. */
section.dark .btn-primary { box-shadow: 0 1px 2px rgba(0,0,0,.26), 0 10px 22px rgba(0,0,0,.30); }
section.dark .btn-ghost { background: transparent; border-color: var(--on-dark-line); color: #E8EDEA; }
section.dark .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--on-dark); }
section.dark .eyebrow { color: var(--on-dark-accent); }

.sec-head { max-width: 660px; margin-bottom: 46px; }
section > .wrap > .sec-head + * { margin-top: 0; }
.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; } }

/* A card is a surface: it carries a border, not a shadow. The colour is
   flat - a large enterprise site does not gradient its cards - and the
   card moves on hover: a two-pixel rise and a firmer rule. */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s ease;
}
a.card, .cardlink { transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s ease; }
.card:hover, a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.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; }
/* The featured card is an overlay, so it carries the shadow instead of the
   border. One rule, never both. */
.card-feature { background: var(--surface); border: 0; box-shadow: var(--shadow-lift); }
.card-feature:hover { transform: none; }

/* 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); border-width: 2px; }
/* 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; }
/* The band is dark, so the button's shadow is neutral. A teal glow on a
   dark surface reads as a light leak. */
.cta-band .btn-primary { box-shadow: 0 1px 2px rgba(0,0,0,.26), 0 10px 22px rgba(0,0,0,.30); }
.cta-band .btn-ghost { background: transparent; border-color: var(--on-dark-line); color: #EAF0ED; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: #EAF0ED; }

/* ---------------------------------------------------------------- footer
   One grid, written by site/tools/build_footer.py. The columns are the
   brand and five lists; on a tablet and a phone the brand takes the full
   width and the lists sit in two columns, so the footer is four rows tall
   instead of a single scrolling column of links. */
footer { border-top: 1px solid var(--line); padding: 56px 0 34px; background: var(--surface); }
.f-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 1100px) {
  .f-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .f-brand { grid-column: 1 / -1; }
}
.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-2); }
.note.warn { border-color: var(--warn-line); background: var(--clay-soft); }
.note h3 { letter-spacing: -.014em; }
.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; }

/* The call to action under the sample report: the buttons sit with room
   under them, because the next thing on the page is a form. */
.sample-cta {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 34px; padding-bottom: 46px;
}
@media (max-width: 560px) { .sample-cta { padding-bottom: 34px; } }

/* ---------------------------------------------------------------- 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: inline-flex; width: 44px; height: 44px; flex: none; margin-left: 0;
  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. It is a drawer on every
   screen, because the menu is the same menu everywhere. */
.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, 380px);
  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; }
/* The group label, so the four solutions do not read as four more page
   links. */
.nav-sheet-label { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); padding: 20px 0 4px; }
.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); }
/* The green button at the bottom of the sheet is sticky: the menu is longer
   than a phone screen, and the way to reach a person should never be the
   thing that scrolls away. */
.nav-sheet-cta {
  margin-top: auto; padding: 18px 0 4px; position: sticky; bottom: 0;
  background: var(--surface); border-top: 1px solid var(--line-2);
}
.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; animation-delay: .3s; }
  .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: .24s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(7) { animation-delay: .26s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(8) { animation-delay: .28s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(9) { animation-delay: .30s; }
  .nav-sheet.is-open .nav-sheet-links a:nth-child(10) { animation-delay: .32s; }
}
@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-in { height: 62px; gap: 12px; }
  .brand { min-height: 44px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  /* The button is gone, so the menu button takes the auto margin and stays
     on the right edge instead of jumping back against the logo. */
  .nav-toggle { margin-left: auto; }
  .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 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; }
  .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; }
}

/* ---------------------------------------------------------------- the solutions
   The four solutions used to sit behind a hover panel in the desktop bar.
   They live in the sheet now, on every screen, under one group label. The
   cards below are the same four solutions as pages, not as menu items. */

/* ---------------------------------------------------------------- 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; }
.sol-2col-one { grid-template-columns: 1fr; }
@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); }
/* A directory mark sits in a fixed cell, so the row is even whatever the
   mark's own proportions are. The marks are grayscale silhouettes; the
   three directories without one are set in the same grey, as a wordmark. */
.marquee-cell { display: inline-flex; align-items: center; justify-content: center; width: 152px; flex: none; }
.marquee-logo { height: 30px; width: auto; max-width: 134px; object-fit: contain; opacity: .82; }
.marquee-word { font-size: .98rem; font-weight: 700; color: var(--ink-2); opacity: .8; letter-spacing: -.012em; white-space: nowrap; }
.marquee-dirs .marquee-track { gap: 26px; }
.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: 16px; flex-wrap: wrap; justify-content: center; margin: 26px 0 6px; }
.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.
   --------------------------------------------------------------------------- */
/* The old floating "Talk to us" widget is gone. One widget sits at the
   bottom right: Smiles AI. The callback request lives inside it. */

/* ---------------------------------------------------------------- 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; }
/* The assistant is a robot head, drawn once as an inline SVG. No image
   file, no icon font, and it inherits the circle's colour. */
.smiles-face { width: 17px; height: 17px; display: block; }
.smiles-avatar-lg { width: 38px; height: 38px; }
.smiles-avatar-lg .smiles-face { width: 23px; height: 23px; }

.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%; }

/* "Request a callback" inside the chat. It is the way to reach a person, so
   it has to be findable - but it is not the thing the panel is for. The
   panel's job is the question box and its Send button, so the callback
   button is a light-green secondary with room above it, and the dark Send
   button keeps the eye.
   The width is auto, not 100%: with a margin on both sides, 100% would push
   the row past the panel and the text would be cut off. */
.smiles-talk { display: flex; align-items: center; justify-content: center; gap: 9px;
  width: auto; font: inherit; font-size: .88rem; font-weight: 600; color: var(--teal-deep);
  background: var(--teal-soft); border: 1px solid #CBE0D9; border-radius: var(--r-sm);
  padding: 12px 14px; margin: 18px 16px 0; cursor: pointer; text-align: center;
  transition: background .16s ease, border-color .16s ease; }
.smiles-talk:hover { background: #DBEAE5; border-color: var(--teal); }
.smiles-talk:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.smiles-talk-icon { flex: none; }

.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; }
}

/* ---------------------------------------------------------------- careers
   The careers page is a job advert, so it has to read like one: the role is
   the headline, the money is in the open, and the form is short. The cards
   are built from the same pieces as the rest of the site - the same radius,
   the same border, the same checklist - so the page does not look like it
   came from a different company. */

.careers-hero { padding: 64px 0 52px; }
.careers-hero h1 { max-width: 21ch; }
.careers-hero .lede { max-width: 60ch; }
.careers-hero .hero-note { margin-top: 26px; }

.role-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; margin-bottom: 22px;
}
.role-featured { border-color: var(--teal); border-width: 2px; padding: 38px; }

.role-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.role-badge {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px;
}
.role-family {
  display: inline-block; background: var(--teal-soft); color: var(--teal-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px;
}
.role-title { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 10px; }
.role-summary { font-size: 1.05rem; color: var(--muted); max-width: 62ch; margin-bottom: 22px; }

.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 46px; margin-bottom: 26px; }
.role-h {
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 8px;
}
.role-cols .checklist li, .role-card .checklist li { font-size: .93rem; }

.role-pay { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-bottom: 26px; }
.role-pay-line { font-size: 1.02rem; margin: 0 0 4px; }
.role-pay-key { color: var(--muted-2); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin-right: 8px; }
.role-pay-val { font-weight: 700; color: var(--ink); }
.role-pay-sub { font-size: .92rem; color: var(--muted); margin: 10px 0 12px; }
.role-table { margin-top: 4px; }
.role-table th, .role-table td { padding: 11px 12px; font-size: .92rem; }
.role-table td:last-child { font-weight: 700; color: var(--teal-deep); white-space: nowrap; }
.role-prov {
  /* 11.2px, not 10.9: a status label is functional text, and functional text
     under 11px fails on a high-DPI phone. */
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sand-ink); background: var(--sand);
  padding: 2px 7px; border-radius: 99px; margin-left: 6px; vertical-align: middle;
}
.role-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Where the work is done. Every role is remote, so this is the line that
   answers the first question a candidate asks. */
.role-loc {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font-size: .88rem; font-weight: 600; color: var(--teal-deep);
  background: var(--teal-soft); border: 1px solid #CBE0D9;
  padding: 6px 12px; border-radius: 99px;
}
.role-loc-pin {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 107, 92, .16);
}

/* The published range for a month of closed deals. */
.role-range {
  margin-top: 22px; padding: 20px 22px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.role-range-lead { font-size: 1.02rem; margin: 0 0 14px; }
.role-range-lead b { color: var(--teal-deep); }
.role-range-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.role-range-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; font-size: .93rem;
}
.role-range-list b { color: var(--teal-deep); font-variant-numeric: tabular-nums; }

.role-grid { align-items: stretch; }
.role-grid .role-card { display: flex; flex-direction: column; margin-bottom: 0; height: 100%; }
.role-grid .role-card .btn { margin-top: auto; align-self: flex-start; }
.role-step-card { display: flex; flex-direction: column; }
.role-step-h { font-size: 1.25rem; letter-spacing: -.014em; margin: 0 0 8px; }
.role-step-n {
  font-family: var(--serif); font-size: 1.6rem; color: var(--teal); line-height: 1;
  display: block; margin-bottom: 10px;
}

.field .opt { font-weight: 500; color: var(--muted-2); font-size: .76rem; }
.field input[type="file"] { padding: 10px 12px; background: var(--surface-2); font-size: .92rem; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink-2); font: inherit; font-size: .88rem;
  font-weight: 600; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { border-color: var(--teal); color: var(--teal-deep); }

@media (max-width: 860px) {
  .role-cols { grid-template-columns: 1fr; gap: 22px; }
  .role-featured { padding: 26px 20px; }
  .role-card { padding: 22px 20px; }
  .role-table th, .role-table td { padding: 9px 8px; font-size: .86rem; }
  .role-range { padding: 16px 14px; }
  .role-range-list li { font-size: .88rem; }
}

/* ================================================================== reading room
   The blog and the case studies (2026-11-17). Two rules shape this block:
   the article is the page - it gets a wide, calm column and the sidebar is
   a helper, not a competitor - and a phone gets one column, because a
   sidebar beside a paragraph is a waste of the only thing a phone has. */
.article-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding: 60px 0 52px; }
.article-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 16px; }
.article-hero .lede { max-width: 64ch; margin: 0 0 18px; }
.article-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.article-facts { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.article-facts b { color: var(--ink-2); font-weight: 600; }

/* The label on an illustrative scenario. It is loud on purpose: a number
   that looks like a result must never be able to pass for one. */
.sample-badge { display: inline-block; margin: 0 0 18px; padding: 6px 13px;
  border-radius: 999px; background: var(--clay-soft); color: var(--clay-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
.stat { flex: 1 1 190px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; }
.stat-value { display: block; font-size: 1.85rem; font-weight: 700; letter-spacing: -.025em;
  color: var(--teal-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-label { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; align-items: start; }
/* min-width:0 on the body is what lets the table inside it scroll instead
   of pushing the whole page sideways on a phone. */
.article-body { font-size: 1.03rem; min-width: 0; }
.article-body h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 38px 0 12px; line-height: 1.25; }
.article-body h3 { font-size: 1.16rem; margin: 28px 0 8px; line-height: 1.3; }
.article-body h4 { font-size: 1rem; margin: 24px 0 6px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--teal-deep); font-weight: 500; text-underline-offset: 2px; }
.article-body strong { font-weight: 700; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.callout { border-left: 3px solid var(--teal); background: var(--teal-soft);
  padding: 15px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 22px; font-size: .98rem; }
.callout-warn { border-left-color: var(--clay); background: var(--clay-soft); }

.article-aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--surface); }
.aside-card h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.aside-card p { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { margin-bottom: 9px; }
.aside-links a { font-size: .92rem; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.aside-links a:hover { color: var(--teal); }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 22px 20px; background: var(--surface);
  text-decoration: none; color: inherit; transition: transform .16s ease, border-color .16s ease; }
.post-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.post-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.post-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.post-card h3 { font-size: 1.12rem; letter-spacing: -.015em; margin: 8px 0 8px; color: var(--ink); line-height: 1.3; }
.post-card p { font-size: .93rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.post-meta { font-size: .78rem; color: var(--muted-2); }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article-aside { position: static; }
}
@media (max-width: 760px) {
  .article-hero { padding: 40px 0 36px; }
  .article-body { font-size: 1rem; }
  .post-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 10px; }
  .stat { flex: 1 1 140px; padding: 14px 16px; }
  .stat-value { font-size: 1.55rem; }
}
