/* =========================================================
   mutualcredit.cc — stylesheet
   Built on Bootstrap 5.3. Custom design system below.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --paper: #f5f0e6;
  --paper-deep: #ece4d3;
  --paper-card: #fbf8f1;
  --ink: #12211d;
  --ink-2: #34433e;
  --muted: #58645e;
  --credit: #0d6b4f;
  --credit-soft: #dcebe2;
  --debit: #a8402a;
  --debit-soft: #f2ddd5;
  --gold: #b8862f;
  --gold-ink: #7f5a14;
  --gold-soft: #e9c98c;
  --rule: rgba(18, 33, 29, 0.14);
  --rule-strong: rgba(18, 33, 29, 0.28);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --shadow-card: 0 30px 70px -38px rgba(18, 33, 29, 0.45);
  --container: 1180px;
  --bs-body-font-family: var(--font-body);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* A very faint paper grain, drawn inline so there is no image request. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--credit); color: var(--paper-card); }

:focus-visible {
  outline: 2px solid var(--credit);
  outline-offset: 3px;
}

a { color: var(--credit); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

p { margin-top: 0; }

.container {
  max-width: var(--container);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: -0.12em;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: var(--paper-card);
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 2px;
}
.skip-link:focus { top: 1rem; color: var(--paper-card); }

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2050;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--credit));
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  margin-top: 0;
}

.section { padding: clamp(4.25rem, 8vw, 7.5rem) 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--rule-strong);
}
.section-label-light { color: rgba(245, 240, 230, 0.55); }
.section-label-light::after { background: rgba(245, 240, 230, 0.28); }

.section-title {
  font-size: clamp(2.15rem, 4.3vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 1.35rem;
  letter-spacing: -0.03em;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--credit);
}

.section-lede {
  font-size: 1.075rem;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.2rem;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .section-lede { max-width: 42ch; }

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--credit);
  box-shadow: 0 0 0 0 rgba(13, 107, 79, 0.45);
  animation: pulse 2.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 107, 79, 0.4); }
  60% { box-shadow: 0 0 0 7px rgba(13, 107, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 107, 79, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 2px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(2px); }

.btn-ink {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper-card);
}
.btn-ink:hover, .btn-ink:focus {
  background: var(--credit);
  border-color: var(--credit);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus {
  border-color: var(--ink);
  background: rgba(18, 33, 29, 0.045);
  color: var(--ink);
}

.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(245, 240, 230, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 12px 30px -28px rgba(18, 33, 29, 0.6);
}

.site-header .navbar { padding: 0.8rem 0; }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.navbar-brand:hover { color: var(--ink); }
.brand-mark { width: 29px; height: 29px; color: var(--ink); }
.brand-dot { color: var(--gold-ink); }

.nav-link {
  padding: 0.45rem 0.72rem !important;
  font-size: 0.865rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.nav-link:hover { color: var(--credit); }
.nav-cta { margin-left: 0.15rem; }

.navbar-toggler {
  padding: 0.48rem 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background-image: none;
  box-shadow: none !important;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(2.75px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(4rem, 7vw, 6.5rem);
  background: radial-gradient(900px 520px at 78% 38%, rgba(184, 134, 47, 0.09), transparent 65%);
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.85rem, 6.3vw, 5.15rem);
  line-height: 0.99;
  font-weight: 480;
  letter-spacing: -0.042em;
  margin-bottom: 1.7rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--credit);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 1%;
  bottom: -0.04em;
  height: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C60 3 120 2 298 6' stroke='%23b8862f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: 0.9;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.115rem;
  line-height: 1.72;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-points .icon { width: 14px; height: 14px; color: var(--credit); }

/* Hero ledger illustration */
.hero-visual {
  position: relative;
  min-height: clamp(420px, 44vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ledger-stage {
  position: relative;
  z-index: 2;
  width: min(392px, 88%);
}
.ledger-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.35rem 1.5rem 0;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  transform: rotate(-1.2deg);
  animation: card-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) rotate(-1.2deg); }
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.ledger-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
}
.ledger-date {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger-member {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.member-role { color: var(--muted); font-size: 0.72rem; font-weight: 400; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar-a { background: #eddfc1; color: #6d4c13; }
.avatar-b { background: var(--credit-soft); color: #0b5942; }
.avatar-c { background: var(--debit-soft); color: #8c3321; }

.amount {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.amount.credit { color: var(--credit); }
.amount.debit { color: var(--debit); }

.ledger-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 -1.5rem;
  padding: 0.95rem 1.5rem;
  background: var(--ink);
  color: rgba(245, 240, 230, 0.7);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0 0 2px 2px;
}
.total-zero {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--gold-soft);
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -18px rgba(18, 33, 29, 0.5);
}
.float-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.float-tag-credit { top: -13px; right: 0; color: var(--credit); transform: rotate(2deg); }
.float-tag-debit { bottom: -22px; left: 0; color: var(--debit); transform: rotate(-3deg); }

.float-note {
  position: absolute;
  right: 0;
  bottom: -66px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  max-width: 130px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
}
.note-arrow { width: 42px; height: 28px; color: var(--muted); flex-shrink: 0; }

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(245, 240, 230, 0.08);
}
.stat { padding: 1.65rem 1.5rem; }
.stat-num {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
}
.stat-label {
  display: block;
  max-width: 25ch;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.62);
}

/* ---------- What it is ---------- */
.intro-copy {
  max-width: 41rem;
  margin-top: 1.6rem;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-2);
}
.intro-copy p { margin-bottom: 1.15rem; }
.intro-copy p:first-child::first-letter {
  float: left;
  padding: 0.06em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--credit);
}

.pull-quote {
  margin: 2.6rem 0 0;
  padding: 0.3rem 0 0.3rem 1.5rem;
  border-left: 2px solid var(--gold);
}
.pull-quote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pull-quote cite {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.not-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.not-card { padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); }
.not-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--credit);
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.not-icon .icon { width: 19px; height: 19px; }
.not-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.not-card p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--muted); }

/* ---------- Simulator ---------- */
.section-sim {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.sim-card {
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-radius: 5px;
  box-shadow: 0 26px 60px -42px rgba(18, 33, 29, 0.55);
  overflow: hidden;
}
.sim-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  background: rgba(236, 228, 211, 0.42);
}
.sim-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.sim-unit {
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.btn-reset {
  padding: 0.35rem 0.65rem;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}
.btn-reset .icon { width: 15px; height: 15px; }
.btn-reset:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.sim-balances { padding: 1.6rem 2rem 2rem; display: flex; flex-direction: column; height: 100%; }
.sim-member {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--rule);
}
.sim-id { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.sim-id .avatar { width: 34px; height: 34px; font-size: 0.72rem; }
.sim-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sim-name strong { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.sim-name small { font-size: 0.72rem; color: var(--muted); }
.sim-figure { text-align: right; }
.sim-balance {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.25s;
}
.sim-balance.is-credit { color: var(--credit); }
.sim-balance.is-debit { color: var(--debit); }
.sim-balance.bump { animation: bump 0.35s ease; }
@keyframes bump {
  0% { transform: translateY(0); }
  45% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
.sim-limit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sim-bar {
  position: relative;
  grid-column: 1 / -1;
  height: 5px;
  margin-top: 0.55rem;
  background: rgba(18, 33, 29, 0.08);
  border-radius: 3px;
}
.sim-zero {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 1px;
  background: rgba(18, 33, 29, 0.28);
  z-index: 2;
}
.sim-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-radius: 3px;
  background: var(--credit);
  transition: left 0.42s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.42s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s;
}

.sim-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sim-total-row strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--credit);
}

.sim-legend {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.sim-legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--credit);
  background: rgba(13, 107, 79, 0.08);
  border-radius: 50%;
}
.sim-legend-icon .icon { width: 16px; height: 16px; }
.sim-legend p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}
.sim-legend strong { color: var(--ink); font-weight: 600; }

.sim-trades {
  height: 100%;
  padding: 1.7rem 1.75rem 1.9rem;
  background: rgba(236, 228, 211, 0.48);
  border-left: 1px solid var(--rule);
}
.sim-title { font-size: 1.45rem; margin-bottom: 0.35rem; }
.sim-help { margin-bottom: 1.1rem; font-size: 0.8rem; line-height: 1.6; color: var(--muted); }

.trade-list { display: flex; flex-direction: column; gap: 0.42rem; }
.trade-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  text-align: left;
  color: var(--ink);
  transition: border-color 0.18s, background-color 0.18s, transform 0.18s;
}
.trade-btn:hover, .trade-btn:focus-visible {
  border-color: var(--ink);
  background: #fffdf8;
  transform: translateX(2px);
}
.trade-desc { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.trade-verb { font-size: 0.82rem; font-weight: 600; }
.trade-sub { font-size: 0.69rem; color: var(--muted); }
.trade-amt {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--credit);
  flex-shrink: 0;
}

.sim-msg {
  min-height: 3.1rem;
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--rule-strong);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}
.sim-msg.is-ok { color: var(--credit); }
.sim-msg.is-error { color: var(--debit); }

.sim-log-wrap {
  padding: 1.15rem 2rem 1.4rem;
  border-top: 1px solid var(--rule);
}
.sim-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sim-log-count { color: var(--muted); }
.sim-log {
  max-height: 132px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
}
.sim-log li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.28rem 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-2);
  border-bottom: 1px solid rgba(18, 33, 29, 0.06);
}
.sim-log li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--credit);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.sim-log li.is-debit::before { background: var(--debit); }
.sim-log .log-amount {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.sim-log-empty { font-style: italic; color: var(--muted); }
.sim-log-empty::before { display: none; }

.sim-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 1.15rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.sim-note a { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 500; }
.sim-note .icon { width: 13px; height: 13px; }

/* ---------- How it works ---------- */
.how-sticky { position: sticky; top: 120px; }
.mini-ledger {
  max-width: 340px;
  margin-top: 2.2rem;
  padding: 1rem 1.15rem 0;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  box-shadow: 0 18px 40px -34px rgba(18, 33, 29, 0.5);
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-head .icon { width: 14px; height: 14px; color: var(--credit); }
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--ink);
}
.mini-row > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.mini-row small { color: var(--muted); font-size: 0.7rem; }
.mini-row .avatar { width: 22px; height: 22px; font-size: 0.56rem; }
.mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -1.15rem;
  padding: 0.65rem 1.15rem;
  background: var(--ink);
  color: rgba(245, 240, 230, 0.65);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mini-foot strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-soft); font-weight: 400; }

.steps { margin: 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.65rem 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-ink);
  letter-spacing: -0.02em;
}
.step-body h3 { font-size: 1.45rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.step-body p { margin: 0; font-size: 0.93rem; line-height: 1.72; color: var(--muted); }

.beyond-callout {
  display: flex;
  gap: 1.1rem;
  margin-top: 2.2rem;
  padding: 1.4rem 1.5rem;
  background: rgba(13, 107, 79, 0.055);
  border: 1px solid rgba(13, 107, 79, 0.2);
  border-radius: 3px;
}
.beyond-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--credit);
  background: var(--paper-card);
  border-radius: 50%;
}
.beyond-icon .icon { width: 19px; height: 19px; }
.beyond-callout h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.beyond-callout p { margin: 0; font-size: 0.86rem; line-height: 1.65; color: var(--muted); }

/* ---------- Benefits ---------- */
.section-benefits { background: #f9f5ec; border-top: 1px solid var(--rule); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.4rem;
}
.benefit {
  padding: 1.7rem 0 0;
  border-top: 1px solid var(--rule-strong);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.05rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--credit);
  background: var(--paper);
}
.benefit-icon .icon { width: 20px; height: 20px; }
.benefit h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }
.benefit p { margin: 0; font-size: 0.88rem; line-height: 1.7; color: var(--muted); }

/* ---------- Dark sections ---------- */
.section-ink {
  background:
    radial-gradient(1000px 500px at 85% -15%, rgba(13, 107, 79, 0.22), transparent 62%),
    #101f1b;
  color: rgba(245, 240, 230, 0.72);
}
.section-ink .section-title { color: var(--paper-card); }
.section-ink .section-title em { color: var(--gold-soft); }
.section-ink .section-lede { color: rgba(245, 240, 230, 0.66); }
.section-ink a { color: var(--gold-soft); }

.limits-closing {
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--gold-soft);
}
.limits-closing em { color: var(--paper-card); }

.limit-list { margin: 0; padding: 0; list-style: none; }
.limit-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(245, 240, 230, 0.13);
}
.limit-list li:last-child { border-bottom: 1px solid rgba(245, 240, 230, 0.13); }
.limit-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  padding-top: 0.25rem;
}
.limit-list h3 { font-size: 1.18rem; margin-bottom: 0.3rem; color: var(--paper-card); }
.limit-list p { margin: 0; font-size: 0.88rem; line-height: 1.68; color: rgba(245, 240, 230, 0.58); }

/* ---------- When it fits ---------- */
.section-fits { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fit-note {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}
.fit-note .icon { width: 19px; height: 19px; color: var(--gold); margin-top: 0.2rem; }
.fit-note p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: var(--ink-2); }

.fit-cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.fit-card {
  padding: 1.7rem 1.8rem;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--credit);
  border-radius: 3px;
}
.fit-no { border-top-color: var(--debit); }
.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.fit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--credit-soft);
  color: var(--credit);
}
.fit-no .fit-badge { background: var(--debit-soft); color: var(--debit); }
.fit-badge .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.fit-list { margin: 0; padding: 0; list-style: none; }
.fit-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.fit-list li:last-child { margin-bottom: 0; }
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--credit);
}
.fit-no .fit-list li::before { background: var(--debit); }

/* ---------- Examples ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.8rem;
  margin: 0 0 clamp(3rem, 5vw, 4.5rem);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-strong);
}
.timeline-item { position: relative; padding-top: 1.55rem; }
.timeline-dot {
  position: absolute;
  top: -3.5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--credit);
  box-shadow: 0 0 0 3px var(--paper);
}
.timeline-year {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--credit);
}
.timeline-item p { margin: 0; font-size: 0.8rem; line-height: 1.6; color: var(--muted); }

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.example-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.6rem;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px -36px rgba(18, 33, 29, 0.6);
}
.example-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.example-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mark-wir { background: var(--gold-soft); color: #4d3510; }
.mark-sardex { background: var(--credit); color: var(--paper-card); }
.mark-mcs { background: var(--debit-soft); color: #7c2c1b; }
.example-tag {
  max-width: 110px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted);
}
.example-card h3 { font-size: 1.55rem; margin-bottom: 0.55rem; }
.example-card > p { margin: 0 0 0.9rem; font-size: 0.88rem; line-height: 1.68; color: var(--muted); }
.example-caveat {
  display: flex;
  gap: 0.45rem;
  margin-top: auto !important;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule);
  font-size: 0.75rem !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
}
.example-caveat .icon { width: 14px; height: 14px; color: var(--gold); margin-top: 0.15rem; }

.other-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.2rem;
}
.other-example { padding-top: 1rem; border-top: 1px solid var(--rule); }
.other-name { display: block; margin-bottom: 0.2rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.other-desc { display: block; font-size: 0.77rem; line-height: 1.6; color: var(--muted); }

/* ---------- Going further ---------- */
.quote-light {
  margin: 2rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}
.quote-light p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--paper-card);
}

.frontier-list { margin: 0; padding: 0; list-style: none; }
.frontier-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.9rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
}
.frontier-list article:last-child { border-bottom: 1px solid rgba(245, 240, 230, 0.14); }
.frontier-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  padding-top: 0.25rem;
}
.frontier-list h3 { font-size: 1.18rem; margin-bottom: 0.3rem; color: var(--paper-card); }
.frontier-list p { margin: 0; font-size: 0.88rem; line-height: 1.68; color: rgba(245, 240, 230, 0.58); }

/* ---------- FAQ ---------- */
.faq-more { margin: 1.6rem 0 0; font-size: 0.85rem; color: var(--muted); }
.faq-more a { font-weight: 500; display: inline-flex; align-items: center; gap: 0.25rem; }
.faq-more .icon { width: 14px; height: 14px; }

.accordion { --bs-accordion-border-width: 0; --bs-accordion-border-radius: 0; }
.accordion-item {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0 !important;
}
.accordion-item:last-child { border-bottom: 1px solid var(--rule); }
.accordion-button {
  padding: 1.25rem 2.6rem 1.25rem 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--credit);
}
.accordion-button::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: auto;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1.5px, 1.5px 14px;
  background-position: center, center;
  background-repeat: no-repeat;
  background-color: transparent;
  color: var(--credit);
  transform: none;
  transition: transform 0.22s;
}
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.accordion-button:focus-visible { outline: 2px solid var(--credit); outline-offset: 2px; }
.accordion-body {
  padding: 0 3rem 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Sources ---------- */
.section-sources { background: var(--paper-deep); border-top: 1px solid var(--rule); }
.source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}
.source-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s;
}
.source-card:hover { color: var(--credit); }
.source-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  flex-shrink: 0;
}
.source-body { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.source-body strong { font-size: 0.89rem; font-weight: 600; }
.source-body span { font-size: 0.71rem; color: var(--muted); }
.source-card .icon {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.source-card:hover .icon { transform: translate(2px, -2px); color: var(--credit); }

.source-note {
  margin: 1.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Optional photo block — ready for images you add yourself */
.content-photo { margin: 2.5rem 0; }
.content-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.content-photo figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- Getting started ---------- */
.section-start {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.start-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
  margin-top: 2rem;
}
.start-email {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.15rem;
}
.start-email:hover { color: var(--credit); border-color: var(--credit); }
.start-audience {
  max-width: 36ch;
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.start-card {
  position: relative;
  overflow: hidden;
  padding: 2.1rem 2.2rem;
  background: var(--ink);
  border-radius: 5px;
  color: rgba(245, 240, 230, 0.72);
  box-shadow: var(--shadow-card);
}
.start-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 47, 0.2), transparent 66%);
  pointer-events: none;
}
.start-card > * { position: relative; z-index: 1; }

.start-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(245, 240, 230, 0.14);
}
.start-avatar {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(233, 201, 140, 0.45);
  border-radius: 50%;
  background: rgba(233, 201, 140, 0.08);
}
.start-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.start-kicker {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.start-person h3 {
  margin: 0 0 0.1rem;
  font-size: 1.55rem;
  color: var(--paper-card);
}
.start-person p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.62);
}
.start-bio {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(245, 240, 230, 0.74);
}
.start-services h4 {
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.62);
}
.start-services ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.start-services li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.72);
}
.start-services .icon {
  width: 14px;
  height: 14px;
  margin-top: 0.18rem;
  color: var(--gold-soft);
  stroke-width: 2;
}
.start-note {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 240, 230, 0.13);
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4.5rem 0 1.8rem;
  background: #0c1916;
  color: rgba(245, 240, 230, 0.62);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  color: var(--paper-card);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.footer-brand:hover { color: var(--paper-card); }
.footer-brand .brand-mark { width: 33px; height: 33px; color: var(--gold-soft); }
.footer-brand .brand-dot { color: var(--gold-soft); }
.footer-tagline { max-width: 24rem; font-size: 0.88rem; line-height: 1.7; color: rgba(245, 240, 230, 0.5); }
.footer-contact { margin-top: 1.5rem; font-size: 0.82rem; line-height: 1.7; color: rgba(245, 240, 230, 0.66); }
.footer-contact a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(233, 201, 140, 0.35); }
.footer-contact a:hover { color: var(--paper-card); border-color: var(--paper-card); }

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: rgba(245, 240, 230, 0.62);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-links .icon { width: 13px; height: 13px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 230, 0.6);
}
.footer-bottom p { margin: 0; }
.footer-disclaimer { color: rgba(245, 240, 230, 0.55); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(245, 240, 230, 0.7);
  text-decoration: none;
}
.to-top:hover { color: var(--gold-soft); }
.to-top .icon { width: 13px; height: 13px; transform: rotate(-90deg); }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 992px) {
  .stat { border-left: 1px solid rgba(245, 240, 230, 0.11); }
  .stat-band .col:first-child .stat { border-left: 0; }
}

@media (max-width: 1199.98px) {
  .hero-visual { min-height: 470px; }
}

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

  .site-header .navbar { padding: 0.7rem 0; }
  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.8rem 0.9rem 1rem;
    background: var(--paper-card);
    border: 1px solid var(--rule);
    border-radius: 3px;
    box-shadow: 0 18px 40px -30px rgba(18, 33, 29, 0.5);
  }
  .nav-link { padding: 0.65rem 0.2rem !important; border-bottom: 1px solid var(--rule); }
  .navbar-nav .nav-item:last-child .nav-link { border-bottom: 0; }
  .nav-cta { margin-top: 0.5rem; width: 100%; }

  .hero { padding-top: 3.25rem; }
  .hero-visual { min-height: 460px; margin-top: 1rem; }
  .hero-title { font-size: clamp(2.7rem, 8.5vw, 4.4rem); }

  .how-sticky { position: static; }
  .mini-ledger { max-width: 100%; margin-top: 1.6rem; }
  .start-card { padding: 1.85rem; }

  .stat { border-top: 1px solid rgba(245, 240, 230, 0.11); }
  .stat-band .col:nth-child(-n+2) .stat { border-top: 0; }
  .stat-band .col:nth-child(even) .stat { border-left: 1px solid rgba(245, 240, 230, 0.11); }

  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }

  .example-grid { grid-template-columns: 1fr; }
  .example-card { max-width: 100%; }

  .timeline { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
  .timeline-dot { top: -4px; }

  .other-examples { grid-template-columns: 1fr; gap: 0; }
  .other-example { padding: 0.9rem 0; }

  .sim-trades { border-left: 0; border-top: 1px solid var(--rule); }

  .col-lg-6 .quote-light { margin-top: 0; }
}

@media (max-width: 767.98px) {
  .section { padding: 4rem 0; }

  .not-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .benefit-grid { grid-template-columns: 1fr; gap: 0; }
  .benefit { padding-bottom: 1.4rem; }
  .fit-card { padding: 1.4rem; }
  .source-grid { grid-template-columns: 1fr; }
  .sim-balances { padding: 1.2rem 1.25rem 1.6rem; }
  .sim-trades { padding: 1.4rem 1.25rem 1.5rem; }
  .sim-log-wrap { padding: 1rem 1.25rem 1.2rem; }
  .sim-top { padding: 0.85rem 1.25rem; }
  .sim-unit { display: none; }
  .sim-msg { min-height: 2.8rem; }

  .hero-visual { min-height: 390px; }
  .float-tag, .float-note { display: none; }
  .orbit-label { font-size: 9px; }

  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
  .hero { padding-bottom: 3.5rem; }
  .hero-title { font-size: clamp(2.45rem, 11.5vw, 3.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 0.4rem 1rem; }

  .hero-visual { min-height: 340px; }
  .ledger-stage { width: min(340px, 96%); }
  .ledger-card { width: 100%; padding: 1.1rem 1.15rem 0; }
  .ledger-total { margin: 0 -1.15rem; padding: 0.85rem 1.15rem; }
  .ledger-row { padding: 0.8rem 0; }
  .member-role { display: none; }

  .stat { padding: 1.3rem 1rem; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: 0.7rem; }

  .timeline { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 0.75rem; }
  .step-num { font-size: 1.4rem; }
  .step-body h3 { font-size: 1.3rem; }

  .beyond-callout { flex-direction: column; }
  .limit-list li { grid-template-columns: 38px 1fr; }

  .fit-cards { gap: 1rem; }
  .footer-bottom { font-size: 0.56rem; }

  .start-card { padding: 1.4rem; }
  .start-services ul { grid-template-columns: 1fr; }
  .start-actions { flex-direction: column; align-items: stretch; }
  .start-actions .btn { width: 100%; }
  .start-email { text-align: center; border-bottom: 0; }
  .start-avatar { width: 52px; height: 52px; }
  .start-person h3 { font-size: 1.4rem; }
}

@media (max-width: 359.98px) {
  .hero-title { font-size: 2.25rem; }
  .sim-member { padding: 1.15rem 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ledger-card { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .progress-line, .hero-visual, .sim-card, .site-footer, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 1.5rem 0; }
  .section-ink { background: #fff; color: #000; }
  .section-ink .section-title, .section-ink .section-lede { color: #000; }
  a { color: #000; text-decoration: underline; }
}
