:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --bg-strong: #ffffff;
  --ink: #111111;
  --muted: #6b7280;
  --line: #e7e5df;
  --green: #15803d;
  --orange: #c2410c;
  --red: #b91c1c;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-fast: 180ms;
  --motion-base: 280ms;
  --motion-slow: 460ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: #faf9f5;
  color: var(--ink);
  font-family: "Instrument Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" on, "cv11" on;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--motion-base) var(--ease),
    border-color var(--motion-base) var(--ease),
    box-shadow var(--motion-base) var(--ease),
    padding var(--motion-base) var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.07);
}

.brand,
.header-actions,
.site-nav,
.hero-actions,
.inline-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 600;
  font-feature-settings: "ss01" on;
  letter-spacing: -0.012em;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-nav {
  justify-content: center;
  gap: 4px;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 540;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease);
}

.site-nav a:hover {
  background: rgba(17, 17, 17, 0.05);
  color: var(--ink);
}

.footer-links a:hover,
.text-button:hover {
  color: var(--ink);
}

.header-actions {
  gap: 8px;
}

.icon-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  transition: border-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.site-header .icon-link {
  border-radius: 6px;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--motion-base) var(--ease);
}

.icon-link:hover {
  border-color: #1f1f1f;
  color: var(--ink);
  background: #ffffff;
  transform: translateY(-1px);
}

.icon-link:hover svg {
  transform: scale(1.06);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 16px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 620;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: background var(--motion-fast) var(--ease),
    border-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 36px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
}

.button-primary:hover {
  background: #2a2a2a;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.18);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #1f1f1f;
}

.site-header .button {
  border-radius: 6px;
}

.site-header .button-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.site-header .button-primary:hover {
  background: #2a2a2a;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(860px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #2f2f2f;
  font-size: 0.86rem;
}

.announcement div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(21, 128, 61, 0.1);
}

.announcement a {
  color: #111111;
  font-weight: 780;
}

.announcement button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f4f4f1;
  color: #64748b;
  font-size: 1.15rem;
  line-height: 1;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.section.hero,
.section.contract-strip {
  border-top: 0;
}

.section.final-cta {
  border-top: 1px solid var(--line);
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(80px, 10vw, 128px) 0;
  text-align: center;
}

.hero {
  display: block;
  margin-top: 0;
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(60px, 8vw, 96px);
  text-align: center;
}

.error-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 240px);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.error-hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.green-text {
  color: var(--green);
}

.orange-text {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin: 0 auto 32px;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 em {
  font-style: italic;
  font-weight: 420;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 460;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 660;
  letter-spacing: -0.015em;
}

.hero-lede,
.section-heading > p:not(.eyebrow),
.final-cta > p:not(.eyebrow) {
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-lede {
  max-width: 56ch;
  margin: 0 auto 36px;
  color: #4b5563;
  font-size: 1.12rem;
  line-height: 1.55;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-actions .button {
  border-radius: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 640;
}

.hero-actions .button-primary {
  min-width: 158px;
}

.hero-actions .button-secondary {
  background: #ffffff;
}

.centered {
  justify-content: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1080px;
  width: 100%;
  margin: clamp(56px, 8vw, 96px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero-metric {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  row-gap: 16px;
  min-width: 0;
  min-height: 208px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: transparent;
}

.hero-metric:last-child {
  border-right: 0;
}

.hero-metric .stat-label {
  align-self: start;
}

.hero-metric strong {
  display: block;
  align-self: center;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 420;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.metric-red strong {
  color: var(--red);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.metric-green strong {
  color: var(--green);
}

.metric-orange strong {
  color: var(--orange);
}

.muted {
  color: var(--muted);
}

.metric-bottom {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.metric-meta {
  display: block;
  color: #6b7280;
  font-size: 0.84rem;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metric-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: border-color var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.metric-cta:hover {
  border-color: var(--ink);
  background: #faf9f5;
  transform: translateY(-1px);
}

.content-card,
.ledger-total {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
}

.contract-strip {
  border: 0;
  background: transparent;
  padding: 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading.compact h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.address-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.address-card,
.step-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  transition: border-color var(--motion-base) var(--ease),
    transform var(--motion-base) var(--ease),
    box-shadow var(--motion-base) var(--ease);
}

.address-card:hover,
.step-card:hover {
  border-color: rgba(17, 17, 17, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.06);
}

.address-card code {
  display: block;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #faf9f5;
  color: #334155;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.pill.green {
  border-color: rgba(21, 128, 61, 0.28);
  background: transparent;
  color: var(--green);
}

.inline-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.center {
  text-align: center;
}

.contract-strip .muted {
  margin: 24px 0 0;
}

.content-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
}

.prose {
  color: #2f3744;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose h3 {
  margin-top: 36px;
  color: var(--ink);
  text-align: left;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 460;
  letter-spacing: -0.02em;
}

.prose > h3:first-child {
  text-align: center;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.step-card {
  min-height: 220px;
  padding: 32px;
}

.step-number {
  display: inline-block;
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.step-card p {
  color: var(--muted);
  line-height: 1.6;
}

.ledger-section {
  width: min(1180px, calc(100% - 40px));
}

.ledger-total {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 36px clamp(24px, 4vw, 36px);
  text-align: center;
  border-radius: 6px;
}

.ledger-total span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ledger-total strong {
  color: var(--green);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 420;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.ledger-total small {
  color: var(--muted);
  font-size: 0.86rem;
}

.orange-total strong,
.orange-total small {
  color: var(--orange);
}

.orange-total small {
  color: var(--muted);
}

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #faf9f5;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

td {
  color: #2a2f3a;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #faf9f5;
}

.amount-green {
  color: var(--green);
  font-weight: 600;
}

.amount-orange {
  color: var(--orange);
  font-weight: 600;
}

.tracking {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.table-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: border-color var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.table-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 2px;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--muted);
  transition: color var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.table-link:hover {
  border-color: var(--ink);
  background: #faf9f5;
  transform: translateY(-1px);
}

.table-link:hover::after {
  color: var(--ink);
  transform: translate(2px, -2px);
}

tbody tr {
  transition: background var(--motion-fast) var(--ease);
}

.support-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

.support-note p {
  margin-bottom: 8px;
}

.support-note a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    background var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.pagination button:hover:not([disabled]) {
  border-color: #1f1f1f;
  color: var(--ink);
  transform: translateY(-1px);
}

.pagination button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination button[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--motion-fast) var(--ease);
}

.faq-question:hover {
  color: #4b5563;
}

.faq-question span:first-child {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
}

.faq-index {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 460;
  letter-spacing: 0;
}

.faq-toggle {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 auto;
  margin-left: 16px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform var(--motion-base) var(--ease);
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item.open .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--motion-slow) var(--ease);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 8px 0 38px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--motion-base) var(--ease),
    transform var(--motion-base) var(--ease),
    padding-bottom var(--motion-slow) var(--ease);
}

.faq-answer-inner p {
  margin-bottom: 14px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 28px;
  opacity: 1;
  transform: translateY(0);
}

.faq-card {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #faf9f5;
}

.faq-card code {
  display: block;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: #ffffff;
  color: #2a2f3a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.final-cta {
  text-align: center;
  background: transparent;
  color: var(--ink);
  border: 0;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta h2 {
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto 18px;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 460;
}

.final-cta .eyebrow {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 22px;
}

.final-cta > p:not(.eyebrow) {
  color: #4b5563;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  margin: 0 auto 32px;
  max-width: 48ch;
}

.final-cta .hero-actions {
  margin-top: 8px;
}

.final-cta .button-secondary:hover {
  border-color: #ffffff;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

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

.site-footer .icon-link {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.site-footer .icon-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.site-footer p {
  grid-column: 2;
  justify-self: center;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:hover {
  color: var(--ink);
}

.disclaimer-modal {
  width: min(680px, calc(100% - 32px));
  max-height: min(780px, calc(100vh - 40px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.disclaimer-modal::backdrop {
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(6px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 460;
  letter-spacing: -0.02em;
}

.modal-header button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}

.modal-header button:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: rotate(90deg);
}

.modal-body {
  max-height: 60vh;
  padding: 24px 28px;
  overflow: auto;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-accept {
  width: calc(100% - 56px);
  margin: 0 28px 28px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    min-height: 38px;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-radius: 0;
    border-top: 1px solid var(--line);
    background: transparent;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .address-grid,
  .steps-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 168px;
    padding: 26px 20px;
  }

  .hero-metric:last-child {
    border-bottom: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .site-footer p {
    grid-column: 1;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    top: 12px;
    margin-top: 12px;
    padding: 8px 12px;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding: 56px 0;
  }

  .section.final-cta {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    letter-spacing: -0.025em;
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(1.65rem, 5.6vw, 2.2rem);
    margin-bottom: 12px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero-meta {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    padding: 5px 12px;
    margin-bottom: 22px;
  }

  .hero-lede {
    font-size: 1rem;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: clamp(40px, 6vw, 64px);
  }

  .hero-metric {
    min-height: 140px;
    padding: 22px 16px;
    row-gap: 12px;
  }

  .hero-metric strong {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
  }

  .metric-red strong {
    font-size: clamp(1.05rem, 5.2vw, 1.55rem);
  }

  .section-heading {
    margin-bottom: clamp(28px, 5vw, 40px);
  }

  .address-card,
  .step-card {
    padding: 22px;
  }

  .step-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .ledger-total {
    padding: 24px 18px;
    margin-bottom: 18px;
  }

  .ledger-total strong {
    font-size: clamp(2rem, 7.4vw, 3rem);
  }

  /* Stacked-card layout for the data tables on mobile. */
  .table-shell {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  table {
    display: block;
    min-width: 0;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
  }

  tbody tr:hover {
    background: #ffffff;
  }

  td {
    display: grid;
    grid-template-columns: minmax(96px, 32%) 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1efeb;
    color: #2a2f3a;
    font-size: 0.92rem;
    word-break: break-word;
  }

  td:first-child {
    padding-top: 0;
  }

  td:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  td .table-link {
    justify-self: start;
  }

  .tracking {
    font-size: 0.74rem;
  }

  .pagination {
    margin-top: 18px;
  }

  .pagination button {
    min-width: 40px;
    height: 40px;
  }

  .faq-question {
    padding: 18px 4px;
    font-size: 0.95rem;
  }

  .faq-question span:first-child {
    align-items: flex-start;
    gap: 12px;
  }

  .faq-index {
    font-size: 0.85rem;
  }

  .faq-answer-inner {
    padding: 0 4px 0 30px;
    font-size: 0.94rem;
  }

  .faq-item.open .faq-answer-inner {
    padding-bottom: 22px;
  }

  .final-cta h2 {
    font-size: clamp(2.2rem, 9.5vw, 3.4rem);
    max-width: 16ch;
  }

  .disclaimer-modal {
    width: calc(100% - 24px);
    border-radius: 6px;
  }

  .modal-header {
    padding: 18px 20px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 18px 20px;
    max-height: 56vh;
  }

  .modal-accept {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
  }

  .site-footer {
    padding: 28px 0 36px;
    gap: 14px;
  }

  .site-footer p {
    font-size: 0.78rem;
  }

  .icon-link {
    width: 36px;
    height: 36px;
  }

  .icon-link svg {
    width: 18px;
    height: 18px;
  }

  .error-hero {
    min-height: calc(100vh - 200px);
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .error-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-toggle {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .hero-meta {
    font-size: 0.62rem;
    padding: 4px 10px;
  }

  .hero-actions {
    max-width: 100%;
  }

  td {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 0;
  }

  .ledger-total span {
    font-size: 0.7rem;
  }

  .address-card code {
    font-size: 0.74rem;
    padding: 12px 14px;
  }

  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-actions .button {
    width: 100%;
  }
}

@media (hover: none) {
  .button:hover,
  .icon-link:hover,
  .table-link:hover,
  .metric-cta:hover,
  .pagination button:hover,
  .address-card:hover,
  .step-card:hover {
    transform: none;
  }

  .icon-link:hover svg {
    transform: none;
  }

  .table-link:hover::after {
    transform: none;
  }

  .button-primary:hover {
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
  }

  .address-card:hover,
  .step-card:hover {
    box-shadow: none;
    border-color: var(--line);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-slow) var(--ease),
    transform var(--motion-slow) var(--ease);
  will-change: opacity, transform;
}

.reveal[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal-delay="1"] { transition-delay: 60ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 120ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 180ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 240ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero .hero-meta { animation: fadeUp var(--motion-slow) var(--ease) both; }
.hero h1 { animation: fadeUp var(--motion-slow) var(--ease) both; animation-delay: 80ms; }
.hero .hero-lede { animation: fadeUp var(--motion-slow) var(--ease) both; animation-delay: 160ms; }
.hero .hero-actions { animation: fadeUp var(--motion-slow) var(--ease) both; animation-delay: 240ms; }
.hero .hero-metrics { animation: fadeUp var(--motion-slow) var(--ease) both; animation-delay: 320ms; }

.disclaimer-modal[open] {
  animation: modalScaleIn var(--motion-base) var(--ease);
}

.disclaimer-modal[open]::backdrop {
  animation: backdropFadeIn var(--motion-base) var(--ease);
}

.metric-tick {
  animation: tickPulse 480ms var(--ease);
}

@keyframes tickPulse {
  0% { color: var(--red); opacity: 0.55; }
  40% { opacity: 1; }
  100% { color: var(--red); }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
