/* =========================================================
   Corporate & TPA Desk — Hospital Operations
   Built to public/reference/brand-guidelines.md. Loaded after /index.css.

   Third page in the Hospital Operations set, so it deliberately reuses the
   component vocabulary of Front Desk & OPD and IPD & Discharge — tags,
   field rows, tables, timelines — and adds what this story needs: a
   continuous stage rail, a document checklist, and a claim lifecycle.

   The brief's green (#16C542) is not in our palette: --lime carries the
   current/approved state, --lime-ink carries green text. White dominates.

   PROBLEM = a photograph or a plain statement, muted UI, short copy.
   SOLUTION = product UI with one lime accent on the state that changed.
   No bento grid for the problems; each gets its own editorial section.

   Every class is prefixed tp- ; the reset weighs nothing (guidelines §14).
   ========================================================= */

.tp {
  --pad: calc(67 * var(--u));
  --text: #2a2a2a;
  --faint: #9a9a9a;
  --soft: #f5f8f1;
  --grey: #f7f7f7;
  --lime-tint: #effcb5;
  --lime-ink: #3f5a00;
  --amber: #fff1d2;
  --amber-ink: #8a5600;
  --rose: #ffe8e4;
  --rose-ink: #b23a2c;
  --r-card: calc(18 * var(--u));
  --r: calc(12 * var(--u));
  --r-sm: calc(9 * var(--u));
  --shadow: 0 1px 2px rgba(17, 19, 24, .03), 0 calc(18 * var(--u)) calc(40 * var(--u)) calc(-28 * var(--u)) rgba(17, 19, 24, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  display: block;
  color: var(--ink);
}
.tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
:where(.tp) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, table) { margin: 0; }
:where(.tp) :where(ul, ol) { padding: 0; list-style: none; }
.tp img { display: block; max-width: 100%; }
.tp .i { flex: none; width: calc(16 * var(--u)); height: calc(16 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.tp-h1, .tp-h2, .tp-h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.tp-h1 { font-size: calc(64 * var(--u)); line-height: calc(77 * var(--u)); }
.tp-h2 { font-size: calc(48 * var(--u)); line-height: calc(57 * var(--u)); }
.tp-h3 { font-size: calc(24 * var(--u)); line-height: calc(30 * var(--u)); }
.tp .dim { color: var(--muted); }
.tp-lede { margin-top: calc(16 * var(--u)); max-width: calc(660 * var(--u)); font-size: calc(25 * var(--u)); line-height: calc(33 * var(--u)); letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.tp-sub { margin-top: calc(18 * var(--u)); max-width: calc(520 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(30 * var(--u)); letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.tp-k { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* the two labels the brief asks for, kept quiet */
.tp-pill { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); padding: calc(5 * var(--u)) calc(13 * var(--u)); border-radius: 999px; background: var(--soft); color: var(--text); font-size: calc(13 * var(--u)); font-weight: 600; line-height: 1.3; }
.tp-pill::before { content: ""; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: currentColor; opacity: .7; }
.tp-pill.problem { background: var(--amber); color: var(--amber-ink); }
.tp-pill.solution { background: var(--lime-tint); color: var(--lime-ink); }
.tp-pill.ink { background: var(--ink); color: var(--lime); }
.tp-pill + .tp-h1, .tp-pill + .tp-h2 { margin-top: calc(22 * var(--u)); }
.tp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: calc(14 * var(--u)); margin-top: calc(44 * var(--u)); }
.tp .btn .i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); transition: transform .2s var(--ease); }
.tp .btn:hover .i { transform: translateX(calc(3 * var(--u))); }

/* ---------- sections ---------- */
.tp-sec { position: relative; padding: calc(128 * var(--u)) var(--pad); }
.tp-sec + .tp-sec { border-top: 1px solid var(--rule); }
.tp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(96 * var(--u)); align-items: center; }
.tp-split.rev > :first-child { order: 2; }
.tp-head { max-width: calc(940 * var(--u)); }
.tp-head.mid { margin-inline: auto; text-align: center; }
.tp-head.mid .tp-lede { margin-inline: auto; }
.tp-stage { margin-top: calc(72 * var(--u)); }
.tp-sec.soft { isolation: isolate; }
.tp-sec.soft::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: #fafaf8; z-index: -1; }
.tp-sec.soft::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; right: -1px; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); pointer-events: none; }
.tp-chap { display: flex; align-items: center; gap: calc(18 * var(--u)); margin-bottom: calc(40 * var(--u)); }
.tp-chap b { font-size: calc(13 * var(--u)); font-weight: 600; letter-spacing: .04em; color: var(--faint); font-variant-numeric: tabular-nums; }
.tp-chap i { flex: 1; height: 1px; background: var(--rule); }

/* ---------- hero ---------- */
.tp-hero { padding: calc(120 * var(--u)) var(--pad) calc(96 * var(--u)); }
.tp-hero .tp-h1 { max-width: calc(940 * var(--u)); }
.tp-hero__stage { position: relative; margin-top: calc(72 * var(--u)); }
.tp-scene { position: relative; border: 1px solid var(--rule); border-radius: var(--r-card); }
.tp-scene > img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 70% 44%; border-radius: calc(var(--r-card) - 1px); }
.tp-cap { margin-top: calc(16 * var(--u)); font-size: calc(14 * var(--u)); color: var(--muted); }

/* the one product overlay the hero carries */
.tp-hero__case { position: absolute; right: calc(40 * var(--u)); bottom: calc(40 * var(--u)); z-index: 2; width: calc(330 * var(--u)); display: grid; gap: calc(14 * var(--u)); padding: calc(22 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow); }
.tp-hero__case .tp-k { color: var(--faint); }
.tp-hero__case .who { font-family: var(--font-head); font-size: calc(23 * var(--u)); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; }

/* ---------- the continuous stage rail: a line, never cards ---------- */
.tp-rail { display: flex; align-items: flex-start; }
.tp-stagepoint { position: relative; flex: 1 1 0; min-width: 0; padding-top: calc(30 * var(--u)); text-align: center; }
.tp-stagepoint::before { content: ""; position: absolute; top: calc(8 * var(--u)); left: 50%; width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-left: calc(-5.5 * var(--u)); border-radius: 50%; background: var(--divider); z-index: 1; }
.tp-stagepoint::after { content: ""; position: absolute; top: calc(13 * var(--u)); left: 50%; right: calc(-50%); height: 1px; background: var(--divider); }
.tp-stagepoint:last-child::after { display: none; }
.tp-stagepoint b { display: block; font-size: calc(14.5 * var(--u)); font-weight: 600; letter-spacing: -.01em; }
.tp-stagepoint span { display: block; margin-top: calc(3 * var(--u)); font-size: calc(12.5 * var(--u)); color: var(--muted); }
.tp-stagepoint.done::before { background: var(--lime-ico); }
.tp-stagepoint.done::after { background: var(--lime-ico); }
.tp-stagepoint.now::before { background: var(--lime); box-shadow: 0 0 0 calc(5 * var(--u)) rgba(199, 243, 104, .45); }
.tp-stagepoint.now b { color: var(--lime-ink); }
.tp-stagepoint.wait { color: var(--muted); }
.tp-stagepoint.wait b { font-weight: 500; color: var(--muted); }

/* ---------- product UI ---------- */
.tp-ui { border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.tp-ui__top { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); background: #fcfcfb; }
.tp-ui__top b { font-size: calc(13 * var(--u)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tp-ui__top .tp-tag { margin-left: auto; }
.tp-ui__body { padding: calc(20 * var(--u)); }
.tp-ui + .tp-ui { margin-top: calc(16 * var(--u)); }
.tp-tag { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 999px; background: var(--grey); color: var(--text); font-size: calc(12 * var(--u)); font-weight: 600; white-space: nowrap; }
.tp-tag.ok { background: var(--lime-tint); color: var(--lime-ink); }
.tp-tag.wait { background: var(--amber); color: var(--amber-ink); }
.tp-tag.bad { background: var(--rose); color: var(--rose-ink); }
.tp-tag .i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

.tp-fields { display: grid; gap: calc(14 * var(--u)); }
.tp-fields > div { display: grid; gap: calc(3 * var(--u)); }
.tp-fields dt, .tp-fields .lbl { font-size: calc(11.5 * var(--u)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.tp-fields dd, .tp-fields .val { font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: -.01em; }
.tp-fields.two { grid-template-columns: 1fr 1fr; column-gap: calc(24 * var(--u)); }
.tp-mono { font-variant-numeric: tabular-nums; }
.tp-amount { font-family: var(--font-head); font-size: calc(30 * var(--u)); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* the document checklist — the page's signature component */
.tp-check li { display: flex; align-items: center; gap: calc(13 * var(--u)); padding: calc(13 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); font-size: calc(16 * var(--u)); font-weight: 600; }
.tp-check li:last-child { border-bottom: 0; }
.tp-check .mark { display: grid; place-items: center; flex: none; width: calc(21 * var(--u)); height: calc(21 * var(--u)); border-radius: 50%; background: var(--grey); }
.tp-check .mark .i { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.tp-check .done .mark { background: var(--lime); color: var(--ink); }
.tp-check .need { color: var(--muted); font-weight: 500; }
.tp-check .need .mark::after { content: ""; width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--amber-ink); opacity: .6; }
.tp-check .who { margin-left: auto; font-size: calc(13 * var(--u)); font-weight: 500; color: var(--faint); }
.tp-foot { display: flex; align-items: center; gap: calc(11 * var(--u)); padding: calc(15 * var(--u)) calc(18 * var(--u)); border-top: 1px solid var(--rule); font-size: calc(15 * var(--u)); font-weight: 600; }
.tp-foot.need { background: var(--amber); color: var(--amber-ink); border-top-color: #f0dcae; }
.tp-foot.ready { background: var(--lime); color: var(--ink); border-top-color: var(--lime-ico); }
.tp-foot .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.tp-foot span { margin-left: auto; font-weight: 500; opacity: .72; font-size: calc(13 * var(--u)); }

/* a small notification, not a pop-up */
.tp-alert { display: grid; gap: calc(14 * var(--u)); max-width: calc(380 * var(--u)); padding: calc(20 * var(--u)); border: 1px solid #f0dcae; border-radius: var(--r-card); background: #fffaf0; box-shadow: var(--shadow); }
.tp-alert__t { display: flex; align-items: center; gap: calc(9 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--amber-ink); }
.tp-act { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(13 * var(--u)) calc(16 * var(--u)); border-radius: var(--r); background: var(--ink); color: var(--lime); font-size: calc(15 * var(--u)); font-weight: 600; }
.tp-act .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-left: auto; }
.tp-next { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-top: calc(18 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); border-radius: var(--r); background: var(--lime); font-size: calc(15.5 * var(--u)); font-weight: 600; color: var(--ink); }
.tp-next .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.tp-next span { margin-left: auto; opacity: .55; font-size: calc(12.5 * var(--u)); }

/* the small vertical rail used inside a solution column */
.tp-steps { display: grid; justify-items: start; gap: calc(6 * var(--u)); }
.tp-step { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: calc(15 * var(--u)); font-weight: 600; }
.tp-step.done { border-color: var(--lime-ico); background: var(--lime-soft); color: var(--lime-ink); }
.tp-step.now { border-color: var(--lime-ico); background: var(--lime); color: var(--ink); box-shadow: 0 0 0 calc(4 * var(--u)) rgba(199, 243, 104, .3); }
.tp-step.wait { color: var(--muted); }
.tp-step .i { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.tp-steps i.join { width: 2px; height: calc(14 * var(--u)); margin-left: calc(22 * var(--u)); background: var(--divider); }
.tp-steps i.join.on { background: var(--lime-ico); }

/* timeline */
.tp-time li { position: relative; display: grid; grid-template-columns: calc(78 * var(--u)) minmax(0, 1fr); column-gap: calc(18 * var(--u)); padding: calc(12 * var(--u)) 0 calc(12 * var(--u)) calc(18 * var(--u)); }
.tp-time li::before { content: ""; position: absolute; left: 0; top: calc(19 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--divider); }
.tp-time li::after { content: ""; position: absolute; left: calc(4 * var(--u)); top: calc(28 * var(--u)); bottom: calc(-4 * var(--u)); width: 1px; background: var(--rule); }
.tp-time li:last-child::after { display: none; }
.tp-time li.done::before { background: var(--lime-ico); }
.tp-time li.now::before { background: var(--lime-ico); box-shadow: 0 0 0 calc(4 * var(--u)) rgba(199, 243, 104, .35); }
.tp-time time { font-size: calc(13 * var(--u)); font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.tp-time p { font-size: calc(15.5 * var(--u)); font-weight: 500; }
.tp-time p em { display: block; margin-top: calc(2 * var(--u)); font-style: normal; font-size: calc(13 * var(--u)); color: var(--muted); }

/* ---------- the patient's phone ---------- */
.tp-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(40 * var(--u)); }
.tp-phone { position: relative; display: flex; flex-direction: column; width: calc(272 * var(--u)); max-width: 100%; aspect-ratio: 393 / 852; padding: calc(7 * var(--u)); border-radius: calc(38 * var(--u)); background: var(--ink); box-shadow: var(--shadow); }
.tp-screen { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(12 * var(--u)); padding: calc(26 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u)); border-radius: calc(31 * var(--u)); overflow: hidden; background: #fff; }
.tp-screen__bar { display: flex; align-items: center; justify-content: space-between; font-size: calc(11.5 * var(--u)); font-weight: 600; color: var(--faint); }
.tp-msg { display: grid; gap: calc(10 * var(--u)); padding: calc(16 * var(--u)); border: 1px solid var(--rule); border-radius: calc(16 * var(--u)); background: #fff; }
.tp-msg.ok { border-color: var(--lime-ico); background: var(--lime-soft); }
.tp-msg__t { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(11.5 * var(--u)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tp-msg.ok .tp-msg__t { color: var(--lime-ink); }
.tp-msg__b { font-family: var(--font-head); font-size: calc(17 * var(--u)); line-height: calc(23 * var(--u)); font-weight: 500; letter-spacing: -.02em; }
.tp-msg dl { display: grid; gap: calc(8 * var(--u)); }
.tp-msg dt { font-size: calc(10.5 * var(--u)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.tp-msg dd { margin: 0; font-size: calc(15 * var(--u)); font-weight: 600; }
.tp-msg .link { display: flex; align-items: center; gap: calc(7 * var(--u)); font-size: calc(13.5 * var(--u)); font-weight: 600; color: var(--lime-ink); }
.tp-msg .link .i { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.tp-phone__cap { margin-top: calc(16 * var(--u)); text-align: center; font-size: calc(14 * var(--u)); color: var(--muted); }

/* ---------- workspace ---------- */
.tp-metrics { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: #fff; }
.tp-metrics > div { padding: calc(20 * var(--u)); }
.tp-metrics > div + div { border-left: 1px solid var(--rule); }
.tp-metrics b { display: block; font-family: var(--font-head); font-size: calc(34 * var(--u)); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tp-metrics span { display: block; margin-top: calc(4 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; color: var(--muted); }
.tp-metrics > div.on { background: var(--lime-soft); }
.tp-metrics > div.risk { background: #fff6f4; }
.tp-bar { display: flex; align-items: center; gap: calc(10 * var(--u)); flex-wrap: wrap; padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); }
.tp-search { display: flex; align-items: center; gap: calc(9 * var(--u)); flex: 1 1 calc(230 * var(--u)); min-width: calc(170 * var(--u)); padding: calc(9 * var(--u)) calc(13 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--faint); font-size: calc(14 * var(--u)); }
.tp-table { width: 100%; border-collapse: collapse; }
.tp-table th, .tp-table td { padding: calc(14 * var(--u)) calc(18 * var(--u)); text-align: left; font-size: calc(14.5 * var(--u)); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tp-table th { font-size: calc(11.5 * var(--u)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: #fcfcfb; }
.tp-table td b { font-weight: 600; }
.tp-table tr:last-child td { border-bottom: 0; }
.tp-table tr.on td { background: var(--lime-soft); }
.tp-table .num { font-variant-numeric: tabular-nums; color: var(--muted); }
.tp-work { display: grid; grid-template-columns: minmax(0, 1fr) calc(300 * var(--u)); gap: calc(16 * var(--u)); align-items: start; }

/* ---------- AI ---------- */
.tp-ai { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: calc(64 * var(--u)); align-items: center; }
.tp-person { position: relative; display: grid; justify-items: center; padding: calc(28 * var(--u)) 0 0; border-radius: var(--r-card); background: var(--soft); }
.tp-person img { width: calc(300 * var(--u)); max-width: 100%; height: auto; }
.tp-said { position: absolute; z-index: 2; left: calc(-40 * var(--u)); top: calc(46 * var(--u)); max-width: calc(300 * var(--u)); padding: calc(14 * var(--u)) calc(17 * var(--u)); border: 1px solid var(--rule); border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)); background: #fff; box-shadow: var(--shadow); font-family: var(--font-head); font-size: calc(19 * var(--u)); line-height: calc(26 * var(--u)); font-weight: 500; letter-spacing: -.025em; }
.tp-said .tp-k { display: block; margin-bottom: calc(7 * var(--u)); color: var(--faint); }
.tp-mic { position: absolute; z-index: 3; right: calc(30 * var(--u)); bottom: calc(34 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)); border-radius: 999px; background: var(--ink); box-shadow: var(--shadow); }
.tp-mic .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: var(--lime); }
.tp-wave { display: flex; align-items: center; gap: calc(3 * var(--u)); height: calc(24 * var(--u)); }
.tp-wave i { width: calc(3 * var(--u)); min-height: calc(4 * var(--u)); border-radius: 999px; background: var(--lime); animation: tpWave 1.1s ease-in-out infinite; }
.tp-answer { display: grid; gap: calc(16 * var(--u)); padding: calc(26 * var(--u)); border: 1px solid var(--lime-ico); border-radius: var(--r-card); background: var(--lime-soft); }
.tp-answer__k { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--lime-ink); }
.tp-answer__k i { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: var(--lime); color: var(--ink); }
.tp-answer__k i .i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.tp-answer__t { font-family: var(--font-head); font-size: calc(30 * var(--u)); line-height: calc(38 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.tp-breaks { display: grid; gap: calc(7 * var(--u)); }
.tp-breaks li { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(11 * var(--u)) calc(14 * var(--u)); border-radius: var(--r-sm); background: #fff; font-size: calc(15 * var(--u)); font-weight: 500; }
.tp-breaks b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- outcomes ---------- */
.tp-out { border-top: 1px solid var(--rule); margin-top: calc(64 * var(--u)); }
.tp-out > div { display: grid; grid-template-columns: calc(60 * var(--u)) minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: calc(40 * var(--u)); padding: calc(32 * var(--u)) 0; border-bottom: 1px solid var(--rule); }
.tp-out .n { font-size: calc(13 * var(--u)); font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: calc(7 * var(--u)); }
.tp-out h3 { font-family: var(--font-head); font-size: calc(32 * var(--u)); line-height: calc(40 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.tp-out p { align-self: center; font-size: calc(18 * var(--u)); line-height: calc(27 * var(--u)); color: var(--muted); }

/* ---------- FAQ ---------- */
.tp-faq { max-width: calc(920 * var(--u)); margin-top: calc(56 * var(--u)); border-top: 1px solid var(--rule); }
.tp-faq details { border-bottom: 1px solid var(--rule); }
.tp-faq summary { display: flex; align-items: center; gap: calc(18 * var(--u)); padding: calc(24 * var(--u)) 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(29 * var(--u)); font-weight: 500; letter-spacing: -.028em; transition: color .15s ease; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary:hover { color: var(--lime-ink); }
.tp-faq summary::after { content: ""; flex: none; width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(calc(-2 * var(--u)), calc(-2 * var(--u))); transition: transform .25s var(--ease); }
.tp-faq details[open] summary::after { transform: rotate(-135deg); }
.tp-faq p { padding: 0 calc(48 * var(--u)) calc(26 * var(--u)) 0; max-width: calc(760 * var(--u)); font-size: calc(17 * var(--u)); line-height: calc(27 * var(--u)); color: var(--prose, #4d4d4d); }

/* ---------- final CTA + strip ---------- */
.tp-cta { padding: calc(130 * var(--u)) var(--pad); border-top: 1px solid var(--rule); }
.tp-cta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: calc(96 * var(--u)); align-items: center; }
.tp-life { padding: 0 var(--pad) calc(120 * var(--u)); }
.tp-life nav { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.tp-life a, .tp-life span { display: block; padding: calc(18 * var(--u)) calc(16 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; color: var(--muted); }
.tp-life > nav > * + * { border-left: 1px solid var(--rule); }
.tp-life small { display: block; margin-bottom: calc(6 * var(--u)); font-size: calc(11.5 * var(--u)); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tp-life .here { background: var(--lime-soft); color: var(--ink); }
.tp-life .here small { color: var(--lime-ink); }
.tp-life a:hover { color: var(--ink); }

/* ---------- motion ---------- */
.tp-js .tp-rev { opacity: 0; transform: translateY(calc(12 * var(--u))); }
.tp-js .tp-rev.is-in { opacity: 1; transform: none; transition: opacity .75s ease var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
@keyframes tpWave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .tp *, .tp *::before, .tp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}

/* =========================================================
   Below 1180 --u is 1px. Stack, don't shrink (guidelines §10).
   ========================================================= */
@media (max-width: 1179px) {
  .tp { --pad: 22px; }
  .tp .i { width: 16px; height: 16px; }
  .tp-h1 { font-size: clamp(32px, 7.2vw, 48px); line-height: 1.08; }
  .tp-h2 { font-size: clamp(26px, 5.4vw, 36px); line-height: 1.16; }
  .tp-h3 { font-size: 20px; line-height: 27px; }
  .tp-lede { font-size: 17px; line-height: 25px; }
  .tp-sub { font-size: 16px; line-height: 24px; max-width: none; }
  .tp-ctas { margin-top: 28px; flex-direction: column; align-items: stretch; }

  .tp-hero { padding: 44px 22px 56px; }
  .tp-hero__stage, .tp-stage { margin-top: 32px; }
  .tp-scene > img { aspect-ratio: 4 / 3; }
  .tp-hero__case { position: static; width: auto; margin-top: 16px; }

  .tp-sec { padding: 56px 22px; }
  .tp-chap { margin-bottom: 26px; }
  .tp-split { grid-template-columns: 1fr; row-gap: 32px; }
  .tp-split.rev > :first-child { order: 0; }

  /* the rail turns vertical rather than squeezing nine labels across a phone */
  .tp-rail { flex-direction: column; align-items: stretch; }
  .tp-stagepoint { padding: 0 0 0 30px; text-align: left; min-height: 52px; }
  .tp-stagepoint::before { top: 4px; left: 0; margin-left: 0; }
  .tp-stagepoint::after { top: 15px; bottom: -4px; left: 5px; right: auto; width: 1px; height: auto; }
  .tp-stagepoint b { font-size: 15px; }

  .tp-fields.two { grid-template-columns: 1fr; row-gap: 14px; }
  .tp-alert { max-width: none; }
  .tp-metrics { grid-template-columns: 1fr 1fr; }
  .tp-metrics > div:nth-child(odd) { border-left: 0; }
  .tp-metrics > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .tp-metrics b { font-size: 28px; }
  .tp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tp-table th, .tp-table td { padding: 12px 14px; }
  .tp-work { grid-template-columns: 1fr; }

  .tp-phones { gap: 26px; }
  .tp-ai { grid-template-columns: 1fr; row-gap: 28px; }
  .tp-said { position: static; max-width: none; margin: 0 0 16px; border-radius: 18px 18px 18px 4px; }
  .tp-person { padding: 20px 16px 0; }
  .tp-person img { width: 230px; }
  .tp-mic { position: static; justify-content: center; width: -moz-fit-content; width: fit-content; margin: 0 auto 18px; }
  .tp-answer__t { font-size: 22px; line-height: 29px; }

  .tp-out > div { grid-template-columns: 1fr; row-gap: 10px; padding: 26px 0; }
  .tp-out .n { padding-top: 0; }
  .tp-out h3 { font-size: 24px; line-height: 31px; }
  .tp-out p { font-size: 16px; line-height: 24px; }

  .tp-faq summary { font-size: 19px; line-height: 26px; padding: 20px 0; gap: 14px; }
  .tp-faq p { font-size: 16px; line-height: 25px; padding: 0 0 22px; }

  .tp-cta { padding: 72px 22px; }
  .tp-cta__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .tp-life { padding: 0 22px 64px; }
  .tp-life nav { grid-template-columns: 1fr 1fr; }
  .tp-life > nav > :nth-child(3) { border-left: 0; }
  .tp-life > nav > :nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
