:root {
  --ink: #16202b;
  --ink-soft: #475663;
  --ink-faint: #5b6b7a;
  --paper: #f2f4f3;
  --card: #fdfefd;
  --talon: #1c46b8;
  --talon-dark: #14349c;
  --line: #d9e0e2;
  --line-strong: #c2ced2;
  --money: #1e5c43;
  --flag-bg: #dfe7fa;
  
  --display-alt: "Barlow Semi Condensed", "Instrument Sans", sans-serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Semi Condensed", "Instrument Sans", sans-serif;
  --mono: "Space Mono", ui-monospace, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  font: 16px/1.65 var(--sans);
  color: var(--ink); background: var(--paper);
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 26px; margin: 46px 0 6px; }
a { color: var(--talon-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--talon); outline-offset: 2px;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.money { color: var(--money); font-weight: 600; }
.num { text-align: right; }
.dim { color: var(--ink-faint); }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--talon); margin-bottom: 10px;
}

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; border-bottom: 1px solid var(--line-strong);
  background: var(--card);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display-alt); font-weight: 700; font-size: 21px;
  text-decoration: none; color: var(--ink); letter-spacing: -0.3px;
}
.brand .mark { color: var(--talon); flex: none; }
.brand .wordmark { color: var(--ink); }
.brand .wordmark span { color: var(--talon); }

footer { border-top: 1px solid var(--line-strong); padding: 28px; background: var(--card); }
.foot-inner { max-width: 1060px; margin: 0 auto; }
footer p { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
footer .fine { font-size: 12px; color: var(--ink-faint); }

.btn {
  display: inline-block; background: var(--talon); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 11px 22px; border: 1px solid var(--talon-dark);
  border-radius: 4px; cursor: pointer;
}
.btn:hover { background: var(--talon-dark); }
.btn:active { transform: translateY(1px); }
.btn-big { font-size: 17px; padding: 14px 32px; }
.btn-small { font-size: 13.5px; padding: 8px 16px; }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding: 72px 0 56px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.06;
}
.sub, .page-sub { color: var(--ink-soft); margin: 20px 0; max-width: 560px; }
.hero-actions { margin-top: 26px; }
.hero-actions .fine { max-width: 460px; }
.fine { font-size: 13px; color: var(--ink-faint); margin-top: 12px; }

.specimen {
  background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 1px 3px rgba(22, 33, 46, 0.08);
  transform: rotate(0.6deg);
}
.specimen-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 16px; border-bottom: 1px dashed var(--line-strong);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.specimen-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.specimen-table th {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint);
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.specimen-table th.num { text-align: right; }
.specimen-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specimen-table td.mono { font-size: 11.5px; white-space: nowrap; }
.specimen-table tr.flagged { background: var(--flag-bg); }
.specimen-table tr.flagged td:first-child::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--talon); margin-right: 7px; vertical-align: 1px;
}
.specimen-table tfoot td {
  border-bottom: none; border-top: 2px solid var(--ink);
  font-weight: 600; padding-top: 10px;
}
.specimen-note {
  padding: 10px 16px; font-size: 12px; color: var(--ink-faint);
  border-top: 1px dashed var(--line-strong);
}

.strip { padding: 44px 0 12px; border-top: 1px solid var(--line); }
.strip-head h2 { margin: 0 0 4px; }
.strip-sub { color: var(--ink-soft); margin-bottom: 18px; }

.manifest {
  list-style: none; padding: 0; margin: 22px 0 34px;
  columns: 2; column-gap: 56px;
}
.manifest li {
  break-inside: avoid; display: flex; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 15px;
}
.mi { font-size: 12px; color: var(--talon); flex: none; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 26px 0 40px; }
.cols h3 { font-size: 20px; margin: 6px 0 8px; }
.cols p { color: var(--ink-soft); font-size: 14.5px; }
.step-no {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}

.fee { padding-bottom: 44px; }
.fee-inner { max-width: 720px; }
.fee p { color: var(--ink-soft); margin: 10px 0 26px; }
.fee-figures {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line-strong); background: var(--card);
}
.fee-figures > div {
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--line);
}
.fee-figures > div:first-child { border-left: none; }
.fee-figures span:last-child { font-size: 12.5px; color: var(--ink-faint); }
.fee-num { font-size: 24px; font-weight: 600; }
.fee-num.accent { color: var(--talon); }

.cta { text-align: center; padding: 56px 0 76px; border-top: 1px solid var(--line); }

.narrow { max-width: 760px; margin: 0 auto; padding: 52px 0 64px; }
.wide { padding: 52px 0 64px; }
.narrow h1, .wide h1 { font-size: clamp(30px, 4vw, 40px); }
.page-sub { margin-top: 14px; }

.card {
  background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 1px 3px rgba(22, 33, 46, 0.06);
  padding: 28px; margin-top: 28px;
}
.card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: -28px -28px 24px; padding: 12px 20px;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.intake { display: flex; flex-direction: column; gap: 20px; }
.intake .card-head { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
input, select {
  font: 15px var(--sans); font-weight: 400; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: 4px; background: #fff; width: 100%;
}
input[type="file"] { padding: 9px; font-family: var(--mono); font-size: 13px; }
.hint { font-size: 12.5px; font-weight: 400; color: var(--ink-faint); line-height: 1.5; }
.intake .btn { align-self: flex-start; }
.intake .fine { margin-top: 0; }

.error {
  background: #fdecec; border: 1px solid #e0b4b4;
  color: #8a1c1c; padding: 12px 16px; margin: 20px 0; font-size: 14.5px;
}

.stamp-banner {
  border: 2px solid #1c46b8; background: #eef2fc;
  padding: 14px 18px; margin-bottom: 30px;
  display: flex; gap: 18px; align-items: center;
}
.stamp {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #14349c;
  border: 2px solid #1c46b8; padding: 6px 12px;
  transform: rotate(-2deg); white-space: nowrap; flex: none;
}
.stamp-banner p { font-size: 13.5px; color: #2c3d6b; }

.doc-head {
  border: 1px solid var(--line-strong); background: var(--card);
  padding: 24px 26px; margin-bottom: 34px;
}
.doc-title h1 { font-size: clamp(28px, 4vw, 38px); margin-top: 2px; }
.doc-meta {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong);
}
.doc-meta div { display: flex; flex-direction: column; gap: 1px; }
.doc-meta dt {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.doc-meta dd { margin: 0; font-size: 14px; }

.verdict { padding: 8px 0 6px; }
.verdict-label { font-family: var(--display); font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: var(--ink); line-height: 1.1; margin: 0; }
.verdict-amount { font-family: var(--mono); font-weight: 700; color: var(--money); font-size: clamp(38px, 8vw, 60px); line-height: 1.04; letter-spacing: -0.02em; margin: 6px 0 0; overflow-wrap: normal; white-space: nowrap; }
.report .sub { margin: 14px 0 0; }

.stats { text-align: left; gap: 0; border: 1px solid var(--line-strong); background: var(--card); margin: 30px 0 8px; padding: 0; }
.stats > div { padding: 18px 22px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: none; }
.stats .stat-num { display: block; font-size: 26px; font-weight: 600; }
.stats p { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }

table.split, table.grid { width: 100%; border-collapse: collapse; margin: 16px 0 34px; background: var(--card); border: 1px solid var(--line-strong); }
.split th, .grid th {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint);
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-strong);
}
.split th.num, .grid th.num { text-align: right; }
.split td, .grid td { border-bottom: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; }
.split tr:last-child td, .grid tr:last-child td { border-bottom: none; }
.grid td.mono, .split td.mono { font-size: 13.5px; }
.grid a { font-weight: 600; }

.md {
  white-space: pre-wrap; overflow-wrap: break-word;
  background: var(--card); border: 1px solid var(--line-strong);
  padding: 26px 28px; margin-top: 16px;
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  overflow-x: auto;
}
.cta-card { margin-top: 40px; }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 20px; }
.two-ways h3 { font-size: 19px; margin-bottom: 6px; }
.two-ways p { color: var(--ink-soft); font-size: 14.5px; }

.table-wrap { overflow-x: auto; }
.donor { font-size: 14px; font-weight: 500; margin: 26px 0 4px; color: var(--ink-soft); }
.chip {
  display: inline-block; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 9px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: var(--paper); color: var(--ink-soft);
}
.chip-detected { border-color: #a9bbe6; background: #eef2fc; color: #14349c; }
.chip-filed { border-color: #92a7c0; background: #eef3f8; color: #2c4a68; }
.chip-credited { border-color: #86b39c; background: #eaf4ee; color: var(--money); }
.chip-denied { border-color: #e0b4b4; background: #fdecec; color: #9b1c1c; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .cols, .fee-figures { grid-template-columns: 1fr; }
  .fee-figures > div, .stats > div { border-left: none; border-top: 1px solid var(--line); }
  .fee-figures > div:first-child, .stats > div:first-child { border-top: none; }
  .stats { grid-template-columns: 1fr; }
  .manifest { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .two-ways { grid-template-columns: 1fr; }
  .stamp-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .top { padding: 14px 18px; }
}

.doc-head h1, .verdict-line { overflow-wrap: anywhere; }
.verdict-num { font-size: clamp(26px, 5vw, 44px); }
.grid td { overflow-wrap: anywhere; }
.grid td.mono, .split td.mono, .specimen-table td.mono { overflow-wrap: normal; white-space: nowrap; }
.empty-row td { color: var(--ink-faint); font-style: italic; padding: 18px 10px; }
tr:hover td { background: rgba(22, 33, 46, 0.018); }
.specimen-table tfoot tr:hover td, .stats > div:hover { background: none; }
@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  * { transition: none !important; }
}

.hero { position: relative; padding: 96px 0 72px; }
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%); z-index: -1;
  background:
    linear-gradient(to right, transparent calc(50% - 530px + 2px), rgba(28, 70, 184, 0.16) calc(50% - 530px + 2px), rgba(28, 70, 184, 0.16) calc(50% - 530px + 3px), transparent calc(50% - 530px + 3px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(207, 199, 182, 0.38) 31px 32px);
}
.hero h1 { font-size: clamp(40px, 5.8vw, 74px); letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; font-weight: 700; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero-copy > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
.hero-specimen { animation: rise 0.8s 0.28s cubic-bezier(0.16, 1, 0.3, 1) backwards; }

.specimen { position: relative; }
.stamp-mark {
  position: absolute; top: -16px; right: -12px; transform: rotate(5deg);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--talon); border: 2px solid var(--talon);
  padding: 4px 12px; background: var(--paper); border-radius: 2px;
}

.fee-num.accent { font-size: 46px; line-height: 1.05; }
.fee-figures > div { justify-content: end; }

.btn-big:hover { box-shadow: 0 2px 10px rgba(28, 70, 184, 0.28); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 40px; }
  .hero::before { background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(207, 199, 182, 0.3) 31px 32px); }
  .stamp-mark { top: -12px; right: 4px; }
}

.doc { position: relative; padding: 40px 0 84px; }
.doc::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%); z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(207, 199, 182, 0.28) 31px 32px);
}
.doc-topline {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); padding: 10px 2px 12px;
  border-bottom: 2px solid var(--ink);
}
.doc-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 60px;
  margin-top: 44px; animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.doc-main h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1.05; }
.doc-main h1 em { font-style: normal; font-weight: 700; }
.doc-main .sub { max-width: 60ch; }

.action-row { display: flex; align-items: center; gap: 24px; margin: 28px 0 44px; flex-wrap: wrap; }
.action-row .fine { margin: 0; max-width: 380px; }
.end-row { margin-top: 52px; }

.doc-h {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 23px; margin: 56px 0 14px;
}
.doc-h .sec { font-size: 14px; color: var(--talon); }

.checks-table, .fee-table { width: 100%; border-collapse: collapse; }
.checks-table th {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint);
  text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line-strong);
}
.checks-table th.num { text-align: right; }
.checks-table td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.checks-table td.sec { width: 30px; color: var(--talon); font-size: 12px; }
.checks-table td.num { font-size: 13px; white-space: nowrap; }

.procedure { margin: 6px 0 0; padding-left: 24px; }
.procedure li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); max-width: 66ch; }
.procedure li strong { color: var(--ink); }
.procedure li::marker { font-family: var(--mono); color: var(--talon); font-size: 13px; }

.fee-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fee-table td.num { font-size: 16px; white-space: nowrap; width: 130px; }
.fee-ours { background: var(--flag-bg); font-weight: 600; }
.fee-ours td.num { color: var(--talon); font-size: 22px; }
.fee-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 12px; max-width: 60ch; }

.doc-notes { border-left: 1px dashed var(--line-strong); padding-left: 26px; padding-top: 8px; }
.doc-notes .note { margin-bottom: 30px; }
.note-no { font-size: 11px; letter-spacing: 0.14em; color: var(--talon); }
.doc-notes .note p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-top: 6px; }

@media (max-width: 980px) {
  .doc-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-notes { border-left: none; border-top: 1px dashed var(--line-strong); padding: 24px 0 0; }
}

.lsec {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 34px;
  margin-top: 72px; padding-top: 26px; border-top: 2px solid var(--ink);
}
.lsec-label { position: relative; }
.lsec-letter {
  display: block; font-family: var(--display-alt); font-weight: 700;
  font-size: 104px; line-height: 0.8; color: rgba(22, 33, 46, 0.09);
  user-select: none;
}
.lsec-label h2 { font-size: 19px; margin: -34px 0 0 2px; position: relative; }

.checks-table td strong { display: block; font-weight: 600; font-size: 15px; }
.checks-table td .basis {
  display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px;
}

.step { display: flex; gap: 22px; padding: 16px 0; border-bottom: 1px dashed var(--line-strong); }
.step:last-child { border-bottom: none; }
.step-big {
  flex: none; font-size: 42px; line-height: 1; color: var(--talon);
  width: 48px; text-align: right; font-weight: 500;
}
.step > div { color: var(--ink-soft); font-size: 15px; max-width: 58ch; padding-top: 6px; }
.step strong { color: var(--ink); }

.fee-flex { display: flex; gap: 44px; align-items: flex-start; }
.fee-hero { flex: none; display: flex; flex-direction: column; gap: 6px; max-width: 200px; }
.fee-giant {
  font-size: 96px; line-height: 0.9; font-weight: 600; color: var(--talon);
  letter-spacing: -0.03em;
}
.fee-sub { font-size: 13px; color: var(--ink-soft); }
.fee-side { flex: 1; min-width: 0; }
.fee-side .fee-table td { font-size: 14.5px; }

.sign-row { margin-top: 76px; border-top: 2px solid var(--ink); padding-top: 4px; }
.sign-line {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 0 0;
}
.sign-caption {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 880px) {
  .lsec { grid-template-columns: 1fr; gap: 10px; margin-top: 54px; }
  .lsec-letter { font-size: 72px; }
  .lsec-label h2 { margin-top: -24px; }
  .fee-flex { flex-direction: column; gap: 20px; }
  .fee-giant { font-size: 72px; }
}

.n-hero {
  position: relative; padding: 84px 0 72px; color: #e9eef3;
}
.n-hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%); z-index: -1;
  background:
    radial-gradient(900px 420px at 68% 8%, rgba(62, 207, 142, 0.10), transparent 60%),
    radial-gradient(700px 380px at 15% 90%, rgba(28, 70, 184, 0.12), transparent 60%),
    #0f1a22;
}
.n-hero-inner { max-width: 780px; }
.n-hero h1 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.02; color: #f4f7f9;
}
.n-leak { margin: 34px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.n-leak-num {
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; line-height: 1;
  color: #3ecf8e; text-shadow: 0 0 34px rgba(62, 207, 142, 0.35);
  letter-spacing: -0.02em;
}
.n-leak-label { max-width: 46ch; color: #9fb0bc; font-size: 15px; line-height: 1.55; }
.n-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 30px 0 0; }
.n-btn {
  display: inline-block; background: var(--talon); color: #fff;
  font-weight: 700; font-size: 16.5px; text-decoration: none;
  padding: 15px 30px; border-radius: 8px; border: none;
  box-shadow: 0 6px 24px rgba(28, 70, 184, 0.28);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s;
}
.n-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(28, 70, 184, 0.36); }
.n-btn:active { transform: translateY(0); }
.n-micro { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7e909d; }

.n-scan {
  margin-top: 56px; background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px;
  overflow: hidden; max-width: 640px;
  backdrop-filter: none;
}
.n-scan-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #7e909d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.n-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e;
  animation: n-pulse 1.6s ease-out infinite;
}
@keyframes n-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(62, 207, 142, 0); }
}
.n-row {
  display: flex; align-items: center; gap: 18px; padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px;
}
.n-trk { color: #7e909d; font-size: 12.5px; flex: none; width: 118px; }
.n-what { flex: 1; color: #c9d4dc; }
.n-chip {
  font-weight: 600; color: #3ecf8e; background: rgba(62, 207, 142, 0.12);
  padding: 3px 10px; border-radius: 999px; font-size: 13px;
}
.n-chip-none { color: #5c6b76; font-size: 13px; padding: 3px 10px; }
.n-row-dim .n-what { color: #74838d; }
.n-total { background: rgba(62, 207, 142, 0.05); border-bottom: none; }
.n-total .n-what { font-weight: 600; color: #e9eef3; }
.n-chip-big { font-size: 15px; }

.n-deal { padding: 76px 0 60px; }
.n-deal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 940px;
}
.n-deal-num {
  display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 12px;
}
.n-deal-mid .n-deal-num { color: var(--talon); }
.n-deal-green { color: var(--money) !important; }
.n-deal-grid p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; max-width: 30ch; }

.n-close {
  text-align: center; padding: 68px 0 90px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.n-close h2 {
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; color: var(--ink);
}
.n-close .n-micro { color: var(--ink-faint); }

@media (max-width: 880px) {
  .n-hero { padding: 56px 0 48px; }
  .n-deal-grid { grid-template-columns: 1fr; gap: 30px; }
  .n-trk { display: none; }
}
@media (prefers-reduced-motion: reduce) { .n-pulse { animation: none; } }

.z-stage {
  min-height: calc(100vh - 220px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 56px 0 40px;
}
.z-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; color: var(--ink);
}
.z-sub { color: var(--ink-soft); font-size: 17px; margin: 14px 0 34px; max-width: 52ch; }

.z-form { width: 100%; max-width: 660px; }
.z-drop {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 56px 32px; cursor: pointer; background: var(--card);
  border: 2px dashed var(--line-strong); border-radius: 16px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s cubic-bezier(0.16,1,0.3,1);
  font-weight: 400;
}
.z-drop:hover { border-color: var(--talon); }
.z-drop.z-hot {
  border-color: var(--talon); background: var(--flag-bg);
  transform: scale(1.012);
}
.z-drop.z-armed { border-style: solid; border-color: var(--money); }
.z-drop.z-armed .z-icon { color: var(--money); }
.z-icon { color: var(--talon); }
.z-drop-main { font-size: 19px; font-weight: 600; color: var(--ink); }
.z-drop-sub { font-size: 13.5px; color: var(--ink-faint); }
.z-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
}

.z-step2 { margin-top: 22px; text-align: left; }
.z-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px;
}
.z-step2 label { font-size: 13.5px; }
.z-go {
  width: 100%; background: var(--talon); color: #fff; border: none;
  border-radius: 10px; padding: 16px; font-size: 17px; font-weight: 700;
  font-family: var(--sans); cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.z-go:hover { background: var(--talon-dark); }
.z-go:active { transform: translateY(1px); }
.z-fine { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }
.z-alt { margin-top: 26px; font-size: 13.5px; color: var(--ink-faint); }

.z-under { border-top: 1px solid var(--line); padding: 34px 0 56px; }
.z-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  max-width: 1000px; margin: 0 auto;
}
.z-facts span { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.z-facts strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---- loading skeletons (receipt grammar, shown while the server works) ---- */
.sk-wrap[hidden] { display: none; }
.sk-tape {
  background: var(--card); border: 1px solid var(--line-strong);
  padding: 24px 22px 26px; margin-top: 28px; max-width: 560px;
}
.sk-line, .sk-amt, .sk-money, .sk-logo {
  display: block; border-radius: 3px; background: var(--paper);
  background-image: linear-gradient(90deg, var(--paper) 0%, #ffffff 48%, var(--paper) 96%);
  background-size: 260px 100%; background-repeat: no-repeat;
  animation: sk-shimmer 1.25s linear infinite;
}
.sk-logo { height: 16px; width: 130px; margin: 0 auto 14px; }
.sk-rule { border-top: 1px dashed var(--line-strong); margin: 14px 0; }
.sk-line { height: 10px; margin: 8px 0; }
.sk-line.center { margin-left: auto; margin-right: auto; }
.sk-w30 { width: 30%; } .sk-w45 { width: 45%; } .sk-w60 { width: 60%; } .sk-w70 { width: 70%; }
.sk-money {
  height: 32px; width: 52%; margin: 14px auto 6px; border-radius: 4px;
  background-color: #dcece2;
  background-image: linear-gradient(90deg, #dcece2 0%, #eef7f1 48%, #dcece2 96%);
}
.sk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; }
.sk-amt { height: 12px; width: 66px; flex: none; }
.sk-status { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.sk-status:empty { display: none; }
.sk-bar { height: 8px; border-radius: 4px; margin-top: 10px; }
@keyframes sk-shimmer {
  from { background-position: -260px 0; }
  to { background-position: 320px 0; }
}
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  .sk-line, .sk-amt, .sk-money, .sk-logo { animation: none; background-image: none; }
}

@media (max-width: 880px) {
  .z-stage { min-height: auto; padding: 40px 0 32px; }
  .z-fields { grid-template-columns: 1fr; }
  .z-facts { grid-template-columns: 1fr; gap: 20px; }
  .z-drop { padding: 40px 20px; }
}
