/* dekhbhaal.app: the app's own colours and type (design/system.md, design/theme.json), so the site looks
   like the app: the teal bar, the beige ground, white cards with no shadow, Anek Devanagari. Body text is
   a step darker than the app's ink-2, because the site is read in long passages. */
:root {
  --ground: #F0ECE5;
  --outside: #E4DFD7;
  --surface: #FFFFFF;
  --surface-2: #E3F1E6;
  --ink: #111B21;
  --ink-2: #4E5E68;
  --ink-3: #667781;
  --hair: rgba(17, 27, 33, 0.1);
  --accent: #0A6B57;
  --accent-deep: #064A3C;
  --accent-soft: #CFE8DF;
  --emergency: #C62828;
  --emergency-soft: #F8E3E1;
  --radius: 20px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 19px/1.6 "Anek Devanagari", -apple-system, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.3px; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 70px); letter-spacing: -1px; }
h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.6px; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.te { font-family: "Anek Telugu", "Anek Devanagari", sans-serif; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* The bar: the app's teal top bar */
.top { position: sticky; top: 0; z-index: 5; background: var(--accent); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-size: 26px; font-weight: 600; letter-spacing: -0.3px; }
.brand:hover { color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1.5px var(--accent-soft); }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--accent-soft); text-decoration: none; font-size: 17px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav .signin { color: #fff; }
.nav .btn { background: #fff; color: var(--accent-deep); padding: 10px 20px; font-size: 17px; }
.nav .btn:hover { background: var(--accent-soft); color: var(--accent-deep); }
@media (max-width: 900px) { .nav a:not(.btn):not(.signin) { display: none; } .nav { gap: 18px; } }
@media (max-width: 420px) { .brand { font-size: 23px; } .nav .btn { padding: 9px 14px; font-size: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 16px 28px; border-radius: 999px; border: 0; font-size: 19px; line-height: 1.1; }
.btn:hover { background: var(--accent-deep); color: #fff; }
.btn.quiet { background: var(--surface); color: var(--ink); }
.btn.quiet:hover { background: var(--accent-soft); color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 16px; color: var(--ink-2); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px 4px; margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 22px; line-height: 1.55; color: var(--ink-2); margin-bottom: 30px; max-width: 32em; }
.hero .fine { margin-top: 18px; }
.name-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 16px; color: var(--ink-2); max-width: 32em; }
.name-note b { color: var(--ink); font-weight: 600; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; gap: 44px; } }

/* Phones: drawn in em so a pair scales down together on a narrow screen */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6em; font-size: 14px; align-items: start; justify-items: center; }
.duo .second { margin-top: 3.4em; }
@media (max-width: 920px) { .duo { font-size: min(14px, 2.75vw); gap: 1.1em; } }
.phone-wrap { width: 100%; max-width: 21.5em; }
.phone-label { text-align: center; margin-top: 0.9em; font-size: 1.05em; color: var(--ink-2); }
.phone-label b { color: var(--ink); font-weight: 600; }
.phone { background: var(--ground); color: var(--ink); border: 0.7em solid var(--ink); border-radius: 2.9em; overflow: hidden; font-size: 1em; line-height: 1.4; width: 100%; }
.phone.on-white { background: var(--surface); }
.p-bar { background: var(--accent); color: #fff; display: flex; align-items: center; gap: 0.75em; padding: 1.5em 1.1em 0.9em; }
.p-av { flex: none; width: 2.7em; height: 2.7em; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 1.1em; }
.p-bar b { display: block; font-size: 1.22em; font-weight: 600; line-height: 1.15; }
.p-bar span { display: block; font-size: 0.86em; color: var(--accent-soft); }
.p-bar .p-time { margin-left: auto; font-size: 0.82em; color: var(--accent-soft); align-self: flex-start; padding-top: 0.2em; }
.p-body { padding: 1em 1em 1.3em; }
.p-hello { font-size: 1.7em; font-weight: 600; letter-spacing: -0.3px; margin: 0.15em 0 0.55em; line-height: 1.1; }
.p-label { font-size: 0.82em; color: var(--ink-3); margin: 0 0 0.4em 0.2em; }
.p-card { background: var(--surface); border-radius: 1.15em; padding: 0.9em 1em; }
.p-card + .p-card { margin-top: 0.6em; }
.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; margin-top: 0.6em; }
.p-two .p-card { margin: 0; padding: 0.8em 0.85em; }
.p-two b { display: block; font-size: 1.02em; font-weight: 600; margin-top: 0.45em; line-height: 1.15; }
.p-two span { display: block; font-size: 0.78em; color: var(--ink-3); line-height: 1.3; margin-top: 0.2em; }
.p-ico { width: 2em; height: 2em; border-radius: 50%; border: 0.16em solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.p-ico svg { width: 1em; height: 1em; }
.p-112 { width: 2em; height: 2em; border-radius: 50%; background: var(--emergency); color: #fff; display: grid; place-items: center; font-size: 0.78em; font-weight: 600; }
.p-talk { width: 7.4em; height: 7.4em; margin: 1.1em auto 0.5em; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1em; box-shadow: 0 0 0 0.7em rgba(10, 107, 87, 0.12); }
.p-talk span { font-size: 1.45em; font-weight: 600; }
.p-hint { text-align: center; font-size: 0.8em; color: var(--ink-3); }
.p-hero { font-size: 1.75em; font-weight: 600; letter-spacing: -0.3px; line-height: 1.1; margin-bottom: 0.65em; }
.p-btn { border-radius: 0.8em; padding: 0.75em; text-align: center; font-weight: 600; font-size: 0.95em; background: var(--accent); color: #fff; }
.p-btn.quiet { background: var(--ground); color: var(--ink); font-weight: 500; margin-top: 0.45em; }
.p-h { font-weight: 600; font-size: 0.98em; margin-bottom: 0.35em; }
.p-row { display: grid; grid-template-columns: 4.6em 1fr; gap: 0.6em; padding: 0.5em 0; border-top: 1px solid var(--hair); font-size: 0.92em; }
.p-row:first-of-type { border-top: 0; }
.p-row .t { color: var(--ink-3); font-size: 0.92em; }
.p-stat { display: flex; justify-content: space-between; gap: 1em; font-size: 0.95em; padding: 0.2em 0; }
.p-stat b { font-weight: 600; }
.p-tabs { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 0.8em; color: var(--ink-3); background: var(--surface); border-top: 1px solid var(--hair); padding: 0.75em 0 1.1em; }
.p-tabs .on { color: var(--accent); font-weight: 600; }

/* Voice bubbles, as in the app: Dekhbhaal white on the left, the parent pale green on the right */
.bubble { background: var(--surface); border-radius: 1.1em; border-top-left-radius: 0.35em; padding: 0.75em 0.9em 0.8em; max-width: 92%; }
.bubble.me { background: var(--surface-2); border-radius: 1.1em; border-top-right-radius: 0.35em; margin-left: auto; }
.bubble + .bubble { margin-top: 0.55em; }
.voice { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.45em; }
.play { flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--accent); position: relative; }
.play::after { content: ""; position: absolute; left: 0.72em; top: 0.55em; border-left: 0.62em solid #fff; border-top: 0.4em solid transparent; border-bottom: 0.4em solid transparent; }
/* The player's waveform, drawn once as a background so the HTML stays plain */
.bars { flex: 1; height: 1.5em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 24' fill='%230A6B57' fill-opacity='.6'%3E%3Crect x='0' y='8' width='2' height='8' rx='1'/%3E%3Crect x='4' y='5' width='2' height='14' rx='1'/%3E%3Crect x='8' y='2' width='2' height='20' rx='1'/%3E%3Crect x='12' y='6' width='2' height='12' rx='1'/%3E%3Crect x='16' y='3.5' width='2' height='17' rx='1'/%3E%3Crect x='20' y='1' width='2' height='22' rx='1'/%3E%3Crect x='24' y='7' width='2' height='10' rx='1'/%3E%3Crect x='28' y='4.5' width='2' height='15' rx='1'/%3E%3Crect x='32' y='2' width='2' height='20' rx='1'/%3E%3Crect x='36' y='7.5' width='2' height='9' rx='1'/%3E%3Crect x='40' y='5.5' width='2' height='13' rx='1'/%3E%3Crect x='44' y='3' width='2' height='18' rx='1'/%3E%3Crect x='48' y='6.5' width='2' height='11' rx='1'/%3E%3Crect x='52' y='8.5' width='2' height='7' rx='1'/%3E%3Crect x='56' y='4.5' width='2' height='15' rx='1'/%3E%3Crect x='60' y='2' width='2' height='20' rx='1'/%3E%3Crect x='64' y='7' width='2' height='10' rx='1'/%3E%3Crect x='68' y='5' width='2' height='14' rx='1'/%3E%3Crect x='72' y='7.5' width='2' height='9' rx='1'/%3E%3Crect x='76' y='9' width='2' height='6' rx='1'/%3E%3C/svg%3E") left center / auto 100% repeat-x; }
.bubble.me .bars { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 24' fill='%23064A3C' fill-opacity='.45'%3E%3Crect x='0' y='8' width='2' height='8' rx='1'/%3E%3Crect x='4' y='5' width='2' height='14' rx='1'/%3E%3Crect x='8' y='2' width='2' height='20' rx='1'/%3E%3Crect x='12' y='6' width='2' height='12' rx='1'/%3E%3Crect x='16' y='3.5' width='2' height='17' rx='1'/%3E%3Crect x='20' y='1' width='2' height='22' rx='1'/%3E%3Crect x='24' y='7' width='2' height='10' rx='1'/%3E%3Crect x='28' y='4.5' width='2' height='15' rx='1'/%3E%3Crect x='32' y='2' width='2' height='20' rx='1'/%3E%3Crect x='36' y='7.5' width='2' height='9' rx='1'/%3E%3Crect x='40' y='5.5' width='2' height='13' rx='1'/%3E%3Crect x='44' y='3' width='2' height='18' rx='1'/%3E%3Crect x='48' y='6.5' width='2' height='11' rx='1'/%3E%3Crect x='52' y='8.5' width='2' height='7' rx='1'/%3E%3Crect x='56' y='4.5' width='2' height='15' rx='1'/%3E%3Crect x='60' y='2' width='2' height='20' rx='1'/%3E%3Crect x='64' y='7' width='2' height='10' rx='1'/%3E%3Crect x='68' y='5' width='2' height='14' rx='1'/%3E%3Crect x='72' y='7.5' width='2' height='9' rx='1'/%3E%3Crect x='76' y='9' width='2' height='6' rx='1'/%3E%3C/svg%3E"); }
.dur { font-size: 0.8em; color: var(--ink-3); }
.said { font-size: 1em; line-height: 1.45; }

/* Sections */
section { padding: 96px 0; }
section.white { background: var(--surface); }
section.teal { background: var(--accent); color: #fff; }
section.teal .eyebrow { color: var(--accent-soft); }
section.teal .intro p, section.teal .muted { color: var(--accent-soft); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.intro { max-width: 720px; margin-bottom: 48px; }
.intro p { margin-top: 16px; color: var(--ink-2); font-size: 21px; line-height: 1.55; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 920px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid, .grid.two { grid-template-columns: 1fr; } section { padding: 72px 0; } }
.tile { background: var(--surface); border-radius: var(--radius); padding: 28px; }
section.white .tile { background: var(--ground); }
.tile h3 { margin: 16px 0 10px; }
.tile p { color: var(--ink-2); }
.tile p + p { margin-top: 10px; }
.tile .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
section.white .tile .ico { background: var(--surface); }
.tile .ico svg { width: 26px; height: 26px; }
.tile .ico.red, section.white .tile .ico.red { background: var(--emergency-soft); color: var(--emergency); font-weight: 600; font-size: 17px; }
.example { margin-top: 16px; font-size: 18px; color: var(--ink); background: var(--surface-2); border-radius: 14px; border-top-right-radius: 4px; padding: 12px 14px; }
section.white .example { background: var(--surface-2); }
.example small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.tile .more { display: inline-block; margin-top: 14px; font-weight: 500; }

/* A day with it */
.day { display: grid; }
.moment { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 32px; align-items: start; padding: 36px 0; }
.moment + .moment { border-top: 1px solid var(--hair); }
.moment:first-child { padding-top: 0; }
.moment .when { font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--accent); }
.moment .when span { display: block; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-top: 6px; }
.side-label { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.moment .chat { font-size: 17px; }
.moment .chat .bubble { max-width: 100%; }
.gloss { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; }
.verdict { display: inline-flex; align-items: center; gap: 8px; background: var(--emergency-soft); color: var(--emergency); font-weight: 600; border-radius: 999px; padding: 4px 12px 2px; font-size: 15px; margin-bottom: 8px; }
.verdict.ok { background: var(--accent-soft); color: var(--accent-deep); }
.verdict.unsure { background: #F3E9D2; color: #6B4E0E; }
.note-card { background: var(--surface); border-radius: 16px; padding: 14px 16px; font-size: 17px; }
.note-card + .note-card { margin-top: 10px; }
.note-card .from { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.note-card .from img { width: 20px; height: 20px; border-radius: 5px; }
.note-card b { font-weight: 600; }
.note-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--hair); }
.note-card .row:first-of-type { border-top: 0; }
.note-card .row .t { color: var(--ink-3); font-size: 15px; white-space: nowrap; }
@media (max-width: 860px) {
  .moment { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .moment .when { display: flex; align-items: baseline; gap: 10px; }
  .moment .when span { margin: 0; }
}

/* Sees / never sees */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); padding: 28px; background: var(--surface); }
section.white .panel:not(.private) { background: var(--ground); }
section.white .panel .seen-as { background: var(--surface); }
.panel h3 { margin-bottom: 14px; }
.panel.private { background: var(--accent-deep); color: #fff; }
.panel.private p, .panel.private li { color: var(--accent-soft); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 32px; }
.list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23064A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.list.no li::before { background: rgba(255, 255, 255, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23CFE8DF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.list b { font-weight: 600; color: inherit; }
.panel.private .list b { color: #fff; }
.quote { font-size: 20px; line-height: 1.45; background: rgba(255, 255, 255, 0.1); border-radius: 16px; border-top-right-radius: 4px; padding: 14px 16px; margin: 4px 0 16px; color: #fff; }
.quote small { display: block; font-size: 15px; color: var(--accent-soft); margin-top: 4px; }
.seen-as { background: var(--ground); border-radius: 16px; padding: 14px 16px; margin: 4px 0 16px; font-size: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.seen-as .t { color: var(--ink-3); font-size: 16px; }

/* Languages */
.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 920px) { .langs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .langs { grid-template-columns: 1fr; } }
.lang { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(207, 232, 223, 0.25); border-radius: var(--radius); padding: 22px; }
.lang .which { font-size: 15px; font-weight: 600; color: var(--accent-soft); margin-bottom: 8px; }
.lang p { font-size: 20px; line-height: 1.55; color: #fff; }
.lang p.te { line-height: 1.7; }

/* Never */
.nevers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.nevers > div { padding: 26px 28px; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.nevers > div:nth-child(-n+3) { border-top: 0; }
.nevers > div:nth-child(3n+1) { border-left: 0; }
.nevers h3 { font-size: 21px; margin-bottom: 8px; }
.nevers p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 860px) {
  .nevers { grid-template-columns: 1fr; }
  .nevers > div { border-left: 0; border-top: 1px solid var(--hair); }
  .nevers > div:first-child { border-top: 0; }
  .nevers > div:nth-child(-n+3) { border-top: 1px solid var(--hair); }
  .nevers > div:first-child { border-top: 0; }
}

/* People around them */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--ground); border-radius: var(--radius); padding: 26px; }
.person .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.person .face { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-weight: 600; font-size: 19px; }
.person h3 { font-size: 22px; }
.person p { color: var(--ink-2); font-size: 18px; }
.person .tag { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: 3px 12px 1px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border-radius: var(--radius); padding: 22px 24px 22px 80px; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.steps b { display: block; font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.steps span { color: var(--ink-2); }

/* FAQ */
.faq details { background: var(--surface); border-radius: 16px; padding: 4px 24px; }
.faq details + details { margin-top: 10px; }
section.white.faq details { background: var(--ground); }
.faq summary { cursor: pointer; font-size: 21px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 28px; line-height: 0.9; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* Final call */
.final { text-align: center; }
.final h2 { color: #fff; }
.final p { color: var(--accent-soft); font-size: 21px; margin: 16px auto 0; max-width: 36em; }
.final .ctas { justify-content: center; margin-top: 30px; }
.final .btn { background: #fff; color: var(--accent-deep); }
.final .btn:hover { background: var(--accent-soft); }
.final .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-soft); }
.final .btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.final .fine { color: var(--accent-soft); margin-top: 20px; }
.final .fine a { color: #fff; }

/* Article pages */
.page { padding: 56px 0 88px; }
.page h1 { font-size: clamp(38px, 5.4vw, 56px); margin-bottom: 18px; }
.page .lede { font-size: 22px; line-height: 1.55; color: var(--ink-2); margin-bottom: 40px; }
.page h2 { font-size: clamp(28px, 3.4vw, 34px); margin: 52px 0 14px; }
.page h3 { font-size: 22px; margin: 30px 0 8px; }
.page p + p { margin-top: 14px; }
.page ul, .page ol:not(.steps) { padding-left: 24px; margin: 12px 0 0; }
.page li + li { margin-top: 8px; }
.page li { color: var(--ink); }
.page p { color: var(--ink); }
.page .lede, .page .muted { color: var(--ink-2); }
.crumbs { font-size: 16px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }
.note { background: var(--surface); border-radius: 16px; padding: 20px 22px; margin: 24px 0; }
.note.urgent { background: var(--emergency-soft); }
.note.urgent b { color: var(--emergency); }
.note.draft { background: #F3E9D2; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.cards3.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .cards3, .cards3.two { grid-template-columns: 1fr; } }
.vcard { background: var(--surface); border-radius: 16px; padding: 18px; }
.vcard p { font-size: 17px; color: var(--ink-2); margin-top: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 8px; }
.toc a { text-decoration: none; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px 4px; font-size: 16px; }
.toc a:hover { background: var(--accent-soft); color: var(--accent-deep); }
table.plain { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 17px; background: var(--surface); border-radius: 16px; overflow: hidden; }
table.plain th, table.plain td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--hair); vertical-align: top; }
table.plain th { font-weight: 600; background: var(--surface-2); border-top: 0; }
@media (max-width: 640px) {
  table.plain, table.plain tbody, table.plain tr, table.plain td { display: block; }
  table.plain tr:first-child { display: none; }
  table.plain tr + tr { border-top: 1px solid var(--hair); }
  table.plain tr { padding: 10px 0; }
  table.plain td { border-top: 0; padding: 6px 18px; }
  table.plain td[data-label]::before { content: attr(data-label); display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); }
}

/* Footer */
footer { background: var(--accent-deep); color: var(--accent-soft); padding: 52px 0 44px; font-size: 17px; }
footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
footer .brand { color: #fff; font-size: 24px; }
footer .brand img { width: 30px; height: 30px; box-shadow: none; }
footer h4 { margin: 0 0 12px; color: #fff; font-size: 17px; }
footer a { color: var(--accent-soft); text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer .small { font-size: 15px; margin-top: 12px; }
footer .sos { margin-top: 16px; font-size: 16px; color: #fff; }
footer .sos b { background: var(--emergency); color: #fff; border-radius: 999px; padding: 2px 10px 0; font-weight: 600; margin-right: 6px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
