/* Bungee marketing site — design system
   Tokens: neutral ground (Paper/Ink), one dominant accent (Cobalt = money returning),
   one restrained secondary (Ember = money leaving), Success green reserved for
   authorization status only. Legacy var names are kept as aliases: account, login,
   and legal pages reference them directly. */

:root {
  /* core tokens */
  --bg-primary: #FAFAF9;
  --bg-secondary: #F4F4F2;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --text-primary: #0E0E11;
  --text-secondary: #5F5F67;
  --border: rgba(14, 14, 17, 0.09);
  --border-strong: rgba(14, 14, 17, 0.16);
  --accent: #2743F0;
  --accent-soft: rgba(39, 67, 240, 0.07);
  --ember: #C2481D;
  --success: #1FAF62;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(14,14,17,0.04), 0 4px 12px rgba(14,14,17,0.05);
  --shadow-md: 0 2px 4px rgba(14,14,17,0.04), 0 14px 40px rgba(14,14,17,0.09);
  --shadow-lg: 0 24px 70px rgba(14,14,17,0.13);

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px;
  --space-5: 64px; --space-6: 104px;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;

  /* motion system: one designer, one clock */
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 700ms;
  --dur-story: 1100ms;

  /* legacy aliases (do not remove: shared pages use these) */
  --paper: var(--bg-primary);
  --ink: var(--text-primary);
  --graphite: var(--text-secondary);
  --cobalt: var(--accent);
  --line: var(--border);
  --card: var(--surface);
  --shadow: var(--shadow-md);
  --r: var(--radius-md);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0F0F13;
    --bg-secondary: #131318;
    --surface: #17171C;
    --surface-elevated: #1B1B21;
    --text-primary: #F2F2F0;
    --text-secondary: #9B9BA4;
    --border: rgba(242, 242, 240, 0.10);
    --border-strong: rgba(242, 242, 240, 0.20);
    --accent: #6D82FF;
    --accent-soft: rgba(109, 130, 255, 0.10);
    --ember: #F0703C;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.3), 0 14px 40px rgba(0,0,0,0.45);
    --shadow-lg: 0 24px 70px rgba(0,0,0,0.6);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: color-mix(in srgb, var(--text-secondary) 42%, transparent) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text-secondary) 38%, transparent);
  border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.eyebrow {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--accent); border-radius: 1px; }
.eyebrow b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: 64px;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg-primary) 76%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg-primary) 86%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px; }
.wordmark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 3px; }
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlinks a {
  text-decoration: none; font-size: 0.92rem; color: var(--text-secondary);
  transition: color 0.16s ease; position: relative; padding: 4px 0;
}
.navlinks a.navanchor::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--text-primary); transition: right 0.22s cubic-bezier(0.16,1,0.3,1);
}
.navlinks a.navanchor:hover::after { right: 0; }
.navlinks a:hover { color: var(--text-primary); }
.navlinks a.btn-primary, .navlinks a.btn-primary:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.96rem; white-space: nowrap;
  min-height: 46px; padding: 12px 22px; border-radius: 10px; cursor: pointer; text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text-primary)); }
.btn-primary .arr { display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.18);
  font-size: 0.82rem; margin-right: -6px;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), background 0.2s ease; }
.btn-primary:hover .arr { background: rgba(255,255,255,0.26); }
.btn-primary:hover .arr { animation: arrsnap 0.5s var(--ease-spring) forwards; }
@keyframes arrsnap { 0% { transform: translateX(0); } 45% { transform: translateX(7px); } 72% { transform: translateX(1.5px); } 100% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover .arr { animation: none; transform: translateX(3px); } }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-secondary); background: color-mix(in srgb, var(--text-primary) 4%, transparent); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 0.88rem; border-radius: 9px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 110px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 56px 100%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 78%);
}
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; position: relative; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.35rem);
  line-height: 1.02; letter-spacing: -0.032em; font-weight: 700;
  max-width: 14ch;
}
.hero h1 .hl {
  font-style: normal;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 96%; background-size: 100% 0.06em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hl { background-size: 0 0.06em; animation: hldraw 0.9s var(--ease-standard) 1s forwards; }
  @keyframes hldraw { to { background-size: 100% 0.06em; } }
}
.hero .sub { color: var(--text-secondary); font-size: 1.16rem; line-height: 1.65; max-width: 32ch; margin: 24px 0 34px; }
.hero .ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.herovis { position: relative; }
.herovis::before {
  content: ""; position: absolute; inset: -12% -16%;
  background: radial-gradient(50% 50% at 50% 46%, var(--accent-soft), transparent 72%);
  pointer-events: none;
}

/* the signature moment: a real card meets a real terminal, one clean swipe.
   All geometry lives in custom properties so mobile is a recomposition, not a shrink. */
.carddock {
  --stage-w: 420px; --stage-h: 338px;
  --term-x: 84px; --term-y: 96px; --term-w: 240px; --term-h: 224px;
  --card-w: 168px; --card-h: 104px;
  --wall-y: 112px;
  --c-idle: translate(238px, -8px) rotate(7deg);
  --c-approach: translate(198px, 16px) rotate(3deg);
  --c-align: translate(198px, 30px) rotate(0deg);
  --c-inslot: translate(22px, 30px) rotate(0deg);
  --c-release: translate(6px, -76px) rotate(-6deg);
  position: relative; width: var(--stage-w); margin-left: auto;
}
.dockstage { position: relative; width: var(--stage-w); height: var(--stage-h); }

/* terminal */
.dterm {
  position: absolute; left: var(--term-x); top: var(--term-y); width: var(--term-w); height: var(--term-h);
  background: linear-gradient(180deg, #24242C, #17171D 58%, #1A1A21);
  border: 1px solid rgba(255,255,255,0.11); border-radius: 20px;
  box-shadow: 0 34px 60px rgba(14,14,17,0.26), inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 1;
}
.dterm::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -16px; height: 18px;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(14,14,17,0.3), transparent 70%);
  filter: blur(4px); z-index: -1; }
[data-phase="approved"] .dterm { animation: termreact 0.5s var(--ease-spring); }
@keyframes termreact { 0% { transform: none; } 35% { transform: translateY(1px) scale(0.996); } 100% { transform: none; } }

.dterm .tchannel { position: absolute; left: 10px; right: 10px; top: 7px; height: 26px; border-radius: 8px;
  background: linear-gradient(180deg, #08080C, #101016);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.75); }
.dterm .tscreen {
  position: absolute; left: 22px; right: 22px; top: 58px; height: 98px; border-radius: 12px;
  background: linear-gradient(165deg, #0A0A10, #10101A);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 17px 16px 0; overflow: hidden;
  transition: box-shadow var(--dur-med) ease;
}
.dterm .tscreen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.05), transparent 40%); }
.carddock.ok .tscreen { box-shadow: 0 0 28px rgba(31,175,98,0.14); }
.ts-status {
  display: flex; align-items: baseline; gap: 3px;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(242,242,240,0.55); white-space: nowrap;
}
.tscreen.st-busy .ts-status { color: #E8E8E4; }
.tscreen.st-ok .ts-status { color: #5ECF96; }
.tscreen.st-credit .ts-status { color: #A9B7FF; }
.ts-status.swapin { animation: tswap 0.45s var(--ease-standard); }
@keyframes tswap { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.ts-dots { display: none; letter-spacing: 0.05em; }
.tscreen.st-busy .ts-dots { display: inline-flex; }
.ts-dots i { font-style: normal; animation: dotblink 1.2s ease-in-out infinite; }
.ts-dots i:nth-child(2) { animation-delay: 0.2s; }
.ts-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotblink { 0%, 100% { opacity: 0.15; } 40% { opacity: 1; } }
.ts-sub { margin-top: 9px; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.76rem; color: rgba(242,242,240,0.5); transition: color var(--dur-med) ease; }
.tscreen.st-credit .ts-sub, .tscreen.st-ok .ts-sub { color: rgba(242,242,240,0.75); }

.tnfc { position: absolute; left: 26px; bottom: 22px; width: 18px; height: 18px; opacity: 0.45; }
.tnfc path { fill: none; stroke: #E8E8E4; stroke-width: 1.6; stroke-linecap: round; }
.tled { position: absolute; right: 28px; bottom: 27px; width: 8px; height: 8px; border-radius: 50%;
  background: #4A4A54; transition: background var(--dur-med) ease, box-shadow var(--dur-med) ease; }
[data-phase="swipe"] .tled, [data-phase="read"] .tled, [data-phase="auth"] .tled {
  background: #E8A13C; box-shadow: 0 0 9px rgba(232,161,60,0.7); }
@media (prefers-reduced-motion: no-preference) {
  [data-phase="read"] .tled, [data-phase="auth"] .tled { animation: dotblink 1.1s ease-in-out infinite; }
}
.carddock.ok .tled { background: var(--success); box-shadow: 0 0 10px rgba(31,175,98,0.75); animation: none; }

/* the swipe channel's front wall: the mask that sells the whole illusion */
.dwall {
  position: absolute; left: var(--term-x); top: var(--wall-y); width: var(--term-w); height: 30px; z-index: 3;
  background: linear-gradient(180deg, #282833, #1C1C23 65%, #17171D);
  border: 1px solid rgba(255,255,255,0.12); border-top-color: rgba(255,255,255,0.26);
  border-radius: 9px;
  box-shadow: 0 7px 14px rgba(0,0,0,0.32);
}
.chglow {
  position: absolute; left: calc(var(--term-x) + 10px); width: calc(var(--term-w) - 20px);
  top: calc(var(--wall-y) - 1px); height: 2px; border-radius: 2px; z-index: 4;
  background: var(--accent); filter: blur(0.5px) drop-shadow(0 0 7px rgba(109,130,255,0.9));
  opacity: 0; transition: opacity var(--dur-med) ease;
}
[data-phase="swipe"] .chglow, [data-phase="read"] .chglow, [data-phase="auth"] .chglow { opacity: 0.9; }
[data-phase="approved"] .chglow { opacity: 0.35; }
.pline {
  position: absolute; left: calc(var(--term-x) + var(--term-w) / 2); top: calc(var(--wall-y) + 30px);
  width: 2px; height: 18px; z-index: 1; transform: scaleY(0); transform-origin: top;
  background: linear-gradient(180deg, var(--accent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  [data-phase="auth"] .pline { animation: pdrop 0.8s var(--ease-standard) 2; }
  @keyframes pdrop { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 0.9; } 100% { transform: scaleY(1); opacity: 0; } }
}

/* the card */
.dcard {
  position: absolute; left: 0; top: 0; width: var(--card-w); height: var(--card-h); z-index: 2;
  transform: var(--c-idle);
  transition: transform 1s var(--ease-standard), filter 1s ease;
  filter: drop-shadow(0 26px 20px rgba(14,14,17,0.24));
  will-change: transform;
}
[data-phase="approach"] .dcard { transform: var(--c-approach); transition-duration: 1.05s; filter: drop-shadow(0 16px 14px rgba(14,14,17,0.28)); }
[data-phase="align"] .dcard { transform: var(--c-align); transition-duration: 0.48s; transition-timing-function: var(--ease-spring); filter: drop-shadow(0 7px 7px rgba(14,14,17,0.34)); }
[data-phase="swipe"] .dcard { transform: var(--c-inslot); transition-duration: 0.88s; transition-timing-function: cubic-bezier(0.55, 0, 0.22, 1); filter: drop-shadow(0 7px 7px rgba(14,14,17,0.34)); }
[data-phase="read"] .dcard, [data-phase="auth"] .dcard, [data-phase="approved"] .dcard, [data-phase="credit"] .dcard {
  transform: var(--c-inslot); filter: drop-shadow(0 7px 7px rgba(14,14,17,0.34)); }
[data-phase="release"] .dcard { transform: var(--c-release); transition-duration: 0.85s; }
[data-phase="rest"] .dcard { transform: var(--c-idle); transition-duration: 1.3s; }

.dcard-i {
  position: absolute; inset: 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(132deg, #21212A, #15151B 55%, #1B1B23);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.dcard-i::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.07) 46%, transparent 60%); }
.dcard .lite { position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: radial-gradient(90% 60% at 30% 0%, rgba(255,255,255,0.1), transparent 60%);
  opacity: 0.4; transition: opacity var(--dur-slow) ease; }
[data-phase="approach"] .lite, [data-phase="align"] .lite { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  [data-phase="idle"] .dcard-i, [data-phase="rest"] .dcard-i { animation: cardbob 3.6s ease-in-out infinite alternate; }
  @keyframes cardbob { from { transform: translateY(-2px); } to { transform: translateY(2px); } }
}
.dcard .cbrand { position: absolute; top: 12px; right: 14px; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,242,240,0.4); }
.dcard .cchip { position: absolute; left: 16px; top: 30px; width: 26px; height: 19px; border-radius: 4px;
  background: linear-gradient(135deg, #D8D8D2, #9A9A94 60%, #C4C4BE); }
.dcard .cchip::after { content: ""; position: absolute; inset: 4px 3px;
  border-top: 1px solid rgba(20,20,20,0.35); border-bottom: 1px solid rgba(20,20,20,0.35); }
.dcard .cwave { position: absolute; left: 52px; top: 31px; width: 16px; height: 16px; }
.dcard .cwave path { fill: none; stroke: rgba(242,242,240,0.45); stroke-width: 1.4; stroke-linecap: round; }
.dcard .cnum { position: absolute; left: 16px; bottom: 46px; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem; letter-spacing: 0.14em; color: rgba(242,242,240,0.85);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6); }
.dcard .crow { position: absolute; left: 16px; right: 14px; bottom: 22px; display: flex; justify-content: space-between;
  font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,242,240,0.4);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* result + stream under the stage */
.dockresult {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 0.84rem; font-weight: 600; color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-med) var(--ease-standard), transform var(--dur-med) var(--ease-standard);
}
.carddock.done .dockresult { opacity: 1; transform: none; }
.dockresult .rc { width: 17px; height: 17px; border-radius: 50%; background: var(--success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; flex: none; }
.dockresult .sep { width: 1px; height: 14px; background: var(--border-strong); }
.dockresult .cr { color: var(--accent); }
.dockstream { margin-top: 12px; display: flex; flex-direction: column; gap: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.72rem; color: var(--text-secondary); }
.dockstream .ev { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease-standard), transform var(--dur-med) var(--ease-standard); }
.dockstream .ev.on { opacity: 1; transform: none; }
.dockstream .ev i { width: 5px; height: 5px; border-radius: 50%; flex: none; background: var(--border-strong); }
.dockstream .ev.good i { background: var(--success); }
.dockstream .ev.acc i { background: var(--accent); }
.dockstream .ts { color: color-mix(in srgb, var(--text-secondary) 55%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .dcard { transition: none !important; }
  .dcard-i, .tled, .ts-dots i { animation: none !important; }
  .ts-status.swapin { animation: none; }
}

@media (max-width: 1150px) {
  .carddock {
    --stage-w: 326px; --stage-h: 306px;
    --term-x: 53px; --term-y: 100px; --term-w: 220px; --term-h: 202px;
    --card-w: 150px; --card-h: 94px;
    --wall-y: 116px;
    --c-idle: translate(168px, -6px) rotate(7deg);
    --c-approach: translate(128px, 20px) rotate(3deg);
    --c-align: translate(128px, 34px) rotate(0deg);
    --c-inslot: translate(8px, 34px) rotate(0deg);
    --c-release: translate(-2px, -66px) rotate(-6deg);
  }
  .dterm .tscreen { left: 18px; right: 18px; top: 54px; height: 92px; padding: 14px 14px 0; }
  .dockresult { font-size: 0.78rem; padding: 9px 12px; }
}

/* ---------- the fee band: one wide visualization ---------- */
.feeband { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); padding: 64px 0 60px; }
.fb-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700; letter-spacing: -0.015em; }
.fb-title strong { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
.fb-bar { position: relative; height: 34px; margin-top: 28px; border-radius: 8px; overflow: visible; }
.fb-track { position: absolute; inset: 0; border-radius: 8px; background: var(--text-primary); opacity: 0.9;
  transform: scaleX(0); transform-origin: left; }
.in .fb-track { transition: transform 1s var(--ease-standard); transform: scaleX(1); }
.fb-fee { position: absolute; top: 0; right: 0; width: 3%; height: 100%; border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #E0602E, var(--ember)); box-shadow: 0 0 0 rgba(224,96,46,0); }
.in .fb-fee { transition: transform 0.7s var(--ease-spring) 1.05s, box-shadow 0.7s ease 1.05s;
  transform: translateY(12px); box-shadow: 0 10px 26px rgba(194,72,29,0.35); }
.fb-legend { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.fb-legend .keep { font-size: 0.92rem; color: var(--text-secondary); }
.fb-legend .keep strong { color: var(--text-primary); }
.fb-legend .lose { font-size: 1.05rem; font-weight: 700; color: var(--ember); }
.fb-legend .lose .mono { font-size: 1.5rem; letter-spacing: -0.01em; }
.fb-note { margin-top: 18px; color: var(--text-secondary); font-size: 0.95rem; max-width: 62ch; }
.fb-note strong { color: var(--text-primary); }
@media (prefers-reduced-motion: reduce) {
  .fb-track { transform: scaleX(1); }
  .fb-fee { transform: translateY(12px); }
}


/* image wordmark: the generated bungee logo */
.wordmark.imgmark::after { display: none; }
.wordmark.imgmark img { display: block; height: 30px; width: auto; }
@media (prefers-color-scheme: dark) {
  .wordmark.imgmark img { filter: brightness(0) invert(1); }
}
