/* BharatTax CA -- public marketing site for ca.bharattax.co.
   Separate from src/index.css (the signed-in app): these pages are plain
   static HTML with no React, so they must carry their own tokens.

   SEEDED FROM site/site.css (the itr.bharattax.co site) so the two public
   sites read as one product. It is a COPY, not a shared file, on purpose:
   that site and this one are edited in different sessions, and a stylesheet
   both builds depend on is a file either can break for the other. If you
   restyle one brand-wide, change both -- nothing here detects the drift,
   because a difference in shade cannot fail a test. */

:root {
  --brand:      #1e3a5f;
  --brand-d:    #142a46;
  --brand-l:    #f0f7ff;
  --ink:        #16202b;
  --ink-2:      #47566a;
  --muted:      #6b7a8d;
  --line:       #dfe4ea;
  --line-soft:  #edf0f3;
  --bg:         #ffffff;
  --bg-2:       #f7f9fa;
  --card:       #ffffff;
  --accent:     #1e4d8c;
  --warn:       #9a6700;
  --err:        #b3261e;
  --on-brand:   #ffffff;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 2px rgba(16,32,48,.06), 0 8px 24px rgba(16,32,48,.06);
  --maxw:       1120px;
  --font:       system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:       ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:     #7fb3e8;
    --brand-d:   #a8cdf2;
    --brand-l:   #14202e;
    --ink:       #e8edf2;
    --ink-2:     #b3c0ce;
    --muted:     #8b9aab;
    --line:      #2a3644;
    --line-soft: #202a36;
    --bg:        #10161d;
    --bg-2:      #161e27;
    --card:      #161e27;
    --accent:    #8ab8f0;
    --warn:      #e0b341;
    --err:       #f08b82;
    --on-brand:  #0a1725;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  }
}

:root[data-theme="dark"] {
  --brand: #7fb3e8; --brand-d: #a8cdf2; --brand-l: #14202e;
  --ink: #e8edf2; --ink-2: #b3c0ce; --muted: #8b9aab;
  --line: #2a3644; --line-soft: #202a36;
  --bg: #10161d; --bg-2: #161e27; --card: #161e27;
  --accent: #8ab8f0; --warn: #e0b341; --err: #f08b82;
  --on-brand: #0a1725;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

/* A grid or flex child defaults to min-width:auto, so anything wide inside it
   (a money table, a long invoice number) pushes the whole PAGE wider than the
   phone instead of scrolling inside its own panel. This is the line that keeps
   the document from scrolling sideways. */
.hero .wrap > *, .two-col > *, .grid > *, .facts > *, .steps > * { min-width: 0; }
body { overflow-x: hidden; }

/* Skip link: keyboard users should not tab the whole nav on every page. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 62px; position: relative; }

.brand { display: flex; align-items: baseline; gap: 7px; font-weight: 700; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .gst { color: var(--brand); font-weight: 800; }
.brand .by { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
@media (max-width: 420px) { .brand .by { display: none; } }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a {
  color: var(--ink-2); font-size: 14.5px; padding: 8px 11px; border-radius: 7px;
}
.nav > a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* Features dropdown -- CSS-only, opens on hover and on keyboard focus. */
.menu { position: relative; }
.menu > button {
  font: inherit; font-size: 14.5px; color: var(--ink-2); background: none; border: 0;
  padding: 8px 11px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.menu > button:hover { background: var(--bg-2); color: var(--ink); }
.menu > button::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.menu-panel {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 330px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; display: none;
}
.menu:hover .menu-panel, .menu:focus-within .menu-panel { display: block; }
.menu-panel a { display: block; padding: 9px 11px; border-radius: 7px; color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.menu-panel a:hover { background: var(--bg-2); text-decoration: none; }
.menu-panel a span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }

.head-cta { display: flex; align-items: center; gap: 8px; }

.navtoggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 11px; color: var(--ink); cursor: pointer; font: inherit; font-size: 14px;
}

@media (max-width: 960px) {
  .navtoggle { display: block; }
  .nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; margin: 0; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-panel { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 8px; min-width: 0; background: none; }
  .menu > button { display: none; }
  .head-cta { flex-direction: column; align-items: stretch; margin-top: 10px; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  padding: 11px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-d); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-sm { padding: 8px 13px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 68px 0 56px; border-bottom: 1px solid var(--line-soft); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.hero.solo .wrap { grid-template-columns: 1fr; max-width: 820px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-l);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: 46px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 800; }
.hero p.lede { font-size: 18.5px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

@media (max-width: 960px) {
  .hero { padding: 42px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: 33px; }
  .hero p.lede { font-size: 17px; }
}

/* ---------------------------------------------------------------- sections */
section { padding: 62px 0; }
section.tint { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 750; }
h3 { font-size: 18px; line-height: 1.32; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.sec-lede { font-size: 17px; color: var(--ink-2); margin: 0 0 34px; max-width: 64ch; }
.sec-head { margin-bottom: 34px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-head .sec-lede { margin-bottom: 0; }
@media (max-width: 700px) { section { padding: 42px 0; } h2 { font-size: 25px; } }

p { margin: 0 0 16px; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose h3 { margin-top: 28px; }
strong { font-weight: 650; color: var(--ink); }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: block; color: inherit;
}
a.card:hover { border-color: var(--brand); text-decoration: none; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 14.5px; }

.icon {
  width: 38px; height: 38px; border-radius: 9px; background: var(--brand-l);
  color: var(--brand); display: grid; place-items: center; margin-bottom: 14px;
  font-weight: 800; font-size: 13px; font-family: var(--mono); letter-spacing: -.02em;
}

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------- mock UI */
/* A drawn approximation of the product screen. No screenshots are used, so
   nothing on these public pages can leak a client GSTIN or trade name. Every
   figure is invented for illustration and the caption says so. */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; font-size: 13px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar span { margin-left: 8px; color: var(--muted); font-size: 12px; }
/* A five-column money table is wider than a phone. Let the PANEL scroll
   sideways rather than the page: a document that scrolls horizontally as a
   whole is unreadable, and shrinking tabular figures to fit is worse. */
.mock-body { padding: 16px 16px 6px; overflow-x: auto; }
.mock h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.mock table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mock th, .mock td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line-soft); }
.mock th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.mock th.n, .mock td.n { text-align: right; }
.mock td.n { font-family: var(--mono); font-size: 12.5px; }
.mock td.neg { color: var(--err); }
.mock tr:last-child td { border-bottom: 0; }
.mock tr.total td { font-weight: 700; border-top: 1.5px solid var(--line); }
.mock .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.mock .tag.ok   { background: var(--brand-l); color: var(--brand); }
.mock .tag.warn { background: rgba(154,103,0,.14); color: var(--warn); }
.mock .tag.err  { background: rgba(179,38,30,.12); color: var(--err); }
.mock-note { padding: 10px 16px; background: var(--bg-2); border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; line-height: 1.45; }

/* ---------------------------------------------------------------- facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { border-left: 3px solid var(--brand); padding-left: 16px; }
.fact b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.fact span { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan .ribbon { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-l); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-size: 29px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 14.5px; }
.plan li { padding: 6px 0 6px 24px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.plan .btn { width: 100%; }

.tbl-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.cmp th, table.cmp td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.cmp td.n, table.cmp th.n { text-align: right; font-variant-numeric: tabular-nums; }
table.cmp tbody th { font-weight: 600; }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 650; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 18px; color: var(--ink-2); max-width: 80ch; }
.faq .ans > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- cta band */
.band { background: var(--brand); border: 0; }
.band, .band h2, .band p { color: var(--on-brand); }
.band p { opacity: .88; font-size: 17px; max-width: 58ch; }
.band .btn-primary { background: var(--bg); color: var(--brand-d); }
.band .btn-primary:hover { background: var(--bg-2); color: var(--brand-d); }
.band .btn-ghost { color: var(--on-brand); border-color: rgba(127,127,127,.5); }
.band .btn-ghost:hover { background: rgba(127,127,127,.18); color: var(--on-brand); }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 30px; background: var(--bg-2); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--brand); }
.foot-about p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.foot-bot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------------------------------------------------------------- misc */
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin: 0 6px 8px 0; }
.note { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; color: var(--ink-2); font-size: 15px; }
.note > :last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }
.crumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: start; }
@media (max-width: 940px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.vis-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- shots */
/* Real screenshots of the running app, captured by shots/capture.py. The
   callout geometry comes from the live DOM, so the numbered markers sit on
   the right control even after the UI moves -- an arrow drawn by hand onto
   an image is wrong the first time a field shifts, and nothing catches it. */
.shot { margin: 0 0 8px; }
.shot-frame {
  position: relative; display: block; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); line-height: 0;
}
/* max-width, NOT width. `width: 100%` overrides the width attribute on the
   tag, which is what carries each shot's true size -- with it set, a wide
   table is always squeezed into the column however much overflow the frame
   allows. */
.shot-frame img { display: block; max-width: 100%; height: auto; }
.shot-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot-frame .hl { fill: none; stroke: #c2410c; stroke-width: 3; rx: 5; }
.shot-frame .badge-c { fill: #c2410c; }
.shot-frame .badge-t { fill: #fff; font: 700 19px var(--font); text-anchor: middle; }
.shot figcaption { font-size: 13.5px; color: var(--muted); padding: 10px 2px 0; line-height: 1.5; }

.shot-legend { list-style: none; counter-reset: cl; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
@media (max-width: 760px) { .shot-legend { grid-template-columns: 1fr; } }
.shot-legend li { counter-increment: cl; position: relative; padding-left: 30px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.shot-legend li::before {
  content: counter(cl); position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%; background: #c2410c; color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* A gallery of output views: pick one, see it. Without JS every view is
   simply shown in sequence, which is longer but never blank. */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.gallery-tabs button {
  font: inherit; font-size: 14px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer;
}
.gallery-tabs button:hover { border-color: var(--brand); color: var(--ink); }
.gallery-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }
.gallery-panel > .shot { display: none; }
.gallery-panel > .shot.on { display: block; }
.no-js .gallery-tabs { display: none; }
.no-js .gallery-panel > .shot { display: block; margin-bottom: 26px; }

.step-shot { margin-bottom: 44px; }
.step-shot:last-child { margin-bottom: 0; }
.step-shot > h3 { display: flex; align-items: baseline; gap: 10px; font-size: 20px; margin-bottom: 6px; }
.step-shot > h3 .n {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-size: 14px; font-weight: 700;
  display: grid; place-items: center; align-self: center;
}
.step-shot > p { color: var(--ink-2); margin-bottom: 16px; max-width: 74ch; }

/* A wide shot keeps its own size and scrolls, rather than being shrunk into
   the column. A fourteen-column money table scaled to page width is a grey
   smear -- unreadable is worse than needing a sideways scroll. */
.shot-frame.scrollx { overflow-x: auto; line-height: 0; }
/* Only lift the cap -- do NOT set width here. The width attribute on the tag
   carries the shot's true CSS size, and a CSS `width: auto` overrides it: an
   image that has not loaded yet then measures zero, never intersects the
   viewport, and so a lazy image never loads at all. It collapsed the whole
   gallery to a scrollbar. */
.shot-frame.scrollx img { max-width: none; }
.scroll-hint { color: var(--muted); font-style: italic; }

/* Jump links in the hero: this page is long and a reader arriving from a
   search wants the one tool they came for. */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a {
  font-size: 14px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
}
.toc a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
section[id] { scroll-margin-top: 78px; }

/* ---------------------------------------------------------------- chooser
   /which-itr-form/ -- the questionnaire. Ships hidden behind .no-js, which
   the script removes: the page must read correctly with JS blocked, and the
   decision table below it carries the same rules. */
.q {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card); padding: 20px 22px; margin: 0 0 16px;
}
.q legend {
  font-weight: 700; font-size: 17px; padding: 0 8px; margin-left: -8px;
  display: flex; align-items: baseline; gap: 10px;
}
.qn {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px;
  border-radius: 50%; background: var(--brand); color: var(--on-brand);
  font-size: 13px; font-weight: 700; flex: none;
}
.opts { display: grid; gap: 8px; margin-top: 14px; }
.opt {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 14px; font-size: 15px; color: var(--ink-2);
  background: var(--bg);
}
.opt:hover { border-color: var(--brand); }
.opt.on { border-color: var(--brand); background: var(--brand-l); color: var(--ink); }
.opt input { margin: 3px 0 0; flex: none; accent-color: var(--brand); }

.chooser-result {
  border: 1px solid var(--brand); border-radius: var(--radius-lg);
  background: var(--brand-l); padding: 24px 26px; margin-top: 26px;
}
.chooser-result h3 { font-size: 30px; margin: 2px 0 14px; letter-spacing: -.02em; }
.chooser-result ul { margin: 0; padding-left: 20px; }
.chooser-result li { margin-bottom: 8px; color: var(--ink-2); font-size: 15px; }
.chooser-result .note { margin-top: 16px; background: var(--card); }
.chooser-result .btn { margin: 0 8px 8px 0; }

/* ------------------------------------------------------------- calculator
   /old-vs-new-tax-regime/. Same contract: hidden behind .no-js, and the
   worked example on the page covers the same ground without it. */
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.calc-f { display: grid; gap: 6px; }
.calc-f > span { font-size: 14.5px; color: var(--ink-2); }
.calc-f em { color: var(--muted); font-style: normal; font-size: 13px; }
.calc-f input, .calc-f select {
  font: inherit; font-variant-numeric: tabular-nums;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink); width: 100%;
}
.calc-f input:focus, .calc-f select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-l);
}

@media (max-width: 720px) {
  .calc-grid { grid-template-columns: 1fr; }
  .chooser-result h3 { font-size: 26px; }
}

/* ---------------------------------------------------------- CA additions */
/* A status pill with no verdict attached -- "Not started" is neither good
   news nor bad, and the base .mock .tag carries no colour of its own. */
.mock .tag.mute { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }

/* The pricing page's unannounced figures. Deliberately not styled to look
   like a price: a placeholder that reads like a number gets quoted back. */
.plan .price[data-price-tbd] { font-size: 19px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
