/* Talliora marketing site.
   World: a CA firm's ledger. Paper white, trust navy, one brass accent.
   Type: IBM Plex Sans for words, IBM Plex Mono only for data (GSTINs, amounts, codes).
   Structure (taste-skill): one container, every section one screen (--h), splits on the 6/12 line,
   one hero entrance, one moment (the bill scan), pulses on the Tally diagram, hover micro-motion. */

:root {
  --ink: #0b1f3a;
  --ink-2: #132b4d;
  --ink-3: #1d3a63;
  --navy: #1f4e8c;
  --navy-2: #2f63a8;
  --brass: #d4a64a;
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --line: #e2ded5;
  --line-ink: #2a4468;
  --text: #0b1f3a;
  --muted: #3a4a5f;      /* body text on paper: 8:1 and up */
  --caption: #5a6779;    /* labels and captions: 5:1 and up */
  --muted-ink: #b8c6da;  /* body text on ink: 8:1 and up */
  --ok: #0f7a53;
  --ok-bg: #e6f4ee;
  --warn: #8a5200;
  --warn-bg: #fdf3e0;
  --bad: #a51f30;
  --bad-bg: #fdecee;
  --r: 4px;
  --r-lg: 6px;
  --nav: 68px;
  --gutter: clamp(16px, 5vw, 120px);
  --wrap: min(1200px, 100% - 2 * var(--gutter));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --shadow: 0 1px 2px rgba(16, 24, 36, .06), 0 12px 32px -12px rgba(16, 24, 36, .18);
  --bg: var(--paper);
  --accent: var(--navy);
  --font-display: var(--sans);
  --display-weight: 600;
  --display-tracking: -0.03em;
  --t-h2: clamp(30px, 4.2vw, 54px);
  --shadow-lg: 0 2px 4px rgba(16, 24, 36, .06), 0 32px 64px -24px rgba(16, 24, 36, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num, table { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: 0; }

::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--brass); }
html { scrollbar-color: #c9c3b6 var(--paper); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #c9c3b6; border: 3px solid var(--paper); border-radius: 8px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- buttons: one primary, one secondary, everywhere ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  font: 600 15px/1 var(--sans); text-decoration: none; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background-color .18s, border-color .18s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); transition-duration: .05s; }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #1a4378; }
.btn--ghost { background: transparent; color: inherit; border-color: #7d8899; }
.btn--ghost:hover { border-color: currentColor; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav); background: rgba(251, 250, 247, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; position: relative; }
.skip-link { position: absolute; left: 0; top: 12px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); transform: translateY(-200%); transition: transform .15s; }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg, .brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 4px; font-size: 15px; color: var(--muted); }
.nav__links a { text-decoration: none; padding: 10px 12px; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 6px; }
.nav__login { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 12px; color: var(--muted); }
.nav__login:hover { color: var(--text); }
@media (max-width: 960px) { .nav__links { display: none; } }
@media (max-width: 480px) { .nav__login { display: none; } }

/* ---------- sections: one or two screens each ---------- */
main > section {
  min-height: calc(var(--h, 1) * 100svh);
  padding-block: calc(var(--nav) + clamp(24px, 5vh, 56px)) clamp(32px, 6vh, 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.head { max-width: 680px; }
.head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.head p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 60ch; }
.dark { background: var(--ink); color: #fff; }
.dark .head p { color: var(--muted-ink); }
.band { background: var(--paper-2); }

/* the split: columns on the 6/12 line, top-aligned */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.split > :first-child { grid-column: 1 / 7; }
.split > :last-child { grid-column: 7 / 13; }
@media (max-width: 960px) { .split > :first-child, .split > :last-child { grid-column: 1 / -1; } }

/* ---------- hero: exactly the first screen ---------- */
.hero { position: relative; overflow: hidden; min-height: 100svh; padding-block: calc(var(--nav) + clamp(24px, 5vh, 56px)) clamp(48px, 8vh, 80px) !important; justify-content: flex-start !important;
  background: linear-gradient(to bottom, transparent 0 calc(100% - 1px), rgba(31, 78, 140, .06) 0) 0 0 / 100% 36px, var(--paper); }
.hero__copy { max-width: 900px; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .soft { color: var(--navy); }
.hero__sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 64ch; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; color: var(--ok); }
.hero__stage { margin-top: clamp(28px, 4.5vh, 48px); position: relative; }

/* entrance on load, once */
.m-enter [data-enter] .hero__copy > *, .m-enter [data-enter] .hero__stage { opacity: 0; transform: translateY(14px); filter: blur(4px); animation: enter .9s var(--ease) forwards; }
.m-enter [data-enter] .hero__copy > :nth-child(2) { animation-delay: .08s; }
.m-enter [data-enter] .hero__copy > :nth-child(3) { animation-delay: .16s; }
.m-enter [data-enter] .hero__copy > :nth-child(4) { animation-delay: .24s; }
.m-enter [data-enter] .hero__stage { transform: translateY(36px); animation-duration: 1.1s; animation-delay: .32s; }
@keyframes enter { to { opacity: 1; transform: none; filter: none; } }

/* ---------- app frame (live product UI) ---------- */
.app { display: grid; grid-template-columns: 212px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; }
.app__side { background: var(--ink); color: var(--muted-ink); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; min-height: 440px; }
.app__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; padding: 2px 6px 14px; }
.app__brand svg { width: 22px; height: 22px; }
.app__client { border: 1px solid var(--line-ink); background: var(--ink-2); border-radius: var(--r); padding: 8px 10px; margin-bottom: 10px; }
.app__client b { display: block; color: #fff; font-weight: 600; font-size: 12.5px; }
.app__client span { font-family: var(--mono); font-size: 10.5px; }
.app__nav { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r); font-size: 12.5px; position: relative; }
.app__nav svg { width: 14px; height: 14px; }
.app__nav.is-on { background: var(--ink-2); color: #fff; }
.app__nav.is-on::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; background: var(--brass); border-radius: 2px; }
.app__nav.is-on svg { color: var(--brass); }
.app__main { padding: 20px 22px 22px; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.app__top small { color: var(--caption); font-size: 11px; }
.app__top .app__title { margin: 2px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.app__period { font-size: 12px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.app__period svg { width: 14px; height: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 14px; }
.stats > div { background: #fff; padding: 11px 13px; }
.stats small { color: var(--caption); font-size: 10.5px; }
.stats b { display: block; font-size: 19px; font-weight: 600; margin-top: 2px; }
.stats b i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--caption); }
.bar { height: 4px; background: #eef0f3; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 72%; background: #10b981; border-radius: 4px; transform-origin: left; }
.m-enter .bar i { animation: grow 1.6s 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.reg { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.reg tr:last-child td { border-bottom: 0; }
.reg table { width: 100%; border-collapse: collapse; }
.reg th { text-align: left; font-weight: 500; color: var(--caption); font-size: 11px; padding: 7px 10px; background: #fafaf8; border-bottom: 1px solid var(--line); }
.reg td { padding: 9px 10px; border-bottom: 1px solid #efede8; vertical-align: middle; white-space: nowrap; }
.reg td b { font-weight: 600; }
.reg td small { display: block; color: var(--caption); font-size: 10.5px; }
.reg .r { text-align: right; }
.reg tr.reading td { background: #f4f7fc; }
.sk { display: inline-block; height: 7px; border-radius: 4px; background: #dde3ec; width: 90px; }
.spin { width: 12px; height: 12px; border: 2px solid #b6cbe8; border-top-color: var(--navy); border-radius: 50%; display: inline-block; animation: spin 1s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: var(--ok-bg); box-shadow: inset 0 0 0 1px rgba(15,122,83,.2); }
.pill.warn { color: var(--warn); background: var(--warn-bg); box-shadow: inset 0 0 0 1px rgba(138,82,0,.22); }
.pill.bad { color: var(--bad); background: var(--bad-bg); box-shadow: inset 0 0 0 1px rgba(165,31,48,.2); }
.pill.idle { color: #4a5668; background: #f2f3f5; box-shadow: inset 0 0 0 1px rgba(74,86,104,.18); }
@media (max-width: 960px) { .app { grid-template-columns: 1fr; } .app__side { display: none; } .hide-md { display: none; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .app__main { padding: 14px 12px 14px; } .hide-sm { display: none; } }

/* ---------- intake ---------- */
.intake { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d4cfc3; }
.card h3 { font-size: 20px; letter-spacing: -0.015em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.card__vis { height: 210px; margin: -24px -24px 22px; border-bottom: 1px solid var(--line); background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; border-radius: var(--r-lg) var(--r-lg) 0 0; }
@media (max-width: 960px) { .intake { grid-template-columns: 1fr; } }

.drop { width: 78%; border: 1.5px dashed #b9b2a3; border-radius: var(--r); background: #fff; padding: 18px; text-align: center; font-size: 12.5px; color: var(--muted); }
.drop b { color: var(--text); font-weight: 600; }
.files { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.file { width: 38px; height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 2px 6px rgba(16,24,36,.08); font: 600 8px/1 var(--mono); display: grid; place-items: end center; padding-bottom: 6px; color: #fff; }
.file::after { content: attr(data-t); background: var(--c, var(--bad)); padding: 2px 3px; border-radius: 2px; }
.card:hover .file { animation: drop 2.8s var(--ease) infinite; }
.card:hover .file:nth-child(2) { animation-delay: .15s; }
.card:hover .file:nth-child(3) { animation-delay: .3s; }
@keyframes drop { 0%, 100% { transform: none; } 30% { transform: translateY(10px); } 45% { transform: none; } }

.phone { width: 124px; height: 180px; align-self: end; background: var(--ink); border-radius: 22px 22px 0 0; padding: 8px 8px 0; box-shadow: var(--shadow); }
.phone__screen { background: #111; border-radius: 15px 15px 0 0; height: 100%; position: relative; overflow: hidden; }
.bill { position: absolute; inset: 18px 16px 32px; background: #fff; padding: 9px 8px; transition: filter .6s; filter: sepia(.45) brightness(.86) contrast(.9); }
.bill i { display: block; height: 3px; background: #8a8a8a; margin-bottom: 5px; border-radius: 1px; }
.bill i:nth-child(1) { width: 60%; height: 5px; background: #333; }
.bill i:nth-child(3) { width: 80%; } .bill i:nth-child(4) { width: 70%; } .bill i:nth-child(6) { width: 50%; margin-left: auto; background: #333; }
.bill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,0,0,.22), transparent 55%); transition: opacity .6s; }
.card:hover .bill { filter: grayscale(1) contrast(1.6) brightness(1.08); }
.card:hover .bill::after { opacity: 0; }
.corners span { position: absolute; width: 14px; height: 14px; border-color: var(--brass); border-style: solid; transition: left .6s var(--ease), right .6s var(--ease), top .6s var(--ease), bottom .6s var(--ease); }
.corners span:nth-child(1) { left: 8px; top: 10px; border-width: 2px 0 0 2px; }
.corners span:nth-child(2) { right: 8px; top: 10px; border-width: 2px 2px 0 0; }
.corners span:nth-child(3) { left: 8px; bottom: 26px; border-width: 0 0 2px 2px; }
.corners span:nth-child(4) { right: 8px; bottom: 26px; border-width: 0 2px 2px 0; }
.card:hover .corners span:nth-child(1) { left: 13px; top: 15px; } .card:hover .corners span:nth-child(2) { right: 13px; top: 15px; }
.card:hover .corners span:nth-child(3) { left: 13px; bottom: 31px; } .card:hover .corners span:nth-child(4) { right: 13px; bottom: 31px; }
.chips { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; gap: 3px; justify-content: center; font-size: 7.5px; }
.chips span { background: #333; color: #ddd; padding: 2px 5px; border-radius: 6px; }
.chips span.on { background: var(--navy); color: #fff; }

.chat { width: 82%; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.msg { max-width: 82%; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg.in { align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 2px; }
.msg small { display: block; color: var(--caption); font-size: 10px; margin-bottom: 2px; }
.msg.photo { display: flex; align-items: center; gap: 8px; }
.msg.photo .thumb { width: 30px; height: 38px; background: repeating-linear-gradient(#fff 0 4px, #cfcfcf 4px 5px); border: 1px solid #ddd; }
.card:hover .msg.out { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: translateY(6px); opacity: .3; } }

/* ---------- checks: the scan moment ---------- */
.paper { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 28px 28px 22px; font-size: 13px; width: 100%; overflow: hidden; }
.paper__head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--text); padding-bottom: 12px; }
.paper__head b { font-size: 15px; }
.paper small { color: var(--caption); display: block; }
.paper table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.paper th { text-align: left; font-weight: 500; color: var(--caption); font-size: 11px; border-bottom: 1px solid var(--line); padding: 6px 4px; }
.paper td { padding: 7px 4px; border-bottom: 1px dashed #e8e4dc; }
.paper .r { text-align: right; }
.paper tfoot td { border: 0; padding-top: 6px; }
.paper tfoot tr:last-child td { font-weight: 600; font-size: 14px; border-top: 2px solid var(--text); padding-top: 9px; }
.hl { transition: background-color .4s; }
.paper.is-read .hl { background: rgba(212, 166, 74, .2); }
.scanline { position: absolute; left: 0; right: 0; top: -64px; height: 64px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(47, 99, 168, .12) 70%, rgba(47, 99, 168, .55) 98%, transparent); }
.paper.is-scanning .scanline { animation: scan 1.8s var(--ease) forwards; }
@keyframes scan { 0% { top: -64px; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.verdicts { margin-top: 28px; }
.verdict { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.verdict svg { width: 22px; height: 22px; margin-top: 1px; transition: transform .4s var(--ease), opacity .4s; }
.js .verdicts:not(.is-on) .verdict svg { opacity: .25; transform: scale(.7); }
.verdict:nth-child(2) svg { transition-delay: .35s; } .verdict:nth-child(3) svg { transition-delay: .7s; } .verdict:nth-child(4) svg { transition-delay: 1.05s; }
.verdict b { display: block; font-weight: 600; font-size: 16px; }
.verdict span { color: var(--muted); font-size: 15px; }
.verdict .mono { color: var(--text); white-space: nowrap; padding-top: 2px; }
.tick { color: var(--ok); }
.flag { color: var(--warn); }
@media (max-width: 960px) { .verdict .mono { display: none; } .verdict { grid-template-columns: 26px 1fr; } }

/* ---------- tally connector ---------- */
.flow { margin-top: 44px; align-items: stretch; }
.node { background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--r-lg); padding: 20px; }
.node small { color: var(--muted-ink); font-size: 13px; }
.node b { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.node p { color: var(--muted-ink); font-size: 15px; margin-top: 8px; }
.node__ico { width: 36px; height: 36px; border-radius: var(--r); background: var(--ink-3); display: grid; place-items: center; margin-bottom: 14px; }
.node__ico svg { width: 18px; height: 18px; color: var(--brass); }
.companies { display: grid; gap: 10px; }
.co { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.co span { font-family: var(--mono); font-size: 12px; color: var(--muted-ink); }
.co .state { font-family: var(--sans); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.co .state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.co .state.wait { color: #f3c776; } .co .state.wait::before { background: #f3c776; }
.wire { height: 100%; width: 100%; overflow: visible; }
.wire path { fill: none; stroke: var(--line-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wire .pulse { stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 110; animation: run 2.6s linear infinite; }
.wire .pulse.b { animation-delay: .85s; } .wire .pulse.c { animation-delay: 1.7s; }
@keyframes run { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@media (max-width: 960px) {
  .companies { margin-top: 20px; }
}

/* ---------- 2B matching ---------- */
.recon { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: 13.5px; }
.recon__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.recon__bar button { font: 500 13px var(--sans); border: 1px solid var(--line); background: #fff; border-radius: 3px; min-height: 34px; padding: 0 10px; cursor: pointer; color: var(--muted); transition: border-color .15s, background-color .15s; }
.recon__bar button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.recon__bar button:hover { border-color: var(--text); }
.recon__bar button b { font-weight: 600; margin-left: 4px; }
.recon__table { overflow-x: auto; }
.recon table { width: 100%; border-collapse: collapse; }
.recon th { text-align: left; font-weight: 500; font-size: 12px; color: var(--caption); padding: 8px 14px; background: #fafaf8; border-bottom: 1px solid var(--line); }
.recon td { padding: 11px 14px; border-bottom: 1px solid #efede8; white-space: nowrap; }
.recon tr:last-child td { border-bottom: 0; }
.recon .r { text-align: right; }
.recon tr[hidden] { display: none; }
.recon td small { display: block; color: var(--caption); font-size: 11.5px; }
@media (max-width: 640px) { .recon__bar { gap: 8px; } .recon__bar button { min-height: 44px; padding: 0 12px; } }

/* ---------- firm ---------- */
.clients { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.clients__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.clients__head b { font-size: 16px; }
.kbd { font: 500 11px var(--mono); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; color: var(--muted); }
.clients li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #efede8; font-size: 14px; transition: background-color .15s; }
.clients li:hover { background: #fafaf8; }
.clients li:last-child { border-bottom: 0; }
.ini { width: 34px; height: 34px; border-radius: var(--r); background: #eef3fa; color: var(--navy); font-weight: 600; font-size: 12px; display: grid; place-items: center; }
.clients li small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--caption); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; padding: 12px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--text); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 68ch; }
.faq__note { margin-top: 28px; }
.faq__card { margin-top: 28px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-lg); padding: 20px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.faq__card svg { width: 40px; height: 40px; }
.faq__card b { display: block; }
.faq__card p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- closing footer ---------- */
.closing { background: var(--ink); color: #fff; }
.closing { min-height: 100svh; display: flex; flex-direction: column; }
@media (min-width: 961px) and (min-height: 760px) { .closing { height: 100svh; } }
.closing__wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.closing__cta { flex: 1; align-items: start; align-content: center; padding-block: calc(var(--nav) + 24px) 40px; position: relative; }
.closing__cta::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom, transparent 0 calc(100% - 1px), rgba(195, 208, 226, .06) 0) 0 0 / 100% 36px; }
.closing__cta > * { position: relative; }
.closing h2 { font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
.closing h2 span { color: var(--brass); }
.closing__cta p { margin-top: 20px; color: var(--muted-ink); font-size: 19px; max-width: 56ch; }
.closing__links { padding-block: 28px; border-top: 1px solid var(--line-ink); color: var(--muted-ink); font-size: 14px; align-items: center; }
.closing__links nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.closing__links nav a { padding: 12px 0; text-decoration: none; }
.closing__links a:hover { color: #fff; }
.closing__links .brand { color: #fff; font-size: 17px; }
.closing__links small { display: block; margin-top: 6px; font-size: 13px; }

/* ---------- legal pages ---------- */
.legal { padding-block: 64px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.link { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .m-enter [data-enter] .hero__copy > *, .m-enter [data-enter] .hero__stage { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .verdicts:not(.is-on) .verdict svg { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.hero > .wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; }

/* ---------- round 3: stacked facts, vertical flow, statement, clients, agenda ---------- */
.facts { margin-top: 28px; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.facts li b { color: var(--text); font-weight: 600; }
.dark .facts li { border-top-color: var(--line-ink); color: var(--muted-ink); }
.dark .facts li b { color: #fff; }
.flow { display: flex; flex-direction: column; margin-top: 0; }
.flow .wire { height: 40px; width: 40px; margin-left: 20px; }
.flow .companies { margin-top: 0; }
.statement__h { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--caption); margin-bottom: 20px; }
#statement .mo-wh__text { max-width: 24ch; }
@media (min-width: 961px) { #statement .mo-wh__text { max-width: 30ch; } }
.clients__search { display: inline-flex; align-items: center; gap: 8px; color: var(--caption); font-size: 14px; }
.clients__search svg { width: 16px; height: 16px; }
.agenda { border-top: 1px solid var(--line-ink); }
.agenda li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.agenda__t { font-family: var(--mono); font-size: 14px; color: var(--brass); padding-top: 2px; }
.agenda b { display: block; font-weight: 600; font-size: 17px; }
.agenda span:not(.agenda__t) { color: var(--muted-ink); font-size: 15px; }
.recon__bar button:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; box-shadow: 0 0 0 4px #fff; }

.agenda li { padding: 12px 0; }
.closing__cta { padding-block: calc(var(--nav) + 8px) 24px; }
@media (max-width: 960px) { #tally { --h: 2; } }

/* guidelines pass: fixed nav never covers a focused control; taps without delay */
a, button, summary { scroll-margin-block: calc(var(--nav) + 16px) 16px; touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(31, 78, 140, .12); }
.legal { padding-top: calc(var(--nav) + 48px); }
.foot { background: var(--ink); color: var(--muted-ink); }
.foot .foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 28px; font-size: 14px; }
.foot nav { display: flex; gap: 0 20px; } .foot nav a { padding: 12px 0; text-decoration: none; } .foot a:hover { color: #fff; } .foot .brand { color: #fff; }
@media (max-width: 640px) { .reg th, .reg td { padding-inline: 8px; } }
