:root {
  --bg: #fff;
  --fg: #000;
  --muted: #6b6b6b;
  --line: #000;
  --soft: #f1f1f1;
  --softer: #fafafa;
  --btn-hover: #1f2937;
  --shadow: rgba(0, 0, 0, 0.14);
  --ok: #047857;
  --bad: #b91c1c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { opacity: 0.7; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

/* ----- topbar ----- */
.topbar {
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.logo {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.logo em { font-style: italic; }
.logo .slash { color: var(--muted); margin: 0 0.05em; }
.topnav {
  display: flex;
  gap: 1.25rem;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.85rem;
}

/* ----- hero ----- */
.hero {
  padding: 4rem 0 4rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
}
/* Single-column hero — the 5-card demo wants the full container width. */
.hero-eyebrow {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; background: var(--fg); border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.3 } 50% { opacity: 1 } }

.hero-title {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 16ch;
}
.hero-title em { font-style: italic; }
.hero-lede {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
}
.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  font: inherit;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--btn-hover); opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
}
.btn-ghost:hover { background: var(--soft); }

/* ----- demo strip animation ----- */
.demo {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.75rem);
  position: relative;
  overflow: hidden;
}
.demo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
@media (min-width: 760px) {
  .demo-row {
    grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr;
  }
}
.demo-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.9rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 150px;
  /* dimmed by default; spotlight animation lifts the active card */
  opacity: 0.45;
  transform: scale(0.96);
  transform-origin: center;
  position: relative;
  z-index: 1;
  box-shadow: none;
  transition: none;
}
/* 10s loop, 5 cards × 20% each: agent 0-20, pay 20-40, sinch 40-60, carrier 60-80, phone 80-100. */
.demo-agent   { animation: spotlight-1 10s infinite ease-in-out; }
.demo-pay     { animation: spotlight-2 10s infinite ease-in-out; }
.demo-route   { animation: spotlight-3 10s infinite ease-in-out; }
.demo-carrier { animation: spotlight-4 10s infinite ease-in-out; }
.demo-phone   { animation: spotlight-5 10s infinite ease-in-out; }

@keyframes spotlight-1 {
  0%   { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  2%   { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  18%  { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  22%  { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  100% { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
}
@keyframes spotlight-2 {
  0%, 18%  { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  22%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  38%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  42%      { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  100%     { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
}
@keyframes spotlight-3 {
  0%, 38%  { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  42%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  58%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  62%      { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  100%     { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
}
@keyframes spotlight-4 {
  0%, 58%  { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  62%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  78%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  82%      { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  100%     { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
}
@keyframes spotlight-5 {
  0%, 78%  { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
  82%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  96%      { opacity: 1;    transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 1px var(--fg), 0 10px 28px var(--shadow); }
  100%     { opacity: 0.45; transform: scale(0.96); z-index: 1; box-shadow: none; }
}
.demo-tag {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* connector arrow */
.demo-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--fg) 0 4px, transparent 4px 12px);
}
.demo-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 0; height: 0;
  border-left: 7px solid var(--fg);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}
.demo-arrow .pulse-dot {
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.demo-arrow.pa1 .pulse-dot { animation: travel-1 10s infinite ease-in-out; }
.demo-arrow.pa2 .pulse-dot { animation: travel-2 10s infinite ease-in-out; }
.demo-arrow.pa3 .pulse-dot { animation: travel-3 10s infinite ease-in-out; }
.demo-arrow.pa4 .pulse-dot { animation: travel-4 10s infinite ease-in-out; }

@keyframes travel-1 {
  0%, 18%   { left: 0;    opacity: 0; }
  19%       { left: 0;    opacity: 1; }
  22%       { left: 100%; opacity: 1; }
  23%, 100% { left: 100%; opacity: 0; }
}
@keyframes travel-2 {
  0%, 38%   { left: 0;    opacity: 0; }
  39%       { left: 0;    opacity: 1; }
  42%       { left: 100%; opacity: 1; }
  43%, 100% { left: 100%; opacity: 0; }
}
@keyframes travel-3 {
  0%, 58%   { left: 0;    opacity: 0; }
  59%       { left: 0;    opacity: 1; }
  62%       { left: 100%; opacity: 1; }
  63%, 100% { left: 100%; opacity: 0; }
}
@keyframes travel-4 {
  0%, 78%   { left: 0;    opacity: 0; }
  79%       { left: 0;    opacity: 1; }
  82%       { left: 100%; opacity: 1; }
  83%, 100% { left: 100%; opacity: 0; }
}

/* hide arrows on small screens */
@media (max-width: 699px) {
  .demo-arrow { display: none; }
}

/* terminal in the agent card */
.term {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--fg);
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
}
.term-prompt { color: var(--muted); }
.term-typed {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  max-width: 100%;
  animation: typing 10s infinite steps(38, end);
}
@keyframes typing {
  /* type during agent spotlight (0-20%), hold, clear at handoff */
  0%, 1%   { width: 0; }
  16%      { width: 38ch; }
  20%      { width: 38ch; }
  22%, 100% { width: 0; }
}
.cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  background: var(--fg);
  vertical-align: -0.12em;
  animation: blink 1s steps(2) infinite;
  margin-left: 1px;
}
@keyframes blink { 50% { opacity: 0; } }

/* pay card */
.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--fg);
  padding: 0.55rem 0.85rem;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(6px);
  animation: pop 10s infinite ease-out;
}
@keyframes pop {
  /* pay-card spotlight 20-40%; pop in at 22%, hold to 38%, fade at handoff */
  0%, 21%   { opacity: 0; transform: translateY(6px) scale(0.94); }
  25%       { opacity: 1; transform: translateY(0)   scale(1.06); }
  29%, 38%  { opacity: 1; transform: translateY(0)   scale(1); }
  42%, 100% { opacity: 0; transform: translateY(6px) scale(0.94); }
}
.pay-check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 16px; height: 16px;
  background: var(--fg); color: var(--bg);
  border-radius: 50%;
  font-size: 0.65rem;
}
.pay-meta {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: var(--muted);
}

/* sinch route card */
.bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 36px;
  margin-top: auto;
}
.bars span {
  width: 10px; background: var(--fg); opacity: 0.18;
  animation: bar 10s infinite ease-out;
}
.bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.bars span:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.bars span:nth-child(3) { height: 95%; animation-delay: 0.3s; }
@keyframes bar {
  /* sinch spotlight 40-60%; pulse during it */
  0%, 41%   { opacity: 0.18; transform: scaleY(0.5); transform-origin: bottom; }
  45%       { opacity: 1;    transform: scaleY(1); }
  50%, 58%  { opacity: 0.85; transform: scaleY(1); }
  62%, 100% { opacity: 0.18; transform: scaleY(0.5); }
}

/* carrier card */
.carriers {
  list-style: none;
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 0;
}
.carriers li {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 5px 6px;
  border: 1px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
}
.carriers .c1 { animation: carrier-c1 10s infinite ease-in-out; }
.carriers .c2 { animation: carrier-c2 10s infinite ease-in-out; }
.carriers .c3 { animation: carrier-c3 10s infinite ease-in-out; }

/* During carrier-card spotlight (60-80%): scan through carriers, pick T-Mobile as the routed network. */
@keyframes carrier-c1 {
  0%, 62%   { background: var(--bg); color: var(--fg); }
  64%, 67%  { background: var(--fg); color: var(--bg); }
  69%       { background: var(--bg); color: var(--fg); }
  74%, 78%  { background: var(--fg); color: var(--bg); }   /* settles on T-Mobile */
  82%, 100% { background: var(--bg); color: var(--fg); }
}
@keyframes carrier-c2 {
  0%, 67%   { background: var(--bg); color: var(--fg); }
  69%, 71%  { background: var(--fg); color: var(--bg); }
  73%, 100% { background: var(--bg); color: var(--fg); }
}
@keyframes carrier-c3 {
  0%, 71%   { background: var(--bg); color: var(--fg); }
  72%, 73%  { background: var(--fg); color: var(--bg); }
  74%, 100% { background: var(--bg); color: var(--fg); }
}

/* phone */
.phone {
  width: 110px; height: 178px;
  border: 2px solid var(--fg);
  border-radius: 18px;
  padding: 7px 5px 9px;
  background: var(--bg);
  margin: auto auto 0;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 5px; left: 50%;
  width: 32px; height: 4px;
  background: var(--fg); opacity: 0.6;
  transform: translateX(-50%);
  border-radius: 2px;
}
.phone-screen {
  margin-top: 8px;
  height: calc(100% - 16px);
  background: var(--soft);
  border-radius: 9px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bubble {
  background: var(--fg);
  color: var(--bg);
  padding: 6px 9px;
  border-radius: 12px 12px 12px 4px;
  font-size: 0.7rem;
  line-height: 1.3;
  max-width: 92%;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: deliver 10s infinite ease-out;
}
@keyframes deliver {
  /* phone spotlight 80-100%; bubble slides in at ~83% and stays */
  0%, 81%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  85%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}
.bubble-meta {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  color: var(--muted);
  margin-top: 4px;
  opacity: 0;
  animation: deliver 10s infinite ease-out;
  animation-delay: 0.3s;
}

/* ----- generic section ----- */
section.block {
  border-top: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.block-eyebrow {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.block-title {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.block-title em { font-style: italic; }

/* form */
form.try-form { display: grid; gap: 1rem; max-width: 560px; }
label.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
label.field input,
label.field textarea {
  font: inherit;
  font-family: "Inter", system-ui, sans-serif;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--fg);
  background: var(--bg);
  border-radius: 0;
}
label.field input:focus,
label.field textarea:focus {
  outline: 2px solid var(--fg);
  outline-offset: -1px;
}
.hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

/* result: fill the viewport so the user lands directly on the quote */
.result-takeover {
  min-height: 100vh;
  padding-top: clamp(2.5rem, 6vh, 5rem);
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

/* confirmation takeover: replaces page after a successful payment */
.confirmation-takeover {
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-top: none;
  padding: clamp(2rem, 6vh, 4rem) 0;
}
.confirmation-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 880px) {
  .confirmation-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}
.confirmation-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.confirmation-text .btn { margin-top: 1.5rem; }
.confirmation-text .result-grid { margin: 0.5rem 0 0; }

/* confirmation animation: agent card → arrow → phone with the actual message */
.confirmation-anim {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.5rem);
  align-items: stretch;
}
@media (min-width: 540px) {
  .confirmation-anim { grid-template-columns: 1fr 28px 1fr; }
}
.confirmation-anim .conf-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 200px;
}
.conf-msg {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: auto;
  word-break: break-word;
  white-space: pre-wrap;
  opacity: 0;
  transform: translateY(4px);
  animation: confShow 4.5s infinite ease-out;
}
@keyframes confShow {
  0%, 5%   { opacity: 0; transform: translateY(4px); }
  12%, 70% { opacity: 1; transform: translateY(0); }
  80%, 100%{ opacity: 0; transform: translateY(4px); }
}
.conf-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--fg) 0 4px, transparent 4px 12px);
}
.conf-arrow::after {
  content: "";
  position: absolute;
  top: 50%; right: -1px;
  width: 0; height: 0;
  border-left: 7px solid var(--fg);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}
.conf-dot {
  position: absolute;
  top: 50%; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: confTravel 4.5s infinite ease-in-out;
}
@keyframes confTravel {
  0%, 30%   { left: 0;    opacity: 0; }
  35%       { left: 0;    opacity: 1; }
  45%       { left: 100%; opacity: 1; }
  48%, 100% { left: 100%; opacity: 0; }
}
.confirmation-anim .phone {
  margin-top: auto;
  width: 132px;
  height: 220px;
}
.conf-bubble {
  background: var(--fg);
  color: var(--bg);
  padding: 7px 10px;
  border-radius: 12px 12px 12px 4px;
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: 95%;
  word-break: break-word;
  white-space: pre-wrap;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: confDeliver 4.5s infinite ease-out;
}
@keyframes confDeliver {
  0%, 48%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  56%, 90%  { opacity: 1; transform: translateY(0) scale(1); }
  95%, 100% { opacity: 0; transform: translateY(10px) scale(0.95); }
}
@media (max-width: 539px) {
  .conf-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .conf-msg, .conf-bubble, .conf-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* result */
.result-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.result-grid dt {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  align-self: baseline;
}
.result-grid dd { margin: 0; align-self: baseline; }
.token-box {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  word-break: break-all;
  background: var(--soft);
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--fg);
}

pre {
  background: var(--soft);
  border: 1px solid var(--fg);
  padding: 0.9rem 1.1rem;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  overflow-x: auto;
  line-height: 1.55;
}
code {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.85em;
  background: var(--soft);
  padding: 0.05em 0.35em;
}
pre code { background: transparent; padding: 0; }

.ok-banner, .bad-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--fg);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.ok-banner { background: var(--fg); color: var(--bg); }
.bad-banner { background: var(--bg); color: var(--fg); }

#pay-btn { /* same .btn primary style */
  font: inherit;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  margin-top: 1rem;
}
#pay-btn:hover { background: var(--btn-hover); }
#pay-btn[disabled] { opacity: 0.55; cursor: progress; }

#pay-status { margin-top: 0.85rem; min-height: 1.2em; }

/* agent docs */
.step-list {
  list-style: none;
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
  max-width: 720px;
}
.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  gap: 1rem;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-size: 1.7rem;
  color: var(--muted);
}
.step-list h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "DM Mono", ui-monospace, monospace;
}
.step-list p { color: var(--muted); font-size: 0.95rem; }

/* footer */
.footer {
  border-top: 1px solid var(--fg);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* prefers-reduced-motion: stop the demo loop */
@media (prefers-reduced-motion: reduce) {
  .term-typed { animation: none; width: 38ch; }
  .pay-pill, .bubble, .bubble-meta, .bars span, .demo-arrow .pulse-dot, .hero-eyebrow .pulse {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
