:root {
  --ink: #09110e;
  --ink-2: #12231d;
  --paper: #f7f1e2;
  --paper-2: #fff9ec;
  --text: #17251f;
  --muted: #66746d;
  --low: #8b958e;
  --line: rgba(18, 35, 29, .14);
  --line-light: rgba(247, 241, 226, .16);
  --gold: #d4ad4f;
  --teal: #2fa895;
  --copper: #dc7048;
  --blue: #5f7fbf;
  --rose: #c45e73;
  --shadow: 0 24px 70px rgba(9, 17, 14, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(247, 241, 226, .92), rgba(247, 241, 226, 1) 620px),
    var(--paper);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  color: var(--paper);
  background: rgba(9, 17, 14, .82);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(212, 173, 79, .72);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-size: .74rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(247, 241, 226, .78);
  font-size: .86rem;
  font-weight: 760;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-links .nav-cta {
  min-height: 40px;
  padding: 0 .85rem;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
}

.wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 7rem 0 5rem;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.95) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 14, .96), rgba(9, 17, 14, .58) 58%, rgba(9, 17, 14, .9)),
    linear-gradient(180deg, rgba(9, 17, 14, .12), rgba(9, 17, 14, .86));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

h1,
.display-title {
  font-family: var(--serif);
  font-size: 5.2rem;
  line-height: .92;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: .98;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 820;
}

.lead {
  max-width: 720px;
  margin-top: 1.35rem;
  color: rgba(247, 241, 226, .82);
  font-size: 1.24rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .74rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--paper-2);
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s, border-color .16s, background .16s;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 168, 149, .45);
}

.button.primary {
  color: #11100b;
  border-color: var(--gold);
  background: var(--gold);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(247, 241, 226, .24);
  background: rgba(247, 241, 226, .08);
}

.button.full {
  width: 100%;
}

.section {
  padding: 5rem 0;
}

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

.section.soft {
  color: var(--text);
  background: #ecf0e6;
}

.section.copper {
  color: var(--paper);
  background: #3a2119;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  font-size: 1.04rem;
}

.dark .section-head p,
.copper .section-head p {
  color: rgba(247, 241, 226, .72);
}

.intro-band {
  padding: 1.1rem 0;
  color: var(--paper);
  background: var(--ink-2);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.intro-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.intro-stat {
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line-light);
  border-radius: 8px;
}

.intro-stat strong {
  display: block;
  color: var(--gold);
  font-size: .82rem;
  text-transform: uppercase;
}

.intro-stat span {
  display: block;
  margin-top: .3rem;
  color: rgba(247, 241, 226, .84);
  font-weight: 760;
}

.path-grid,
.card-grid,
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.path-card,
.info-card,
.idea-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 12px 36px rgba(9, 17, 14, .08);
}

.path-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.path-card h3,
.info-card h3,
.idea-card h3 {
  margin-bottom: .55rem;
}

.path-card p,
.info-card p,
.idea-card p,
.mini-card p {
  color: var(--muted);
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: .85rem;
  padding: .22rem .54rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(212, 173, 79, .28);
  font-size: .78rem;
  font-weight: 850;
}

.path-card:nth-child(2) .card-kicker,
.info-card:nth-child(2) .card-kicker {
  background: rgba(47, 168, 149, .22);
}

.path-card:nth-child(3) .card-kicker,
.info-card:nth-child(3) .card-kicker {
  background: rgba(220, 112, 72, .22);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link {
  color: var(--teal);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.flow-panel,
.declaration-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.flow-panel {
  padding: 1rem;
}

.flow-list {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.flow-option {
  width: 100%;
  min-height: 78px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fffaf0;
  padding: .82rem;
  cursor: pointer;
}

.flow-option:hover,
.flow-option.active {
  border-color: rgba(47, 168, 149, .5);
  background: rgba(47, 168, 149, .08);
}

.flow-option span {
  display: block;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  margin-bottom: .18rem;
}

.flow-option strong {
  display: block;
}

.flow-result {
  min-height: 100%;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.flow-result p {
  color: rgba(247, 241, 226, .72);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.flow-step {
  min-height: 138px;
  padding: .85rem;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(247, 241, 226, .06);
}

.flow-step strong {
  display: block;
  color: var(--gold);
  margin-bottom: .35rem;
}

.flow-step span {
  color: rgba(247, 241, 226, .82);
  font-size: .92rem;
}

.logistic-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.logistic-term {
  min-height: 166px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.logistic-term strong {
  display: block;
  color: var(--copper);
  margin-bottom: .5rem;
}

.declaration-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.declaration-copy {
  padding: 1rem 0;
}

.declaration-copy .mini-card {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 249, 236, .72);
}

.declaration-panel {
  padding: 1.1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.field-grid .wide-field {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: .36rem;
  color: var(--text);
  font-size: .82rem;
  font-weight: 820;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(18, 35, 29, .18);
  border-radius: 8px;
  color: var(--text);
  background: #fffdf6;
  outline: none;
  padding: .86rem .9rem;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(47, 168, 149, .72);
  box-shadow: 0 0 0 4px rgba(47, 168, 149, .1);
}

.check-row {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .86rem;
}

.check-row input {
  width: auto;
  margin-top: .2rem;
  accent-color: var(--teal);
}

.form-actions {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: .9rem;
}

.form-status.success {
  color: #1e6f4d;
}

.form-status.error {
  color: #9d3c34;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: .24rem .66rem;
  border: 1px solid rgba(18, 35, 29, .16);
  border-radius: 999px;
  color: var(--text);
  background: #fffaf0;
  font-size: .84rem;
  font-weight: 720;
}

.idea-card,
.info-card,
.mini-card {
  padding: 1rem;
}

.idea-card {
  min-height: 218px;
}

.dark-card {
  border-color: var(--line-light);
  background: rgba(247, 241, 226, .06);
  color: var(--paper);
}

.dark-card p {
  color: rgba(247, 241, 226, .74);
}

.bucks-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: .75rem;
  align-items: stretch;
}

.bucks-node {
  min-height: 170px;
  padding: 1rem;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(247, 241, 226, .07);
}

.bucks-node strong {
  display: block;
  color: var(--gold);
  margin-bottom: .5rem;
}

.capital-hero .hero-media::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 17, 14, .98), rgba(9, 17, 14, .52) 55%, rgba(9, 17, 14, .86)),
    linear-gradient(180deg, rgba(9, 17, 14, .2), rgba(9, 17, 14, .88));
}

.mesh-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: .74;
}

.node-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.node-tier,
.timeline-card,
.signal-item {
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(247, 241, 226, .06);
}

.node-tier {
  min-height: 270px;
  padding: 1rem;
}

.node-tier p,
.timeline-card p {
  color: rgba(247, 241, 226, .72);
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.timeline-card {
  min-height: 220px;
  padding: 1rem;
}

.timeline-card strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: .8rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: .76rem;
  font-weight: 900;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.signal-item {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.signal-item strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
}

.signal-item span {
  color: rgba(247, 241, 226, .84);
  font-weight: 760;
}

.rail-separator {
  width: 30px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
}

.site-footer {
  padding: 2rem 0;
  color: rgba(247, 241, 226, .68);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pay-page {
  background: var(--ink);
}

.pay-hero {
  min-height: 100svh;
  align-items: center;
  padding-bottom: 4rem;
}

.favourbucks-home-hero {
  min-height: 92svh;
}

.pay-hero::before {
  content: "";
  position: absolute;
  inset: 64px 0 0;
  background:
    linear-gradient(115deg, rgba(247, 241, 226, .08), transparent 36rem),
    radial-gradient(circle at 74% 30%, rgba(47, 168, 149, .18), transparent 26rem),
    radial-gradient(circle at 86% 72%, rgba(220, 112, 72, .12), transparent 24rem);
  pointer-events: none;
}

.pay-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.prototype-note {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(247, 241, 226, .64);
  font-size: .9rem;
}

.prototype-note.inline {
  margin: .85rem 0 1rem;
  color: var(--muted);
}

.payment-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: min(340px, 100%);
  border: 1px solid rgba(247, 241, 226, .2);
  border-radius: 30px;
  padding: .9rem;
  background: linear-gradient(145deg, #0b1713, #15261f);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.phone-topbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(247, 241, 226, .72);
  font-size: .78rem;
}

.phone-topbar span:first-child {
  width: 42px;
  height: 5px;
  justify-self: center;
  border-radius: 999px;
  background: rgba(247, 241, 226, .2);
}

.phone-screen {
  min-height: 430px;
  border-radius: 22px;
  padding: 1.1rem;
  color: var(--ink);
  background: var(--paper-2);
}

.phone-kicker {
  color: rgba(9, 17, 14, .58);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.phone-screen h2 {
  margin-top: .35rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.35rem;
  line-height: 1.1;
}

.phone-amount {
  margin: .8rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
}

.qr-tile {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  aspect-ratio: 1;
  padding: .7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(9, 17, 14, .12);
}

.qr-tile i,
.qr-cell {
  display: block;
  border-radius: 2px;
  background: rgba(9, 17, 14, .12);
}

.static-qr i:nth-child(1),
.static-qr i:nth-child(2),
.static-qr i:nth-child(3),
.static-qr i:nth-child(10),
.static-qr i:nth-child(12),
.static-qr i:nth-child(19),
.static-qr i:nth-child(20),
.static-qr i:nth-child(21),
.static-qr i:nth-child(7),
.static-qr i:nth-child(8),
.static-qr i:nth-child(9),
.static-qr i:nth-child(16),
.static-qr i:nth-child(18),
.static-qr i:nth-child(25),
.static-qr i:nth-child(26),
.static-qr i:nth-child(27),
.static-qr i:nth-child(29),
.static-qr i:nth-child(31),
.static-qr i:nth-child(33),
.static-qr i:nth-child(35) {
  background: var(--ink);
}

.static-qr {
  grid-template-columns: repeat(6, 1fr);
}

.receipt-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  margin-top: .85rem;
}

.receipt-strip span {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 8px;
  color: rgba(9, 17, 14, .72);
  background: rgba(47, 168, 149, .12);
  font-size: .74rem;
  font-weight: 800;
  text-align: center;
}

.status-chip {
  display: inline-flex;
  margin-top: .85rem;
  padding: .42rem .58rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: .74rem;
  font-weight: 900;
}

.handoff-scene {
  position: absolute;
  inset: auto 0 1.2rem;
  min-height: 150px;
  border: 1px solid rgba(247, 241, 226, .12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 241, 226, .08), rgba(247, 241, 226, .03)),
    rgba(9, 17, 14, .72);
}

.handoff-person {
  position: absolute;
  bottom: 24px;
  width: 58px;
  height: 84px;
  border-radius: 24px 24px 12px 12px;
  background: rgba(247, 241, 226, .86);
}

.handoff-person::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 13px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
}

.person-left {
  left: 16%;
}

.person-right {
  right: 16%;
  background: rgba(47, 168, 149, .9);
}

.handoff-box {
  position: absolute;
  left: 50%;
  bottom: 56px;
  width: 74px;
  height: 48px;
  transform: translateX(-50%) rotate(-4deg);
  border-radius: 8px;
  background: var(--copper);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.handoff-tag {
  position: absolute;
  padding: .28rem .42rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: .64rem;
  font-weight: 900;
}

.tag-surface {
  left: 8%;
  top: 18px;
}

.tag-favour {
  left: 44%;
  top: 20px;
}

.tag-receipt {
  right: 8%;
  top: 18px;
}

.pay-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
  gap: 1rem;
  align-items: start;
}

.pay-form-panel,
.pay-result-panel .receipt-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--text);
  padding: clamp(1rem, 3vw, 1.35rem);
}

.pay-form-panel p,
.pay-result-panel p {
  color: var(--muted);
}

.compact-head {
  grid-template-columns: minmax(0, .8fr) minmax(230px, .52fr);
  margin-bottom: 1.2rem;
}

.compact-head h2 {
  color: var(--text);
}

.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  padding: .35rem;
  border-radius: 10px;
  background: rgba(9, 17, 14, .08);
  margin-bottom: 1rem;
}

.mode-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.mode-toggle button.active {
  color: var(--ink);
  background: var(--gold);
}

.pay-form textarea {
  min-height: 104px;
}

.receipt-card {
  position: sticky;
  top: 84px;
}

.receipt-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.receipt-card h3 {
  margin-top: 1rem;
  color: var(--text);
}

.receipt-amount {
  margin: .75rem 0 .35rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.dynamic-qr {
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
  margin: 1rem 0;
}

.qr-cell.on {
  background: var(--ink);
}

.pay-link-box {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem;
  color: var(--muted);
  background: rgba(9, 17, 14, .04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}

@media (max-width: 980px) {
  .section-head,
  .flow,
  .declaration-layout,
  .pay-hero-grid,
  .pay-tool,
  .compact-head {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .card-grid,
  .idea-grid,
  .intro-row,
  .node-ladder,
  .operator-grid,
  .timeline-grid,
  .signal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logistic-map,
  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .bucks-rail {
    grid-template-columns: 1fr;
  }

  .rail-separator {
    width: 100%;
    min-height: 24px;
  }

  .receipt-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 58px;
    padding: .7rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 6rem 0 3rem;
  }

  h1,
  .display-title {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .path-grid,
  .card-grid,
  .idea-grid,
  .intro-row,
  .logistic-map,
  .flow-steps,
  .field-grid,
  .node-ladder,
  .operator-grid,
  .timeline-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .payment-hero-visual {
    min-height: 460px;
  }

  .receipt-strip {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: min(310px, 100%);
  }
}
