/* EHR1 demo, v2. Native CSS.
   Palette: deep harbor ink + marigold, cool paper (not cream). One accent.
   Type: Bricolage Grotesque (display, Google Fonts) + Public Sans (body, self hosted).
   Shape rule: buttons and chips are full pill, photos and cards 18px, inputs 10px,
   device frames carry their own hardware radius. Motion only under no-preference. */
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f1e2e;
  --ink-2: #172a3f;
  --band: #0f1e2e;
  --band-text: #eef2f5;
  --band-muted: #b7c3ce;
  --paper: #f2f4f3;
  --surface: #ffffff;
  --surface-2: #e8ecec;
  --text: #0f1e2e;
  --muted: #4a5968;
  --line: #d5dce0;
  --accent: #f2b134;
  --accent-soft: #fbe7bd;
  --accent-text: #875600;
  --ph-bg: #fff0e4;
  --ph-line: #e8590c;
  --ph-text: #9a3412;
  --ok: #1d7a55;
  --warn: #9a5b00;
  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgb(15 30 46 / .06), 0 24px 60px -24px rgb(15 30 46 / .28);
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --band: #081119;
    --paper: #0b1622;
    --surface: #122132;
    --surface-2: #182a3d;
    --text: #e9eef2;
    --muted: #a9b6c2;
    --line: #26394d;
    --accent-soft: #3a2c0c;
    --accent-text: #f2b134;
    --ph-bg: #3a1c0b;
    --ph-line: #fb7a36;
    --ph-text: #ffc29e;
    --ok: #5fd3a2;
    --warn: #f2b134;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 24px 60px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.016em; margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.01em; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 88px); }

/* placeholders: always orange, never the accent */
.ph { display: inline; background: var(--ph-bg); color: var(--ph-text); border: 1.5px dashed var(--ph-line); border-radius: 6px; padding: 1px 6px; font: 600 .86em/1.5 var(--body); letter-spacing: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.previewbar { background: var(--accent); color: var(--ink); text-align: center; font-size: .86rem; font-weight: 600; padding: 7px var(--gut); }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.brand .mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.brand .mark img { width: 30px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 550; padding: 8px 12px; border-radius: 999px; color: var(--text); transition: background .2s; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .nav a[aria-current="page"] { background: var(--accent); color: var(--ink); } }
.head-cta { padding: 10px 18px !important; font-size: .95rem !important; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 2px; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.menu-panel a:not(.btn):hover { background: var(--surface-2); }
.menu-panel .btn { margin-top: 8px; justify-content: center; }
@media (max-width: 1080px) { .nav, .head-cta { display: none !important; } .menu { display: block; } }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; justify-content: center; } .btn-row .btn, .mod.deep .btn, .fdo .card .btn { width: 100%; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1.2 var(--body); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s cubic-bezier(.16,1,.3,1), background .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -12px rgb(242 177 52 / .9); }
.btn-primary:hover { background: #f6c257; }
.btn-ghost { border-color: currentColor; color: var(--text); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.on-dark .btn-ghost, .btn-ghost.light { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.icon { width: 24px; height: 24px; }
.textlink { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.textlink .icon { width: 18px; height: 18px; transition: transform .2s; }
.textlink:hover .icon { transform: translateX(3px); }

.eyebrow { display: inline-block; font: 700 .8rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }

/* photos */
.ph-frame { border-radius: var(--r); overflow: hidden; background: var(--surface-2); position: relative; }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; }

/* full bleed photo hero */
.hero-photo { position: relative; padding: 0; color: #fff; background: var(--band); isolation: isolate; }
.hero-photo .bg { position: absolute; inset: 0; z-index: -2; }
.hero-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 20 32 / .9) 0%, rgb(10 20 32 / .72) 38%, rgb(10 20 32 / .12) 72%, rgb(10 20 32 / 0) 100%), linear-gradient(0deg, rgb(10 20 32 / .55), transparent 40%); }
.hero-photo .wrap { min-height: min(86dvh, 820px); display: grid; align-content: center; padding-block: 72px 96px; position: relative; }
.hero-photo .hero-copy { max-width: 640px; }
.hero-photo h1 { color: #fff; }
.hero-photo .lede { color: #dde5ec; }
.hero-photo.short .wrap { min-height: min(62dvh, 600px); }
.hero-photo .mock-float { position: absolute; right: 0; bottom: -96px; width: min(430px, 36%); z-index: 2; }
.hero-photo.has-float { margin-bottom: 96px; }

@media (max-width: 860px) {
  .hero-photo { background: var(--band); }
  .hero-photo::before { display: none; }
  .hero-photo .bg { position: relative; aspect-ratio: 4 / 3.1; }
  .hero-photo .wrap { min-height: 0; padding-block: 36px 48px; }
  .hero-photo.short .wrap { min-height: 0; }
  .hero-photo .mock-float { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 36px; }
  .hero-photo.has-float { margin-bottom: 0; }
  h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
}

/* split hero on paper */
.hero-split { padding-block: clamp(40px, 6vw, 88px); }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split .media { position: relative; }
.hero-split .media .ph-frame { aspect-ratio: 4 / 4.4; }
.hero-split .media .mock-over { position: absolute; left: -12%; bottom: -8%; width: 78%; }
@media (max-width: 860px) {
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero-split .media .ph-frame { aspect-ratio: 4 / 3.2; }
  .hero-split .media .mock-over { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; padding-inline: 12px; }
}

/* stats band */
.stats { background: var(--band); color: var(--band-text); padding-block: clamp(56px, 7vw, 96px); }
.stats h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 22ch; }
.stat-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.stat { border-top: 2px solid var(--accent); padding-top: 18px; }
.stat b { display: block; font: 750 clamp(2.8rem, 5.4vw, 4.6rem)/1 var(--display); letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--band-muted); max-width: 30ch; }
.stats .src { margin-top: 36px; font-size: .88rem; color: var(--band-muted); }
.stats .src a { color: var(--band-text); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; } }

/* risks bento */
.risk-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 40px; }
.risk { background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.risk .ph-frame { border-radius: 0; aspect-ratio: 16 / 10; }
.risk .body { padding: 22px 24px 26px; }
.risk .body strong { display: block; font: 700 1.3rem/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 8px; }
.risk .body p { margin: 0; color: var(--muted); }
.risk.big { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.risk.big .ph-frame { aspect-ratio: auto; flex: 1; min-height: 340px; }
.risk.r2 { grid-column: 8 / span 5; }
.risk.r3 { grid-column: 8 / span 5; }
.risk.r2 .ph-frame, .risk.r3 .ph-frame { aspect-ratio: 16 / 8; }
.risk .num { font: 700 .9rem/1 var(--body); color: var(--accent-text); display: block; margin-bottom: 10px; }
@media (max-width: 860px) { .risk-grid { grid-template-columns: 1fr; } .risk.big, .risk.r2, .risk.r3 { grid-column: auto; grid-row: auto; } .risk.big .ph-frame { min-height: 0; aspect-ratio: 16 / 10; } }

/* product in use */
.inuse { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 44px; }
.inuse .media { position: relative; padding-bottom: 110px; }
.inuse .media .ph-frame { aspect-ratio: 3 / 2.2; }
.inuse .media .mock-over { position: absolute; right: -6%; bottom: 0; width: 74%; }
.feat { display: grid; gap: 26px; }
.feat > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feat .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--text); }
.feat h3 { margin: 4px 0 4px; font-size: 1.12rem; }
.feat p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .inuse { grid-template-columns: 1fr; } .inuse .media { padding-bottom: 0; } .inuse .media .mock-over { position: relative; right: auto; width: 100%; margin-top: -48px; padding-inline: 12px; } }

/* package: sticky photo + module grid */
.pkg { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pkg .sticky { position: sticky; top: 96px; }
.pkg .sticky .ph-frame { aspect-ratio: 4 / 5; }
.pkg .sticky .mock-over { width: 100%; margin-top: -120px; padding-inline: 24px; position: relative; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mod { background: var(--surface); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; box-shadow: 0 1px 0 var(--line); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
a.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mod .icon { width: 28px; height: 28px; color: var(--accent-text); }
.mod h3 { margin: 4px 0 0; }
.mod p { margin: 0; color: var(--muted); }
.mod .tag { margin-top: auto; padding-top: 6px; }
.mod.lead { grid-column: 1 / -1; }
.mod.deep { grid-column: 1 / -1; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; box-shadow: none; }
.mod.deep p { color: #c9d3dc; }
.mod.deep .icon { color: var(--accent); }
@media (prefers-color-scheme: dark) { .mod.deep { background: var(--surface-2); } }
@media (max-width: 900px) { .pkg { grid-template-columns: 1fr; } .pkg .sticky { position: relative; top: 0; } .pkg .sticky .ph-frame { aspect-ratio: 4 / 3.4; } }
@media (max-width: 620px) { .mods { grid-template-columns: 1fr; } .mod.deep { grid-template-columns: 1fr; } }

/* Free Dentist Office: full bleed photo + overlapping card + photo pair */
.fdo { padding: 0; }
.fdo .scene { position: relative; min-height: min(78dvh, 720px); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.fdo .scene .bg { position: absolute; inset: 0; z-index: -2; }
.fdo .scene .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.fdo .scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 20 32 / .88) 0%, rgb(10 20 32 / .35) 45%, rgb(10 20 32 / 0) 70%); }
.fdo .scene .wrap { padding-bottom: 150px; }
.fdo .scene h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; margin: 0; }
.fdo .under { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 20px; margin-top: -110px; position: relative; padding-bottom: clamp(64px, 9vw, 128px); }
.fdo .card { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.fdo .card p { color: var(--text); }
.fdo .under .ph-frame { aspect-ratio: auto; min-height: 280px; box-shadow: var(--shadow); }
.fdo .under .p2 { margin-top: 64px; }
@media (max-width: 960px) {
  .fdo .scene { min-height: 0; aspect-ratio: auto; display: block; }
  .fdo .scene .bg { position: relative; aspect-ratio: 16 / 11; }
  .fdo .scene::before { display: none; }
  .fdo .scene .wrap { position: relative; padding: 28px 0 24px; }
  .fdo .scene h2 { color: var(--text); }
  .fdo .under { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .fdo .under .card { grid-column: 1 / -1; }
  .fdo .under .p2 { margin-top: 0; }
  .fdo .under .ph-frame { min-height: 0; aspect-ratio: 4 / 3.4; }
}

/* 50/50 full bleed lifestyle split */
.life { padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--band); color: var(--band-text); }
.life .copy { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); display: grid; align-content: center; }
.life h2 { color: #fff; }
.life p { color: var(--band-muted); max-width: 46ch; }
.life .media { position: relative; min-height: 560px; }
.life .media > .ph-frame { position: absolute; inset: 0; border-radius: 0; }
.life .media .mock-phone { position: absolute; left: -70px; bottom: 48px; width: 260px; }
@media (max-width: 900px) {
  .life { grid-template-columns: 1fr; }
  .life .media { min-height: 0; order: -1; }
  .life .media > .ph-frame { position: relative; aspect-ratio: 4 / 3.2; }
  .life .media .mock-phone { position: relative; left: auto; bottom: auto; width: 210px; margin: -150px auto 0; }
  .life .copy { padding-top: 32px; }
}

/* forms */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-wrap .aside-photo { margin-top: 32px; aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
form.lead { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: .95rem; padding: 0; }
.req { color: var(--ph-text); }
input, select { font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid #8795a3; border-radius: var(--r-sm); padding: 12px 14px; width: 100%; min-height: 48px; }
@media (prefers-color-scheme: dark) { input, select { border-color: #5d6f82; } }
input:focus, select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--text); }
.field.invalid input { border-color: #c2261d; }
@media (prefers-color-scheme: dark) { .field.invalid input { border-color: #ff8a80; } }
.hint { font-size: .86rem; color: var(--muted); }
.err { margin: 0; font-size: .9rem; font-weight: 650; color: #b3261e; }
@media (prefers-color-scheme: dark) { .err { color: #ffa39c; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.checks input { width: 20px; height: 20px; min-height: 0; accent-color: var(--ink); }
@media (prefers-color-scheme: dark) { .checks input { accent-color: var(--accent); } }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 700; color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-status { color: #ffa39c; } }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); }
form.lead .btn { justify-content: center; white-space: normal; text-align: center; }
.kicker-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kicker-list li { padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .92rem; }

/* device frames and illustrative product UI (real HTML, not images) */
.device { margin: 0; filter: drop-shadow(0 30px 40px rgb(8 17 26 / .35)); }
.device .hw { background: #1b2530; border-radius: 26px; padding: 12px; box-shadow: inset 0 0 0 1.5px #3a4755; }
.device.phone .hw { border-radius: 38px; padding: 10px; }
.device .screen { background: #f7f9fa; color: #0f1e2e; border-radius: 16px; overflow: hidden; font: 400 13px/1.4 var(--body); }
.device.phone .screen { border-radius: 30px; }
.device figcaption, .illus { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: right; filter: none; }
.life .device figcaption { color: #c6d0d9; }
.hero-photo .device figcaption { color: var(--muted); }
@media (max-width: 860px) { .hero-photo .device figcaption { color: #c6d0d9; } }
.app-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0f1e2e; color: #fff; }
.app-top .b { font: 800 13px/1 var(--display); letter-spacing: -.01em; background: var(--accent); color: #0f1e2e; padding: 4px 7px; border-radius: 6px; }
.app-top .c { font-size: 12px; color: #c9d4de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-top .u { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #3b5068; flex: none; }
.dash { padding: 14px; display: grid; gap: 12px; }
.due { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 0 #dbe2e7; }
.ring { --p: .7; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#e0a020 calc(var(--p) * 360deg), #e6ebef 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.ring b, .ring span { position: relative; display: block; text-align: center; line-height: 1; }
.ring b { font: 800 22px/1 var(--display); }
.ring span { font-size: 10px; color: #5a6875; }
.ring .in { display: grid; gap: 2px; position: relative; }
.due .k { margin: 0; font-size: 11px; color: #5a6875; font-weight: 600; }
.due .v { margin: 2px 0; font: 700 16px/1.2 var(--display); }
.due .s { margin: 0; font-size: 11.5px; color: #5a6875; }
.checklist { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 #dbe2e7; }
.checklist li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid #edf1f3; font-weight: 600; font-size: 12.5px; }
.checklist li:first-child { border-top: 0; }
.checklist .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #d8f0e5; color: #14704c; }
.checklist .dot svg { width: 13px; height: 13px; }
.checklist li.warn .dot { background: #fbe7bd; color: #875600; }
.checklist time, .checklist small { font-size: 11px; color: #5a6875; font-weight: 500; }
.sched { display: grid; grid-template-columns: 1fr; }
.sched .head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 8px; }
.sched .head b { font: 700 15px/1 var(--display); }
.sched .head small { color: #5a6875; font-size: 11px; }
.sched table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sched th { text-align: left; font-size: 10.5px; font-weight: 600; color: #5a6875; padding: 6px 10px; background: #eef2f4; }
.sched td { padding: 9px 10px; border-top: 1px solid #edf1f3; vertical-align: middle; }
.sched td:first-child { font-variant-numeric: tabular-nums; color: #3c4a57; white-space: nowrap; }
.sched .pt { font-weight: 700; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e6ebef; color: #2d3b48; white-space: nowrap; }
.pill.mc { background: #fbe7bd; color: #6d4500; }
.pill.in { background: #d8f0e5; color: #14704c; }
.pill.chair { background: #0f1e2e; color: #fff; }
.phone-ui { padding: 18px 12px 16px; display: grid; gap: 10px; background: linear-gradient(180deg, #213349, #0f1e2e); color: #fff; min-height: 420px; }
.phone-ui .clock { text-align: center; font: 700 44px/1 var(--display); letter-spacing: -.03em; margin: 18px 0 2px; }
.phone-ui .date { text-align: center; font-size: 11px; color: #c9d4de; margin-bottom: 14px; }
.note { background: rgb(255 255 255 / .94); color: #0f1e2e; border-radius: 16px; padding: 11px 12px; }
.note .from { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; color: #5a6875; margin-bottom: 4px; }
.note .from .b { font: 800 9px/1 var(--display); background: var(--accent); color: #0f1e2e; padding: 3px 4px; border-radius: 4px; }
.note .t { font-weight: 700; font-size: 12.5px; margin: 0 0 2px; }
.note p { margin: 0; font-size: 11.5px; color: #3c4a57; line-height: 1.35; }
.note .act { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; background: #0f1e2e; color: #fff; padding: 6px 10px; border-radius: 999px; }
.mock-schedule .screen { min-width: 0; }
@media (max-width: 520px) { .sched .hide-sm { display: none; } }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 var(--line); color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 800 1rem/1 var(--display); margin-bottom: 14px; }
.steps strong { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--text); margin-bottom: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.wide-photo { aspect-ratio: 21 / 8; margin-top: 36px; }
@media (max-width: 700px) { .wide-photo { aspect-ratio: 16 / 10; } }

/* media + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .ph-frame { aspect-ratio: 4 / 3.3; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* who it's for, photo cards */
.who { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 36px; }
.who article { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.who .ph-frame { border-radius: 0; aspect-ratio: 4 / 3; }
.who article:first-child .ph-frame { aspect-ratio: 16 / 10.4; }
.who .body { padding: 20px 22px 24px; }
.who strong { display: block; font: 700 1.2rem/1.2 var(--display); margin-bottom: 6px; }
.who p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } .who article:first-child .ph-frame { aspect-ratio: 4 / 3; } }

/* partner band */
.partner { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.partner .ph-frame { border-radius: 0; min-height: 320px; }
.partner .body { padding: clamp(24px, 4vw, 48px); align-self: center; }
@media (max-width: 800px) { .partner { grid-template-columns: 1fr; } .partner .ph-frame { min-height: 0; aspect-ratio: 16 / 10; } }

/* features bento */
.fbento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 36px; }
.fb { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.fb .icon { width: 30px; height: 30px; color: var(--accent-text); }
.fb h3 { margin: 6px 0 0; }
.fb p { margin: 0; color: var(--muted); }
.fb.c2 { grid-column: span 2; } .fb.c3 { grid-column: span 3; } .fb.c4 { grid-column: span 4; }
.fb.photo { padding: 0; position: relative; min-height: 320px; color: #fff; justify-content: flex-end; isolation: isolate; }
.fb.photo .ph-frame { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.fb.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 20 32 / .88), rgb(10 20 32 / .1) 60%); }
.fb.photo .txt { padding: 26px; }
.fb.photo p { color: #dbe3ea; }
.fb.photo .icon { color: var(--accent); }
.fb.tint { background: var(--ink); color: #fff; }
.fb.tint p { color: #c9d3dc; }
.fb.tint .icon { color: var(--accent); }
.fb.phone-cell { flex-direction: row; align-items: flex-end; gap: 20px; padding-bottom: 0; background: var(--accent-soft); }
.fb.phone-cell .txt { padding-bottom: 26px; flex: 1; }
.fb.phone-cell .device { width: 190px; flex: none; margin-bottom: -60px; }
.fb.phone-cell .device figcaption { display: none; }
@media (prefers-color-scheme: dark) { .fb.tint { background: var(--surface-2); } }
@media (max-width: 900px) { .fbento { grid-template-columns: 1fr 1fr; } .fb.c2, .fb.c3, .fb.c4 { grid-column: span 2; } }
@media (max-width: 560px) { .fb.phone-cell { flex-direction: column; align-items: stretch; } .fb.phone-cell .device { width: 190px; align-self: center; } }

/* dark band sections */
.band-sec { background: var(--band); color: var(--band-text); }
.band-sec h2, .band-sec h3 { color: #fff; }
.band-sec p { color: var(--band-muted); }
.band-sec .ph { color: var(--ph-text); }
.sec-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-weight: 600; color: #fff; }
.chips .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }
@media (max-width: 860px) { .sec-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .chips { grid-template-columns: 1fr; } }

/* pricing */
.price { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--line); }
.plan.featured { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .plan.featured { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--accent); } }
.plan.featured .muted { color: #c2ccd6; }
.plan h2 { font-size: 1.7rem; margin: 0; }
.plan .amount { font: 750 2.6rem/1 var(--display); letter-spacing: -.03em; }
.plan ul { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.plan li .icon { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.plan.featured li .icon { color: var(--accent); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.featured .btn-ghost { color: #fff; }
.price.three { grid-template-columns: 1.1fr 1fr 1fr; }
.plan .amount small { font: 600 1rem/1 var(--body); letter-spacing: 0; opacity: .8; }
@media (max-width: 1080px) { .price.three { grid-template-columns: 1fr 1fr; } .price.three .featured { grid-column: 1 / -1; } }
@media (max-width: 860px) { .price, .price.three { grid-template-columns: 1fr; } .plan .btn { white-space: normal; } }

.video figcaption { margin-top: 10px; font-size: .88rem; color: var(--band-muted); }

/* planned badge */
.tag.soon { display: inline-block; align-self: flex-start; margin-top: auto; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font: 700 .74rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.mod .tag.soon { padding: 3px 10px; }
.mod.lead .tag.soon, p .tag.soon { margin-top: 0; }

/* learn */
.guides { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.guide { background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide .ph-frame { border-radius: 0; aspect-ratio: 4 / 3; }
.guide .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide p { margin: 0; color: var(--muted); }
.guide .more { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide .more svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } .guide .ph-frame { aspect-ratio: 16 / 9; } }

/* article pages */
.article { max-width: 720px; }
.article-head { padding-block: clamp(40px, 5vw, 72px) 0; }
.article-head .wrap { max-width: 1040px; }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.article-hero { aspect-ratio: 21 / 9; margin-top: 28px; }
@media (max-width: 700px) { .article-hero { aspect-ratio: 4 / 3; } }
.article-body { padding-top: clamp(40px, 5vw, 64px); }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.callout { margin: 40px 0; padding: 22px 26px; border-radius: var(--r); background: var(--accent-soft); border-left: 5px solid var(--accent); }
.sources { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .95rem; }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: .4em; }

/* video (the plan) */
.plan-hero { background: var(--band); color: var(--band-text); }
.plan-hero h1 { color: #fff; }
.plan-hero .lede { color: var(--band-muted); }
.video { margin: 40px 0 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video video { width: 100%; }

/* footer */
.site-foot { background: var(--band); color: var(--band-text); padding-block: 64px 40px; }
.site-foot .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font: 700 1rem/1.2 var(--display); letter-spacing: 0; color: #fff; margin: 6px 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--band-text); }
.site-foot .muted { color: var(--band-muted); }
.site-foot .fine { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .14); color: var(--band-muted); font-size: .88rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* sticky mobile callback dock */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--band) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .5); transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s; }
  .dock .btn { flex: 1; justify-content: center; padding: 13px 16px; }
  .dock.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 84px; }
}

/* motion: one load sequence in the hero, one reveal for product screens */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js .reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal .checklist li { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
  .js .reveal.in .checklist li { opacity: 1; transform: none; }
  .js .reveal.in .checklist li:nth-child(1) { transition-delay: .45s; }
  .js .reveal.in .checklist li:nth-child(2) { transition-delay: .6s; }
  .js .reveal.in .checklist li:nth-child(3) { transition-delay: .75s; }
  .js .reveal.in .checklist li:nth-child(4) { transition-delay: .9s; }
  .js .reveal .sched tbody tr { opacity: 0; transition: opacity .5s; }
  .js .reveal.in .sched tbody tr { opacity: 1; }
  .js .reveal.in .sched tbody tr:nth-child(2) { transition-delay: .15s; }
  .js .reveal.in .sched tbody tr:nth-child(3) { transition-delay: .3s; }
  .js .reveal.in .sched tbody tr:nth-child(4) { transition-delay: .45s; }
  .js .reveal.in .sched tbody tr:nth-child(5) { transition-delay: .6s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* grid children may shrink below their content width */
.pkg > *, .inuse > *, .split > *, .form-wrap > *, .hero-split .wrap > *, .sec-grid > *, .life > *, .fdo .under > * { min-width: 0; }
.hero-photo .wrap { grid-template-columns: minmax(0, 1fr); }
.article-wrap { max-width: 1040px; }
#plan-body:empty { padding: 0; }
