/* 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; }
