/* ==========================================================================
   MSME delayed-payment advisory · CA Akshay Daiya
   One stylesheet for every page. Colours are tokens on :root; dark mode
   redefines the tokens, so components never hard-code a colour.
   ========================================================================== */

:root {
  --paper: #fbf8f2;
  --paper-2: #f3eee4;
  --card: #ffffff;
  --ink: #0f1d2b;
  --ink-2: #33475b;
  --muted: #5d6d7e;
  --line: #e5ddcf;
  --line-2: #d5c9b5;
  --navy: #0f2a44;
  --navy-2: #173a5e;
  --on-navy: #edf3f8;
  --on-navy-muted: #a7bbce;
  --red: #b3261e;
  --red-soft: #fbe9e6;
  --green: #0b7a52;
  --green-2: #096545;
  --green-soft: #e3f3eb;
  --gold: #a87a22;
  --gold-soft: #f7eedb;
  --blue-soft: #e8f0f8;
  --focus: #1f6fd6;
  --wa: #1d8f55;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 43, .06);
  --shadow: 0 1px 2px rgba(15, 29, 43, .06), 0 10px 30px rgba(15, 29, 43, .08);
  --shadow-lg: 0 2px 6px rgba(15, 29, 43, .08), 0 24px 60px rgba(15, 29, 43, .16);
  --serif: "Fraunces", "Noto Sans Devanagari", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --deva: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  --container: 1180px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1520;
    --paper-2: #101d2a;
    --card: #132232;
    --ink: #e9eff5;
    --ink-2: #c4d0dc;
    --muted: #93a4b6;
    --line: #22364b;
    --line-2: #2d4560;
    --navy: #0f2438;
    --navy-2: #163452;
    --on-navy: #edf3f8;
    --on-navy-muted: #9fb4c8;
    --red: #f07264;
    --red-soft: #3a1c1a;
    --green: #43c08c;
    --green-2: #5fd1a1;
    --green-soft: #12302a;
    --gold: #e0b057;
    --gold-soft: #33290f;
    --blue-soft: #14283d;
    --focus: #6aa8ff;
    --wa: #2bb36d;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lang-hi { font-family: var(--deva); line-height: 1.8; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small { font-size: .875em; }
strong { font-weight: 650; }
abbr[title] { text-decoration: underline dotted; cursor: help; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 3.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.65rem); }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 650; }
.lang-hi h1, .lang-hi h2 { font-family: var(--deva); font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted, .section-dark .lead { color: var(--on-navy-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-2); }
.section-dark .section-head p:not(.eyebrow) { color: var(--on-navy-muted); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } .split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.middle { align-items: center; } }
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.center { text-align: center; }
.plain { text-decoration: none; color: inherit; }
.span-all { grid-column: 1 / -1; }
.on-navy-muted { color: var(--on-navy-muted); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: #e7bd6a; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.num { font-family: var(--sans); font-feature-settings: "tnum"; }
.mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 32%, transparent) 62%); padding: 0 .1em; }
.red { color: var(--red); } .green { color: var(--green); } .gold { color: var(--gold); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-green { --bg: var(--green); --fg: #fff; --bd: var(--green); }
.btn-wa { --bg: var(--wa); --fg: #fff; --bd: var(--wa); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn-outline:hover { --bd: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn-sm { min-height: 38px; padding: .45em .95em; font-size: .9rem; }
.btn-block { width: 100%; }
@media (prefers-color-scheme: dark) {
  .btn-primary { --bg: #e9eff5; --fg: #0b1520; --bd: #e9eff5; }
  .btn-light { --fg: #0b1520; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .i { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.link-arrow:hover .i { transform: translateX(3px); }
.section-dark .link-arrow { color: #fff; }

.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: var(--on-navy); font-size: .86rem; }
.topbar .container { display: flex; gap: .75rem; align-items: center; justify-content: center; padding-block: .55rem; text-align: center; }
.topbar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #e7bd6a; flex: none; box-shadow: 0 0 0 4px rgba(231, 189, 106, .2); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 650; font-size: 1.28rem; letter-spacing: -.01em; }
.brand-tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 2px; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li + li { margin: 0; }
.nav a, .nav summary {
  display: inline-flex; align-items: center; gap: .3em; padding: .5em .62em; border-radius: 999px;
  font-size: .93rem; font-weight: 550; color: var(--ink-2); text-decoration: none; cursor: pointer; list-style: none;
  white-space: nowrap;
}
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .i { width: 1em; height: 1em; }
.nav-more { position: relative; }
.nav-more[open] summary { background: var(--paper-2); color: var(--ink); }
.nav-more .menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
}
.nav-more .menu a { border-radius: 10px; padding: .6em .8em; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer;
}
.nav-toggle .i { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; display: grid; }
.mobile-nav li + li { margin: 0; }
.mobile-nav a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 550; }
.mobile-nav a[aria-current="page"] { color: var(--gold); }
.mobile-nav .btn { margin-top: 14px; }
@media (min-width: 1120px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, color-mix(in srgb, var(--line) 70%, transparent) 39px 40px);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { margin-bottom: .35em; }
.hero h1 .red { color: var(--red); }
.hero .lead { max-width: 40rem; }
.hero .btn-row { margin-top: 1.75rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .45em; }
.trust-row .i { color: var(--green); width: 1.1em; height: 1.1em; }

/* Invoice card (hero) — always rendered as paper, in both themes */
.invoice {
  --i-paper: #fffdf8; --i-ink: #16212c; --i-muted: #6a7682; --i-line: #e8e0d1;
  position: relative; background: var(--i-paper); color: var(--i-ink);
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--i-line); max-width: 520px; margin-inline: auto; width: 100%;
  transform: rotate(-.6deg);
}
.invoice::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -10px; height: 20px; z-index: -1;
  background: radial-gradient(closest-side, rgba(15, 29, 43, .25), transparent); filter: blur(4px);
}
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--i-ink); }
.invoice-head .doc { font: 700 .8rem/1.2 var(--sans); letter-spacing: .16em; }
.invoice-head .doc-no { font: 500 .8rem/1.2 var(--mono); color: var(--i-muted); }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--i-line); font-size: .85rem; }
.invoice-parties b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--i-muted); font-weight: 650; margin-bottom: 2px; }
.invoice dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; padding: 14px 0; font-size: .92rem; }
.invoice dt { color: var(--i-muted); }
.invoice dd { margin: 0; text-align: right; font-family: var(--mono); font-size: .88rem; font-variant-numeric: tabular-nums; }
.invoice .total { border-top: 2px solid var(--i-ink); padding-top: 14px; margin-top: 4px; display: grid; gap: 6px; }
.invoice .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.invoice .row span { color: var(--i-muted); font-size: .88rem; }
.invoice .interest { color: #0b7a52; }
.invoice .ticker { font: 600 clamp(1.45rem, 1.1rem + 1.4vw, 1.95rem)/1.1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.invoice .grand { font: 700 1.05rem/1.2 var(--mono); }
.invoice .foot { margin-top: 12px; font-size: .74rem; color: var(--i-muted); line-height: 1.5; }
.stamp {
  position: relative; display: inline-block; transform: rotate(-9deg); margin: -4px 4px 0 0;
  border: 3px double #b3261e; color: #b3261e; border-radius: 10px; padding: 6px 12px 5px;
  font: 800 .95rem/1.05 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center;
  background: rgba(255, 253, 248, .85); mix-blend-mode: multiply;
}
.stamp small { display: block; font-size: .64rem; letter-spacing: .1em; font-weight: 700; }
.monthly-note { margin-top: 14px; display: flex; gap: 10px; align-items: center; background: #fbe9e6; color: #7d1a14; border-radius: 12px; padding: 10px 12px; font-size: .84rem; }
.monthly-note .i { color: #b3261e; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--navy); padding: 26px 24px; }
.stat-num { font: 600 clamp(2rem, 1.5rem + 1.8vw, 2.75rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; }
.stat-num .unit { font-size: .55em; margin-left: .1em; color: #e7bd6a; }
.stat-label { margin-top: .6rem; color: var(--on-navy); font-size: .95rem; line-height: 1.45; }
.stat-src { margin-top: .5rem; font-size: .78rem; color: var(--on-navy-muted); }
.stat-src a { color: var(--on-navy-muted); }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-sm); position: relative;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card.hover { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: var(--gold-soft); color: var(--gold);
}
.card-icon .i { width: 24px; height: 24px; }
.card-icon.green { background: var(--green-soft); color: var(--green); }
.card-icon.red { background: var(--red-soft); color: var(--red); }
.card-icon.blue { background: var(--blue-soft); color: var(--focus); }
.card .ref { display: inline-block; margin-top: .6rem; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.card-link { position: static; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.section-dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); color: var(--on-navy); box-shadow: none; }
.section-dark .card p { color: var(--on-navy-muted); }

.lever { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.lever .card-icon { margin: 0; }
.lever h3 { font-size: 1.08rem; margin-bottom: .25em; }
.lever p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Tags, badges, callouts ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .35em; padding: .22em .7em; border-radius: 999px;
  font-size: .76rem; font-weight: 650; letter-spacing: .02em; line-height: 1.5;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.tag-red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.tag-green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.tag-gold { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.tag-blue { background: var(--blue-soft); color: var(--focus); border-color: transparent; }
.tag-navy { background: var(--navy); color: #fff; border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: 12px; background: var(--blue-soft); border-left: 4px solid var(--focus);
  margin: 1.25rem 0; font-size: .97rem;
}
.callout .i { margin-top: .15em; color: var(--focus); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-warn { background: var(--gold-soft); border-left-color: var(--gold); }
.callout-warn .i { color: var(--gold); }
.callout-red { background: var(--red-soft); border-left-color: var(--red); }
.callout-red .i { color: var(--red); }
.callout-ok { background: var(--green-soft); border-left-color: var(--green); }
.callout-ok .i { color: var(--green); }
.callout strong:first-child { display: block; margin-bottom: .15em; }

/* ---------- Day bar (the 45-day clock) ---------- */
.daybar { margin-top: 8px; }
.daybar-track { display: grid; grid-template-columns: 15fr 30fr 30fr; height: 18px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-2); }
.daybar-track span:nth-child(1) { background: var(--green); }
.daybar-track span:nth-child(2) { background: var(--gold); }
.daybar-track span:nth-child(3) { background: repeating-linear-gradient(135deg, var(--red) 0 10px, color-mix(in srgb, var(--red) 75%, #000) 10px 20px); }
.daybar-marks { display: grid; grid-template-columns: 15fr 30fr 30fr; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.daybar-marks div { border-left: 2px solid var(--line-2); padding-left: 8px; }
.daybar-marks b { display: block; color: var(--ink); font-size: .95rem; }
.clock-steps { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .clock-steps { grid-template-columns: repeat(4, 1fr); } }
.clock-step { border-top: 3px solid var(--line-2); padding-top: 14px; }
.clock-step .day { font: 600 .82rem/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.clock-step h3 { font-size: 1.05rem; margin: .5rem 0 .35rem; }
.clock-step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.clock-step.g { border-color: var(--green); } .clock-step.g .day { color: var(--green); }
.clock-step.y { border-color: var(--gold); } .clock-step.y .day { color: var(--gold); }
.clock-step.r { border-color: var(--red); } .clock-step.r .day { color: var(--red); }
.clock-step.n { border-color: var(--navy-2); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 0; }
.checklist li > .i { width: 22px; height: 22px; margin-top: .15em; color: var(--green); }
.checklist li.no > .i { color: var(--red); }
.checklist li.warn > .i { color: var(--gold); }
.checklist.compact { gap: 8px; font-size: .97rem; }

/* ---------- Steps / flow ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .steps.cols-3 { grid-template-columns: repeat(3, 1fr); } .steps.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.steps > li { counter-increment: step; margin: 0; position: relative; padding: 22px 22px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px;
  font: 600 .85rem/1 var(--mono); color: var(--gold); letter-spacing: .06em;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { color: var(--ink-2); font-size: .97rem; margin-bottom: .6em; }
.steps p:last-child { margin-bottom: 0; }
.step-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .4rem; }

.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line-2)); }
.flow > li { position: relative; margin: 0; padding: 0 0 34px 64px; }
.flow > li:last-child { padding-bottom: 0; }
.flow-dot {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 2px solid var(--gold);
  font: 700 .95rem/1 var(--mono); color: var(--gold); z-index: 1;
}
.flow-dot.green { border-color: var(--green); color: var(--green); }
.flow-dot.red { border-color: var(--red); color: var(--red); }
.flow-dot.navy { border-color: var(--navy-2); color: var(--navy-2); }
@media (prefers-color-scheme: dark) { .flow-dot.navy { border-color: var(--on-navy-muted); color: var(--on-navy); } }
.flow h3 { margin: .35rem 0 .4rem; }
.flow .where { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 .7rem; }
.flow p, .flow li { color: var(--ink-2); }
.flow .card { margin-top: .9rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data.fit { min-width: 0; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--paper-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.n, table.data th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tr.hl td { background: var(--gold-soft); }
table.data caption { caption-side: bottom; padding: 10px 16px; font-size: .82rem; color: var(--muted); text-align: left; }

/* ---------- Accordion (FAQ) ---------- */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font-weight: 600; font-size: 1.06rem; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { transition: transform .2s ease; color: var(--muted); flex: none; }
.qa[open] summary .i { transform: rotate(180deg); }
.qa-body { padding: 0 2px 22px; color: var(--ink-2); max-width: 72ch; }
.qa-body p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }

/* ---------- Inner page head ---------- */
.page-head {
  background:
    radial-gradient(1200px 300px at 85% -10%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%),
    var(--paper-2);
  border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 72px) clamp(32px, 4vw, 56px);
}
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .4em; }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); max-width: 22ch; }
.page-head .lead { max-width: 46rem; margin-bottom: 0; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 1.4rem; font-size: .86rem; color: var(--muted); }
.page-meta span { display: inline-flex; align-items: center; gap: .4em; }
.page-meta .i { width: 1em; height: 1em; }

/* ---------- Long-form docs with a sticky table of contents ---------- */
.doc { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1040px) { .doc { grid-template-columns: 250px minmax(0, 1fr); } }
.toc { display: none; }
@media (min-width: 1040px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}
.toc p { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: .38em 0 .38em 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: .9rem; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--gold); font-weight: 600; }
.prose { max-width: 76ch; }
.prose > h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); margin-top: 2.6em; scroll-margin-top: 96px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose p:not(.eyebrow), .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose .card { margin: 1.25rem 0; }
.prose .table-wrap { margin: 1.25rem 0; }
.section-anchor { scroll-margin-top: 96px; }
.law-quote {
  margin: 1.25rem 0; padding: 18px 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; color: var(--ink);
}
.law-quote cite { display: block; margin-top: .6rem; font: 600 .8rem/1.3 var(--sans); color: var(--muted); font-style: normal; letter-spacing: .02em; }

/* ---------- Case law ---------- */
.case-tools { display: grid; gap: 14px; margin-bottom: 26px; }
.searchbox { position: relative; }
.searchbox .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbox input[type="search"] { width: 100%; min-height: 50px; padding: .7em 1em .7em 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; }
.searchbox input[type="search"]:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-2); border-radius: 999px;
  padding: .45em .95em; font: 600 .88rem/1.2 var(--sans); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { background: #e9eff5; border-color: #e9eff5; color: #0b1520; } }
.case-count { font-size: .9rem; color: var(--muted); }
.case-list { display: grid; gap: 18px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); scroll-margin-top: 96px; }
.case[hidden] { display: none; }
.case-court { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.case h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); margin: .55rem 0 .2rem; letter-spacing: -.01em; }
.case .cite { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.case-grid { display: grid; gap: 14px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .case-grid { grid-template-columns: 1.25fr 1fr; } }
.case-grid h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.case-grid p, .case-grid li { font-size: .97rem; color: var(--ink-2); }
.case-grid ul { margin-bottom: 0; }
.takeaway { background: var(--green-soft); border-radius: 12px; padding: 14px 16px; }
.takeaway h4 { color: var(--green); }
.takeaway p { color: var(--ink); margin: 0; }
.takeaway.warn { background: var(--gold-soft); } .takeaway.warn h4 { color: var(--gold); }
.case-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-foot a { font-size: .9rem; font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.status-pill.open { background: var(--gold-soft); color: var(--gold); }
.status-pill.settled { background: var(--green-soft); color: var(--green); }

/* ---------- Updates timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
@media (min-width: 900px) { .timeline::before { left: 167px; } }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 0 38px 34px; margin: 0; scroll-margin-top: 96px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.tl-item.big::before { border-color: var(--red); }
@media (min-width: 900px) {
  .tl-item { grid-template-columns: 140px 1fr; gap: 0 60px; padding-left: 0; }
  .tl-item::before { left: 160px; }
}
.tl-date { font: 600 .9rem/1.3 var(--mono); color: var(--muted); padding-top: 2px; }
.tl-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); margin: .4rem 0 .5rem; }
.tl-body p, .tl-body li { color: var(--ink-2); }
.tl-body .card { margin-top: .75rem; }

/* ---------- Forms (calculator + checker) ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field .help { font-size: .82rem; color: var(--muted); }
input[type="text"], input[type="number"], input[type="date"], input[type="search"], input[type="tel"], select, textarea {
  width: 100%; min-height: 46px; padding: .6em .8em; border-radius: 10px; border: 1.5px solid var(--line-2);
  background: var(--card); color: var(--ink); font: inherit; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent); }
input[aria-invalid="true"] { border-color: var(--red); }
textarea { min-height: 110px; resize: vertical; }

.calc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.calc-top { padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line); background: var(--paper-2); }
@media (min-width: 820px) { .calc-top { grid-template-columns: repeat(3, 1fr); } }
.calc-rows { padding: 8px clamp(10px, 2vw, 20px) 4px; }
.inv-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; padding: 16px 6px; border-bottom: 1px dashed var(--line); align-items: end; }
.inv-row .wide { grid-column: 1 / -1; }
.inv-row label { font-size: .8rem; letter-spacing: .02em; color: var(--muted); }
.inv-row input { font-weight: 400; margin-top: 6px; color: var(--ink); font-size: .98rem; }
.inv-row .icon-btn { justify-self: end; }
@media (min-width: 980px) {
  .inv-row { grid-template-columns: 1.1fr 1.15fr 1.15fr .95fr 1.15fr 1.3fr 44px; }
  .inv-row .wide { grid-column: auto; }
}
.inv-row .out { font-family: var(--mono); font-size: .9rem; font-variant-numeric: tabular-nums; }
.inv-row .out b { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.inv-row .out .interest { color: var(--green); font-weight: 600; }
.inv-row .out .flag { display: block; font-family: var(--sans); font-size: .76rem; color: var(--gold); margin-top: 3px; }
.inv-row .out .flag.red { color: var(--red); }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { color: var(--red); border-color: var(--red); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px clamp(16px, 2.4vw, 26px); }
.calc-summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 720px) { .calc-summary { grid-template-columns: repeat(4, 1fr); } }
.calc-summary > div { background: var(--card); padding: 18px 22px; }
.calc-summary b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc-summary .v { font: 600 clamp(1.25rem, 1.1rem + .7vw, 1.6rem)/1.2 var(--mono); font-variant-numeric: tabular-nums; margin-top: 6px; }
.calc-summary .v.green { color: var(--green); }
.calc-note { padding: 14px clamp(16px, 2.4vw, 26px) 20px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); }

.checker { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); }
.q { border: 0; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px dashed var(--line); }
.q legend { font-weight: 650; font-size: 1.04rem; margin-bottom: .2rem; padding: 0; }
.q legend .qn { font: 600 .8rem/1 var(--mono); color: var(--gold); margin-right: .5em; }
.q .help { font-size: .86rem; color: var(--muted); margin: .1rem 0 .7rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 42px; padding: .5em .95em; border-radius: 999px;
  border: 1.5px solid var(--line-2); font-size: .94rem; font-weight: 550; color: var(--ink-2); background: var(--card);
}
.opt input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .opt input:checked + span { border-color: #e9eff5; background: #e9eff5; color: #0b1520; } }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.verdict { margin-top: 8px; border-radius: 16px; padding: 22px; border: 1.5px solid var(--line-2); background: var(--paper-2); }
.verdict[hidden] { display: none; }
.verdict h3 { display: flex; align-items: center; gap: .5em; font-size: 1.25rem; }
.verdict.good { border-color: var(--green); background: var(--green-soft); }
.verdict.good h3 { color: var(--green); }
.verdict.maybe { border-color: var(--gold); background: var(--gold-soft); }
.verdict.maybe h3 { color: var(--gold); }
.verdict.no { border-color: var(--red); background: var(--red-soft); }
.verdict.no h3 { color: var(--red); }
.verdict ul { margin: .5rem 0 1rem; }
.verdict li { color: var(--ink); }
@media (min-width: 980px) { .sticky-col { position: sticky; top: 100px; } }
.legend p { font-size: .94rem; color: var(--ink-2); margin: .7rem 0 0; }
.legend .tag { margin-right: .35rem; }
.progress { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s ease; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) and (max-width: 979px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.contact-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.contact-card .card-icon { margin: 0; }
.contact-card b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card span.v { font-weight: 600; word-break: break-word; }
.section-dark .contact-card { background: var(--navy-2); border-color: rgba(255, 255, 255, .12); color: #fff; }
.section-dark .contact-card b { color: var(--on-navy-muted); }
.section-dark .contact-card:hover { border-color: #fff; }

/* ---------- Guide / document preview ---------- */
.doc-preview {
  aspect-ratio: 1 / 1.414; max-width: 340px; margin-inline: auto; width: 100%;
  background: #0f2a44; color: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  transform: rotate(2deg);
}
.doc-preview::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(231, 189, 106, .35), transparent); }
.doc-preview .k { font: 700 .62rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #e7bd6a; }
.doc-preview .t { font: 600 1.7rem/1.08 var(--serif); margin-top: 12px; }
.doc-preview .s { font-size: .78rem; color: #c7d5e2; margin-top: 10px; line-height: 1.5; }
.doc-preview ol { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: c; font-size: .74rem; color: #dbe5ee; }
.doc-preview ol li { counter-increment: c; display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.doc-preview ol li::before { content: counter(c, decimal-leading-zero); color: #e7bd6a; font-family: var(--mono); font-size: .68rem; padding-top: 1px; }
.doc-preview .b { font-size: .72rem; color: #c7d5e2; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 10px; }
.doc-preview .stamp { position: static; display: inline-block; transform: rotate(-8deg); background: transparent; color: #ff8a7a; border-color: #ff8a7a; mix-blend-mode: normal; margin-top: 16px; align-self: flex-start; font-size: .8rem; }

/* ---------- Big CTA band ---------- */
.cta-band { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .cta-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.cta-band h2 { margin-bottom: .4em; }
.what-to-send { margin-top: 1.25rem; }
.what-to-send li { color: var(--on-navy); }

/* ---------- Footer ---------- */
.site-footer { background: #0a1724; color: #c3d0dc; padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.site-footer a { color: #e9eff5; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-name { color: #fff; font-size: 1.35rem; }
.footer-brand p { margin-top: .8rem; color: #9fb1c3; max-width: 40ch; }
.site-footer h2 { font: 650 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8ea3b8; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer ul a { text-decoration: none; color: #d7e1ea; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6em; align-items: flex-start; }
.footer-contact .i { color: #e7bd6a; margin-top: .2em; width: 1.05em; height: 1.05em; }
.independence { margin-top: 1.2rem; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font-size: .84rem; color: #9fb1c3; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #8ea3b8; }
.footer-bottom a { color: #c3d0dc; }
.credit a { font-weight: 600; }

/* ---------- Reveal on scroll (only when JS has opted in) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hindi page tweaks ---------- */
.lang-hi .eyebrow { letter-spacing: .04em; font-family: var(--deva); }
.lang-hi .btn { font-family: var(--deva); }

/* ---------- Print (calculator schedule, checklists) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .no-print, .toc, .calc-actions, .icon-btn, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head { background: none; border: 0; padding: 0 0 12pt; }
  .calc, .card, .checker { box-shadow: none; border-color: #999; }
  a { color: #000; }
  .section { padding-block: 12pt; }
}
