/* FamHealy website. Same brand as the app: ink navy, lagoon teal, mist canvas.
   Amber is used only for the SOS button in the demo. */
@font-face { font-family: Fraunces; src: url(/fonts/fraunces-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/fonts/fraunces-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Noto Sans Devanagari'; src: url(/fonts/noto-sans-devanagari-devanagari-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --navy: #102A43; --navy-2: #0B1F33; --ink-2: #33475B; --muted: #5B6B7A;
  --teal: #07706E; --teal-3: #055856; --mint: #8FDCD4; --coral: #F28C6F;
  --amber: #FFB84D; --sos-ink: #9B1C1C;
  --canvas: #EDF2F2; --sheet: #fff; --line: #D3DDE0; --soft: #C9D6E0;
  --t-vault: #E2EFEE; --c-vault: #07706E;
  --t-sos: #FFF3E0;   --c-sos: #874600;
  --t-track: #FDE9E2; --c-track: #B4532F;
  --t-care: #EAF0E6;  --c-care: #4C6B3C;
  --t-doc: #E5EAF2;   --c-doc: #2B4A72;
  --t-cover: #F1E9F3; --c-cover: #6B4A7A;
  --serif: Fraunces, Georgia, 'Times New Roman', serif;
  --sans: Inter, 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--navy); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(237,242,242,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(16,42,67,.07); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 600 22px/1 var(--serif); letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; background: var(--teal); color: #fff; transition: background .15s, box-shadow .15s; }
.btn:hover { background: var(--teal-3); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--canvas); }
.btn.line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn.line-light:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(44px, 7.6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; }
h3 { font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); max-width: 48ch; }
.sub { color: var(--ink-2); max-width: 58ch; margin: 14px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
section { padding: 84px 0; }
.sec-head { margin-bottom: 40px; }

/* ---------- page hero ---------- */
.hero { padding-top: 80px; padding-bottom: 64px; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin: 26px 0 34px; }
.page-hero { padding-top: 72px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 72px); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }

/* ---------- the night story (home) ---------- */
.night { background: var(--navy-2); color: #fff; padding: 96px 0; }
.night h2 { color: #fff; max-width: 15ch; }
.night .sub { color: var(--soft); }
.night-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; margin-top: 48px; }
.story { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255,255,255,.16); }
.story li { position: relative; padding: 0 0 34px 30px; }
.story li:last-child { padding-bottom: 0; }
.story li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.story time { display: block; font: 400 30px/1.1 var(--serif); color: var(--mint); margin-bottom: 6px; }
.story strong { display: block; font-size: 18px; margin-bottom: 4px; }
.story p { margin: 0; color: var(--soft); max-width: 46ch; }
.story .tag { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.night .fine { margin-top: 40px; font-size: 15px; color: var(--soft); max-width: 60ch; }

/* ---------- SOS demo phone ---------- */
.demo { position: sticky; top: 100px; }
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #F3F7F7; color: var(--navy); border-radius: 42px; padding: 14px; box-shadow: 0 0 0 10px #1C3550, 0 30px 70px rgba(0,0,0,.45); }
.screen { background: var(--canvas); border-radius: 30px; min-height: 520px; padding: 22px 18px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.screen .bar { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.screen h4 { font: 600 19px/1.25 var(--serif); margin: 0 0 4px; }
.screen p { font-size: 14px; color: var(--ink-2); margin: 0; }
.sos-btn { margin: 34px auto 18px; width: 168px; height: 168px; border-radius: 50%; border: 0; cursor: pointer; background: var(--amber); color: var(--sos-ink);
  font: 700 34px/1 var(--sans); letter-spacing: .02em; box-shadow: 0 0 0 12px rgba(255,184,77,.25), 0 14px 30px rgba(155,28,28,.25); }
.sos-btn:active { transform: scale(.97); }
.sos-btn span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; margin-top: 6px; }
.count { font: 400 96px/1 var(--serif); text-align: center; margin: 40px 0 8px; color: var(--sos-ink); }
.screen .cancel { margin-top: auto; }
.screen .cancel button, .screen .reset { width: 100%; min-height: 48px; border-radius: 999px; border: 0; cursor: pointer; font: 600 15px/1 var(--sans); background: var(--navy); color: #fff; }
.screen .reset { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--line); margin-top: 10px; }
.tl { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.tl li { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.tl li b { font-weight: 600; color: var(--teal); }
.tl li.call { background: #FFF3E0; }
.demo-note { text-align: center; font-size: 13px; color: var(--soft); margin-top: 26px; }
.screen[hidden] { display: none; }
.prof { background: #fff; border-radius: 14px; padding: 12px; margin-top: 14px; font-size: 13.5px; }
.prof div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #EEF2F3; }
.prof div:last-child { border-bottom: 0; }
.prof span { color: var(--muted); }

/* ---------- modules ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { background: var(--sheet); border-radius: 22px; padding: 26px 24px 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 2px rgba(16,42,67,.05); transition: box-shadow .2s, transform .2s; }
a.mod:hover { box-shadow: 0 10px 30px rgba(16,42,67,.10); transform: translateY(-2px); }
.mod .name { align-self: flex-start; font-weight: 700; font-size: 14px; color: var(--c); background: var(--t); padding: 4px 12px; border-radius: 999px; }
.mod p { margin: 0; color: var(--ink-2); font-size: 16px; }
.mod .soon { font-size: 13px; color: var(--muted); font-weight: 600; }
.mod.later { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--navy); }
.steps li::before { content: counter(s); display: block; font: 400 44px/1 var(--serif); color: var(--teal); margin-bottom: 14px; }
.steps strong { display: block; font-size: 19px; margin-bottom: 4px; }
.steps span { color: var(--ink-2); }

/* ---------- who it's for ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who a { background: #fff; border-radius: 22px; padding: 28px 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(16,42,67,.05); }
.who a:hover { box-shadow: 0 10px 30px rgba(16,42,67,.10); }
.who h3 { font-size: 23px; }
.who p { margin: 0; color: var(--ink-2); }
.who .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--teal); }

/* ---------- trust band ---------- */
.trust { background: var(--navy); color: #fff; border-radius: 30px; padding: 56px 52px; }
.trust h2 { color: #fff; max-width: 18ch; }
.trust ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 48px; }
.trust li strong { display: block; font-size: 18px; margin-bottom: 4px; }
.trust li span { color: var(--soft); }
.langs { margin: 36px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); color: var(--soft); }
.langs b { color: #fff; font-weight: 500; margin-right: 16px; }

/* ---------- feature detail (features page) ---------- */
.fmod { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.fmod:first-of-type { border-top: 0; }
.fmod .name { display: inline-block; font-weight: 700; font-size: 14px; color: var(--c); background: var(--t); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.fmod h2 { font-size: clamp(30px, 3.8vw, 42px); }
.fmod .intro { color: var(--ink-2); margin: 16px 0 0; max-width: 42ch; }
.fmod .soon { display: inline-block; margin-left: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,42,67,.05); }
.feat li { padding: 18px 22px; border-left: 4px solid var(--c); }
.feat li + li { border-top: 1px solid #EEF2F3; }
.feat strong { display: block; font-size: 17px; }
.feat span { color: var(--ink-2); font-size: 15.5px; }
.callout { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: var(--t-sos); color: var(--c-sos); font-size: 15px; font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--c); background: var(--t); padding: 8px 14px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }

/* ---------- partners ---------- */
.ptype { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.ptype:first-of-type { border-top: 0; }
.ptype h2 { font-size: clamp(30px, 3.6vw, 40px); }
.ptype .intro { color: var(--ink-2); margin-top: 14px; }

/* ---------- about ---------- */
.prose { max-width: 66ch; }
.prose p { margin: 0 0 18px; color: var(--ink-2); }
.prose h2 { margin: 56px 0 18px; font-size: clamp(28px, 3.4vw, 38px); }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principles li { background: #fff; border-radius: 20px; padding: 22px 24px; }
.principles strong { display: block; font-size: 18px; margin-bottom: 4px; }
.principles span { color: var(--ink-2); }

/* ---------- forms ---------- */
.form-band { background: #fff; border-radius: 30px; padding: 52px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 52px; }
.form-band h2 { font-size: clamp(30px, 3.6vw, 40px); }
form.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
form.enquiry .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--navy); background: var(--canvas); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 15px; min-height: 50px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); font-weight: 400; }
.consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.form-msg { grid-column: 1 / -1; font-size: 15px; margin: 0; min-height: 1em; }
.form-msg.ok { color: #1A5C3A; font-weight: 600; }
.form-msg.err { color: #A3341A; font-weight: 600; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: 600 14.5px/1 var(--sans); background: var(--canvas); color: var(--ink-2); }
.tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- closing + footer ---------- */
.closing { padding-top: 96px; padding-bottom: 72px; }
.closing h2 { max-width: 18ch; margin-bottom: 18px; }
.closing .actions { margin-top: 30px; }
.foot { background: var(--navy-2); color: var(--soft); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot h4 { color: #fff; font: 600 15px/1.3 var(--sans); margin: 4px 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .emerg { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot .emerg strong { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .mods, .who { grid-template-columns: 1fr 1fr; }
  .night-grid, .fmod, .ptype, .form-band { grid-template-columns: 1fr; gap: 36px; }
  .demo { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 22px 18px; box-shadow: 0 20px 30px rgba(16,42,67,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #EEF2F3; font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: #EEF2F3; color: var(--teal); }
  .menu-btn { display: block; }
  .top .btn.small { display: none; }
  section { padding: 60px 0; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
  .page-hero { padding-top: 48px; padding-bottom: 24px; }
  .night { padding: 64px 0; }
  .mods, .who, .steps, .trust ul, .principles { grid-template-columns: 1fr; }
  .trust { padding: 40px 24px; border-radius: 24px; }
  .form-band { padding: 32px 22px; border-radius: 24px; }
  form.enquiry { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .fmod, .ptype { padding: 44px 0; }
}

/* =====================================================================
   Interactive parts (30 Nov): menu dropdown, phone screens, guides,
   process diagrams, charts, accordions, who-sees-what matrix
   ===================================================================== */

/* ---- Features dropdown ---- */
.nav .dd { position: relative; }
.dd-btn { background: none; border: 0; cursor: pointer; font: 600 15px/1 var(--sans); color: var(--ink-2); padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--navy); }
.dd-btn[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 560px; background: #fff; border-radius: 22px; padding: 14px;
  box-shadow: 0 24px 60px rgba(16,42,67,.18), 0 0 0 1px rgba(16,42,67,.05); display: none; grid-template-columns: 1fr 1fr; gap: 4px; z-index: 30; }
.dd.open .dd-panel { display: grid; animation: ddin .16s ease-out; }
@keyframes ddin { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dd-panel a { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--navy); border: 0; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--canvas); }
.dd-panel .ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; background: var(--t); color: var(--c); display: grid; place-items: center; font: 700 15px/1 var(--sans); }
.dd-panel b { font-size: 15px; }
.dd-panel small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.dd-panel .all { grid-column: 1 / -1; display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid #EEF2F3; border-radius: 0 0 12px 12px; font-weight: 600; color: var(--teal); font-size: 15px; }

/* ---- module page hero ---- */
.mhero { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.mhero .name { display: inline-block; font-weight: 700; font-size: 14px; color: var(--c); background: var(--t); padding: 5px 13px; border-radius: 999px; margin-bottom: 20px; }
.mhero h1 { font-size: clamp(42px, 6vw, 72px); max-width: 12ch; }
.mhero .lead { margin: 22px 0 30px; }
.mhero .soon { display: inline-block; margin-left: 10px; font-weight: 600; color: var(--muted); font-size: 14px; }
.subnav { position: sticky; top: 70px; z-index: 8; background: rgba(237,242,242,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(16,42,67,.06); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; min-height: 38px; display: inline-flex; align-items: center; }
.subnav a:hover { background: #fff; color: var(--navy); }
.block { padding: 72px 0; scroll-margin-top: 130px; }
.block + .block { border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.two.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.example { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border-radius: 999px; padding: 4px 11px; margin-top: 14px; }

/* ---- phone + app-like screens ---- */
.phone.light { box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 30px 60px rgba(16,42,67,.16); background: #fff; }
.ui { display: grid; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.ui-h { display: flex; justify-content: space-between; align-items: baseline; }
.ui-h b { font: 600 18px/1.2 var(--serif); }
.ui-h span { font-size: 12px; color: var(--muted); }
.ui-card { background: #fff; border-radius: 14px; padding: 11px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.ui-card small { color: var(--muted); font-size: 12px; grid-column: 1; }
.ui-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--t-vault); color: var(--c-vault); white-space: nowrap; }
.ui-pill.warn { background: #FFF3E0; color: #874600; }
.ui-pill.grey { background: #EEF2F3; color: var(--muted); }
.ui-pill.done { background: #E3F2E8; color: #1A5C3A; }
.ui-btn { display: block; text-align: center; background: var(--teal); color: #fff; border-radius: 999px; padding: 11px; font-weight: 600; font-size: 13.5px; }
.ui-btn.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--line); }
.ui-field { background: #fff; border-radius: 12px; padding: 8px 11px; display: grid; gap: 1px; }
.ui-field small { color: var(--muted); font-size: 11.5px; }
.ui-field b { font-weight: 600; }
.ui-tick { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.ui-tick i { width: 18px; height: 18px; border-radius: 5px; background: var(--teal); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; }
.ui-photo { height: 92px; border-radius: 12px; background: repeating-linear-gradient(0deg, #fff 0 10px, #F1F5F6 10px 12px); box-shadow: inset 0 0 0 1px #E3EAEC; position: relative; }
.ui-photo::after { content: 'Photo of the report'; position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: var(--muted); }
.ui-qr { width: 112px; height: 112px; margin: 6px auto; border-radius: 10px; background:
  conic-gradient(from 90deg at 30% 30%, #102A43 0 25%, #fff 0 50%, #102A43 0 75%, #fff 0) 0 0/16px 16px; box-shadow: 0 0 0 8px #fff; }
.ui-big { font: 400 34px/1 var(--serif); }
.ui-note { font-size: 12px; color: var(--muted); }
.ui-sos { width: 120px; height: 120px; border-radius: 50%; margin: 14px auto; background: var(--amber); color: var(--sos-ink); display: grid; place-items: center; font: 700 26px/1 var(--sans); box-shadow: 0 0 0 9px rgba(255,184,77,.25); }

/* screen tabs */
.stabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.stabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: 600 14.5px/1 var(--sans); background: #fff; color: var(--ink-2); }
.stabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.spanel-text { margin-top: 22px; color: var(--ink-2); min-height: 3.2em; max-width: 44ch; }
[data-tabs] .screen > .ui { animation: fadein .25s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- animated setup guide (plays like a short video) ---- */
.guide { background: var(--navy-2); color: #fff; border-radius: 30px; padding: 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.guide h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 400; }
.guide .gsteps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: g; }
.guide .gsteps li { counter-increment: g; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--soft); cursor: pointer; }
.guide .gsteps li::before { content: counter(g); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); }
.guide .gsteps li.on { background: rgba(255,255,255,.07); color: #fff; }
.guide .gsteps li.on::before { background: var(--mint); color: var(--navy); }
.gctl { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.gctl button { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--navy); display: grid; place-items: center; }
.gctl button svg { width: 18px; height: 18px; }
.gbar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.gbar i { display: block; height: 100%; width: 0; background: var(--mint); }
.gscreen { position: relative; }
.gscreen .phone { box-shadow: 0 0 0 10px #1C3550, 0 30px 70px rgba(0,0,0,.45); }
.gscreen .screen { min-height: 470px; }
.gscreen .tap { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: rgba(143,220,212,.5); box-shadow: 0 0 0 6px rgba(143,220,212,.25); pointer-events: none; opacity: 0; transition: left .6s var(--ease, ease), top .6s ease; }
.gscreen .tap.show { opacity: 1; animation: tap 1.2s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: scale(1); } 50% { transform: scale(.75); } }
.gcap { margin-top: 18px; text-align: center; color: var(--soft); font-size: 15px; min-height: 2.6em; }

/* ---- process diagram ---- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.flow li { position: relative; padding: 0 10px; text-align: left; }
.flow li button { all: unset; cursor: pointer; display: block; width: 100%; }
.flow .dot { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--c, var(--teal)); display: grid; place-items: center; font: 600 18px/1 var(--serif); position: relative; z-index: 1;
  box-shadow: inset 0 0 0 2px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.flow li::before { content: ''; position: absolute; left: 33px; right: -10px; top: 22px; height: 2px; background: var(--line); }
.flow li:last-child::before { display: none; }
.flow li.done::before { background: var(--c, var(--teal)); }
.flow li.done .dot, .flow li.on .dot { background: var(--c, var(--teal)); color: #fff; box-shadow: none; }
.flow li.on .dot { box-shadow: 0 0 0 7px var(--t, var(--t-vault)); }
.flow .ft { display: block; font-weight: 600; font-size: 15px; margin-top: 14px; color: var(--navy); }
.flow .fw { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.flow-detail { margin-top: 28px; background: #fff; border-radius: 20px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; min-height: 96px; }
.flow-detail .n { font: 400 34px/1 var(--serif); color: var(--c, var(--teal)); }
.flow-detail b { font-size: 18px; }
.flow-detail p { margin: 4px 0 0; color: var(--ink-2); grid-column: 2; }
.flow-ctl { display: flex; gap: 10px; margin-top: 16px; }

/* ---- charts ---- */
.chart-card { background: #fff; border-radius: 24px; padding: 24px 24px 18px; }
.chart-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.chart-top b { font-size: 17px; }
.seg { display: inline-flex; background: var(--canvas); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; cursor: pointer; font: 600 13.5px/1 var(--sans); color: var(--ink-2); padding: 9px 14px; border-radius: 999px; min-height: 36px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(16,42,67,.12); }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis { stroke: #E3EAEC; stroke-width: 1; }
.chart .lab { fill: var(--muted); font: 11px var(--sans); }
.chart .band { fill: var(--t-vault); }
.chart .line { fill: none; stroke: var(--c-track); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line2 { fill: none; stroke: var(--c-doc); stroke-width: 2.5; stroke-linejoin: round; }
.chart .pt { fill: #fff; stroke: var(--c-track); stroke-width: 2; }
.chart .pt.out { fill: var(--c-track); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .tip { pointer-events: none; }
.chart .tip rect { fill: var(--navy); }
.chart .tip text { fill: #fff; font: 600 12px var(--sans); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bars { display: grid; gap: 12px; }
.bars .row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; }
.bars .track { height: 14px; border-radius: 8px; background: var(--canvas); overflow: hidden; }
.bars .fill { height: 100%; border-radius: 8px; background: var(--c); width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.gantt { display: grid; gap: 10px; }
.gantt .row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; font-size: 14px; }
.gantt .lane { position: relative; height: 26px; background: var(--canvas); border-radius: 8px; }
.gantt .seg-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.gantt .scale { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 12px; color: var(--muted); }
.gantt .scale div { display: flex; justify-content: space-between; }

/* ---- accordion (all features, FAQ) ---- */
.acc { background: #fff; border-radius: 22px; overflow: hidden; }
.acc details { border-top: 1px solid #EEF2F3; }
.acc details:first-child { border-top: 0; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 22px; display: grid; grid-template-columns: 1fr 24px; gap: 12px; align-items: center; font-weight: 600; font-size: 16.5px; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); justify-self: center; margin-top: -6px; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.acc summary:hover { background: #FAFCFC; }
.acc .body { padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }
.acc .body p { margin: 0 0 8px; }
.acc-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.acc-tools button { background: none; border: 0; cursor: pointer; font: 600 14px/1 var(--sans); color: var(--teal); padding: 8px 4px; min-height: 36px; }

/* ---- who sees what matrix ---- */
.matrix { background: #fff; border-radius: 24px; padding: 24px; }
.matrix .roles { display: flex; flex-wrap: wrap; gap: 8px; }
.matrix .roles button { min-height: 40px; padding: 0 15px; border-radius: 999px; border: 0; cursor: pointer; font: 600 14px/1 var(--sans); background: var(--canvas); color: var(--ink-2); }
.matrix .roles button[aria-pressed="true"] { background: var(--c-care); color: #fff; }
.matrix .areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; }
.matrix .area { border-radius: 16px; padding: 14px 12px; background: var(--canvas); color: var(--muted); transition: background .25s, color .25s; }
.matrix .area b { display: block; font-size: 15px; margin-bottom: 4px; }
.matrix .area span { font-size: 12.5px; line-height: 1.35; display: block; }
.matrix .area .st { margin-top: 10px; font-weight: 700; font-size: 12.5px; }
.matrix .area.yes { background: var(--t-care); color: var(--navy); }
.matrix .area.yes .st { color: var(--c-care); }
.matrix .why { margin-top: 16px; color: var(--ink-2); font-size: 15px; }

/* ---- coming-soon notify ---- */
.notify { background: #fff; border-radius: 24px; padding: 28px; }

@media (max-width: 980px) {
  .mhero, .two, .two.flip, .guide { grid-template-columns: 1fr; gap: 36px; }
  .guide { padding: 32px 22px; }
  .matrix .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav .dd { width: 100%; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #EEF2F3; font-size: 17px; }
  .dd-btn[aria-current="page"] { border-bottom-color: #EEF2F3; color: var(--teal); }
  .dd-panel { position: static; transform: none; width: auto; box-shadow: none; padding: 4px 0; grid-template-columns: 1fr; }
  .dd.open .dd-panel { animation: none; }
  .dd-panel a { padding: 10px 4px; }
  .mhero { padding-top: 40px; }
  .subnav { top: 70px; }
  .block { padding: 52px 0; }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .flow li { padding: 0; }
  .flow li button { display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; align-items: center; }
  .flow .ft { margin-top: 0; }
  .flow li::before { left: 22px; right: auto; top: 46px; bottom: -14px; width: 2px; height: auto; }
  .bars .row { grid-template-columns: 90px 1fr 32px; }
  .gantt .row, .gantt .scale { grid-template-columns: 96px 1fr; }
  .matrix .areas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) { .flow li button .dot { grid-row: span 2; } }
.dd-panel a { align-content: start; grid-auto-rows: min-content; }
.dd-panel .ic { align-self: start; }
.dd-panel b { align-self: end; }
.phone.light .screen { min-height: 430px; }

/* =====================================================================
   Polish (30 Nov, second pass): alignment, depth, motion, help chat
   ===================================================================== */
.narrow { max-width: 920px; }
.subnav .wrap > a:first-child { margin-left: -14px; }
.acc-tools { margin-top: -28px; }

/* depth: dark panels get a soft teal glow, like the brand films */
.night, .guide, .trust, .foot {
  background: radial-gradient(900px 520px at 85% -10%, rgba(11,138,136,.28), transparent 60%),
              radial-gradient(700px 420px at -10% 110%, rgba(11,138,136,.16), transparent 60%), var(--navy-2); }
.trust { background: radial-gradient(800px 420px at 100% 0%, rgba(11,138,136,.30), transparent 60%), var(--navy); }

/* header gains a shadow once the page scrolls */
.top { transition: box-shadow .25s ease, background .25s ease; }
.top.scrolled { box-shadow: 0 6px 24px rgba(16,42,67,.08); background: rgba(237,242,242,.97); }

/* buttons and cards respond to the pointer */
.btn { transition: background .15s, box-shadow .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(7,112,110,.22); }
.btn.ghost:hover, .btn.light:hover { box-shadow: 0 8px 20px rgba(16,42,67,.10); }
.btn:active { transform: translateY(0) scale(.98); }
.who a, a.mod, .feat li, .principles li { transition: box-shadow .2s, transform .2s; }
.who a:hover { transform: translateY(-2px); }
.feat li { transition: background .2s; }
.feat li:hover { background: #FAFCFC; }
.acc details[open] .body { animation: fadein .25s ease-out; }
.dd-panel a { transition: background .15s; }

/* headline reveals word by word on load */
.split .w { display: inline-block; opacity: 0; transform: translateY(.35em); animation: wordin .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes wordin { to { opacity: 1; transform: none; } }

/* sections rise gently into view once */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

/* timeline dots pulse once when they arrive */
.story li.in::before { animation: dotpop .6s ease-out; }
@keyframes dotpop { 0% { box-shadow: 0 0 0 0 rgba(143,220,212,.6); } 100% { box-shadow: 0 0 0 12px rgba(143,220,212,0); } }

/* reading progress under the in-page menu on module pages */
.subnav { position: sticky; }
.subnav .prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--c, var(--teal)); }
.subnav a.on { background: #fff; color: var(--navy); }

/* smooth page-to-page change in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.top { view-transition-name: top; }

/* ---------- help chat ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--navy); color: #fff; font: 600 15px/1 var(--sans);
  box-shadow: 0 14px 34px rgba(16,42,67,.28); transition: transform .2s, box-shadow .2s; animation: fabin .5s 1.2s cubic-bezier(.2,.7,.2,1) both; }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16,42,67,.32); }
@keyframes fabin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 41; width: 390px; height: min(620px, calc(100vh - 44px)); background: #F3F7F7; border-radius: 24px;
  box-shadow: 0 30px 80px rgba(16,42,67,.32), 0 0 0 1px rgba(16,42,67,.06); display: flex; flex-direction: column; overflow: hidden; animation: chatin .22s ease-out; }
.chat[hidden] { display: none; }
@keyframes chatin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 20px; color: #fff;
  background: radial-gradient(400px 200px at 100% 0, rgba(11,138,136,.45), transparent 70%), var(--navy-2); }
.chat-head b { display: block; font: 600 18px/1.2 var(--serif); }
.chat-head small { color: var(--soft); font-size: 13px; }
.chat-x { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 88%; animation: fadein .25s ease-out; }
.msg p { margin: 0; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg.bot p { background: #fff; color: var(--navy); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; }
.msg.me p { background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.msg.small p { background: transparent; padding: 2px 4px; color: var(--muted); font-size: 13px; }
.msg.urgent p { background: #FFF3E0; color: #6B2E00; }
.msg a { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 0; cursor: pointer; background: #fff; color: var(--teal); font: 600 13.5px/1.3 var(--sans); padding: 9px 12px; border-radius: 14px; text-align: left; box-shadow: inset 0 0 0 1.5px #D8E6E4; min-height: 36px; }
.chips button:hover { background: var(--pale, #E3F0EE); }
.chat-in { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid #E6EDEE; }
.chat-in input { flex: 1; min-height: 46px; background: var(--canvas); border-radius: 999px; padding: 0 16px; }
.chat-in button { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--teal); color: #fff; display: grid; place-items: center; }
.chat-in button svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .chat-fab { right: 14px; bottom: 14px; height: 50px; padding: 0 16px 0 14px; }
  .chat-fab span { display: none; }
  .chat-fab { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .chat { right: 0; bottom: 0; left: 0; width: auto; height: 86vh; border-radius: 24px 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .split .w, .rv { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@media print { .chat-fab, .chat, .subnav { display: none !important; } }
/* keep narrow blocks on the same left edge as everything else (they used to centre) */
.wrap.narrow, .wrap.prose { max-width: 1120px; }
.wrap.narrow > * { max-width: 920px; }
.wrap.prose > * { max-width: 66ch; }
/* home hero with the app beside the headline */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-grid h1 { font-size: clamp(44px, 6.6vw, 80px); }
.hero-art { position: relative; padding: 10px 0 30px; }
.hero-art .phone { width: 290px; }
.hero-art .screen { min-height: 470px; }
.float-card { position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.35; max-width: 230px;
  box-shadow: 0 18px 40px rgba(16,42,67,.16), 0 0 0 1px rgba(16,42,67,.04); animation: floaty 6s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.float-card.f1 { left: -10px; top: 70px; border-left: 4px solid var(--c-track); }
.float-card.f2 { right: -6px; bottom: 60px; border-left: 4px solid var(--c-vault); animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .float-card.f1 { left: 0; } .float-card.f2 { right: 0; }
}
@media (max-width: 420px) { .float-card { max-width: 190px; font-size: 13px; } }
.hero-art .phone { margin: 0 0 0 auto; }
.hero-art .screen { min-height: 440px; }
.float-card.f1 { left: -6px; right: auto; top: 128px; }
.float-card.f2 { left: 18px; right: auto; bottom: 34px; }
@media (max-width: 980px) { .hero-art .phone { margin: 0 auto; } .float-card.f1 { left: 0; top: 150px; } .float-card.f2 { left: auto; right: 0; bottom: 20px; } }
.hero-art { padding: 34px 10px 46px 0; }
.hero-art .screen { min-height: 470px; }
.float-card { max-width: 210px; }
.float-card.f1 { left: 0; top: 0; }
.float-card.f2 { left: 30px; bottom: 0; }
@media (max-width: 980px) { .hero-art { padding: 34px 0 46px; } .float-card.f1 { left: 0; top: 0; } .float-card.f2 { left: auto; right: 0; bottom: 0; } }
@media (min-width: 981px) {
  .nav { align-items: center; }
  .nav > a, .nav .dd-btn { line-height: 24px; padding: 6px 0; }
  .nav .dd { display: flex; }
}
.dd-panel .ic svg { width: 20px; height: 20px; }
.name .mi { width: 15px; height: 15px; flex: none; }
.mod .name, .mhero .name { display: inline-flex; align-items: center; gap: 7px; }
