/* Dhruva website: one stylesheet for every page.
   Light by default, dark when the phone or computer asks for it. */

:root {
  --bg: #FBF8F4;
  --bg-alt: #F3EEE7;
  --card: #FFFFFF;
  --line: #E6DFD6;
  --line-strong: #D3C9BD;
  --text: #1A1A1A;
  --muted: #5F5850;
  --accent: #F08A4B;          /* brand orange: fills, never small text on light */
  --accent-text: #B04E16;     /* orange for text on light backgrounds (5:1) */
  --accent-soft: #FCE6D7;
  --on-accent: #1A1A1A;
  --ok: #2F7A45;
  --ok-soft: #E3F1E6;
  --ink: #1A1A1A;             /* the always-dark band */
  --ink-2: #232323;
  --ink-line: #353535;
  --ink-text: #F4EFE9;
  --ink-muted: #B9B2A9;
  --shadow: 0 1px 2px rgba(26, 26, 26, .05), 0 12px 32px rgba(26, 26, 26, .07);
  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131313;
    --bg-alt: #1A1A1A;
    --card: #1F1F1F;
    --line: #2E2E2E;
    --line-strong: #3C3C3C;
    --text: #F4EFE9;
    --muted: #B3ADA5;
    --accent-text: #F6A06A;
    --accent-soft: #3A2516;
    --ok: #7CC891;
    --ok-soft: #1C2E21;
    --ink: #0C0C0C;
    --ink-2: #1A1A1A;
    --ink-line: #2C2C2C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p a, li a, dd a, .prose a { color: var(--accent-text); font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ml { font-family: "Noto Sans Malayalam", var(--font); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ink-text); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--ink-text);
  font-size: 14px; line-height: 1.4; text-align: center; padding: 9px 16px;
}
.announce a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 700 20px/1 var(--font-display); letter-spacing: -.3px;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: none; margin-left: auto; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-alt); }
.bar-cta { margin-left: auto; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .bar-cta { margin-left: 8px; }
  .menu { display: none; }
}

/* Mobile menu without JavaScript */
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid var(--line); background: var(--card);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--bg-alt); }
.menu-panel {
  position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 40px));
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: grid;
}
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #F49A62; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Store-style badge (not Google's artwork) */
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line);
  border-radius: 14px; padding: 9px 18px 9px 14px; min-height: 56px;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-muted); line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.25; }
.store[aria-disabled="true"] { cursor: default; }
.store:hover { border-color: var(--accent); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--text); }
h1 {
  font-size: clamp(38px, 7.4vw, 70px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 800; margin: 18px 0 20px;
}
h1 .accent, h2 .accent { color: var(--accent-text); }
h2 {
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.03em;
  font-weight: 800; margin: 10px 0 16px;
}
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; margin: 0 0 6px; }
.lead { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.55; color: var(--muted); max-width: 600px; margin: 0 0 30px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::after { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -200px -10% auto -10%; height: 760px;
  background:
    radial-gradient(520px 340px at 80% 40%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    radial-gradient(420px 260px at 8% 12%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted);
}
.pill .dot {
  display: inline-grid; place-items: center; padding: 2px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13px;
}
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.perks svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; }

/* Phones with floating cards */
.stage { position: relative; height: 470px; max-width: 460px; margin: 0 auto; width: 100%; }
.phone {
  position: absolute; width: 200px; border-radius: 32px; overflow: hidden; background: #0B0B0B;
  border: 7px solid #0B0B0B; box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}
.phone img { width: 100%; aspect-ratio: 824 / 1720; object-fit: cover; object-position: top; }
.phone.back { left: 4%; top: 36px; transform: rotate(-6deg); }
.phone.front { right: 4%; top: 0; transform: rotate(4deg); }
.float {
  position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 14px; line-height: 1.35;
  max-width: 220px;
}
.float b { display: block; font-size: 14.5px; }
.float .row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--bg-alt); color: var(--muted); white-space: nowrap;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--accent-soft); color: var(--accent-text); }
.float.f1 { left: 0; bottom: 30px; }
.float.f2 { right: 0; top: 150px; }
.score { font: 800 24px/1 var(--font-display); color: var(--ok); }
@media (min-width: 520px) { .stage { height: 540px; } .phone { width: 232px; } }
@media (min-width: 960px) { .stage { height: 600px; max-width: 520px; } .phone { width: 258px; } .float.f2 { right: -8px; } }
@media (max-width: 400px) { .phone { width: 172px; } .stage { height: 420px; } .float { max-width: 190px; font-size: 13px; } }

/* Language strip under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding: 18px 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 26px; }
.strip-inner span { font-size: 19px; font-weight: 600; color: var(--muted); }
.strip-inner .label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 28px 24px 26px; border-top: 2px solid var(--text); }
.step .num { font: 800 15px/1 var(--font-display); color: var(--accent-text); letter-spacing: .08em; }
.step h3 { margin-top: 14px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .chips { margin-top: 14px; }
.ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-text);
}
.ico svg { width: 24px; height: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 5px 13px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks b { font-weight: 650; }
.frame {
  max-width: 300px; margin: 0 auto; border-radius: 36px; overflow: hidden;
  border: 8px solid #0B0B0B; background: #0B0B0B; box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
}
.frame img { width: 100%; }
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--ink-line); background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.browser .dots { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--ink-line); }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3F3F3F; }
.browser .dots i:first-child { background: var(--accent); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.gallery figure { margin: 0; }
.gallery .shot { border-radius: 24px; overflow: hidden; border: 6px solid #0B0B0B; background: #0B0B0B; }
.gallery img { width: 100%; aspect-ratio: 824 / 1500; object-fit: cover; object-position: top; }
.gallery figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--text); font-size: 16px; }

/* ---------- Privacy ledger ---------- */
.ledger { display: grid; gap: 20px; }
@media (min-width: 900px) { .ledger { grid-template-columns: 1fr 1fr; } }
.ledger .card { padding: 8px 0 4px; }
.ledger h3 { padding: 18px 24px 10px; margin: 0; font-size: 18px; }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 24px; border-top: 1px solid var(--line); }
.ledger li b { font-weight: 650; }
.ledger li span { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.ledger .tag { align-self: start; }
.ledger li .tag { grid-column: auto; color: var(--muted); font-size: 12.5px; }
.ledger li .tag.ok { color: var(--ok); }

/* ---------- Languages ---------- */
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .langs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .langs { grid-template-columns: repeat(6, 1fr); } }
.lang {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.lang b { display: block; font-size: 22px; line-height: 1.35; font-weight: 600; }
.lang span { font-size: 13.5px; color: var(--muted); }

/* ---------- Pro (always dark band) ---------- */
.pro { background: var(--ink); color: var(--ink-text); }
.pro h2, .pro h3 { color: var(--ink-text); }
.pro .kicker { color: var(--accent); }
.pro .section-head p, .pro .muted, .pro .checks li { color: var(--ink-muted); }
.pro .checks b { color: var(--ink-text); }
.pro .btn-ghost { background: transparent; color: var(--ink-text); border-color: var(--ink-line); }
.pro .btn-ghost:hover { border-color: var(--ink-text); }
.pro a:not(.btn) { color: var(--accent); }
.plans { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.plan.feature { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan .name { font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.plan .price { font: 800 34px/1.1 var(--font-display); letter-spacing: -.02em; margin: 10px 0 2px; color: var(--ink-text); }
.plan .price small { font: 500 15px/1 var(--font); color: var(--ink-muted); letter-spacing: 0; }
.plan p { margin: 8px 0 0; color: var(--ink-muted); font-size: 15px; }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-muted); }
.plan li::before { content: "·"; color: var(--accent); font-weight: 800; margin-right: 8px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--ink-muted); }

/* ---------- Install ---------- */
.install { display: grid; gap: 20px; }
@media (min-width: 980px) { .install { grid-template-columns: repeat(3, 1fr); } }
.install .card { display: flex; flex-direction: column; gap: 14px; }
.install ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.install .soon { display: grid; gap: 10px; }
.badge-soon {
  align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
}
.badge-now { background: var(--ok-soft); color: var(--ok); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 650 17.5px/1.4 var(--font); border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact .card a.big { display: inline-block; margin-top: 12px; font-size: 18px; font-weight: 650; color: var(--accent-text); word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-lg);
  padding: 64px 24px; background: var(--ink); color: var(--ink-text);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 260px at 50% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 72%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--ink-text); }
.cta-band p { color: var(--ink-muted); max-width: 540px; margin: 0 auto 28px; font-size: 18px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: var(--ink-text); border-color: var(--ink-line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.foot-brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand p { color: var(--muted); margin: 14px 0 0; }
.site-footer h2 { font: 700 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: var(--muted); }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: 14px;
}

/* ---------- Policy pages ---------- */
.page-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(36px, 6vw, 56px); margin: 14px 0 12px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 680px; font-size: 18px; }
.page-hero .meta { margin-top: 18px; font-size: 14.5px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 88px; }
@media (min-width: 980px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.toc { font-size: 15px; }
@media (min-width: 980px) { .toc { position: sticky; top: 92px; align-self: start; } }
.toc h2 { font: 700 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose .note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 16px 20px; margin: 20px 0;
}
.prose .note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--bg-alt); font-weight: 650; }
.prose td:first-child { font-weight: 600; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 46px; min-height: 34px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px;
}
.two-col { display: grid; gap: 16px; margin: 20px 0; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col .card h3 { margin-top: 0; }
