/* Claira Health · "The Leak" selling pieces (11 Oct 2026):
   sample dashboard, 60-second tour, talk-to-a-person card, ask chip, audience switch, new-guide pill, next-steps strip.
   Shows what the product does on sample data, never how it works. */

/* ---------- Sample dashboard ---------- */
.dash-sec { padding: 110px 0; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.dash-head .sub { max-width: 520px; }
.app { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.45), 0 2px 0 rgba(15, 23, 42, 0.03); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.app-dots { display: flex; gap: 6px; } .app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); }
.app-title { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.app-sample { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #8A5A00; background: #FFF6DB; border: 1px dashed #E8B341; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 180px minmax(0, 1fr) 320px; min-height: 470px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: #FCFBF8; }
.app-side span { font-size: 13.5px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.app-side span.on { background: #F0FBF9; color: var(--teal); font-weight: 700; }
.app-side small { margin-top: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.5; padding: 8px 10px; }
.app-main { padding: 18px 20px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi b { display: block; font-size: 26px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi.is-wait b { color: #B54708; } .kpi.is-ready b { color: var(--teal); }
.app-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.app-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.app-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 54px minmax(0, 1.4fr) minmax(0, 1fr) 70px minmax(0, 1.3fr); gap: 10px; align-items: center; padding: 10px 10px; border-radius: 10px; border: 1px solid transparent; text-align: left; background: none; font-size: 13.5px; width: 100%; transition: background 0.2s, border-color 0.2s; }
.row:hover { background: var(--paper); }
.row.is-sel { background: #F0FBF9; border-color: #CDEDE8; }
.row .pt { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.row .amt { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.row .visit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .payer { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row[hidden] { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; justify-self: start; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip.ready { color: var(--teal); background: #E6F7F4; }
.chip.ok { color: #1D4ED8; background: #EAF1FF; }
.chip.flag { color: #B54708; background: #FFF1E0; }
.chip.money { color: #6941C6; background: #F2EDFF; }
.app-detail { border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #FCFBF8; }
.app-detail .d-agent { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.app-detail h4 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.app-detail .d-meta { font-size: 12.5px; color: var(--muted); }
.d-box { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.d-box b { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.d-rule { display: flex; align-items: center; gap: 8px; }
.d-rule .blur { filter: blur(4px); user-select: none; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.d-rule small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.d-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.d-actions button { flex: 1; min-width: 96px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 13.5px; border: 1.5px solid var(--line); background: #fff; }
.d-actions .go { background: var(--ink); color: #fff; border-color: var(--ink); }
.d-actions .go:disabled { opacity: 0.45; cursor: default; }
.d-done { font-size: 13px; color: var(--teal); font-weight: 700; min-height: 18px; }
.dash-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.dash-foot p { font-size: 13px; color: var(--muted); }
@keyframes rowPulse { 0% { background: #E6F7F4; } 100% { background: transparent; } }
.row.just-done { animation: rowPulse 1.4s var(--ease); }
@media (max-width: 1180px) { .app-body { grid-template-columns: minmax(0, 1fr) 290px; } .app-side { display: none; } }
@media (max-width: 820px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-detail { border-left: 0; border-top: 1px solid var(--line); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 44px minmax(0, 1fr) 60px; }
  .row .payer { display: none; } .row .chip { grid-column: 2 / -1; }
  .app-sample { font-size: 9.5px; padding: 3px 7px; } .app-title { display: none; }
}

/* ---------- Tour ---------- */
.tour { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; border-radius: 22px; overflow: hidden; background: var(--navy); color: #E2E8F0; box-shadow: 0 40px 80px -40px rgba(10, 17, 36, 0.7); }
.tour-left { padding: 36px 34px; display: flex; flex-direction: column; gap: 16px; }
.tour-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--mint); text-transform: uppercase; }
.tour-left h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.03em; color: #fff; }
.tour-left h3 em { font-family: var(--serif); font-weight: 400; color: var(--mint); }
.tour-left p { font-size: 15.5px; line-height: 1.6; color: #A8B3C4; }
.tour-ctrl { display: flex; gap: 10px; align-items: center; margin-top: auto; flex-wrap: wrap; }
.tour-ctrl button { padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 1.5px solid rgba(255, 255, 255, 0.18); background: transparent; color: #fff; }
.tour-ctrl .t-next { background: #fff; color: var(--ink); border-color: #fff; }
.tour-ctrl a.t-book { padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--ribbon); color: #fff; text-decoration: none; }
.tour-dots { display: flex; gap: 6px; } .tour-dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); overflow: hidden; position: relative; }
.tour-dots i.on::after { content: ""; position: absolute; inset: 0; background: var(--mint); transform-origin: left; animation: tourFill var(--tour-ms, 6s) linear forwards; }
.tour-dots i.done { background: var(--mint); }
.tour.is-paused .tour-dots i.on::after { animation-play-state: paused; }
@keyframes tourFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tour-right { position: relative; background: radial-gradient(ellipse at 70% 20%, rgba(0, 214, 190, 0.16), transparent 60%), #0E1830; padding: 34px; display: grid; place-items: center; min-height: 380px; }
.t-screen { width: 100%; max-width: 420px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); overflow: hidden; animation: tIn 0.55s var(--spring); }
@keyframes tIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.t-screen-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.t-screen-bar b { color: var(--teal); font-weight: 500; }
.t-screen-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.t-line { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.t-line span { color: var(--ink-2); }
.t-alert { padding: 12px 14px; border-radius: 12px; background: #FFF6EC; border: 1px solid #FBD9B0; font-size: 14px; line-height: 1.5; color: #7A3E00; animation: tIn 0.6s 0.25s var(--spring) both; }
.t-alert b { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; color: #B54708; }
.t-ok { display: flex; gap: 8px; animation: tIn 0.6s 0.5s var(--spring) both; }
.t-ok span { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line); }
.t-ok span.go { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-sample { position: absolute; right: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 860px) { .tour { grid-template-columns: 1fr; } .tour-right { min-height: 0; padding: 24px 18px 40px; } .tour-left { padding: 26px 22px; } }

/* Tour as a dialog */
.tour-dlg { margin: auto; border: 0; padding: 0; background: transparent; width: min(1040px, 100% - 28px); max-height: calc(100% - 28px); overflow: visible; }
.tour-dlg::backdrop { background: rgba(10, 17, 36, 0.62); backdrop-filter: blur(4px); }
.tour-dlg .tour { max-height: calc(100vh - 28px); overflow: auto; }
.tour-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(10, 17, 36, 0.6); color: #fff; font-size: 18px; line-height: 1; }
.tour-page { padding: 40px 0 90px; }

/* ---------- Talk to a person ---------- */
.person-sec { padding: 0 0 100px; }
.person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 26px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(15, 23, 42, 0.5); }
.p-face { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ribbon); color: #fff; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.p-face img { width: 100%; height: 100%; object-fit: cover; }
.p-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.person h3 { font-size: 24px; letter-spacing: -0.03em; margin: 4px 0 6px; }
.person h3 em { font-family: var(--serif); font-weight: 400; color: var(--teal); }
.person p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.p-who { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.p-acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.p-acts a { text-align: center; justify-content: center; }
.p-mail { font-size: 14px; font-weight: 700; color: var(--teal); text-decoration: none; }
.person.is-compact { grid-template-columns: auto minmax(0, 1fr); padding: 18px 20px; gap: 16px; }
.person.is-compact .p-face { width: 58px; height: 58px; font-size: 18px; }
.person.is-compact h3 { font-size: 18px; }
.person.is-compact p { font-size: 14px; }
.person.is-compact .p-acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
@media (max-width: 760px) { .person { grid-template-columns: auto minmax(0, 1fr); } .p-acts { grid-column: 1 / -1; } }

/* Ask chip: a person, one click away */
.ask { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transform: translateY(140%); transition: transform 0.5s var(--spring); }
.ask.is-up { transform: none; }
.ask-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; font-weight: 700; font-size: 14px; box-shadow: 0 16px 34px -14px rgba(15, 23, 42, 0.8); }
.ask-btn .p-face { width: 32px; height: 32px; font-size: 12px; box-shadow: none; }
.ask-card { width: 300px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.55); display: none; flex-direction: column; gap: 10px; }
.ask.is-open .ask-card { display: flex; animation: tIn 0.4s var(--spring); }
.ask-card h4 { font-size: 16px; letter-spacing: -0.02em; }
.ask-card p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.ask-card a.btn { justify-content: center; padding: 11px 16px; font-size: 14px; }
.ask-card .ask-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.ask-card .ask-row a { color: var(--teal); font-weight: 700; text-decoration: none; }
.ask-close { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; }
@media (max-width: 560px) { .ask { right: 12px; bottom: 12px; } .ask-btn span.ask-t { display: none; } .ask-btn { padding: 6px; } }

/* ---------- Hero: audience switch, new-guide pill, second CTA ---------- */
.aud { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin: 0 0 18px; gap: 2px; }
.aud button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.aud button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.4); }
[data-aud-show][hidden] { display: none !important; }
.new-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); text-decoration: none; max-width: 100%; }
.new-pill b { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--teal); padding: 4px 8px; border-radius: 999px; font-weight: 500; flex: none; }
.new-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-pill:hover { border-color: var(--teal); color: var(--teal); }
.btn-tour .play { width: 22px; height: 22px; border-radius: 50%; background: var(--ribbon); display: grid; place-items: center; }
.btn-tour .play::before { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
.hero-alt { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-alt a { color: var(--teal); font-weight: 700; text-decoration: none; }

/* ---------- Book a call: what happens next, pain checkboxes ---------- */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.next-step { padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.next-step i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--teal); }
.next-step h3 { font-size: 17px; letter-spacing: -0.02em; margin: 6px 0 4px; }
.next-step p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.next-sec { padding: 0 0 70px; }
.pains { border: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.pains legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; width: 100%; }
.pains label { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px !important; font-weight: 600; cursor: pointer; background: #fff; }
.pains input { width: auto !important; margin: 0; accent-color: var(--teal); }
.pains label:has(input:checked) { border-color: var(--teal); background: #F0FBF9; color: var(--teal); }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- Night ---------- */
.night .app, .night .person, .night .ask-card, .night .next-step, .night .new-pill, .night .pains label { background: #131D33; }
.night .app-bar, .night .app-side, .night .app-detail { background: #0F1830; }
.night .d-box, .night .kpi, .night .app-tabs button { background: #131D33; }
.night .app-tabs button[aria-pressed="true"] { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.night .row:hover { background: #0F1830; } .night .row.is-sel { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); }
.night .d-actions button { background: #131D33; color: var(--ink); } .night .d-actions .go { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.night .aud button[aria-pressed="true"] { background: #1E293B; color: var(--ink); }
.night .ask-btn { background: var(--mint); color: var(--navy); }
.night .p-face { box-shadow: 0 0 0 4px #131D33, 0 0 0 5px var(--line); }
@media (prefers-reduced-motion: reduce) { .tour-dots i.on::after, .t-screen, .t-alert, .t-ok, .ask, .row.just-done { animation: none !important; transition: none !important; } }
.new-pill span { min-width: 0; } @media (max-width: 560px) { .new-pill { display: flex; width: fit-content; } .aud button { padding: 7px 11px; font-size: 12.5px; } }
.hero .wrap > div:first-child { min-width: 0; } .new-pill { width: auto; max-width: 100%; }

/* ---------- AI agents, human control ---------- */
.sealed-sec { padding: 110px 0; background: var(--navy); color: #E2E8F0; overflow: hidden; }
.sealed-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 60px; align-items: center; }
.sealed-sec .kicker { background: rgba(94, 234, 212, 0.1); border-color: rgba(94, 234, 212, 0.3); color: var(--mint); }
.sealed-sec h2.big { color: #fff; } .sealed-sec h2.big em { color: var(--mint); }
.sealed-sec .sub { color: #A8B3C4; }
.ai-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 28px; }
.ai-cap { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); font-size: 14.5px; line-height: 1.45; color: #CBD5E1; }
.ai-cap b { display: block; font-size: 15px; color: #fff; margin-bottom: 3px; letter-spacing: -0.01em; }
.sealed-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sealed-ctas .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.flagcard { background: #fff; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 12px; transform: rotate(1.5deg); }
.fc-top { display: flex; justify-content: space-between; align-items: center; }
.fc-agent { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.fc-when { font-size: 11.5px; font-weight: 700; color: #B54708; background: #FFF1E0; padding: 4px 9px; border-radius: 999px; }
.fc-claim { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.fc-block { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.fc-block b { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.fc-acts { display: flex; gap: 8px; } .fc-acts span { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; border: 1.5px solid var(--line); }
.fc-acts .go { background: var(--ink); color: #fff; border-color: var(--ink); }
.fc-mini { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-family: var(--mono); }
@media (max-width: 900px) { .sealed-in { grid-template-columns: 1fr; gap: 44px; } .ai-caps { grid-template-columns: 1fr; } .flagcard { transform: none; } }
.night .flagcard { background: #131D33; } .night .fc-block { background: #0F1830; } .night .fc-acts .go { background: var(--mint); color: var(--navy); border-color: var(--mint); }

/* ---------- Announcement bar ---------- */
.announce { position: relative; z-index: 51; display: flex; justify-content: center; align-items: center; min-height: 40px; padding: 8px 48px; background: linear-gradient(100deg, #0A1124, #0F2A3A 50%, #0A3A3A); color: #E2E8F0; font-size: 13.5px; }
.an-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; text-align: center; }
.an-link:hover .an-go { text-decoration: underline; }
.an-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.18); flex: none; }
.an-go { color: var(--mint); font-weight: 700; white-space: nowrap; }
.announce.is-swap .an-link { animation: anIn 0.5s var(--ease); }
@keyframes anIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.an-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 16px; line-height: 1; }
@media (max-width: 640px) { .announce { padding: 8px 44px 8px 14px; justify-content: flex-start; font-size: 12.5px; } .an-link { text-align: left; flex-wrap: wrap; gap: 4px 8px; } .an-dot { display: none; } }

/* ---------- Hero product strip ---------- */
.strip-sec { padding: 10px 0 90px; }
.hstrip { position: relative; max-width: 1060px; margin: 0 auto; padding: 0 30px; }
.hs-app { transform: perspective(1600px) rotateX(6deg); transform-origin: top center; }
.hs-body { display: grid; grid-template-columns: 170px minmax(0, 1fr) 270px; gap: 16px; padding: 18px; }
.hs-kpis { display: flex; flex-direction: column; gap: 8px; } .hs-kpis .kpi b { font-size: 22px; }
.hs-rows { display: flex; flex-direction: column; justify-content: center; }
.hs-rows .row { grid-template-columns: 44px minmax(0, 1fr) 54px minmax(0, 1.2fr); cursor: default; }
.hs-flag { border: 1px solid #FBD9B0; background: #FFF9F2; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.hs-flag p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.callout { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 16px 30px -14px rgba(15, 118, 110, 0.8); white-space: nowrap; animation: coIn 0.8s var(--spring) both; }
.callout::after { content: ""; position: absolute; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.callout.c1 { right: 0; top: 24%; animation-delay: 0.3s; } .callout.c1::after { left: 18px; bottom: -5px; }
.callout.c2 { right: 8%; bottom: -18px; animation-delay: 0.6s; background: var(--ink); } .callout.c2::after { left: 30px; top: -5px; }
.callout.c3 { left: 0; bottom: 22%; animation-delay: 0.9s; } .callout.c3::after { right: 22px; top: -5px; }
@keyframes coIn { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .hs-body { grid-template-columns: minmax(0, 1fr); } .hs-kpis { flex-direction: row; } .hs-kpis .kpi { flex: 1; } .hs-app { transform: none; } }
@media (max-width: 760px) { .hstrip { padding: 0; display: flex; flex-direction: column; gap: 8px; } .hstrip .callout { position: static; align-self: flex-start; white-space: normal; } .callout::after { display: none; } .hs-rows .row { grid-template-columns: 40px minmax(0, 1fr) 50px; } .hs-rows .chip { grid-column: 2 / -1; } .hs-kpis .kpi span { font-size: 11px; } }

/* ---------- Buyer's guide ---------- */
.q-sec { padding: 20px 0 80px; }
.q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.q-card { padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.q-card i { font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--teal); }
.q-card h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.q-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.q-good { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: #F0FBF9; border: 1px solid #CDEDE8; font-size: 14.5px; line-height: 1.5; color: var(--teal-2); }
.q-good b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 3px; }
.cmp-sec { padding: 0 0 80px; }
.cmp-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 680px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.cmp thead th { font-size: 13px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper-2); }
.cmp tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.cmp td { color: var(--ink-2); }
.cmp .us { background: #F0FBF9; color: var(--teal-2); font-weight: 600; }
.cmp thead .us { color: var(--teal); background: #E3F6F2; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.print-btn { margin-top: 22px; }
@media (max-width: 760px) { .q-grid { grid-template-columns: 1fr; } }
@media print { .announce, .nav, .ask, .site-foot, .close-sec, .keep-sec, .print-btn, .hero-ctas { display: none !important; } .q-card, .cmp-wrap { break-inside: avoid; box-shadow: none; } }
.night .q-card, .night .cmp-wrap { background: #131D33; } .night .cmp thead th { background: #0F1830; } .night .cmp .us { background: rgba(94, 234, 212, 0.08); color: var(--mint); } .night .q-good { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); color: var(--mint); }

/* ---------- Specialty and size grid ---------- */
.sg-sec { padding: 10px 0 90px; }
.sg-panel { padding: 40px; border-radius: 26px; background: var(--paper-2); border: 1px solid var(--line); }
.sg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.sg-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.sg-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--teal); transition: transform 0.3s var(--spring); }
.sg-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sg-card h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 6px; }
.sg-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sg-card i { font-style: normal; font-size: 14px; font-weight: 700; color: var(--teal); margin-top: 2px; }
.sg-card:hover .sg-ico { transform: translateY(-3px) rotate(-4deg); }
.sg-card:hover h3 { color: var(--teal); }
.sg-size { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.sg-size-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.elev-h { text-align: center; margin-bottom: 24px; }
@media (max-width: 960px) { .sg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sg-grid { grid-template-columns: 1fr; } .sg-panel { padding: 26px 20px; } }
.night .sg-panel { background: #0F1830; } .night .sg-ico { background: #131D33; }
.callout.c1 { top: -16px; right: 9%; } .callout.c1::after { left: 30px; bottom: -5px; top: auto; } .callout.c3 { left: 7%; top: auto; bottom: -18px; } .callout.c3::after { left: 30px; right: auto; top: -5px; }

/* Placeholder lines: a finding exists, its details are shown on a call */
.ph-lines { display: flex; flex-direction: column; gap: 7px; padding: 3px 0; }
.ph { display: block; height: 9px; border-radius: 6px; background: linear-gradient(90deg, rgba(100, 116, 139, 0.16), rgba(100, 116, 139, 0.28), rgba(100, 116, 139, 0.16)); background-size: 200% 100%; animation: phShine 2.4s linear infinite; }
.t-alert .ph { background: linear-gradient(90deg, rgba(181, 71, 8, 0.14), rgba(181, 71, 8, 0.26), rgba(181, 71, 8, 0.14)); background-size: 200% 100%; }
@keyframes phShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.d-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ph { animation: none; } }

/* Footer: sign-up, trust line, social */
.foot-sign { margin: 18px 0 16px; max-width: 340px; }
.foot-sign label { display: block; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.fs-row { display: flex; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.fs-row:focus-within { border-color: var(--teal); }
.fs-row input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 14px; background: transparent; color: var(--ink); outline: none; }
.fs-row button { border: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; padding: 0 16px; }
.fs-msg { font-size: 12.5px; color: var(--teal); min-height: 16px; margin-top: 6px; }
.foot-sign .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-trust { display: inline-flex; align-items: center; gap: 10px; max-width: 340px; padding: 10px 14px; border-radius: 12px; border: 1px solid #CDEDE8; background: #F0FBF9; font-size: 13px; line-height: 1.4; color: var(--teal-2); text-decoration: none; }
.foot-trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot-social { display: flex; gap: 10px; margin-top: 12px; }
.foot-social a { width: 34px; height: 34px; display: grid !important; place-items: center; border-radius: 9px; border: 1px solid var(--line); padding: 0 !important; }
.foot-social svg { width: 16px; height: 16px; fill: var(--ink-2); }
.foot-social a:hover { border-color: var(--teal); } .foot-social a:hover svg { fill: var(--teal); }
.night .fs-row { background: #131D33; } .night .fs-row button { background: var(--mint); color: var(--navy); }
.night .foot-trust { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); color: var(--mint); }
.site-foot .foot-brand a.foot-trust { display: flex !important; width: fit-content; padding: 10px 14px; }
.foot-badges { display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.site-foot .foot-brand .foot-badges a.foot-trust { display: flex !important; align-items: center; gap: 12px; width: 100%; max-width: none; padding: 10px 14px; }
.foot-trust span { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; line-height: 1.35; }
.foot-trust span b { font-size: 13.5px; color: var(--ink); letter-spacing: -0.01em; }
.night .foot-trust span b { color: var(--mint); }

/* QA 11 Oct 2026: night mode */
.t-screen, .hs-flag { --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E8E2D7; --paper-2: #F4F0E9; color: var(--ink); }
.night .hs-flag { background: #FFF9F2; }
.night .callout.c2 { background: var(--mint); color: var(--navy); }
.night .fc-acts span { color: var(--ink); border-color: var(--line); }
.night .hs-flag .fc-acts .go { background: #0F172A; color: #fff; border-color: #0F172A; }
.night .hs-flag .fc-acts span:not(.go) { color: #0F172A; border-color: #E8E2D7; }
/* Each component carries its own text colour so it follows night mode (the root colour does not) */
.app, .person, .ask-card, .next-step, .q-card, .cmp-wrap, .sg-panel, .foot-sign, .flagcard, .dash-head, .new-pill { color: var(--ink); }
/* Night: teal accents become mint, light surfaces keep dark text */
.night .kpi.is-ready b, .night .fc-agent, .night .p-kicker, .night .person h3 em, .night .p-mail, .night .q-card i, .night .d-agent, .night .sg-card i, .night .more-all a, .night .new-pill b { color: var(--mint); }
.night .new-pill b { background: rgba(94, 234, 212, 0.14); }
.night .kpi.is-wait b { color: #FDB022; }
.tour-ctrl .t-next { color: #0F172A; }
.slip-form { --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E8E2D7; color: var(--ink); }
.slip-form select, .slip-form option, .slip-form input, .slip-form textarea { color: #0F172A; }
.hs-flag .fc-agent { color: #0F766E !important; }
.night .slip-form .pains label { background: #fff; color: #0F172A; } .night .slip-form .pains label:has(input:checked) { background: #F0FBF9; color: #0F766E; } .night .next-step i { color: var(--mint); }

/* Cork notes grow to fit their text: both faces share one grid cell, so the card is as tall as the longer face */
.note, .inner .note { height: auto; }
.note .card { position: relative; inset: auto; display: grid !important; min-height: 230px; }
.inner .note .card { min-height: 250px; }
.note .face { position: relative; inset: auto; grid-area: 1 / 1; }
.note .front { padding-bottom: 42px; }
.note .back { padding-bottom: 22px; }

/* Phones: a calmer header */
.menu-night { display: none; }
/* Phones and small tablets: logo · Book a call · hamburger (night mode lives in the menu) */
@media (max-width: 760px) {
  .nav .night-btn { display: none; }
  .menu-night { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); margin-top: 4px; background: none; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .nav-right .nav-book { order: 1; }
  .nav-right .nav-menu { order: 2; }
  .nav-menu summary { font-size: 0 !important; width: 42px; height: 40px; padding: 0 !important; border-radius: 10px !important; display: grid; place-items: center; color: var(--ink); }
  .nav-menu summary::before { content: ""; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: transform 0.25s var(--ease); }
  .nav-menu[open] summary::before { height: 18px; background: linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)); }
  .nav-menu-panel { min-width: 240px; }
  .nav-menu-panel a { padding: 11px 12px; font-size: 15px; }
}
@media (max-width: 400px) {
  .nav .wrap { width: calc(100% - 24px); gap: 8px; }
  .nav-book { padding: 9px 11px !important; }
  .brand { font-size: 15.5px; gap: 6px; } .brand img { height: 22px; width: auto; }
}
@media (max-width: 340px) { .brand { font-size: 14px; } .brand img { height: 19px; } .nav-right { gap: 5px; } }

/* Phone menu: a full-screen sheet under the header */
.menu-actions { display: none; }
@media (max-width: 760px) {
  html.menu-open, html.menu-open body { overflow: hidden; }
  .nav-menu-panel { position: fixed; left: 0; right: 0; bottom: 0; top: var(--sheet-top, 68px); min-width: 0 !important; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; padding: 6px 24px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; background: var(--paper); z-index: 60; animation: sheetIn 0.28s var(--ease); }
  @keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-menu-panel > a, .nav-menu-panel .menu-night { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px !important; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 18px !important; font-weight: 500; color: var(--ink); background: none; }
  .nav-menu-panel > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); margin-right: 4px; }
  .nav-menu-panel > a:hover { background: none; }
  .nav-menu-panel .menu-login-link { display: none; }
  .menu-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
  .menu-actions a { display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; }
  .ma-login { border: 1.5px solid var(--ink); color: var(--ink); }
  .ma-book { background: var(--ink); color: var(--paper); }
  .night .nav-menu-panel { background: var(--paper); }
  .night .ma-book { background: var(--mint); color: var(--navy); }
}
@media (max-width: 760px) { html.menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); } }
@media (max-width: 760px) { .nav-menu-panel .menu-actions a.ma-book { color: #fff; } .night .nav-menu-panel .menu-actions a.ma-book { color: var(--navy); } .nav-menu-panel .menu-actions a.ma-login { color: var(--ink); } }

/* Phones: one calm vertical rhythm between sections (desktop spacing was carrying over) */
@media (max-width: 760px) {
  main > section:where(:not(.hero):not(.ihero)), main > div > section.sealed-sec { padding-top: 52px !important; padding-bottom: 52px !important; }
  main > section.strip-sec { padding-top: 0 !important; padding-bottom: 28px !important; }
  main > section.keep-sec { padding-top: 8px !important; }
  .hero { padding-bottom: 36px !important; }
  /* product strip labels: a compact chip row instead of stacked pills */
  .hstrip { gap: 10px; }
  .hstrip .callout { display: inline-flex; padding: 7px 12px; font-size: 12.5px; box-shadow: none; animation: none; }
  .hstrip { flex-direction: row !important; flex-wrap: wrap; }
  .hstrip .hs-app { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  main > section.comic-sec, main > section.iso-sec, main > section.trio-sec { padding-top: 30px !important; }
  main > section.rcpt-sec { padding-top: 24px !important; padding-bottom: 0 !important; } .rcpt-sticky { padding-bottom: 0 !important; }
  main > section.person-sec { padding-top: 8px !important; }
  main > section.faq-sec, main > section.cork-sec { padding-bottom: 36px !important; }
  main > section.dossiers { padding-top: 20px !important; padding-bottom: 8px !important; }
  main > section.sg-sec { padding-top: 16px !important; }
  main > section.book-hero { padding-bottom: 12px !important; }
}
@media (max-width: 760px) {
  main > section.q-sec, main > section.tour-page { padding-top: 8px !important; }
  main > section.dossiers { padding-bottom: 0 !important; }
  main > section.dossiers + section.cork-sec { padding-top: 24px !important; }
  .dossiers .dossier:last-child { padding-bottom: 0 !important; margin-bottom: 0 !important; border-bottom: 0; }
}
@media (max-width: 760px) { .dossier { padding: 30px 0; } .dossiers .dossier:first-child { padding-top: 8px; border-top: 0; } }

/* Customer log in */
.login-sec { padding: 10px 0 90px; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.login-card { padding: 28px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.login-card h3 { font-size: 21px; letter-spacing: -0.02em; }
.login-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 8px; }
.night .login-card { background: #131D33; } .night .login-card .p-kicker { color: var(--mint); }
@media (max-width: 760px) { .login-grid { grid-template-columns: 1fr; } }

/* ---------- Desktop header: dropdown menus, Log in button ---------- */
.nav .wrap { position: relative; }
.nav-links.mega { gap: 4px; align-items: center; }
.mm { position: static; }
.mm-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 0; border-radius: 9px; background: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mm-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform 0.25s var(--ease); }
.mm:hover .mm-btn, .mm.is-open .mm-btn, .mm:focus-within .mm-btn { color: var(--ink); background: var(--paper-2); }
.mm:hover .mm-btn svg, .mm.is-open .mm-btn svg { transform: rotate(180deg); }
.mm.is-active .mm-btn { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 9px 9px 0 0; }
.mm-panel { position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 8px); width: min(760px, calc(100vw - 40px)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; z-index: 70; }
.mm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mm:hover .mm-panel, .mm.is-open .mm-panel, .mm:focus-within .mm-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mm-list { display: grid; gap: 4px; }
.mm-list a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mm-list a:hover, .mm-list a:focus-visible { background: var(--paper-2); }
.mm-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #F0FBF9; border: 1px solid #CDEDE8; color: var(--teal); }
.mm-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mm-list b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.mm-list small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mm-feature { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 14px; background: var(--navy); color: #E2E8F0; text-decoration: none; position: relative; overflow: hidden; }
.mm-feature::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 214, 190, 0.35), transparent 70%); }
.mm-f-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.mm-feature b { font-size: 18px; letter-spacing: -0.02em; color: #fff; line-height: 1.25; }
.mm-feature small { font-size: 13.5px; line-height: 1.5; color: #A8B3C4; }
.mm-feature i { margin-top: auto; font-style: normal; font-weight: 700; font-size: 14px; color: var(--mint); }
.nav-login { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; background: #fff; }
.nav-login:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 1180px) { .nav-login { display: none; } }
.night .mm-panel { background: #131D33; } .night .mm-list a:hover { background: #0F1830; } .night .mm-ico { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); color: var(--mint); } .night .mm-feature { background: #0B1222; border: 1px solid var(--line); } .night .nav-login { background: transparent; } .night .mm:hover .mm-btn, .night .mm.is-open .mm-btn { background: #131D33; }
.nav-links .mm-panel a { white-space: normal; }

/* ---------- Dropdowns v2: each opens under its own item, each has its own layout and accent ---------- */
.mm { position: relative; }
.mm-panel { left: -10px; transform: translateY(10px); top: calc(100% + 10px); width: auto; display: grid; gap: 14px; padding: 18px; border-top: 3px solid var(--mm-accent, var(--teal)); }
.mm:hover .mm-panel, .mm.is-open .mm-panel, .mm:focus-within .mm-panel { transform: none; }
.mm-panel::before { top: -16px; height: 16px; }
.mm-panel::after { content: ""; position: absolute; top: -9px; left: var(--caret-x, 44px); width: 14px; height: 14px; margin-left: -7px; background: var(--mm-accent, var(--teal)); transform: rotate(45deg); border-radius: 3px 0 0 0; z-index: -1; }
.mm-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 6px; }
.mm-col { display: flex; flex-direction: column; gap: 2px; }
.mm-col .mm-list, .mm-panel > a:not(.mm-tourbar) { }
.mm-panel a.mmi, .mm-tiles a, .mm-col > a:not(.mm-all), .mm-co > .mm-panel > a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mm-tiles a:hover, .mm-col > a:not(.mm-all):hover, .mm-co > .mm-panel > a:hover { background: var(--paper-2); }
.mm-panel b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: inherit; }
.mm-panel small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.mm-all { margin: 6px 10px 0; font-size: 13.5px; font-weight: 700; color: var(--teal); text-decoration: none; }

/* Product: 2 x 2 tiles, tour bar along the bottom */
.mm-product { --mm-accent: var(--teal); }
.mm-product .mm-panel { width: 580px; grid-template-columns: 1fr; }
.mm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mm-tourbar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; }
.mm-tourbar b { color: #fff; } .mm-tourbar small { color: #A8B3C4; }
.mm-tourbar i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--mint); white-space: nowrap; }
.mm-play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ribbon); display: grid; place-items: center; }
.mm-play::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Who it's for: specialties, sizes, ribbon card */
.mm-who { --mm-accent: #0A6CF0; }
.mm-who .mm-panel { width: 860px; grid-template-columns: 1.45fr 1fr 0.85fr; left: -120px; }
.mm-speclist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.mm-speclist a { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mm-speclist a:hover { background: #EEF4FF; color: #0A6CF0; }
.mm-speclist svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #0A6CF0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm-who .mm-ico { background: #EEF4FF; border-color: #D3E3FF; color: #0A6CF0; }
.mm-ribbon { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--ribbon); color: #fff; text-decoration: none; }
.mm-ribbon .mm-k { color: rgba(255, 255, 255, 0.85); margin: 0; }
.mm-ribbon b { font-size: 17px; color: #fff; } .mm-ribbon small { color: rgba(255, 255, 255, 0.9); }
.mm-ribbon i { margin-top: auto; font-style: normal; font-weight: 700; }

/* Resources: list + latest guides on a cream card */
.mm-res { --mm-accent: var(--gold); }
.mm-res .mm-panel { width: 640px; grid-template-columns: 1fr 1fr; left: -150px; }
.mm-res .mm-ico { background: #FFF6DB; border-color: #F3DFA2; color: #8A5A00; }
.mm-latest { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: #FFF9EC; border: 1px solid #F3E3B8; }
.mm-latest > a:not(.mm-all) { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 13.5px; line-height: 1.35; }
.mm-latest > a:not(.mm-all):hover { background: #fff; }
.mm-code { flex: none; font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--red); border: 1.5px solid var(--red); border-radius: 6px; padding: 3px 6px; transform: rotate(-3deg); background: #fff; }
.mm-latest .mm-all { color: #8A5A00; }

/* Company: compact, with a person to talk to */
.mm-co { --mm-accent: var(--mint); }
.mm-co .mm-panel { width: 360px; grid-template-columns: 1fr; left: auto; right: -10px; gap: 2px; }
.mm-co .mm-panel::after { left: auto; right: var(--caret-r, 44px); margin-left: 0; margin-right: -7px; }
.mm-person { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px; border-radius: 14px; background: #F0FBF9; border: 1px solid #CDEDE8; }
.mm-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ribbon); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.mm-person small a { color: var(--teal); font-weight: 600; text-decoration: none; }
.mm-cta { margin-left: auto; padding: 8px 12px; border-radius: 9px; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Night */
.night .mm-latest { background: #1A1F2A; border-color: #3A3420; } .night .mm-latest > a:not(.mm-all):hover { background: #131D33; } .night .mm-code { background: transparent; }
.night .mm-person { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); } .night .mm-cta { background: var(--mint); color: var(--navy) !important; }
.night .mm-speclist a:hover { background: #0F1830; color: #7CB2FF; } .night .mm-who .mm-ico { background: rgba(10, 108, 240, 0.15); border-color: rgba(10, 108, 240, 0.35); color: #7CB2FF; }
.night .mm-res .mm-ico { background: rgba(232, 179, 65, 0.12); border-color: rgba(232, 179, 65, 0.3); color: var(--gold); }

/* Letterboard: one groove under each row (a repeating background drifted out of line with the rows) */
.letterboard { background: #1B2233; }
.letterboard .title { margin-bottom: 0; padding-bottom: 14px; border-bottom: 2px solid #141A28; }
.letterboard a { border-radius: 0; padding: 11px 10px; border-bottom: 2px solid #141A28; }
.letterboard a:last-child { border-bottom: 0; }

/* Questions that unfold: the card grows to fit its answer, and the answer keeps clear space at the bottom
   for the folded-down flap (longer answers were running underneath it). */
.fold { display: grid !important; align-items: stretch; }
.fold .q, .fold .a { grid-area: 1 / 1; }
.fold .q { height: auto; min-height: 210px; }
.fold .a { position: relative; inset: auto; display: block !important; padding: 24px 22px 110px; }

/* ---------- Wordmark: Claira, with HEALTH stacked beneath at the same width ---------- */
.brand .bw { display: inline-flex; flex-direction: column; line-height: 1; }
.brand .bw b { font-weight: 800; font-size: 1.12em; letter-spacing: -0.03em; }
.brand .bw span { display: block; font-weight: 600; font-size: 0.5em; letter-spacing: 0.32em; text-transform: uppercase; color: var(--teal); margin-top: 3px; text-align: justify; text-align-last: justify; padding-left: 0.05em; }
.brand img { height: 34px; }
.night .brand .bw span { color: var(--mint); }
@media (max-width: 400px) { .brand img { height: 26px; } }

/* ---------- Homepage hero: no graph-paper grid (day and night) ---------- */
.hero { background: radial-gradient(ellipse at 30% 0%, #fff, var(--paper) 70%) !important; }
.night .hero { background: radial-gradient(ellipse at 30% 0%, #16213A, var(--paper) 70%) !important; }

/* ---------- Hero trust line ---------- */
.trust-line { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; }
.trust-line li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.trust-line svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.night .trust-line svg { stroke: var(--mint); }

/* ---------- Security & compliance: homepage section and Security page seals ---------- */
.sec-sec { padding: 110px 0; background: linear-gradient(180deg, var(--paper), #EEF6F4); }
.sec-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.sec-copy .sub { margin-bottom: 22px; }
.sec-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0 0 28px; }
.sec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.sec-list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: #E6F7F4; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.seals { display: grid; gap: 14px; color: var(--ink); }
.seal { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -36px rgba(15, 23, 42, 0.5); }
.seal-ico { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #F0FBF9, #CDEDE8); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1.5px #A7E3D9; }
.seal-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seal b { font-size: 17px; letter-spacing: -0.02em; align-self: end; }
.seal small { font-size: 13.5px; color: var(--muted); align-self: start; margin-top: 2px; }
.ihero-side .seals { width: 100%; max-width: 420px; }
@media (max-width: 960px) { .sec-in { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) { .sec-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { main > section.sec-sec { padding-top: 52px !important; padding-bottom: 52px !important; } }
.night .sec-sec { background: linear-gradient(180deg, var(--paper), #0F1C2A); }
.night .seal { background: #131D33; } .night .sec-list svg { background: rgba(94, 234, 212, 0.12); stroke: var(--mint); }
.night .seal-ico { background: radial-gradient(circle at 35% 30%, #1E3A3A, #0F2A2A); box-shadow: inset 0 0 0 2px #131D33, 0 0 0 1.5px rgba(94, 234, 212, 0.35); } .night .seal-ico svg { stroke: var(--mint); }

/* Inner page heroes: no graph-paper grid either (day and night) */
.ihero { background: radial-gradient(ellipse at 30% 0%, #fff, var(--paper) 70%) !important; }
.night .ihero { background: radial-gradient(ellipse at 30% 0%, #16213A, var(--paper) 70%) !important; }

/* Agent names (Scout, Assent, Chart, Dispatch, Reclaim) with their role underneath or beside */
.ag-role { display: block; font-family: var(--mono); font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-top: 2px; }
h2 .ag-role { display: inline-block; vertical-align: middle; margin: 0 0 0 10px; padding: 3px 8px; border-radius: 6px; background: #F0FBF9; border: 1px solid #CDEDE8; font-size: 11px; letter-spacing: 0.1em; }
.as-card b .ag-role { margin-top: 3px; }
.night .ag-role { color: var(--mint); } .night h2 .ag-role { background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.25); }

/* ---------- Agents: relay, promises, what changes per role ---------- */
.relay-sec { padding: 80px 0 40px; }
.relay { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: r; position: relative; }
.relay::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 3px; border-radius: 3px; background: var(--ribbon); opacity: 0.55; z-index: 0; }
.relay li { position: relative; z-index: 1; }
.relay a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 8px 18px; text-decoration: none; color: var(--ink); }
.r-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #CDEDE8; box-shadow: 0 14px 30px -18px rgba(15, 118, 110, 0.6); margin-bottom: 10px; transition: transform 0.3s var(--spring); }
.r-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.relay a:hover .r-ico { transform: translateY(-4px); }
.r-stage { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.relay b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.r-promise { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.d-promise { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--teal); margin: 4px 0 14px; }
.d-gets-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.teams-sec { padding: 70px 0 30px; }
.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.team-card { padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.team-card b { display: block; font-size: 20px; letter-spacing: -0.02em; margin: 10px 0 12px; }
.team-card ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.team-card li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.team-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
@media (max-width: 960px) {
  .relay { grid-template-columns: 1fr; gap: 10px; }
  .relay::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .relay a { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; column-gap: 14px; padding: 0 0 6px; }
  .r-ico { margin: 0; width: 64px; height: 64px; flex: none; }
  .relay a > :not(.r-ico) { flex: 1 1 60%; }
  .teams { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { main > section.relay-sec, main > section.teams-sec { padding-top: 40px !important; padding-bottom: 20px !important; } }
.night .r-ico, .night .team-card { background: #131D33; } .night .r-ico svg { stroke: var(--mint); } .night .d-promise { color: var(--mint); }

/* ---------- 19 Oct: removed from the header and hero (kept in the code, hidden) ---------- */
.nav .nav-login, .nav .night-btn, .nav .sound-btn, .new-pill, .aud, .menu-night, .menu-actions .ma-login { display: none !important; }

/* ---------- Leak pipe: flip-card labels (problem on the front, sealed-with agent on the back) ---------- */
.joint .lbl .pain, .joint .lbl .agent { opacity: 1 !important; }
.joint .lbl-front, .joint .lbl-back { transform-box: fill-box; transform-origin: center; }
.joint .lbl-card { stroke-width: 1; }
.joint .lbl-front .lbl-card { fill: #FDECEC; stroke: #F3C4BF; }
.joint .lbl-back .lbl-card { fill: #E6F7F4; stroke: #A7E3D9; }
.joint .lbl-front { transform: scaleY(1); transition: transform 0.22s ease-in 0.22s; }
.joint .lbl-back { transform: scaleY(0); transition: transform 0.22s ease-in 0s; }
.joint.is-sealed .lbl-front, .is-fixed .joint .lbl-front { transform: scaleY(0); transition: transform 0.22s ease-in 0s; }
.joint.is-sealed .lbl-back, .is-fixed .joint .lbl-back { transform: scaleY(1); transition: transform 0.3s var(--spring) 0.22s; }
.joint .lbl-back text { font-size: 9.5px; }
@media (prefers-reduced-motion: reduce) { .joint .lbl-front, .joint .lbl-back { transition: none !important; } }

/* ---------- Calculator: the figure in the middle, between the pile and the hourglass ---------- */
.tally .tally-visuals { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; }
.tally .tally-visuals .paper-pile { justify-self: center; transform: scale(0.72); transform-origin: center; margin: -30px -40px; }
.tally-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; max-width: 280px; }
.tally-center .money { font-size: clamp(42px, 4.6vw, 70px); }
.tally .tally-visuals .glass-wrap { justify-self: center; }
@media (max-width: 960px) {
  .tally .tally-visuals { grid-template-columns: 1fr; justify-items: center; }
  .tally-center { order: -1; max-width: none; }
  .tally .tally-visuals .paper-pile { margin: -40px 0; }
}
/* HEALTH set ink-edge to ink-edge under Claira: first H under the C, last H under the a (measured) */
.brand .bw span { letter-spacing: 0.4391em !important; margin-left: 0.0216em; margin-right: -0.4391em; padding-left: 0 !important; text-align: left !important; text-align-last: auto !important; }

/* ---------- Calculator: small hourglass up top, the figure gets the room ---------- */
.tally .tally-visuals { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "glass glass" "pile center"; row-gap: 4px; column-gap: 6px; }
.tally .tally-visuals .glass-wrap { grid-area: glass; justify-self: center; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 0; justify-items: start; margin-bottom: 6px; }
.tally .tally-visuals .glass-wrap .hourglass { width: 48px; height: 76px; grid-row: 1 / span 2; }
.tally .tally-visuals .glass-wrap .hours { font-size: 22px; align-self: end; }
.tally .tally-visuals .glass-wrap .hours-sub { font-size: 14px; align-self: start; }
.tally .tally-visuals .paper-pile { grid-area: pile; }
.tally .tally-visuals .tally-center { grid-area: center; max-width: none; justify-self: stretch; }
.tally .tally-visuals .tally-center .money { font-size: clamp(48px, 5.4vw, 84px); line-height: 1; }
.tally .tally-visuals .tally-center .per { max-width: 300px; }
@media (max-width: 960px) {
  .tally .tally-visuals { grid-template-columns: 1fr; grid-template-areas: "glass" "center" "pile"; }
  .tally .tally-visuals .paper-pile { margin: -40px 0 -30px; }
}

/* ---------- Footer: five link columns beside the brand ---------- */
.foot-grid { grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr)); gap: 28px; }
.site-foot .foot-grid a:not(.brand) { font-size: 13.5px; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.spec-pick[hidden] { display: none !important; }
/* Footer: every denial-code guide, one row of chips */
.site-foot .foot-codes { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; align-items: start; }
.site-foot .foot-codes h4 { margin: 6px 0 0; }
.site-foot .foot-codes > div { display: flex; flex-wrap: wrap; gap: 8px; }
.site-foot .foot-codes a { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); text-decoration: none; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.site-foot .foot-codes a:hover { border-color: var(--teal); color: var(--teal); }
.site-foot .foot-codes + .foot-base { margin-top: 22px; }
@media (max-width: 640px) { .site-foot .foot-codes { grid-template-columns: 1fr; } }
/* Pipe cards: one size, two rows, text centred on the card */
.joint .lbl text { dominant-baseline: central; }
.joint .lbl-back .agent-sub { font-size: 8px; font-weight: 600; letter-spacing: 0.14em; opacity: 0.75 !important; }
.joint .lbl-back .agent-name { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.joint .lbl-lead { stroke: #F3C4BF; stroke-width: 1.2; stroke-dasharray: 2 3; transition: stroke 0.3s; }
.joint.is-sealed .lbl-lead, .is-fixed .joint .lbl-lead { stroke: #7FD3C6; }


/* ================= Dropdowns v3: one calm, consistent style for every menu ================= */
.mm-btn { font-weight: 600; color: #334155; }
.mm:hover .mm-btn, .mm.is-open .mm-btn, .mm:focus-within .mm-btn { background: #F1F3F5; color: #0F172A; }
.mm-panel, .mm-who .mm-panel, .mm-res .mm-panel, .mm-co .mm-panel, .mm-product .mm-panel { top: calc(100% + 8px); padding: 10px; gap: 0; border: 1px solid #E5E7EB; border-top: 1px solid #E5E7EB; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 22px 50px -14px rgba(16, 24, 40, 0.22); transform: translateY(6px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s; }
.mm:hover .mm-panel, .mm.is-open .mm-panel, .mm:focus-within .mm-panel { transform: none; }
.mm-panel::after, .mm-co .mm-panel::after { display: none; }
.mm-k, .mm-ribbon .mm-k { font-family: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; margin: 8px 12px 6px; }
.mm-panel a.mmi, .mm-tiles a, .mm-col > a:not(.mm-all), .mm-co > .mm-panel > a { gap: 12px; padding: 10px 12px; border-radius: 10px; align-items: flex-start; transition: background 0.15s; }
.mm-tiles a:hover, .mm-col > a:not(.mm-all):hover, .mm-co > .mm-panel > a:hover { background: #F6F7F9; }
.mm-panel b { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; color: #0F172A; }
.mm-panel small { font-size: 12.75px; color: #6B7280; line-height: 1.45; margin-top: 2px; }
.mm-ico, .mm-who .mm-ico, .mm-res .mm-ico { width: 36px; height: 36px; border-radius: 9px; border: 0; background: #F3F4F6; color: #475569; transition: background 0.15s, color 0.15s; }
.mm-tiles a:hover .mm-ico, .mm-col > a:hover .mm-ico, .mm-co > .mm-panel > a:hover .mm-ico { background: #E6F7F4; color: var(--teal); }
.mm-all, .mm-latest .mm-all { margin: 8px 12px 4px; font-size: 13px; font-weight: 600; color: var(--teal); }
.mm-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Product: 2 x 2, with a light footer strip for the tour */
.mm-product .mm-panel { width: 560px; padding-bottom: 0; overflow: hidden; }
.mm-tiles { gap: 2px; padding: 0 0 8px; }
.mm-tourbar { margin: 4px -10px 0; padding: 14px 22px; border-radius: 0; background: #F8FAFC; border-top: 1px solid #EEF0F3; color: #0F172A; gap: 12px; }
.mm-tourbar b { color: #0F172A; font-size: 13.5px; } .mm-tourbar small { color: #6B7280; }
.mm-tourbar i { color: var(--teal); font-size: 13.5px; font-weight: 600; }
.mm-tourbar:hover { background: #F1F5F9; }
.mm-play { width: 30px; height: 30px; background: var(--teal); }
.mm-play::before { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; margin-left: 2px; }

/* Who it's for: three columns split by hairlines */
.mm-who .mm-panel { width: 840px; grid-template-columns: 1.4fr 1fr 0.95fr; }
.mm-who .mm-col { padding: 0 6px; }
.mm-who .mm-col + .mm-col { border-left: 1px solid #F0F1F3; }
.mm-speclist { gap: 0 4px; }
.mm-speclist a { padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: #334155; transition: background 0.15s, color 0.15s; }
.mm-speclist a:hover { background: #F6F7F9; color: #0F172A; }
.mm-speclist svg { width: 16px; height: 16px; stroke: #94A3B8; transition: stroke 0.15s; }
.mm-speclist a:hover svg { stroke: var(--teal); }
.mm-ribbon { margin: 4px 4px 4px 10px; padding: 18px; border-radius: 12px; background: #F3FAF8; border: 1px solid #D5EEE9; color: #0F172A; gap: 6px; }
.mm-ribbon .mm-k { margin: 0; color: var(--teal); }
.mm-ribbon b { font-size: 15.5px; color: #0F172A; } .mm-ribbon small { color: #475569; }
.mm-ribbon i { color: var(--teal); font-size: 13.5px; font-weight: 600; }
.mm-ribbon:hover { border-color: #A7E3D9; }

/* Resources: list, plus the latest guides on a quiet card */
.mm-res .mm-panel { width: 620px; }
.mm-latest { margin: 4px 4px 4px 10px; padding: 8px; border-radius: 12px; background: #F8FAFC; border: 1px solid #EEF0F3; gap: 0; }
.mm-latest > a:not(.mm-all) { padding: 9px 8px; font-size: 13px; color: #334155; border-radius: 8px; }
.mm-latest > a:not(.mm-all):hover { background: #fff; color: #0F172A; }
.mm-code { transform: none; font-size: 11px; font-weight: 600; color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 6px; padding: 2px 6px; }

/* Company: compact list, a contact row at the foot */
.mm-co .mm-panel { width: 340px; }
.mm-person { margin: 8px 2px 2px; padding: 12px; border-radius: 12px; background: #F8FAFC; border: 1px solid #EEF0F3; }
.mm-avatar { width: 36px; height: 36px; background: var(--teal); font-size: 12px; }
.mm-person b { font-size: 13.5px; }
.mm-cta { padding: 8px 12px; border-radius: 8px; background: #0F172A; font-size: 12.5px; font-weight: 600; }
.mm-who .mm-panel { width: 900px; grid-template-columns: 1.35fr 1.1fr 0.9fr; }
.mm-speclist a { white-space: nowrap; }

/* Dropdowns: only the script's .is-open shows a panel (no hover/focus leftovers), and a closing panel vanishes at once */
.mm .mm-panel, .mm:hover .mm-panel, .mm:focus-within .mm-panel { opacity: 0; visibility: hidden; transform: translateY(6px); transition: none; pointer-events: none; }
.mm.is-open .mm-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.16s ease, transform 0.16s ease; }
.mm:hover .mm-btn, .mm:focus-within .mm-btn { background: none; color: #334155; }
.mm:hover .mm-btn svg { transform: none; }
.mm.is-open .mm-btn { background: #F1F3F5; color: #0F172A; }
.mm.is-open .mm-btn svg { transform: rotate(180deg); }
.mm-btn:focus { outline: none; }
.mm-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* Every panel starts under its own button's left edge; the script nudges it back on screen if needed */
.mm-panel, .mm-who .mm-panel, .mm-res .mm-panel, .mm-product .mm-panel { left: 0; right: auto; }
.mm-co .mm-panel { left: auto; right: 0; }

/* ---------- Calculator in the light page theme (was a dark navy band) ---------- */
.calc-sec { background: var(--paper-2, #F4F0E9); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-sec::before { background: radial-gradient(ellipse 50% 60% at 85% 100%, rgba(15, 118, 110, 0.08), transparent 60%), radial-gradient(ellipse 40% 50% at 0% 0%, rgba(10, 108, 240, 0.06), transparent 60%); }
.calc-sec::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(15, 118, 110, 0.06), transparent 60%); }
.calc-sec .kicker { background: #F0FBF9; border-color: #CDEDE8; color: var(--teal); }
.calc-sec h2.big { color: var(--ink); }
.calc-sec h2.big em { color: var(--teal); }
.calc-sec .sub { color: var(--ink-2); }
.calc-sec .dial label { color: var(--ink-2); }
.calc-sec .dial output { color: var(--ink); }
.calc-sec .ruler::before { background:
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.22) 0 1px, transparent 1px 10px) 0 6px / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0 2px, transparent 2px 50px) 0 0 / 100% 18px no-repeat; }
.calc-sec .ruler input::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff, 0 8px 18px -6px rgba(10, 108, 240, 0.55); }
.calc-sec .ruler input:focus-visible { outline-color: var(--teal); }
.calc-sec .calc-note { color: var(--muted); }
.calc-sec .tally { padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(15, 23, 42, 0.4); }
.calc-sec .tally .label { color: var(--teal); }
.calc-sec .tally .per { color: var(--ink-2); }
.calc-sec .hg-glass { fill: rgba(15, 23, 42, 0.03); stroke: #64748B; }
.calc-sec .hg-cap { fill: #CBD5E1; }
.calc-sec .hours { color: var(--ink); }
.calc-sec .hours-sub { color: var(--muted); }
.calc-sec .paper-pile .sheet { border-color: #D9CFBD; }

/* ================= Agent spotlight pages (/agents/<name>.html) ================= */
.spot-card { position: relative; width: min(340px, 100%); margin-inline: auto; padding: 30px 28px 26px; border-radius: 22px; background: linear-gradient(160deg, #0F172A, #13315C); color: #fff; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.7); transform: rotate(-2deg); }
.spot-card::after { content: ''; position: absolute; right: -60px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 234, 212, 0.35), transparent 70%); }
.spot-card .sc-top { display: flex; justify-content: space-between; align-items: center; }
.spot-card .sc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(94, 234, 212, 0.14); border: 1px solid rgba(94, 234, 212, 0.35); }
.spot-card .sc-ico svg { width: 28px; height: 28px; fill: none; stroke: #5EEAD4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spot-card .sc-num { font-family: var(--mono); font-size: 40px; font-weight: 700; color: rgba(255, 255, 255, 0.14); }
.spot-card .sc-stage { display: block; margin-top: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #94A3B8; }
.spot-card .sc-name { display: block; font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1.05; margin-top: 4px; }
.spot-card .sc-role { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #5EEAD4; margin-top: 6px; }
.spot-card .sc-promise { display: block; margin-top: 18px; font-size: 16px; line-height: 1.5; color: #CBD5E1; position: relative; z-index: 1; }
.spot-card .sc-human { display: inline-block; margin-top: 18px; font-size: 12.5px; font-weight: 700; color: #0F172A; background: #5EEAD4; padding: 5px 11px; border-radius: 999px; position: relative; z-index: 1; }
.spot-sec { padding: 84px 0; }
.spot-sec.alt { background: var(--paper-2, #F4F0E9); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.spot-item { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.spot-item .si-tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E6F7F4; margin-bottom: 14px; }
.spot-item .si-tick svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spot-item h3 { font-size: 17.5px; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.spot-item p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.spot-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.spot-decide { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spot-decide li { position: relative; padding: 18px 18px 18px 52px; border-radius: 14px; background: #FFF9E6; border: 1px solid #F3E3B8; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.spot-decide li::before { content: ''; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: #0F172A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E") center / 14px no-repeat; }
.spot-codes { display: flex; flex-wrap: wrap; gap: 10px; }
.spot-codes a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14.5px; transition: border-color 0.2s, transform 0.2s; }
.spot-codes a:hover { border-color: var(--teal); transform: translateY(-2px); }
.spot-codes a span { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 6px; padding: 2px 7px; }
.relay li.is-current a { border-color: var(--teal) !important; background: #F0FBF9 !important; box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15); }
.relay li.is-current .r-stage::after { content: ' · You are here'; color: var(--teal); }
.spot-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.spot-pager a { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.spot-pager a:hover { border-color: var(--teal); }
.spot-pager a small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spot-pager a b { font-size: 17px; } .spot-pager a.next { text-align: right; }
.d-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--teal); text-decoration: none; }
.d-more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .spot-grid { grid-template-columns: 1fr 1fr; } .spot-split { grid-template-columns: 1fr; gap: 28px; } .spot-card { transform: none; } }
@media (max-width: 560px) { .spot-grid { grid-template-columns: 1fr; } .spot-sec { padding: 60px 0; } }
/* Product menu: the five agents, one row */
.mm-product .mm-panel { width: 640px; }
.mm-agents { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 0 0 8px; }
.mm-agents a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background 0.15s; }
.mm-agents a:hover { background: #F6F7F9; }
.mm-agents a:hover .mm-ico { background: #E6F7F4; color: var(--teal); }
.mm-agents .mm-ico { width: 32px; height: 32px; }
.mm-agents b { font-size: 13.5px; } .mm-agents small { font-size: 12px; }

/* ================= Security: commitment, masked PHI, controls, legal framework ================= */
.commit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.commit-card { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(15, 23, 42, 0.4); }
.commit-ico, .control-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #E6F7F4; border: 1px solid #CDEDE8; margin-bottom: 16px; }
.commit-ico svg, .control-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.commit-card h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--ink); }
.commit-card p, .control p, .law p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.control { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.control:hover { border-color: #A7E3D9; transform: translateY(-3px); }
.control h3 { font-size: 16.5px; letter-spacing: -0.015em; margin-bottom: 6px; color: var(--ink); }
.control .control-ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.control .control-ico svg { width: 21px; height: 21px; }
.laws { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.law { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.law-badge { position: relative; display: grid; place-items: center; align-content: center; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1E3A6B, #0F172A 70%); box-shadow: inset 0 0 0 3px #0F172A, inset 0 0 0 5px rgba(94, 234, 212, 0.55); color: #fff; text-align: center; }
.law-badge b { font-family: var(--mono); font-size: 18px; letter-spacing: 0.04em; line-height: 1; color: #5EEAD4; }
.law-badge i { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.18em; margin-top: 4px; color: #CBD5E1; }
.law h3 { font-size: 17px; letter-spacing: -0.015em; color: var(--ink); }
.law-cite { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--teal); margin: 3px 0 8px; }
.mask-card { position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(15, 23, 42, 0.45); }
.mask-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mask-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mask-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #E6F7F4; color: var(--teal); font-size: 12.5px; font-weight: 700; }
.mask-pill svg, .mask-foot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mask-rows { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mask-rows > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mask-rows > div:last-child { border-bottom: 0; }
.mask-rows dt { color: var(--muted); font-size: 14px; }
.mask-rows dd { margin: 0; font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.06em; color: var(--ink); }
.mask-rows dd.mask-role { font-family: inherit; letter-spacing: 0; font-size: 13.5px; color: #8A5A00; background: #FFF6DB; border-radius: 6px; padding: 2px 8px; justify-self: start; }
.mask-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.mask-foot svg { color: var(--teal); }
.mask-tag { position: absolute; right: 16px; bottom: -11px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2, #F4F0E9); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
/* Homepage security band: commitment + the seven controls as icon chips */
.sec-sec .sec-commit { margin: 18px 0 22px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.sec-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; list-style: none; padding: 0; margin: 0 0 26px; }
.sec-controls li { display: flex; align-items: flex-start; gap: 12px; }
.sec-controls .control-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.sec-controls .control-ico svg { width: 18px; height: 18px; }
.sec-controls b { display: block; font-size: 14.5px; color: var(--ink); }
.sec-controls small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.sec-laws { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sec-laws span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sec-laws span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0F172A; color: #5EEAD4; font-family: var(--mono); font-size: 9.5px; }
@media (max-width: 1100px) { .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .commit, .laws { grid-template-columns: 1fr; } .sec-controls { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .controls { grid-template-columns: 1fr; } .mask-rows > div { grid-template-columns: 1fr; gap: 2px; } }
/* Keep reading: its own breathing room after the dark close band */
.keep-sec { padding: 76px 0 92px; }
.keep-h { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 22px; }
.keep-row { gap: 16px; }
.keep-card { padding: 22px 24px; gap: 6px; }
@media (max-width: 760px) { main > section.keep-sec { padding-top: 48px !important; padding-bottom: 56px !important; } }

/* ================= "One claim, start to finish": the agents-at-work card (homepage) ================= */
.run-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; max-width: 1040px; margin: 70px auto 0; text-align: left; }
.run-copy h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.12; margin: 12px 0 12px; color: var(--ink); }
.run-copy h3 em { font-family: var(--serif); font-weight: 400; color: var(--teal); }
.run-copy p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; margin-bottom: 16px; }
.run { position: relative; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 36px 70px -42px rgba(15, 23, 42, 0.45); }
.run-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid #F0F1F3; margin-bottom: 8px; }
.run-head b { font-size: 15px; color: var(--ink); }
.run-live { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: run-live 1.8s infinite; }
@keyframes run-live { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.run-tag { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: #F6F7F9; border: 1px solid #EEF0F3; border-radius: 999px; padding: 4px 9px; }
.run-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.run-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; transition: background 0.3s, opacity 0.3s; }
.run-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #F3F4F6; color: #64748B; transition: background 0.3s, color 0.3s; }
.run-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.run-txt b { display: block; font-size: 14px; color: var(--ink); }
.run-do { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.run-badge { font-size: 12px; font-weight: 700; color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 999px; padding: 4px 9px; white-space: nowrap; transition: opacity 0.3s, transform 0.3s; }
/* states, driven by the script: waiting, working, done */
.run.is-playing .run-step { opacity: 0.38; }
.run.is-playing .run-step .run-badge { opacity: 0; transform: translateX(-6px); }
.run.is-playing .run-step.is-doing { opacity: 1; background: #F0FBF9; }
.run.is-playing .run-step.is-doing .run-ico { background: var(--teal); color: #fff; animation: run-pulse 1.1s ease-in-out infinite; }
.run.is-playing .run-step.is-doing .run-do::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 7px; vertical-align: -1px; border-radius: 50%; border: 2px solid #A7E3D9; border-top-color: var(--teal); animation: run-spin 0.8s linear infinite; }
.run.is-playing .run-step.is-done { opacity: 1; }
.run.is-playing .run-step.is-done .run-ico { background: #E6F7F4; color: var(--teal); }
.run.is-playing .run-step.is-done .run-badge { opacity: 1; transform: none; }
@keyframes run-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.35); } 50% { box-shadow: 0 0 0 6px rgba(15, 118, 110, 0); } }
@keyframes run-spin { to { transform: rotate(360deg); } }
.run-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid #F0F1F3; transition: opacity 0.35s; }
.run-wait { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #8A5A00; }
.run-wait::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; }
.run-ok { border: 0; border-radius: 9px; padding: 9px 16px; background: #0F172A; color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: transform 0.15s, background 0.2s; }
.run-ok:hover { transform: translateY(-1px); }
.run.is-playing:not(.is-ready) .run-foot { opacity: 0.35; }
.run.is-playing:not(.is-ready) .run-ok { pointer-events: none; }
.run.is-approved .run-wait { color: #047857; } .run.is-approved .run-wait::before { background: #10B981; }
.run.is-approved .run-ok { background: #10B981; }
@media (max-width: 900px) { .run-wrap { grid-template-columns: 1fr; gap: 28px; margin-top: 50px; } }
@media (max-width: 480px) { .run-step { grid-template-columns: auto minmax(0, 1fr); } .run-badge { grid-column: 2; justify-self: start; } .run-tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .run-live, .run-step .run-ico { animation: none !important; } }
@media (max-width: 480px) { .run.is-playing .run-step:not(.is-done) .run-badge { display: none; } .run-do { white-space: normal; } }
/* Mini "at work" card in each agent page hero */
.run-mini { width: min(440px, 100%); margin-inline: auto; }
.run-agent { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0F172A; }
.run-agent svg { width: 15px; height: 15px; fill: none; stroke: #5EEAD4; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.run-num { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.run-mini .run-do { font-size: 14px; color: var(--ink); margin: 0; }
.run-mini.is-playing .run-step:not(.is-done):not(.is-doing) .run-do { color: var(--muted); }
.run-mini .run-step { padding: 12px 10px; }
.laws .law:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ================= Claira Health platform page + Partners ================= */
.ways2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; margin: 0 auto; }
.way2, .pcard { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.way2 h3, .pcard h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.way2 p, .pcard p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; flex: 1; }
.way2 .control-ico, .pcard .control-ico { margin-bottom: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; }
.pk { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.pcard:hover, .way2:hover { border-color: #A7E3D9; }
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps4 li { padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.steps4 .step-n, .who-n-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #5EEAD4; font-family: var(--mono); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.steps4 h3 { font-size: 17px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 6px; }
.steps4 p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 960px) { .pgrid, .steps4 { grid-template-columns: 1fr 1fr; } .ways2, .pgrid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pgrid, .steps4 { grid-template-columns: 1fr; } }

/* ================= Homepage: who we work with, managed services, security carousel ================= */
.who-sec, .mgd-sec { padding: 92px 0; }
.who-sec { background: var(--paper-2, #F4F0E9); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.who-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.who-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.5); }
.who-n { font-family: var(--mono); font-size: 13px; color: var(--teal); letter-spacing: 0.1em; }
.who-card h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.who-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.who-card i { font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--teal); }
.mgd { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.mgd-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mgd-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mgd-item .control-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; margin: 0; }
.mgd-item .control-ico svg { width: 19px; height: 19px; }
.mgd-item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.mgd-item small { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.mgd-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.mgd-points li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15.5px; }
.mgd-points li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E6F7F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
/* security: one headline, an icon carousel, one button */
.sec-sec .sec-solo { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-marquee { position: relative; overflow: hidden; margin: 36px 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sec-track { display: flex; gap: 16px; width: max-content; animation: sec-scroll 34s linear infinite; }
.sec-marquee:hover .sec-track { animation-play-state: paused; }
.sec-tile { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 190px; height: 160px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(15, 23, 42, 0.5); text-align: center; padding: 16px; }
.sec-tile .control-ico { width: 58px; height: 58px; border-radius: 16px; margin: 0; }
.sec-tile .control-ico svg { width: 28px; height: 28px; }
.sec-tile b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
@keyframes sec-scroll { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .sec-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .sec-track [aria-hidden="true"] { display: none; } .sec-marquee { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 960px) { .who { grid-template-columns: 1fr 1fr; } .mgd { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 560px) { .who, .mgd-list { grid-template-columns: 1fr; } .who-sec, .mgd-sec { padding: 60px 0; } .sec-tile { width: 160px; height: 140px; } }
.nav .nav-book { transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; } .nav .nav-book.is-tucked { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
/* Calculator: the pile keeps to its own column; the figure never spills out of the card */
@media (min-width: 961px) { .tally .tally-visuals { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); column-gap: 18px; } .tally .tally-visuals .paper-pile { margin: -36px 0 -24px; justify-self: center; max-width: 100%; } }
.tally .tally-visuals .tally-center { min-width: 0; overflow: hidden; }
.tally .tally-visuals .tally-center .money { white-space: nowrap; letter-spacing: -0.04em; }
.calc-sec .tally { overflow: hidden; }

/* ================= CEO round 3: slimmer bars, calmer hero ================= */
.announce { min-height: 32px; padding: 5px 44px; font-size: 13px; }
.nav .wrap { height: 58px; }
.hero { padding-top: 52px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.02; margin: 0 0 24px; }
.hero .sub { font-size: 17.5px; line-height: 1.6; max-width: 520px; margin-bottom: 40px; }
.hero-ctas { gap: 14px; }
.hero .hero-ctas + * { margin-top: 22px; }
@media (max-width: 640px) { .announce { min-height: 30px; padding: 5px 40px 5px 14px; font-size: 12px; } .nav .wrap { height: 54px; } .hero h1 { font-size: clamp(34px, 9vw, 44px); } }
/* Specialty pages: the four truest denials, highlighted */
.code-card { position: relative; }
.code-card.is-top { border-color: #F3C4BF !important; box-shadow: 0 0 0 1px #F3C4BF, 0 18px 34px -26px rgba(180, 35, 24, 0.45); background: #FFFBFA !important; }
.code-card .top-tag { position: absolute; top: 12px; right: 12px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 999px; padding: 3px 8px; }
/* Calculator: the numbers lead; hourglass and paper stack step back */
.tally .tally-visuals .glass-wrap .hourglass { width: 34px; height: 54px; }
.tally .tally-visuals .glass-wrap .hours { font-size: 26px; }
.tally .tally-visuals .paper-pile { transform: scale(0.5) !important; margin: -70px -40px -60px !important; }
@media (min-width: 961px) { .tally .tally-visuals { grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr) !important; } }
.tally .tally-visuals .tally-center .label { font-size: 12px; }
.tally .tally-visuals .tally-center .per { font-size: 18px; }
@media (max-width: 960px) { .tally .tally-visuals .paper-pile { margin: -80px 0 -70px !important; } }
/* Security carousel: compact pills, not big boxes */
.sec-marquee { margin: 30px 0 32px; }
.sec-track { gap: 12px; animation-duration: 28s; }
.sec-tile { flex-direction: row; width: auto; height: auto; padding: 10px 18px 10px 10px; gap: 10px; border-radius: 999px; box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.5); }
.sec-tile .control-ico { width: 34px; height: 34px; border-radius: 50%; }
.sec-tile .control-ico svg { width: 17px; height: 17px; }
.sec-tile b { font-size: 14px; white-space: nowrap; }
@media (max-width: 560px) { .sec-tile { width: auto; height: auto; } }
/* Partners: requirements, tiers, practice matching */
.preq { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 6px; width: 100%; }
.preq li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.preq li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #A7E3D9; }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 960px; margin: 0 auto; }
.tier { position: relative; padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tier h3 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.tier > p { color: var(--muted); margin: 4px 0 16px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15px; }
.tier li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #E6F7F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tier-premium { border-color: #A7E3D9; box-shadow: 0 0 0 1px #A7E3D9, 0 30px 60px -44px rgba(15, 118, 110, 0.6); }
.tier-badge { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #0F172A; background: #5EEAD4; border-radius: 999px; padding: 4px 10px; }
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.connect .sub { margin-bottom: 24px; }
.steps3 { grid-template-columns: 1fr !important; gap: 12px !important; }
.steps3 li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px !important; }
.steps3 .step-n { grid-row: span 2; margin: 0 !important; }
@media (max-width: 960px) { .tiers, .connect { grid-template-columns: 1fr; } }
/* Managed services & billing partners (homepage) */
.mgd-head { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: 0 auto 36px; }
.mgd-head .sub { margin-inline: auto; }
.mgd-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; }
.mgd-path { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.45); }
.mgd-path h3 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.mgd-path > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.mgd-path > p a { color: var(--teal); font-weight: 600; }
.mgd-path .mgd-points { margin: 6px 0 18px; }
.mgd-path .btn { margin-top: auto; }
.mgd-tag { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: #F0FBF9; border: 1px solid #CDEDE8; border-radius: 999px; padding: 4px 10px; }
.mgd-tag-premium { color: #0F172A; background: #5EEAD4; border-color: #5EEAD4; }
.mgd-premium { border-color: #A7E3D9; box-shadow: 0 0 0 1px #A7E3D9, 0 30px 60px -44px rgba(15, 118, 110, 0.55); }
.mgd-steps { max-width: 1040px; margin: 22px auto 0; padding: 18px 22px; border-radius: 16px; background: var(--paper-2, #F4F0E9); border: 1px solid var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mgd-steps-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.mgd-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.mgd-steps li { flex: 1 1 200px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mgd-steps li b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #5EEAD4; font-family: var(--mono); font-size: 12px; }
.mgd-chips { max-width: 1040px; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mgd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mgd-chip .control-ico { width: 28px; height: 28px; border-radius: 50%; margin: 0; }
.mgd-chip .control-ico svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .mgd-paths { grid-template-columns: 1fr; } .mgd-tag { position: static; align-self: flex-start; } }

/* ================= FAQ: compact accordion rows (were tall flip cards) ================= */
.folds { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px 14px !important; align-items: start; max-width: 1040px; margin: 0 auto; }
.fold { display: block !important; min-height: 0 !important; perspective: none; }
.fold .q, .fold .a { grid-area: auto !important; }
.fold .q { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; min-height: 0 !important; height: auto !important; padding: 16px 20px; transform: none !important; border-radius: 12px; transition: border-color 0.2s, border-radius 0.2s; cursor: pointer; }
.fold .q b { font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
.fold .q i { flex: none; margin: 0 !important; width: 26px; height: 26px; border-radius: 50%; background: #F0FBF9; border: 1px solid #CDEDE8; font-size: 0 !important; position: relative; transition: transform 0.2s; }
.fold .q i::before, .fold .q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--teal); border-radius: 2px; }
.fold .q i::after { transform: rotate(90deg); transition: transform 0.2s; }
.fold:hover .q { border-color: #A7E3D9; }
.fold .a { position: static !important; display: none !important; inset: auto; padding: 0 20px 18px !important; margin-top: -6px; background: #fff; border: 1px solid #A7E3D9; border-top: 0; border-radius: 0 0 12px 12px; font-family: inherit !important; font-size: 15px !important; line-height: 1.6; color: var(--ink-2); text-align: left; }
.fold.is-open .q { border-color: #A7E3D9; border-bottom-color: transparent; border-radius: 12px 12px 0 0; }
.fold.is-open .q i::after { transform: rotate(0deg); }
.fold.is-open .a { display: block !important; }
@media (max-width: 760px) { .folds { grid-template-columns: 1fr !important; } }
/* Managed services & billing partners: compact */
.mgd-sec { padding: 76px 0 !important; }
.mgd2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.mgd2 .sub { margin-bottom: 18px; }
.mgd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; max-width: none; justify-content: flex-start; }
.mgd-chip { padding: 4px 12px 4px 4px; font-size: 13px; }
.mgd-chip .control-ico { width: 24px; height: 24px; }
.mgd-chip .control-ico svg { width: 13px; height: 13px; }
.mgd-opts { display: grid; gap: 12px; }
.mgd-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 0.2s, transform 0.2s; }
.mgd-opt:hover { border-color: var(--teal); transform: translateY(-2px); }
.mgd-opt .control-ico { width: 42px; height: 42px; margin: 0; }
.mgd-opt .control-ico svg { width: 21px; height: 21px; }
.mgd-opt-t b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; letter-spacing: -0.01em; }
.mgd-opt-t b em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #0F172A; background: #5EEAD4; border-radius: 999px; padding: 3px 8px; font-weight: 700; }
.mgd-opt-t small { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.mgd-opt-t .u { text-decoration: underline; text-underline-offset: 2px; }
.mgd-opt i { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--teal); white-space: nowrap; }
.mgd-opt-premium { border-color: #A7E3D9; box-shadow: 0 0 0 1px #A7E3D9; }
.mgd-how { font-size: 13.5px; color: var(--muted); margin: 2px 4px 0; }
.mgd-how b { color: var(--ink); }
@media (max-width: 900px) { .mgd2 { grid-template-columns: 1fr; gap: 24px; } .mgd-opt { grid-template-columns: auto minmax(0, 1fr); } .mgd-opt i { grid-column: 2; } }
/* FAQ: one clean box per item (no flip shadow, no seam between question and answer) */
.fold { border: 1px solid var(--line) !important; border-radius: 12px !important; background: #fff !important; overflow: hidden; box-shadow: none !important; transition: border-color 0.2s; }
.fold:hover, .fold.is-open { border-color: #A7E3D9 !important; }
.fold .q { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; filter: none !important; }
.fold.is-open .q { border-radius: 0 !important; }
.fold .a { border: 0 !important; border-radius: 0 !important; margin: 0 !important; box-shadow: none !important; padding: 0 20px 18px !important; background: transparent !important; }
.fold .a::before, .fold .a::after, .fold .q::before, .fold .q::after { display: none !important; }
/* FAQ columns stack independently, so an open answer never leaves a gap beside a closed one */
.folds { display: block !important; columns: 2; column-gap: 14px; }
.fold { break-inside: avoid; margin: 0 0 10px !important; width: 100%; }
@media (max-width: 760px) { .folds { columns: 1; } }
/* Hero, round 2: smaller type, more air between the parts (Adonis-like rhythm) */
.hero h1 { font-size: clamp(32px, 3.5vw, 52px) !important; line-height: 1.05; margin: 0 0 30px !important; }
.hero .sub { font-size: 17px !important; max-width: 480px; margin: 0 0 44px !important; }
.hero .hero-ctas { margin-bottom: 30px; }
.hero .hero-ctas .btn { padding: 13px 22px; font-size: 15px; }
.hero .trust-line { margin-top: 18px; }
@media (max-width: 640px) { .hero h1 { font-size: clamp(30px, 8.4vw, 40px) !important; margin-bottom: 22px !important; } .hero .sub { margin-bottom: 32px !important; } }
/* Solutions: the agent cards and the "Agents at work" run, side by side in one section */
.deal-sec { padding-bottom: 80px; }
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; margin-top: 30px; text-align: left; }
.duo-cards { min-width: 0; }
.duo-cards .hand { transform: scale(0.72); transform-origin: 50% 0; margin: 0 0 -120px; }
.duo-cards .deal-foot { text-align: center; font-size: 16px; }
.duo-k { display: flex; align-items: center; gap: 10px; margin: 0 0 12px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.duo-run .run { margin: 0; }
@media (max-width: 1100px) { .duo { grid-template-columns: 1fr; gap: 40px; } .duo-cards .hand { transform: none; margin: 0; } .duo-run { max-width: 560px; margin: 0 auto; width: 100%; } }
/* Linked cards and run: one caption, a lifted card glows teal, and its run row is lit */
.duo-cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.duo { margin-top: 12px; align-items: center; }
.duo-cards .agent-card.is-up { box-shadow: 0 0 0 2px #5EEAD4, 0 2px 0 var(--line), 0 40px 60px -24px rgba(15, 118, 110, 0.55) !important; }
.run .run-step.is-hl { background: #F0FBF9; opacity: 1 !important; }
.run .run-step.is-hl .run-ico { background: var(--teal); color: #fff; }
.run .run-step { cursor: default; }
/* Calculator: a smaller hourglass */
.tally .tally-visuals .glass-wrap .hourglass { width: 24px !important; height: 38px !important; }
.tally .tally-visuals .glass-wrap { column-gap: 10px; }

/* Closed mega-menu panels take no space, so a wide panel can't push the page sideways */
@media (min-width: 761px) {
  .mm:not(.is-open) .mm-panel { display: none; }
  @starting-style { .mm.is-open .mm-panel { opacity: 0; transform: translateY(6px); } }
}

/* ---------- Independent HIPAA attestation badge (Prescient Security) ---------- */
.hipaa-badge { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; }
.hipaa-badge img { display: block; height: auto; max-width: 100%; filter: drop-shadow(0 14px 22px rgba(42, 32, 110, 0.18)); }
.hipaa-badge figcaption { font-size: 13.5px; line-height: 1.45; color: var(--muted, #5b6576); max-width: 26ch; }
.hipaa-badge figcaption b { color: var(--ink, #0F172A); font-weight: 700; }
.hipaa-badge.is-inline { grid-template-columns: auto auto; align-items: center; justify-content: center; text-align: left; gap: 14px; margin: 18px auto 0; }
.hipaa-badge.is-inline img { width: 84px; }
.hipaa-badge.is-inline figcaption { max-width: 30ch; }
.ihero-side .hipaa-badge img { width: 220px; }
@media (max-width: 760px) { .ihero-side .hipaa-badge img { width: 150px; } .hipaa-badge.is-inline img { width: 64px; } }
