/* Inno Cheque Writer BD - website and dashboards.
   Palette: security-paper mint, navy ink, bank green, rubber-stamp red (used sparingly).
   Type: Anek Bangla (headings, semi-condensed) and Hind Siliguri (text) - both cover Bangla. */

@font-face { font-family: "Anek Bangla"; font-style: normal; font-display: swap; font-weight: 100 800;
  font-stretch: 75% 125%; src: url("../fonts/anek-bangla-latin-standard-normal.7afbc098a6e7.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-display: swap; font-weight: 100 800;
  font-stretch: 75% 125%; src: url("../fonts/anek-bangla-bengali-standard-normal.d94a5495870d.woff2") format("woff2-variations");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/hind-siliguri-latin-400-normal.94b8693233d1.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20B9, U+2122, U+2212; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/hind-siliguri-latin-500-normal.3f586c48705f.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20B9, U+2122, U+2212; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/hind-siliguri-latin-600-normal.fc4268e5177f.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20B9, U+2122, U+2212; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("../fonts/hind-siliguri-latin-700-normal.9f7e2d2b2ab5.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20B9, U+2122, U+2212; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/hind-siliguri-bengali-400-normal.7bcc67f8ae55.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/hind-siliguri-bengali-600-normal.c68005dea382.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

:root {
  --paper: #F2F6F3;        /* page: security paper */
  --sheet: #FFFFFF;        /* surfaces */
  --ink: #15233F;          /* text: navy ink */
  --ink-soft: #4E5C72;
  --rule: #CFE0D7;         /* borders: guilloche green */
  --rule-strong: #A9C8B9;
  --bank: #1E6A54;         /* primary: bank green */
  --bank-ink: #FFFFFF;
  --bank-soft: #E1EFE8;
  --stamp: #B3261E;        /* rubber stamp red: crossings, destructive actions */
  --stamp-soft: #FBE9E7;
  --toner: #111111;        /* what the printer puts on the cheque */
  --warn: #7A5300; --warn-soft: #FFF4D6;
  --focus: #2563EB;
  --radius: 6px;
  --display: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
  --text: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1714; --sheet: #15211D; --ink: #E3ECE7; --ink-soft: #A0B3AA; --rule: #27413A;
    --rule-strong: #3B5C52; --bank: #6CC3A2; --bank-ink: #0B1A15; --bank-soft: #173129;
    --stamp: #F08A80; --stamp-soft: #3A1916; --toner: #F3F6F4; --warn: #FFD98A; --warn-soft: #3A2E10;
    --focus: #93B4FF; color-scheme: dark;
  }
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
h1, h2, h3 { font-family: var(--display); font-stretch: 87.5%; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 650; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); font-weight: 620; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--bank); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
img, svg { max-width: 100%; }
small, .muted { color: var(--ink-soft); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

/* ---- header / footer ------------------------------------------------------- */
.site-head { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.head-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-stretch: 87.5%; font-weight: 640; font-size: 1.25rem; margin-right: auto; }
.wordmark .mark { width: 36px; height: 36px; flex: none; display: block; }
.wordmark .bd { color: var(--bank); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bank); }
.site-nav a.button, .site-nav a.button:hover { color: var(--bank-ink); }
.site-nav form { margin: 0; display: inline; }
.site-foot { margin-top: 72px; border-top: 1px solid var(--rule); background: var(--sheet); padding: 40px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
.foot-grid h3 { font-size: 1rem; margin-bottom: .6em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 .35em; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--bank); text-decoration: underline; }
.foot-legal { margin-top: 28px; color: var(--ink-soft); font-size: .875rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---- page frame -------------------------------------------------------------- */
.page { padding-block: 36px 8px; }
.page.narrow { width: min(460px, 100% - 32px); }
.page.medium { width: min(760px, 100% - 32px); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .35em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ---- controls ------------------------------------------------------------------ */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 20px; border: 1px solid var(--bank); border-radius: var(--radius); background: var(--bank);
  color: var(--bank-ink); font: 600 1rem/1 var(--text); cursor: pointer; text-decoration: none; }
button:hover, .button:hover { filter: brightness(1.06); }
button.secondary, .button.secondary { background: transparent; color: var(--bank); }
button.danger, .button.danger { background: var(--stamp); border-color: var(--stamp); color: #fff; }
button.small, .button.small { min-height: 34px; padding: 0 12px; font-size: .92rem; }
button.link { background: none; border: 0; color: var(--bank); padding: 0; min-height: 0; font-weight: 500; text-decoration: underline; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--bank); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url],
input[type=search], input[type=datetime-local], input[type=date], input[type=file], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--sheet); color: var(--ink); font: inherit; }
textarea { min-height: 120px; }
.help { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--stamp); font-size: .95rem; }
.actions { margin-top: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hp { position: absolute; left: -5000px; }   /* honeypot */

/* ---- surfaces ------------------------------------------------------------------- */
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.card > h2:first-child, .card > h1:first-child { margin-top: 0; }
.msg { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid transparent; }
.msg.success { background: var(--bank-soft); border-color: var(--rule-strong); }
.msg.error { background: var(--stamp-soft); color: var(--stamp); border-color: var(--stamp); }
.msg.warning, .msg.info { background: var(--warn-soft); color: var(--warn); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat { border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; background: var(--sheet); }
.stat b { display: block; font-family: var(--display); font-stretch: 87.5%; font-size: 1.6rem; font-weight: 620; line-height: 1.2; }
.stat .muted { font-size: .92rem; }
.price { font-family: var(--display); font-stretch: 87.5%; font-size: 2.2rem; font-weight: 650; }
.price small { font-family: var(--text); font-size: 1rem; font-weight: 400; }
.was { text-decoration: line-through; color: var(--ink-soft); margin-left: 8px; font: 400 1rem var(--text); }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--bank-soft); color: var(--bank); vertical-align: middle; }
.status { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.status.paid, .status.active, .status.published, .status.ok { background: var(--bank-soft); color: var(--bank); }
.status.pending, .status.created, .status.draft, .status.open, .status.cancelled { background: var(--warn-soft); color: var(--warn); }
.status.failed, .status.expired, .status.refunded, .status.amount_mismatch, .status.suspended, .status.revoked,
.status.removed, .status.retired { background: var(--stamp-soft); color: var(--stamp); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
td form { margin: 0; }
.table-scroll { overflow-x: auto; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
dl.kv dt { color: var(--ink-soft); }
dl.kv dd { margin: 0; }
@media (max-width: 560px) { .card { padding: 18px; } th.opt, td.opt { display: none; } dl.kv { grid-template-columns: 1fr; gap: 2px; } dl.kv dd { margin-bottom: 8px; } }

/* ---- home -------------------------------------------------------------------------- */
.hero { padding: 56px 0 48px; border-bottom: 1px solid var(--rule); background: var(--sheet); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.7rem); font-stretch: 80%; font-weight: 680; max-width: 13ch; }
.hero .lede { margin-bottom: 26px; }
.hero h1 .kicker { display: block; margin-bottom: .7em; font: 600 .95rem/1.4 var(--text); letter-spacing: .02em;
  color: var(--bank); }
.hero-note { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); }
.hero-bn { margin: 8px 0 0; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.cheque-figure { margin: 0; }
.cheque-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.band { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.band:last-of-type { border-bottom: 0; }
.band-head { max-width: 62ch; margin-bottom: 32px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--bank); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font: 650 2.4rem/1 var(--display); font-stretch: 80%; color: var(--bank); margin-bottom: 8px; }
.steps h3 { margin-bottom: .3em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.words-demo { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 22px; }
.words-demo label { margin-top: 0; }
.words-demo .amount-input { font: 600 1.6rem/1.2 var(--display); font-stretch: 87.5%; letter-spacing: .02em; }
.words-out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--rule-strong); }
.words-out .line { font-family: Arial, Helvetica, sans-serif; color: var(--toner); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; min-height: 1.6em; }
.words-out .figure { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--toner); }
.words-out .system { font-size: .88rem; color: var(--ink-soft); margin-bottom: 4px; }
.words-out .system.gap { margin-top: 12px; }
.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.seg label { margin: 0; font-weight: 500; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 6px 12px; cursor: pointer; }
.seg input:checked + span { background: var(--bank); color: var(--bank-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }

.ledger { width: 100%; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--sheet); overflow: hidden; }
.ledger h3 { margin: 0; padding: 14px 18px; font-size: 1.1rem; border-bottom: 1px solid var(--rule); }
.ledger ul { margin: 0; padding: 12px 18px 16px 36px; }
.ledger li { margin-bottom: .4em; }
.ledger.stay h3 { background: var(--bank-soft); }

.bank-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 12px; }
.bank-list li { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 14px; background: var(--sheet); }
.bank-list li a { color: var(--ink); text-decoration: none; }
.bank-list li a:hover { color: var(--bank); text-decoration: underline; }

/* ---- prices: plan cards and Free/Premium comparison ---------------------------------- */

/* ---- FAQ --------------------------------------------------------------------------- */
details.qa { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details.qa summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style-position: outside; }
details.qa[open] summary { margin-bottom: 8px; }
details.qa p:last-child { margin-bottom: 0; }

/* ---- dashboards ------------------------------------------------------------------------ */
.tabs { display: flex; gap: 4px 22px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.tabs a { padding: 8px 0 10px; color: var(--ink-soft); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--bank); }
.tabs a:hover { color: var(--ink); }
.danger-zone { border-color: var(--stamp); }
.danger-zone h2 { color: var(--stamp); }

/* staff */
.staff-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding-top: 24px; }
.staff-nav { position: sticky; top: 16px; align-self: start; }
.staff-nav ul { list-style: none; margin: 0; padding: 0; }
.staff-nav a { display: block; padding: 7px 10px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.staff-nav a[aria-current="page"] { background: var(--bank-soft); color: var(--bank); font-weight: 600; }
.staff-nav a:hover { background: var(--bank-soft); }
.staff-nav .who { font-size: .88rem; color: var(--ink-soft); padding: 0 10px 12px; }
.staff-main h1 { font-size: 1.9rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.toolbar label { margin: 0 0 4px; font-size: .88rem; }
.toolbar > div { min-width: 160px; }
.pager { display: flex; gap: 14px; margin-top: 14px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; align-items: start; }
.form-group { margin: 14px 0 6px; padding: 4px 14px 8px; border: 1px solid var(--rule); border-radius: var(--radius); }
.form-group legend { padding: 0 6px; font-weight: 600; font-size: .95rem; }
.plans-pick .label { display: block; font-weight: 600; margin: 14px 0 6px; }
.plans-pick > div:first-of-type { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.plans-pick label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
.inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; align-items: end; }
.code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92rem; word-break: break-all; }
.preview-svg { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px; }
@media (max-width: 900px) { .staff-shell { grid-template-columns: 1fr; } .staff-nav { position: static; }
  .staff-nav ul { display: flex; flex-wrap: wrap; gap: 4px; } }

/* ---- cheque illustration -------------------------------------------------------------------- */
.cheque-svg .leaf { fill: var(--sheet); stroke: var(--rule-strong); stroke-width: .35; }
.cheque-svg .guilloche path { fill: none; stroke: var(--rule); stroke-width: .18; }
.cheque-svg .pre { fill: var(--ink-soft); font-family: var(--text); }
.cheque-svg .pre-line { stroke: var(--ink-soft); stroke-width: .2; opacity: .7; }
.cheque-svg .box { fill: none; stroke: var(--ink-soft); stroke-width: .22; opacity: .8; }
.cheque-svg .bankname { fill: var(--bank); font-family: var(--display); font-weight: 650; }
.cheque-svg .printed { fill: var(--toner); font-family: Arial, Helvetica, sans-serif; }
.cheque-svg .cross { stroke: var(--toner); stroke-width: .45; }
.cheque-svg .dim { stroke: var(--bank); stroke-width: .22; fill: none; }
.cheque-svg .dim-text { fill: var(--bank); font-family: var(--text); font-weight: 600; }
.cheque-svg .mark { stroke: var(--stamp); stroke-width: .3; fill: none; }
.cheque-svg .mark-text { fill: var(--stamp); font-family: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .cheque-svg .print-run { clip-path: inset(0 100% 0 0); animation: print-head 1.6s cubic-bezier(.5, 0, .2, 1) .35s forwards; }
  .cheque-svg .print-run.r2 { animation-delay: .75s; }
  .cheque-svg .print-run.r3 { animation-delay: 1.15s; }
  .cheque-svg .print-run.r4 { animation-delay: 1.5s; }
  @keyframes print-head { to { clip-path: inset(0 0 0 0); } }
}

/* ---- print ---------------------------------------------------------------------------------- */
@media print {
  .site-head, .site-foot, .no-print, .tabs { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 0; padding: 0; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt { margin-top: 28px; }
.form-card { max-width: 600px; }
.preview-svg.qr { width: 100%; max-width: 260px; padding: 0; overflow: hidden; background: #FFFFFF;
  justify-self: center; }
.preview-svg.qr svg { display: block; width: 100%; height: auto; }
.code.key { word-break: normal; }
.stat b.code { font-size: 1.05rem; font-family: var(--text); }

/* PayStation payment-methods banner (footer, checkout) */
.pay-banner img { display: block; width: 100%; height: auto; background: #FFFFFF; border-radius: 4px; padding: 3px; }
.pay-banner.foot { margin-top: 4px; max-width: 340px; }
.pay-banner.compact { margin-top: 16px; max-width: 420px; }

/* receipt letterhead (screen and print) */
.receipt-head { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.receipt-head img { display: block; width: 240px; max-width: 100%; height: auto; }
.receipt-head address { font-style: normal; font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }

/* checkout: acceptance of the policies */
.consent { margin: 18px 0 4px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); }
.consent label.check { margin: 0; }
.consent .help { margin: 6px 0 0 28px; }
.consent.invalid { border-color: var(--stamp); background: var(--stamp-soft); }
button:disabled { opacity: .55; cursor: not-allowed; }

.badge.premium { background: var(--warn-soft); color: var(--warn); }
.features h2 .badge { font-family: var(--text); font-stretch: 100%; }
.prose.features { max-width: none; }
.features > p, .features > ul { max-width: 68ch; }

/* home: office work grid */
.office-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.office-grid li { padding: 18px 22px 18px 0; border-bottom: 1px solid var(--rule); }
.office-grid h3 { font-size: 1.1rem; margin: 0 0 4px; }
.office-grid p { margin: 0; color: var(--ink-soft); }
.mt-s { margin-top: 16px; }
@media (max-width: 860px) { .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .office-grid { grid-template-columns: 1fr; } }

.plans h2, .compare h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.plan-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan-card { display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: 18px 18px 20px; }
.plan-card.featured { border: 2px solid var(--bank); padding: 17px 17px 19px; }
.plan-card h3 { font-size: 1.15rem; margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-card .rate { font: 650 2rem/1.1 var(--display); font-stretch: 87.5%; margin: 0; }
.plan-card .rate small { font: 400 .95rem var(--text); color: var(--ink-soft); }
.plan-note { min-height: 2.9em; margin: 6px 0 10px; font-size: .92rem; color: var(--ink-soft); }
.plan-note .was { text-decoration: line-through; }
.badge.launch { background: var(--stamp-soft); color: var(--stamp); }
.plan-card ul { margin: 0 0 16px; padding-left: 1.1em; font-size: .95rem; }
.plan-card li { margin-bottom: .3em; }
.plan-action { margin-top: auto; }
.plan-action .button { width: 100%; text-align: center; }
p.small { font-size: .92rem; margin-top: 12px; }
.compare { max-width: 860px; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--sheet); table-layout: fixed; }
.compare-table th, .compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--rule); text-align: left;
  vertical-align: top; }
.compare-table thead th { font-size: .95rem; color: var(--ink-soft); font-weight: 600; border-bottom: 2px solid var(--rule-strong); }
.compare-table thead th:nth-child(2), .compare-table thead th:nth-child(3) { width: 26%; }
.compare-table tbody th { font-weight: 500; }
.compare-table td.yes { color: var(--bank); font-weight: 700; }
.compare-table td.no { color: var(--ink-soft); }
.compare > .compare-table { border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; }
.compare-group { margin-top: 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--sheet);
  overflow: hidden; }
.compare-group summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline;
  padding: 14px 16px; cursor: pointer; list-style: none; }
.compare-group summary::-webkit-details-marker { display: none; }
.compare-group summary::before { content: ""; width: .55em; height: .55em; border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft); transform: rotate(-45deg); margin-right: 4px; align-self: center;
  transition: transform .15s; }
.compare-group[open] summary::before { transform: rotate(45deg); }
.compare-group .g-name { font: 620 1.15rem var(--display); font-stretch: 87.5%; flex: 1; }
.compare-group .g-count { font-size: .92rem; color: var(--ink-soft); }
.compare-group summary:hover .g-name { color: var(--bank); }
.compare-group .compare-table { border-top: 1px solid var(--rule); }
.compare-group .compare-table tr:last-child > * { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .compare-group summary::before { transition: none; } }
@media (max-width: 1000px) { .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .plan-cards { grid-template-columns: 1fr; }
  .plan-note { min-height: 0; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: .92rem; }
  .compare-table thead th:nth-child(2), .compare-table thead th:nth-child(3) { width: 24%; }
  .compare-group summary { padding: 12px; }
}

/* checkout: promo code */
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-row.invalid input { border-color: var(--stamp); }
.field-error { color: var(--stamp); font-size: .92rem; margin: 6px 0 0; }
.promo-sum { margin: 10px 0 4px; }

/* supported banks */
.bank-filter { max-width: 420px; margin: 18px 0 6px; }
.bank-group h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.bank-group ul.banks-list { list-style: none; padding: 0; margin: 0; columns: 2 280px; column-gap: 32px; }
.bank-group ul.banks-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.bank-group ul.banks-list a { color: var(--ink); }
.bank-group ul.banks-list a:hover { color: var(--bank); }
.crumbs { font-size: .92rem; color: var(--ink-soft); margin-bottom: 8px; }
.bank-preview { margin: 22px 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 14px; }
.bank-preview figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }

/* ---- user manual ---------------------------------------------------------------------- */
.manual-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.manual-nav { position: sticky; top: 16px; }
.manual-toc summary { font-weight: 600; cursor: pointer; padding: 6px 0; }
.manual-toc ol { margin: 6px 0 0; padding-left: 1.4em; font-size: .95rem; }
.manual-toc li { margin: 0 0 6px; }
.manual-toc a { color: var(--ink); text-decoration: none; }
.manual-toc a:hover { text-decoration: underline; }
.manual-toc a[aria-current="page"] { color: var(--bank); font-weight: 600; }
.manual-body { max-width: none; }
.manual-body > p, .manual-body > ul, .manual-body > ol, .manual-body > dl, .manual-body > .note-box,
.manual-body > h2 { max-width: 70ch; }
.chapter-no { margin: 0 0 6px; font-size: .92rem; color: var(--ink-soft); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 20px;
  border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; text-decoration: none; font-weight: 600; max-width: 48%; }
.pager a span { font-size: .85rem; font-weight: 400; color: var(--ink-soft); }
.pager .next { margin-left: auto; text-align: right; }
.manual-foot { margin-top: 24px; font-size: .92rem; }
.note-box { margin: 20px 0; padding: 12px 16px; border-left: 4px solid var(--bank); background: var(--bank-soft);
  border-radius: 0 var(--radius) var(--radius) 0; }
.note-box p { margin: 0; }
dl.fixes dt { font-weight: 600; margin-top: 12px; }
dl.fixes dd { margin: 2px 0 0; }
ul.columns { columns: 2 300px; column-gap: 32px; }
ul.columns li { break-inside: avoid; }
.chapter-list { list-style: none; counter-reset: ch; padding: 0; margin: 24px 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.chapter-list li { counter-increment: ch; padding: 14px 16px; background: var(--sheet); border: 1px solid var(--rule);
  border-radius: var(--radius); }
.chapter-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 600;
  text-decoration: none; }
.chapter-list a::before { content: counter(ch) "."; color: var(--ink-soft); font-weight: 400; }
.chapter-list p { margin: 4px 0 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .manual-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .manual-nav { position: static; border: 1px solid var(--rule); border-radius: var(--radius); padding: 4px 14px;
    background: var(--sheet); }
}

/* screenshots with numbered marks (web/manual.py) */
.shot { margin: 18px 0 28px; }
.shot-scroll { overflow-x: auto; border-radius: 10px; }
.shot-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.shot-frame { position: relative; width: fit-content; max-width: 100%; border: 1px solid var(--rule);
  border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px rgba(21, 35, 63, .10); background: #fff; }
.shot.wide .shot-frame { width: 100%; min-width: 680px; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.shot-marks rect { fill: none; stroke: #C8352B; stroke-width: 3; }
.shot-marks line { stroke: #C8352B; stroke-width: 3; }
.shot-marks marker path { fill: #C8352B; }
.pin { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #C8352B; color: #fff; font: 600 .85rem/1 var(--text); box-shadow: 0 0 0 2px #fff; }
.shot-frame .pin { position: absolute; transform: translate(-50%, -50%); }
.callouts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px 28px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); font-size: .97rem; line-height: 1.45; }
.callouts li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.callouts .pin { margin-top: -1px; }
.shot-caption { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }
.shot-hint { display: none; margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 720px) { .pin { width: 22px; height: 22px; font-size: .78rem; } .shot-hint { display: block; } }
