/* ============================================================
   Ledgerline — single-page marketing site
   Plain CSS, no framework, no build step.
   ============================================================ */

:root {
  --paper: #F5F1E8;
  --paper-2: #FBF8F1;
  --card: #FFFDF9;
  --ink: #16191C;
  --ink-soft: #4E565C;
  --muted: #6E767C;
  --rule: #E1DACA;
  --rule-soft: #ECE6D9;
  --green: #14624A;
  --green-deep: #0E4A38;
  --green-bright: #7FD3B4;
  --green-wash: #F1F7F3;
  --red: #B8452C;
  --red-wash: #FBEDE9;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 26px 60px -34px rgba(22, 25, 28, 0.55);
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.05rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }

h3 {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

::selection { background: rgba(20, 98, 74, 0.22); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.mono { font-family: var(--mono); font-size: 0.93em; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.section { padding: clamp(64px, 9vw, 112px) 0; }

/* anchor targets clear the sticky header */
section[id], main[id] { scroll-margin-top: 88px; }
.band-2 {
  background: var(--paper-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 68ch;
  margin-bottom: 0;
}
.section-lede a { color: var(--green); }

.lede {
  font-size: clamp(1.03rem, 1.3vw, 1.16rem);
  color: var(--ink-soft);
  line-height: 1.62;
  max-width: 56ch;
  margin-bottom: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 640;
  line-height: 1.2;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green); }

.btn-outline {
  border-color: rgba(22, 25, 28, 0.32);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(22, 25, 28, 0.06);
}

.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(22, 25, 28, 0.08); }

.btn-invert { background: var(--paper); color: var(--ink); }
.btn-invert:hover { background: #FFFFFF; }

.btn-ghost-dark {
  color: var(--paper);
  border-color: rgba(245, 241, 232, 0.45);
  background: transparent;
}
.btn-ghost-dark:hover { background: rgba(245, 241, 232, 0.14); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin-top: auto; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 232, 0.94);
  border-bottom: 1px solid var(--rule);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-mark { flex: none; }
.brand-name {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.nav { margin-inline: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 560;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 33px,
    rgba(22, 25, 28, 0.05) 33px 34px
  );
  border-bottom: 1px solid var(--rule-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 100px);
}

.hero-copy { min-width: 0; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.cta-row.center { justify-content: center; }

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.assurances li {
  position: relative;
  padding-left: 20px;
}
.assurances li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- hero mock ---------- */

.mock {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule-soft);
}

.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DFD8C8;
  display: block;
}

.mock-title {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.mock-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(20, 98, 74, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}

.mock-body { padding-top: 16px; }

.mock-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px;
  margin-bottom: 8px;
}

.tx { list-style: none; }

.tx li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px dashed var(--rule-soft);
}

.tx-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.tx-desc { min-width: 0; }
.tx-desc b {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.tx-desc em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.tx-amt {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.tx-amt.in { color: var(--green); }
.tx-amt.out { color: var(--red); }

.mock-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.mock-arrow::before,
.mock-arrow::after {
  content: "";
  flex: 1;
  border-top: 1px dashed rgba(20, 98, 74, 0.45);
}

.inv {
  margin: 0 16px 16px;
  padding: 16px;
  background: linear-gradient(#FFFFFF, var(--green-wash));
  border: 1px solid #C9DCD2;
  border-radius: 12px;
}

.inv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inv-no {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-paid {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--green);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.inv-client {
  font-weight: 650;
  font-size: 0.95rem;
  margin: 10px 0 12px;
}

.inv-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px dotted var(--rule);
}
.inv-row .num { font-size: 0.83rem; }

.inv-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px solid rgba(20, 98, 74, 0.45);
  font-weight: 700;
}
.inv-total .num { color: var(--green); }

.inv-foot {
  margin: 12px 0 0;
  font-size: 0.73rem;
  color: var(--muted);
}

/* ---------- trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  padding-block: 22px;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
}
.trust-list li {
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: rgba(22, 25, 28, 0.62);
}

/* ---------- cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  min-width: 0;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 14px;
}

.feature { border-top: 3px solid var(--green); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  min-width: 0;
}
.step p { color: var(--ink-soft); font-size: 0.97rem; }
.step p:last-child { margin-bottom: 0; }

.step-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- compare ---------- */

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 26px);
  min-width: 0;
}
.panel-raw { border-top: 3px solid var(--red); }
.panel-ledger { border-top: 3px solid var(--green); }

.panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.rows { list-style: none; }

.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.85rem;
}
.rows li:last-child { border-bottom: 0; }

.rows .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.rows em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.tag-q { color: var(--red); background: var(--red-wash); }
.tag-ok { color: var(--green); background: rgba(20, 98, 74, 0.1); }

.panel-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.8rem;
  color: var(--muted);
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.5rem;
}

/* ---------- dark care band ---------- */

.band-dark {
  background: var(--ink);
  color: var(--paper);
}

.care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.eyebrow-dark { color: var(--green-bright); }
.band-dark h2 { color: var(--paper); }

.section-lede.dark {
  color: rgba(245, 241, 232, 0.76);
  max-width: 56ch;
}

.care-list {
  list-style: none;
}
.care-list li {
  position: relative;
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.16);
  font-size: 1rem;
}
.care-list li:last-child { border-bottom: 0; }
.care-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--green-bright);
  font-weight: 700;
}

.band-dark :focus-visible,
.site-footer :focus-visible,
.price-featured :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--green-bright);
}

/* ---------- testimonials ---------- */

.quote {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quote blockquote p {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0;
}

.quote figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dotted var(--rule);
}
.quote figcaption b { display: block; font-size: 0.95rem; }
.quote figcaption span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
  min-width: 0;
}

.price-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: var(--green);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.price {
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price .amount {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .per {
  font-size: 0.84rem;
  color: var(--muted);
}

.tier-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.ticks {
  list-style: none;
  margin: 22px 0 28px;
}
.ticks li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 0.92rem;
  border-bottom: 1px dotted var(--rule);
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--green);
  font-weight: 700;
}

.price-featured .tier-note { color: rgba(245, 241, 232, 0.72); }
.price-featured .price .per { color: rgba(245, 241, 232, 0.66); }
.price-featured .ticks li { border-bottom-color: rgba(245, 241, 232, 0.16); }
.price-featured .ticks li::before { color: var(--green-bright); }

.price-footnote {
  max-width: 62ch;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.price-footnote a { color: var(--green); }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.section-head-left { margin-bottom: 0; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0 20px;
  margin-bottom: 10px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 650;
  font-size: 1.01rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--green);
  transition: transform 0.18s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--green); }

.faq-list details p {
  padding-bottom: 20px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 64ch;
}

/* ---------- final CTA ---------- */

.cta-band {
  background: var(--green-deep);
  color: var(--paper);
  padding: clamp(64px, 8vw, 104px) 0;
  text-align: center;
}

.cta-inner h2 {
  color: var(--paper);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-inner > p {
  color: rgba(245, 241, 232, 0.85);
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.03rem;
}

.cta-fine {
  margin-top: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 232, 0.68);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(245, 241, 232, 0.72);
  padding-top: clamp(48px, 6vw, 76px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: 44px;
}

.brand-footer { color: var(--paper); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 34ch;
}

.footer-col h3 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  text-decoration: none;
  color: rgba(245, 241, 232, 0.78);
  transition: color 0.15s ease;
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--paper); text-decoration: underline; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 44px;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  font-size: 0.82rem;
  color: rgba(245, 241, 232, 0.5);
}
.footer-base p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mock { max-width: 640px; }
}

@media (max-width: 980px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-arrow { transform: rotate(90deg); padding: 2px 0; }
  .care-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head-left { margin-bottom: clamp(28px, 4vw, 40px); }
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-inner { gap: 12px 24px; }
  .cta-row .btn { flex: 1 1 auto; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 520px) {
  .tx li {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }
  .tx-desc b { font-size: 0.74rem; }
  .tx-amt { font-size: 0.78rem; }
  .inv { margin: 0 12px 12px; }
  .mock-label { padding: 0 12px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows .tag { grid-column: 1 / -1; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
