/* Medora site v3 — page layouts (2026-10-16, stage). Loaded after brand-v3.css by the redesigned pages only.

   DESIGN PLAN
   Colour   Ink #0B1220 (type, primary button) · Paper #FFFFFF · Mist #F3F5F8 (one alternate band) · Rule #E3E8EF
            · Slate #556173 (secondary type) · Chart blue #0A6E99 (the ONE accent: links, focus, the evidence link).
            Brand cyan #12A2E0 lives only in the chip and inside product UI. Amber/green only as product status.
   Type     Geist for everything: display 600 at -0.035em, body 400 18/1.6. Geist Mono only for clinical data
            inside product UI (ICD-10, mm, timestamps). Sentence case everywhere; no eyebrow labels.
   Layout   12 columns, 1200 max, left-aligned. Hero = headline (7 cols) + product UI (5). Then "spreads":
            heading + short copy on one side, a large real-UI panel on the other, alternating; 128px rhythm.
            Module overview = a typographic index (rows), not cards. Numbers only where content is a sequence.
   Principle The product is the illustration. One memorable element per page: the product panel, drawn
            crisp at large size with synthetic ZZ data. Everything else is quiet: hairlines, space, ink. */

.v { --ink:#0B1220; --ink2:#2C3A4E; --slate:#556173; --rule:#E3E8EF; --mist:#F3F5F8; --acc:#0A6E99; --brand:#12A2E0;
     --amber:#B45309; --amber-bg:#FDF3E4; --green:#15803D; --green-bg:#E9F7EE;
     --sans:'Geist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif; --mono:'Geist Mono',ui-monospace,'SF Mono',Menlo,monospace;
     font-family: var(--sans); color: var(--ink); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.v *, .v *::before, .v *::after { box-sizing: border-box; }
.v .w { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.v a { color: var(--acc); }
.v a:focus-visible, .v button:focus-visible, .v summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.v p { margin: 0 0 16px; max-width: 34em; }
.v h1, .v h2, .v h3 { font-family: var(--sans); color: var(--ink); margin: 0; text-wrap: balance; }
.v h1 { font-weight: 600; font-size: clamp(44px, 5.6vw, 76px); line-height: .98; letter-spacing: -0.04em; }
.v h2 { font-weight: 600; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -0.032em; }
.v h3 { font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.v .lead { font-size: 21px; line-height: 1.5; color: var(--ink2); max-width: 30em; }
.v .muted { color: var(--slate); }
.v .small { font-size: 15px; line-height: 1.55; color: var(--slate); }

/* Buttons */
.v .b { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 8px; padding: 16px 22px; cursor: pointer; border: 1px solid transparent; }
.v .b-ink, body.marketing-site .v a.b-ink { background: var(--ink); color: #fff; }
.v .b-ink:hover { background: #1C2A3E; }
.v .b-line, body.marketing-site .v a.b-line { background: #fff; color: var(--ink); border-color: #CDD5DF; }
.v .b-line:hover { border-color: var(--ink); }
.v .b-text { background: none; padding: 16px 4px; color: var(--acc); }
.v .b-text:hover { text-decoration: underline; }
.v .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 36px; }

/* Sections */
.v .sec { padding: 128px 0; }
.v .sec + .sec { border-top: 1px solid var(--rule); }
.v .sec.mist { background: var(--mist); border-top: 0; }
.v .sec.mist + .sec { border-top: 0; }
.v .sec.tight { padding: 88px 0; }
.v .head { max-width: 760px; margin-bottom: 56px; }
.v .head p { margin-top: 20px; color: var(--slate); font-size: 19px; }

/* Hero */
.v .vhero { padding: 152px 0 88px; }
.v .vhero .g { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.v .vhero .t { grid-column: 1 / span 6; }
.v .vhero .u { grid-column: 7 / span 6; }
.v .vhero .lead { margin-top: 28px; }
.v .vhero h1 { font-size: clamp(42px, 4.5vw, 64px); }
.v .ticks { list-style: none; padding: 0; margin: 32px 0 0; max-width: 36em; }
.v .ticks li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink2); }
.v .ticks li:last-child { border-bottom: 1px solid var(--rule); }
.v .ticks li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.v .ticks b { color: var(--ink); font-weight: 600; }

/* Proof strip under the hero */
.v .proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.v .proof .w { display: grid; grid-template-columns: repeat(3, 1fr); }
.v .proof .p { padding: 26px 24px 26px 0; font-size: 14px; line-height: 1.45; color: var(--slate); }
.v .proof .p { display: flex; align-items: center; gap: 12px; }
.v .proof .p > b { color: var(--ink); }
.v .proof .p + .p { padding-left: 24px; border-left: 1px solid var(--rule); }
.v .proof b { color: var(--ink); font-weight: 600; font-size: 15px; }
.v .proof img { height: 30px; width: auto; display: block; }

/* Spreads: copy + UI */
.v .spread { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.v .spread .c { grid-column: 1 / span 5; }
.v .spread .u { grid-column: 7 / span 6; }
.v .spread.flip .c { grid-column: 8 / span 5; grid-row: 1; }
.v .spread.flip .u { grid-column: 1 / span 6; grid-row: 1; }
.v .spread + .spread { margin-top: 128px; }
.v .spread h2 { margin-bottom: 22px; }
.v .lines { list-style: none; padding: 0; margin: 28px 0 0; }
.v .lines li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink2); }
.v .lines li:last-child { border-bottom: 1px solid var(--rule); }
.v .tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--amber); background: var(--amber-bg); padding: 4px 10px; border-radius: 4px; margin-bottom: 18px; }
.v .tag.ok { color: var(--green); background: var(--green-bg); }

/* Typographic index (module overview, learn links) */
.v .index { border-top: 1px solid var(--ink); }
body.marketing-site .v .index a.row { color: inherit; }
.v .index a.row { display: grid; grid-template-columns: 3fr 6fr 2fr; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.v .index a.row:hover h3 { color: var(--acc); }
.v .index .row p { margin: 0; color: var(--slate); font-size: 17px; }
.v .index .row .go { justify-self: end; color: var(--acc); font-weight: 600; font-size: 15px; }
.v .index .row .note { display: block; font-size: 13px; color: var(--amber); font-weight: 600; margin-top: 6px; }

/* Columns of short items (no cards, no icons) */
.v .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.v .cols3 > div { border-top: 1px solid var(--ink); padding-top: 22px; }
.v .cols3 h3 { font-size: 20px; margin-bottom: 10px; }
.v .cols3 p { font-size: 16px; color: var(--slate); margin: 0; }

/* Sequences */
.v .seq { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: s; }
.v .seq.three { grid-template-columns: repeat(3, 1fr); }
.v .seq li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 20px; }
.v .seq li::before { content: counter(s); display: block; font: 500 15px/1 var(--mono); color: var(--acc); margin-bottom: 18px; }
.v .seq h3 { font-size: 20px; margin-bottom: 10px; }
.v .seq p { font-size: 16px; color: var(--slate); margin: 0; }

/* Statement */
.v .statement { font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.03em; max-width: 22em; color: var(--ink); margin: 0; text-wrap: balance; }
.v .statement + p { margin-top: 28px; color: var(--slate); font-size: 19px; max-width: 40em; }

/* Founder */
.v .founder { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.v .vid { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.v .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Final CTA */
.v .final { padding: 128px 0; background: var(--ink); color: #fff; }
.v .final h2 { color: #fff; max-width: 16em; }
.v .final p { color: #B8C3D1; margin-top: 20px; font-size: 19px; }
body.marketing-site .v .final a.b-ink { background: #fff; color: var(--ink); }
.v .final .b-ink:hover { background: #E7EEF7; }
body.marketing-site .v .final a.b-line { background: transparent; color: #fff; border-color: #3A4A60; }
.v .final .b-line:hover { border-color: #fff; }
.v .final .facts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #263750; color: #8A97AB; font-size: 14px; }

/* Pricing modules: one primary, two quiet */
.v .mods { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.v .mod { padding: 32px 32px 8px 0; }
.v .mod + .mod { padding-left: 32px; border-left: 1px solid var(--rule); }
.v .mod .k { font-size: 15px; color: var(--slate); margin: 0 0 6px; }
.v .mod h2 { font-size: 30px; }
.v .mod .price { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; margin: 22px 0 4px; line-height: 1; color: var(--ink); }
.v .mod .price span { font-size: 18px; font-weight: 400; color: var(--slate); letter-spacing: 0; }
.v .mod .price.small-p { font-size: 26px; letter-spacing: -0.02em; margin-top: 30px; padding-bottom: 12px; }
.v .mod .pn { font-size: 14px; color: var(--slate); margin: 0 0 20px; }
.v .mod .d { font-size: 16px; color: var(--ink2); }
.v .faq .ans { color: var(--slate); font-size: 17px; margin-top: 12px; max-width: 42em; }
.v .faq .ans ul { padding-left: 1.1em; margin: 10px 0; }
@media (max-width: 960px) { .v .mods { grid-template-columns: 1fr; } .v .mod, .v .mod + .mod { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); } }
/* Demo */
.v .demo-g { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.v .demo-h { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 16px; }
.v .demo-cal .calendly-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; padding: 0; box-shadow: none; }
.v .demo-form-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 32px; box-shadow: none; }
.v .demo-form-card .form-group { margin-bottom: 18px; }
.v .demo-form-card label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.v .demo-form-card input, .v .demo-form-card select, .v .demo-form-card textarea { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid #CDD5DF; border-radius: 8px; background: #fff; color: var(--ink); }
.v .demo-form-card textarea { min-height: 96px; }
.v .demo-form-card input:focus, .v .demo-form-card select:focus, .v .demo-form-card textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(10,110,153,.15); }
.v .demo-submit-btn { width: 100%; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 15px; font: 600 16px/1 var(--sans); cursor: pointer; }
.v .demo-submit-btn:hover { background: #1C2A3E; }
.v .demo-features li { font-size: 15px; display: block; }
@media (max-width: 960px) { .v .demo-g { grid-template-columns: 1fr; gap: 48px; } .v .demo-form-card { padding: 22px; } }
/* FAQ on the dark band */
.v .final .faq summary { color: #fff; }
.v .final .faq details { border-color: #263750; }
.v .final .faq details p { color: #B8C3D1; }
/* FAQ */
.v .faq details { border-top: 1px solid var(--rule); padding: 22px 0; }
.v .faq details:last-child { border-bottom: 1px solid var(--rule); }
.v .faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.v .faq summary::-webkit-details-marker { display: none; }
.v .faq summary::after { content: '+'; color: var(--acc); font-weight: 400; font-size: 24px; line-height: 1; }
.v .faq details[open] summary::after { content: '\2212'; }
.v .faq details p, .v .faq details ul { color: var(--slate); font-size: 17px; margin: 12px 0 0; max-width: 42em; }

/* ---------- Product UI (synthetic, HTML) ---------- */
.v .ui { background: #fff; border: 1px solid #DCE3EB; border-radius: 14px; box-shadow: 0 1px 0 rgba(11,18,32,.03), 0 40px 80px -40px rgba(11,18,32,.35); overflow: hidden; font-size: 14px; line-height: 1.45; color: #1E293B; }
.v .ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #E7ECF2; }
.v .ui-pt { font-weight: 650; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.v .ui-meta { font: 400 12px/1.4 var(--mono); color: #5A6678; }
.v .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.v .pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v .pill.draft { color: var(--amber); background: var(--amber-bg); }
.v .pill.ok { color: var(--green); background: var(--green-bg); }
.v .ui-body { padding: 18px; background: #F7F8FA; }
.v .ui-sec { background: #fff; border: 1px solid #E7ECF2; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.v .ui-sec:last-child { margin-bottom: 0; }
.v .ui-h { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: #5A6678; margin-bottom: 8px; }
.v .ui-sec p { margin: 0; font-size: 14px; max-width: none; }
.v .ap { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid #F1F3F6; }
.v .ap:first-of-type { border-top: 0; padding-top: 0; }
.v .code { font: 500 12px/1.3 var(--mono); color: var(--acc); background: #ECF8FE; padding: 2px 6px; border-radius: 3px; flex: none; }
.v .ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid #E7ECF2; background: #fff; }
.v .ui-btn { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.v .ui-hint { font-size: 12px; color: #5A6678; }
/* Evidence split */
.v .ev { display: grid; grid-template-columns: 1fr 1.15fr; }
.v .ev .tr { padding: 18px; border-right: 1px solid #E7ECF2; background: #fff; }
.v .ev .nt { padding: 18px; background: #F7F8FA; }
.v .ln { padding: 7px 10px; border-radius: 6px; margin: 0 -10px 4px; font-size: 13.5px; }
.v .ln .who { display: block; font: 500 11px/1.4 var(--mono); color: #5A6678; }
.v .ln.pt { color: #334155; }
.v .ln.hl { background: var(--mark-bg, #ECF8FE); box-shadow: inset 0 0 0 var(--mark-line-w, 1px) var(--mark-line, rgba(10,110,153,.30)); border-radius: var(--mark-radius, 6px); }
.v .nl.hl { background: var(--mark-bg, #ECF8FE); box-shadow: inset 0 0 0 var(--mark-line-w, 1px) var(--mark-line, rgba(10,110,153,.30)); border-radius: var(--mark-radius, 6px); padding: 2px 6px; margin: 0 -6px; }
.v .src { display: inline-block; margin-top: 8px; font: 500 11px/1 var(--mono); color: var(--acc); }
/* Queue / list rows */
.v .q { padding: 0; }
.v .qr { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid #EEF1F5; background: #fff; }
.v .qr:first-child { border-top: 0; }
.v .qr .tm { font: 500 12px/1 var(--mono); color: #5A6678; min-width: 64px; }
.v .qr .nm { font-weight: 600; color: var(--ink); font-size: 14px; }
.v .qr .ds { color: #5A6678; font-size: 13px; }
.v .qr .act { font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); padding: 7px 12px; border-radius: 6px; }
.v .qr .st { font-size: 12px; font-weight: 600; color: var(--green); }
/* Chat bubbles */
.v .chat { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #F7F8FA; }
.v .bub { max-width: 78%; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: #fff; border: 1px solid #E7ECF2; }
.v .bub.r { align-self: flex-end; background: #E6F3F9; border-color: #CFE6F2; }
.v .bub .lang { display: block; font: 500 11px/1.4 var(--mono); color: #5A6678; margin-bottom: 2px; }
.v .ui-cap { margin-top: 14px; font-size: 13px; color: #6B7688; }

/* Film modal (homepage) */
.v .film-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(4,8,16,.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.v .film-modal.open { display: flex; }
.v .film-box { position: relative; width: min(1200px, 100%); }
.v .film-box video { width: 100%; border-radius: 12px; background: #000; display: block; }
.v .film-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* Article (skin-testing guide body) */
.v-article .st-guide { font-size: 18px; line-height: 1.7; }

@media (max-width: 960px) {
  .v { font-size: 17px; }
  .v .vhero { padding: 112px 0 56px; }
  .v .vhero .t, .v .vhero .u, .v .spread .c, .v .spread .u, .v .spread.flip .c, .v .spread.flip .u { grid-column: 1 / -1; grid-row: auto; }
  .v .vhero .u, .v .spread .u { margin-top: 48px; }
  .v .sec { padding: 80px 0; }
  .v .spread + .spread { margin-top: 88px; }
  .v .proof .w { grid-template-columns: 1fr 1fr; }
  .v .proof .w { grid-template-columns: 1fr; }
  .v .proof .p, .v .proof .p + .p { padding: 16px 0; border-left: 0; }
  .v .proof .p + .p { border-top: 1px solid var(--rule); }
  .v .index a.row { grid-template-columns: 1fr; gap: 6px; }
  .v .index .row .go { justify-self: start; }
  .v .cols3, .v .seq, .v .seq.three { grid-template-columns: 1fr; gap: 28px; }
  .v .founder { grid-template-columns: 1fr; gap: 32px; }
  .v .ev { grid-template-columns: 1fr; }
  .v .ev .tr { border-right: 0; border-bottom: 1px solid #E7ECF2; }
  .v .final { padding: 88px 0; }
}
@media (max-width: 520px) {
  .v .proof .w { grid-template-columns: 1fr; }
  .v .proof .p, .v .proof .p + .p { padding: 18px 0; border-left: 0; }
  .v .proof .p + .p { border-top: 1px solid var(--rule); }
  .v .acts .b { width: 100%; justify-content: center; }
  .v .acts .b-text { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .v * { transition: none !important; animation: none !important; } }

/* ===================== v3 rebuild (2026-10-16 evening): 06-hero quality ===================== */
.v .x-w { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.v .xh { padding: 168px 0 120px; }
.v .xh .g { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.v .xh .t { grid-column: 1 / span 7; }
.v .xh .u { grid-column: 8 / span 5; display: flex; justify-content: center; }
.v .xh .u.wide { grid-column: 7 / span 6; }
.v .xh .g.wide .t { grid-column: 1 / span 6; }
.v .xh .g.wide h1 { font-size: clamp(42px, 4.6vw, 64px); }
.v .xh h1 { font-weight: 600; font-size: clamp(46px, 5.6vw, 80px); line-height: .98; letter-spacing: -0.042em; max-width: 11.5ch; }
.v .xh h1 .soft { color: #6B7688; }
.v .xh .lead { margin: 32px 0 0; font-size: 21px; line-height: 1.5; color: var(--ink2); max-width: 30em; }
.v .xh .acts { margin-top: 40px; gap: 12px 28px; }
.v .xh .fine { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.6; color: var(--slate); max-width: 34em; }
.v .chip { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border: 1px solid #D5DCE5; padding: 8px 12px; border-radius: 4px; margin-bottom: 28px; }
.v .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* Section: copy (5) + product stage (7), alternating */
.v .xs { padding: 136px 0; }
.v .xs + .xs { padding-top: 0; }
.v .xs .g { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.v .xs .c { grid-column: 1 / span 4; }
.v .xs .stage { grid-column: 6 / span 7; }
.v .xs.flip .c { grid-column: 9 / span 4; grid-row: 1; }
.v .xs.flip .stage { grid-column: 1 / span 7; grid-row: 1; }
.v .xs h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.035em; }
.v .xs .one { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--slate); }
.v .xs .lines { margin-top: 28px; }
.v .xs .lines li { font-size: 16px; }
.v .xs .more { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 16px; text-decoration: none; }
.v .xs .more:hover { text-decoration: underline; }
.v .stage { background: #F4F6F9; border-radius: 20px; padding: clamp(28px, 4vw, 64px); display: flex; justify-content: center; align-items: center; min-height: 480px; }
.v .stage > .ui { width: 100%; max-width: 620px; font-size: 15px; }
.v .stage .ui-cap { display: none; }

/* How it works (06 steps row) */
.v .xhow { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.v .xhow .head3 { padding: 72px 0 8px; }
.v .xhow .head3 h2 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; }
.v .xhow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v .xhow li { padding: 32px 0 72px; }
.v .xhow .n { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.v .xhow h3 { margin: 12px 0 8px; font-size: 22px; }
.v .xhow p { margin: 0; font-size: 16px; color: var(--slate); max-width: 24em; }

/* Why we built Medora */
.v .xwhy { padding: 136px 0; }
.v .xwhy .g { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
.v .xwhy h2 { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.02; }
.v .xwhy p { margin-top: 22px; font-size: 19px; color: var(--slate); }

/* Final */
.v .xfin { background: var(--ink); color: #fff; padding: 136px 0; }
.v .xfin h2 { color: #fff; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; max-width: 13ch; }
.v .xfin p { color: #B8C3D1; font-size: 19px; margin-top: 24px; }
.v .xfin .acts { margin-top: 40px; }
body.marketing-site .v .xfin a.b-ink { background: #fff; color: var(--ink); }
body.marketing-site .v .xfin a.b-text, body.marketing-site .v .xfin button.b-text { color: #9BD3EE; }
.v .xfin .note { font-size: 14px; color: #8A97AB; margin-top: 28px; }

/* FAQ block (app page events need <details>) */
.v .xfaq { padding: 120px 0; }
.v .xfaq .g { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }

/* Article (skin-testing guide) inside the v3 frame */
.v .xart { padding: 112px 0 40px; }
.v .xart .st-guide { max-width: 760px; font-size: 18px; line-height: 1.75; color: #1E293B; padding: 0; }
.v .xart .st-guide h2 { font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; margin-top: 72px; }
.v .xart .st-guide h3 { font-size: 21px; letter-spacing: -0.015em; }
.v .xart .st-toc { background: #fff; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); border-radius: 0; padding: 20px 0; }

/* Phone (from brand/v3 template 06) */
.v .phone { --w: 330px; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .145); background: #0B0F16; padding: calc(var(--w) * .032); position: relative;
  box-shadow: 0 1px 0 rgba(11,18,32,.04), 0 40px 70px -24px rgba(11,18,32,.32), 0 14px 28px -14px rgba(11,18,32,.2); flex: none; }
.v .phone .scr { width: 100%; height: 100%; border-radius: calc(var(--w) * .115); overflow: hidden; background: #F7F8FA; display: flex; flex-direction: column; font-size: calc(var(--w) * .038); color: #0B1220; position: relative; }
.v .phone .isl { position: absolute; top: calc(var(--w) * .03); left: 50%; transform: translateX(-50%); width: 31%; height: calc(var(--w) * .085); background: #000; border-radius: 99px; z-index: 2; }
.v .phone .sb { display: flex; justify-content: space-between; align-items: center; padding: 4.2% 9% 0; height: 6.4%; font-weight: 600; }
.v .phone .bat { display: inline-block; width: 1.55em; height: .75em; border: 1.5px solid #0B1220; border-radius: .22em; position: relative; vertical-align: middle; }
.v .phone .bat::after { content: ''; position: absolute; inset: 1.5px; background: #0B1220; border-radius: 1px; }
.v .phone .top { padding: 3.5% 6% 3%; border-bottom: 1px solid #E7ECF2; background: #fff; }
.v .phone .row { display: flex; align-items: center; justify-content: space-between; }
.v .phone .back { color: var(--acc); font-weight: 500; font-size: .95em; }
.v .phone .pt { margin-top: .6em; font-weight: 650; font-size: 1.32em; letter-spacing: -.02em; }
.v .phone .mt { font: 400 .72em/1.4 var(--mono); color: #5A6678; margin-top: .3em; }
.v .phone .pill { font-size: .72em; }
.v .phone .body { padding: 4% 6%; flex: 1; overflow: hidden; }
.v .phone .sec2 { background: #fff; border: 1px solid #E7ECF2; border-radius: 10px; padding: .85em .95em; margin-bottom: .7em; }
.v .phone .sec2 h6 { margin: 0 0 .45em; font: 500 .68em/1 var(--mono); letter-spacing: .08em; color: #5A6678; }
.v .phone .sec2 p { margin: 0; font-size: .86em; line-height: 1.45; color: #1E293B; max-width: none; }
.v .phone .api { display: flex; gap: .6em; align-items: baseline; padding: .45em 0; border-top: 1px solid #F1F3F6; font-size: .86em; line-height: 1.35; }
.v .phone .api:first-of-type { border-top: 0; padding-top: 0; }
.v .phone .api .code { font-size: .8em; }
.v .phone .bot { padding: 3% 6% 7%; background: #fff; border-top: 1px solid #E7ECF2; }
.v .phone .sign { display: block; text-align: center; background: var(--ink); color: #fff; font-weight: 600; padding: .85em; border-radius: 10px; font-size: .95em; }
.v .phone .sign.ok { background: var(--green-bg); color: var(--green); }
.v .phone .hint { text-align: center; font-size: .7em; color: #5A6678; margin-top: .55em; }
.v .phone .home { position: absolute; left: 50%; bottom: 1.6%; transform: translateX(-50%); width: 34%; height: 4px; background: #0B1220; border-radius: 9px; }
.v .phone .rec { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1em; background: #fff; }
.v .phone .rec .dot { width: 1em; height: 1em; border-radius: 50%; background: #B91C1C; display: inline-block; margin-right: .4em; vertical-align: -.1em; }
.v .phone .rec .tm { font: 500 3em/1 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.v .phone .rec .wave { display: flex; gap: .22em; align-items: center; height: 3em; }
.v .phone .rec .wave i { display: block; width: .3em; border-radius: 2px; background: #CBD5E1; }
.v .phone .rec .ctl { display: flex; gap: .8em; }
.v .phone .rec .ctl span { border: 1px solid #D5DCE5; border-radius: 10px; padding: .7em 1.2em; font-weight: 600; font-size: .9em; }
.v .phone .rec .ctl span.end { background: var(--ink); color: #fff; border-color: var(--ink); }
.v .xh .u .cap, .v .stage + .cap { font-size: 13px; color: #6B7688; }

@media (max-width: 960px) {
  .v .xh { padding: 120px 0 72px; }
  .v .xh .t, .v .xh .u, .v .xh .u.wide, .v .xs .c, .v .xs .stage, .v .xs.flip .c, .v .xs.flip .stage { grid-column: 1 / -1; grid-row: auto; }
  .v .xh .u { margin-top: 56px; }
  .v .xs { padding: 88px 0; }
  .v .xs .stage { margin-top: 40px; min-height: 0; padding: 24px; }
  .v .xhow ol, .v .xwhy .g, .v .xfaq .g { grid-template-columns: 1fr; gap: 0; }
  .v .xwhy .g { gap: 32px; }
  .v .xhow li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
  .v .xwhy, .v .xfin, .v .xfaq { padding: 88px 0; }
  .v .phone { --w: 270px; }
}

/* Testing sheet (synthetic) */
.v .sheet { background: #fff; padding: 4px 18px; }
.v .sr { display: grid; grid-template-columns: 1fr 96px 110px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #EEF1F5; font-size: 14px; }
.v .sr:first-child { border-top: 0; }
.v .sr .nm { font-weight: 600; color: var(--ink); }
.v .sr span + span { text-align: right; font: 500 14px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.v .sr.sh span { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: #5A6678; text-transform: uppercase; }
.v .sr.sh span:first-child { text-align: left; }
@media (max-width: 960px) {
  .v .xh .g.wide .t, .v .xh .g.wide .u { grid-column: 1 / -1; }
  .v .xh .g.wide h1 { font-size: clamp(38px, 9vw, 56px); }
  .v .sr { grid-template-columns: 1fr 56px 74px; gap: 8px; font-size: 13px; }
  .v .sheet { padding: 4px 14px; }
}

/* Animated walkthrough (js/v3-flow.js) */
.v .xflow { padding: 120px 0; background: #fff; }
.v .xflow .head3 { max-width: 760px; margin-bottom: 48px; }
.v .xflow .head3 h2 { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.02; }
.v .xflow .head3 p { margin-top: 20px; font-size: 19px; color: var(--slate); }
.v .flow { --flow-p: .25; display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: stretch; }
.v .flow-steps { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.v .flow-steps::before { content: ''; position: absolute; left: 5px; top: 18px; bottom: 18px; width: 2px; background: var(--rule); }
.v .flow-steps::after { content: ''; position: absolute; left: 5px; top: 18px; width: 2px; height: calc((100% - 36px) * var(--flow-p)); background: var(--acc); transition: height .5s var(--ease-out, ease); }
.v .flow-steps li { position: relative; }
.v .flow-steps li::before { content: ''; position: absolute; left: -22px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #C9D2DD; z-index: 1; transition: border-color .3s, background .3s; }
.v .flow-steps li.done::before, .v .flow-steps li.on::before { border-color: var(--acc); }
.v .flow-steps li.on::before { background: var(--acc); }
.v .flow-steps button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 12px 14px 8px; border-radius: 8px; cursor: pointer; font: inherit; color: var(--slate); }
.v .flow-steps button:hover { background: #F7F9FB; }
.v .flow-steps .k { display: block; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: inherit; }
.v .flow-steps .t2 { display: block; margin-top: 6px; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: inherit; }
.v .flow-steps .d { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--slate); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s; }
.v .flow-steps li.on button { color: var(--ink); }
.v .flow-steps li.on .k { color: var(--acc); }
.v .flow-steps li.on .d { max-height: 80px; opacity: 1; }
.v .flow-panels { position: relative; background: #F4F6F9; border-radius: 20px; min-height: 520px; overflow: hidden; }
.v .fp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 56px); opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.v .fp.on { opacity: 1; transform: none; pointer-events: auto; }
.v .flow:not(.ready) .fp:first-child { opacity: 1; transform: none; }
.v .fp > .ui { width: 100%; max-width: 600px; font-size: 15px; }
.v .thumbs { display: flex; gap: 10px; padding: 14px 18px; background: #fff; border-bottom: 1px solid #EEF1F5; }
.v .thumb { width: 92px; height: 64px; border-radius: 8px; background: repeating-linear-gradient(135deg, #E4E9EF 0 8px, #EDF1F5 8px 16px); border: 1px solid #DCE3EB; display: flex; align-items: flex-end; padding: 6px; font: 500 10px/1 var(--mono); color: #5A6678; }
@media (prefers-reduced-motion: reduce) { .v .fp, .v .flow-steps::after, .v .flow-steps .d { transition: none; } }
@media (max-width: 960px) {
  .v .flow { grid-template-columns: 1fr; gap: 24px; }
  .v .flow-panels { min-height: 470px; }
  .v .fp { padding: 18px; }
  .v .xflow { padding: 80px 0; }
  .v .flow-steps .d { display: none; }
}

.v .xflow + .xs { padding-top: 48px; }

.v .xh .u.wide > .vid { width: 100%; }
.v .art p, .v .art li, .v .art dd { max-width: 42em; }
.v .art ul, .v .art ol { padding-left: 1.2em; }
.v .art .byline { font-size: 15px; color: var(--slate); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; margin-bottom: 32px; }
.v .art h2 { margin-bottom: 12px; }
.v .art table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 16px 0 24px; }
.v .art th, .v .art td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.v .art details { border-top: 1px solid var(--rule); padding: 16px 0; }
.v .art summary { font-weight: 600; cursor: pointer; }

/* v5 homepage: eyebrow (brief-specified) + iPhone composite: testing sheet cross-fades to the signed note */
.v .eyebrow { margin: 0 0 22px; font-size: 16px; font-weight: 600; color: var(--acc); letter-spacing: -0.005em; }
.v .phone.duo { --w: 340px; }
.v .phone.duo .scr { position: absolute; inset: calc(var(--w) * .032); width: auto; height: auto; }
.v .phone.duo .layer.b { opacity: 0; animation: duo 11s ease-in-out 1.2s infinite; }
@keyframes duo { 0%, 38% { opacity: 0; } 46%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .v .phone.duo .layer.b { animation: none; opacity: 0; } }
.v .phone .psr { display: grid; grid-template-columns: 1fr 3.4em 3.4em; gap: .5em; align-items: center; padding: .38em 0; border-top: 1px solid #F1F3F6; font-size: .84em; }
.v .phone .psr.ph { border-top: 0; padding-top: 0; font: 500 .66em/1 var(--mono); letter-spacing: .06em; color: #5A6678; text-transform: uppercase; }
.v .phone .psr span + span { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.v .phone .psr .nm { font-weight: 600; }
.v .phone .psr .code { font-size: .78em; padding: .05em .3em; }

/* Medora highlight (Brand v3 tokens.css --mark-*; Pankaj 2026-10-20): a linked line, the source row, a selected item
   or a callout gets a full soft tint + a thin full outline + a small radius. Never a coloured bar on one edge. */
:root { --mark-bg: #ECF8FE; --mark-line: rgba(10,110,153,.30); --mark-line-w: 1px; --mark-radius: 6px;
        --panel-line: #E3E8EF; --panel-line-hover: #C9D2DD; --panel-radius: 8px; }
