/* Industry pages (/clinics, /restaurants, /hotels): one structure, each in its own palette. Loaded after
   site.css, d/player.css and d/trust.css (so its call-card and marks rules win), which give the nav, wrap, zig
   rows, FAQ, footer, the sample-call player and the trust marks. Each page sets its colours as tokens on :root
   (the site.css names: --ink, --forest for actions, --band and so on, plus --line-2 for panel rules and
   --foot-link for footer links), so this file, the sample-call player (d/player.css) and the trust marks
   (d/trust.css) all follow it. No decorative icon tiles and no heavy outlines: hairline rules, flat white panels,
   tables for what callers ask and a spec sheet for how information is handled. Text pairs are checked by
   scripts/ui-check.mjs. */
body { color: var(--ink-2); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
p, small, dd { text-wrap: pretty; }
.nw { white-space: nowrap; }
.sec[id] { scroll-margin-top: 74px; }
.nav { border-bottom-color: var(--line); }
.btn.line:hover { background: var(--band); }
.eyebrow { color: var(--forest); font-size: .78rem; letter-spacing: .1em; }
.h2 { font-size: clamp(1.8rem, 2.7vw, 2.3rem); line-height: 1.25; max-width: 28ch; }
.lead { font-size: 1.08rem; }
footer ul a { color: var(--foot-link, #E9DFCC); }

/* Hero: headline and line on the left, the sample call on the right. On a phone: headline, call, then the rest. */
.hero { padding: 4.5rem 0 5rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head demo" "body demo"; column-gap: clamp(2.5rem, 6vw, 6rem); }
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; align-self: start; }
.hero-demo { grid-area: demo; align-self: center; }
.hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.4rem); line-height: 1.1; max-width: 15ch; }
.hero-sub { font-size: clamp(1.05rem, 1.3vw, 1.16rem); line-height: 1.7; max-width: 33rem; margin: 1.4rem 0 2rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 1000px) {
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "body"; row-gap: 2rem; }
  .hero-sub { margin-top: 0; }
}
@media (max-width: 560px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* The call card on this page: a 1px rule and a soft lift instead of the home page's 2px ink outline. */
.oc { border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 1px 2px rgba(15,30,37,.04), 0 12px 32px -18px rgba(15,30,37,.18); }
.oc-restart { border-width: 1px; border-color: var(--line-2); }
.langs { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 .75rem; border-bottom: 1px solid var(--line); }
.langs button { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; padding: .5rem .75rem; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.langs button:hover { color: var(--ink); }
.langs button[aria-selected="true"] { color: var(--forest); border-bottom-color: var(--forest); }
.langs button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.call-note { margin: .75rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }

/* Section heads: the label, the heading and the line in a column on the left. */
.head { margin-bottom: 3rem; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.split .head { margin: 0; position: sticky; top: 104px; }
@media (max-width: 900px) { .split .head { position: static; } }

/* What patients call about: a two-column table, the caller's words and what Maya does, hairline rows. */
.calls { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.calls li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.calls q { quotes: "\201C" "\201D"; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.5; }
.calls p { margin: 0; font-size: .97rem; line-height: 1.65; }
.calls .hd { padding: .7rem 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) { .calls li { grid-template-columns: minmax(0, 1fr); gap: .35rem; } .calls .hd { display: none; } }

/* Product shots: flat white panels with a 1px rule. */
.panel { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.panel-hd { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); }
.panel-hd b { display: block; font-size: .98rem; line-height: 1.3; font-weight: 600; }
.panel-hd small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.35; }
.panel .chip { flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--band-strong); padding: .2rem .5rem; border-radius: 4px; }
.panel-ft { display: flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem; border-top: 1px solid var(--line); background: var(--band-soft); color: var(--ink-2); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.panel-ft .ic { width: 16px; height: 16px; color: var(--forest); }
.zig .mat { background: var(--band); }

/* Health card check: one row per visit. */
.hc { list-style: none; margin: 0; padding: 0 1.2rem; }
.hc li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); }
.hc li:first-child { border-top: 0; }
.hc time { color: var(--ink-3); font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hc span { font-weight: 500; }
.st { justify-self: end; font-size: .76rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px; white-space: nowrap; background: var(--band-strong); color: var(--ink); }
.st.ok { background: var(--forest-tint); color: var(--forest-deep); }
@media (max-width: 560px) {
  .hc { padding: 0 1rem; }
  .hc li { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .8rem; }
  .hc time { grid-column: 1; }
  .hc span { grid-column: 1; grid-row: 2; }
  .hc .st { grid-column: 2; grid-row: 1 / span 2; }
}

/* Maya's OSCAR Pro user: what it can and cannot open. */
.acc { padding: .3rem 1.2rem 1rem; }
.acc h4 { margin: .85rem 0 .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.acc ul { list-style: none; margin: 0; padding: 0; display: grid; }
.acc li { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font-weight: 500; }
.acc li .ic { width: 15px; height: 15px; }
.acc .yes .ic { color: var(--forest); }
.acc .no { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.acc .no li { color: var(--ink-2); }
.acc .no .ic { color: var(--ink-3); }
@media (max-width: 560px) { .acc { padding: .3rem 1rem .9rem; } .acc .no { grid-template-columns: minmax(0, 1fr); } }
.zig .btn { margin-top: 2rem; }

/* How patient information is handled: a spec sheet, label on the left and the detail on the right. */
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.5; }
.spec dd { margin: 0; font-size: .97rem; line-height: 1.65; }
@media (max-width: 640px) { .spec div { grid-template-columns: minmax(0, 1fr); gap: .25rem; } }
.spec-ft { margin: 1.4rem 0 0; font-size: .92rem; color: var(--ink-2); }
.spec-ft a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* From agreement to first call: four numbered steps on a rule. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.steps li { border-top: 2px solid var(--forest); padding-top: 1.1rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--forest); font-variant-numeric: tabular-nums; }
.steps h3 { margin: .5rem 0 .45rem; font-size: 1.12rem; line-height: 1.35; }
.steps p { margin: 0; font-size: .95rem; line-height: 1.65; }

/* Closing band: heading, line and two buttons. */
.close { padding: 5rem 0; background: var(--band); border-top: 1px solid var(--line); }
.close .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.close h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.25; }
.close p { margin: .6rem 0 0; font-size: 1.05rem; }
.close .row { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 560px) { .close .row .btn { flex: 1 1 100%; } }

/* ---- Feature cards: each one says what Maya does and shows it working in a small product view. ---- */
.sec-head { max-width: 46rem; margin-bottom: 3rem; }
.sec-head .lead { max-width: 40rem; }

/* Where Maya fits: five steps on one line, the fourth (Maya) in the action colour. */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 1px; background: var(--line-2); }
.flow li { position: relative; text-align: center; padding: 0 .25rem; }
.flow .dot { width: 46px; height: 46px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2); position: relative; }
.flow .dot svg { width: 20px; height: 20px; }
.flow b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.flow small { display: block; margin-top: .3rem; font-size: .88rem; line-height: 1.5; color: var(--ink-3); }
.flow .me .dot { background: var(--forest); border-color: var(--forest); color: var(--white); box-shadow: 0 0 0 6px var(--forest-tint); }
.flow .me b { color: var(--forest); }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .flow::before { left: 22px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 1rem; text-align: left; padding: 0; align-items: center; }
  .flow .dot { margin: 0; grid-row: span 2; }
  .flow small { margin-top: .1rem; }
}

/* The grid: six columns; a card spans two, three, four or six. Two columns on a tablet, one on a phone. */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.bento .s2 { grid-column: span 2; } .bento .s3 { grid-column: span 3; } .bento .s4 { grid-column: span 4; } .bento .s6 { grid-column: span 6; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .s2, .bento .s3 { grid-column: span 1; } .bento .s4, .bento .s6 { grid-column: span 2; } }
@media (max-width: 680px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .s2, .bento .s3, .bento .s4, .bento .s6 { grid-column: auto; } }

.fc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,30,37,.04); }
.fc-tx { padding: 1.6rem 1.6rem 1.35rem; }
.fc-k { display: block; margin-bottom: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.fc h3 { margin: 0; font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.fc p { margin: .55rem 0 0; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.fc-demo { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .75rem; padding: 1.35rem 1.6rem 1.6rem; background: var(--band-soft); border-top: 1px solid var(--line); }
.fc-demo.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 680px) { .fc-tx { padding: 1.35rem 1.25rem 1.15rem; } .fc-demo { padding: 1.15rem 1.25rem 1.3rem; } .fc-demo.two { grid-template-columns: minmax(0, 1fr); } }

/* Small product views inside the cards. */
.mini { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .88rem; line-height: 1.45; color: var(--ink); }
.mini-hd { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .65rem .85rem; border-bottom: 1px solid var(--line); }
.mini-hd b { font-weight: 700; font-size: .86rem; }
.mini-hd span { color: var(--ink-3); font-size: .78rem; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 0 .85rem; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows li > span { min-width: 0; }
.rows small { display: block; color: var(--ink-3); font-size: .76rem; }
.lbl { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .16rem .5rem; border-radius: 999px; background: var(--band-strong); color: var(--ink); font-size: .72rem; font-weight: 700; font-style: normal; white-space: nowrap; }
.lbl.ok { background: var(--forest-tint); color: var(--forest-deep); }
.lbl.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }

/* Book, move or cancel: the call's steps beside the doctor's day. */
.steps-v { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.steps-v li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .6rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; font-size: .86rem; line-height: 1.4; }
.steps-v svg { width: 18px; height: 18px; margin-top: 1px; color: var(--forest); }
.steps-v b { display: block; color: var(--ink); font-weight: 700; }
.steps-v small { display: block; color: var(--ink-3); font-size: .78rem; }
.sched { list-style: none; margin: 0; padding: .35rem .85rem .6rem; }
.sched li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .6rem; align-items: center; padding: .3rem 0; }
.sched time { color: var(--ink-3); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.sched .ap { padding: .45rem .6rem; border-radius: 7px; background: var(--band-strong); color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.sched .open { padding: .42rem .6rem; border-radius: 7px; border: 1px dashed var(--line-2); color: var(--ink-3); font-size: .8rem; }
.sched .new .ap { background: var(--forest); color: var(--white); }
.sched .new .ap small { display: block; font-weight: 500; opacity: .85; font-size: .74rem; }

/* Any language: two bubbles with what they mean, and the languages under them. */
.chat { display: grid; gap: .55rem; }
.bub { max-width: 92%; padding: .6rem .8rem; border-radius: 12px; font-size: .9rem; line-height: 1.45; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.bub > small:first-child { display: block; margin-bottom: .15rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bub .gl { display: block; margin-top: .3rem; font-size: .76rem; color: var(--ink-3); font-style: italic; }
.bub.m { justify-self: end; background: var(--forest-tint); border-color: transparent; border-bottom-right-radius: 4px; }
.bub.m > small:first-child { color: var(--forest-deep); }
.bub.p { border-bottom-left-radius: 4px; }
.lang-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.lang-row span { padding: .2rem .55rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink-2); }

/* Answers at any hour. */
.qa { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.qa li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; font-size: .86rem; line-height: 1.4; }
.qa time { float: right; margin-left: .5rem; color: var(--ink-3); font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.qa q { display: block; color: var(--ink); font-weight: 600; quotes: "\201C" "\201D"; }
.qa span { display: block; color: var(--forest-deep); font-weight: 500; margin-top: .1rem; }

/* Walk-in wait. */
.waitbox { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .95rem 1rem 1rem; }
.waitbox small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.waitbox b { display: block; margin: .25rem 0 .7rem; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.meter { height: 6px; border-radius: 3px; background: var(--band-strong); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--forest); }
.waitbox span { display: block; margin-top: .6rem; font-size: .8rem; color: var(--ink-3); }

/* Clinical safety: four fixed rules in a row. */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 1000px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.rules div { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; }
.rules small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rules b { display: block; margin-top: .2rem; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* A timeline of what happened, newest last, the outcome in the action colour. */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.tl li { position: relative; display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .75rem; padding: 0 0 .9rem; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: calc(4.2rem + .75rem - 14px); top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.tl li::after { content: ""; position: absolute; left: calc(4.2rem + .75rem - 10.5px); top: 18px; bottom: 2px; width: 1px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl time { color: var(--ink-3); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tl b { display: block; color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.35; }
.tl span { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.4; }
.tl .ok::before { background: var(--forest); box-shadow: 0 0 0 3px var(--forest-tint); }
.tl .ok b { color: var(--forest); }

/* Three counts side by side. */
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.counts div { padding: .8rem .85rem; border-left: 1px solid var(--line); }
.counts div:first-child { border-left: 0; }
.counts b { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.counts small { display: block; margin-top: .2rem; font-size: .74rem; line-height: 1.35; color: var(--ink-3); }
.counts .hl b { color: var(--forest); }
.fine { font-size: .78rem; color: var(--ink-3); margin: 0; }

/* One feature per row: a heading, one sentence, one picture. */
.feat { gap: clamp(2rem, 6vw, 5.5rem); }
.feat + .feat { margin-top: 4.5rem; }
.feat h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.25; }
.feat p { margin: .9rem 0 0; font-size: 1.08rem; line-height: 1.7; max-width: 30rem; }
.feat .mat { background: var(--band); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); }
.feat .mini { box-shadow: 0 1px 2px rgba(15,30,37,.05); }
.feat .chat { margin-bottom: .9rem; }
.feat .chat:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .feat + .feat { margin-top: 3rem; } }

/* Footer on the industry pages: the page's own light band with a hairline above it, not a black block, so the
   page ends as softly as it began. */
footer { background: var(--band); color: var(--ink-2); border-top: 1px solid var(--line); }
footer .brand, footer h4, footer .tag { color: var(--ink); }
footer ul a { color: var(--ink-2); }
footer ul a:hover, footer ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
footer .legal { border-top-color: var(--line); color: var(--ink-3); }
