@font-face{font-family:"Bricolage Grotesque";src:url(assets/fonts/bricolage-wdth.woff2) format("woff2");font-weight:200 800;font-stretch:75% 100%;font-display:swap}
@font-face{font-family:"Inter";src:url(assets/fonts/inter-var.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(assets/fonts/jbmono-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(assets/fonts/jbmono-700.woff2) format("woff2");font-weight:700;font-display:swap}
/* BibiPad. One continuous sunlit poster: yellow-orange bands with print grain and halftone,
   cut by dark terminal panels. BiBi is the only large object. The diamond lattice echoes the BNB mark.
   Single committed look, no light/dark switching by design. */
:root {
  --sun: #FFD320;
  --flare: #FF8E10;
  --coral: #FF5A36;
  --ivory: #FFFBEA;
  --paper: #FFF3D0;
  --ink: #161412;
  --night: #1E1915;
  --night-2: #2B241E;
  --mint: #5BE3A1;
  --ultra: #3F37FF;
  --text: #161412;
  --text-dim: #5A4727;
  --on-dark: #FFF6DF;
  --on-dark-dim: #CDBD99;
  --line-dark: rgba(255, 211, 32, .26);
  --focus: #161412;
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 28px;
  --gut: 20px;
  --nav-h: 88px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
a { color: inherit; }
ol, ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--sun); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark, .nav-bar, .console, .night { --focus: var(--sun); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--ink); color: var(--sun); padding: .7rem 1rem; border-radius: 12px;
  font: 700 .85rem var(--font-mono); text-decoration: none;
}
.skip:focus { top: max(12px, env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* ---------- print texture: grain, halftone, lattice, scanlines ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: url(assets/fx/grain.png) 0 0 / 180px 180px; opacity: .55;
}
.halftone::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at center, rgba(22, 20, 18, .5) 1.3px, transparent 1.9px) 0 0 / 10px 10px;
  -webkit-mask-image: linear-gradient(118deg, #000 0%, rgba(0, 0, 0, .35) 28%, transparent 52%);
  mask-image: linear-gradient(118deg, #000 0%, rgba(0, 0, 0, .35) 28%, transparent 52%);
  opacity: .32;
}
.halftone.flip::before {
  -webkit-mask-image: linear-gradient(242deg, #000 0%, rgba(0, 0, 0, .35) 28%, transparent 52%);
  mask-image: linear-gradient(242deg, #000 0%, rgba(0, 0, 0, .35) 28%, transparent 52%);
}
.lattice::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(assets/fx/lattice-ink.svg) 0 0 / 72px 72px; opacity: .08;
}
.night.lattice::before { background-image: url(assets/fx/lattice-sun.svg); opacity: .07; }
.scan::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 246, 223, .035) 0 1px, transparent 1px 3px);
}

/* ---------- bands ---------- */
.band { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.band > .wrap { position: relative; z-index: 3; }
.band-sun { background: linear-gradient(162deg, #FFD320 0%, #FFB814 44%, #FF9410 100%); }
.band-ivory { background: var(--ivory); }
.band-paper { background: var(--paper); }
.night, .on-dark { background: var(--night); color: var(--on-dark); }
.band-flare { background: linear-gradient(200deg, #FF8E10, #FF6A0A); }
/* diamond-tooth top edge: the band above shows through the notches */
.teeth {
  margin-top: -26px; padding-top: calc(clamp(4.5rem, 9vw, 8rem) + 26px);
  clip-path: polygon(0 26px, 1.25% 0, 2.5% 26px, 3.75% 0, 5% 26px, 6.25% 0, 7.5% 26px, 8.75% 0, 10% 26px, 11.25% 0, 12.5% 26px, 13.75% 0, 15% 26px, 16.25% 0, 17.5% 26px, 18.75% 0, 20% 26px, 21.25% 0, 22.5% 26px, 23.75% 0, 25% 26px, 26.25% 0, 27.5% 26px, 28.75% 0, 30% 26px, 31.25% 0, 32.5% 26px, 33.75% 0, 35% 26px, 36.25% 0, 37.5% 26px, 38.75% 0, 40% 26px, 41.25% 0, 42.5% 26px, 43.75% 0, 45% 26px, 46.25% 0, 47.5% 26px, 48.75% 0, 50% 26px, 51.25% 0, 52.5% 26px, 53.75% 0, 55% 26px, 56.25% 0, 57.5% 26px, 58.75% 0, 60% 26px, 61.25% 0, 62.5% 26px, 63.75% 0, 65% 26px, 66.25% 0, 67.5% 26px, 68.75% 0, 70% 26px, 71.25% 0, 72.5% 26px, 73.75% 0, 75% 26px, 76.25% 0, 77.5% 26px, 78.75% 0, 80% 26px, 81.25% 0, 82.5% 26px, 83.75% 0, 85% 26px, 86.25% 0, 87.5% 26px, 88.75% 0, 90% 26px, 91.25% 0, 92.5% 26px, 93.75% 0, 95% 26px, 96.25% 0, 97.5% 26px, 98.75% 0, 100% 26px, 100% 100%, 0 100%);
}

/* ---------- type ---------- */
.h-xl { font-size: clamp(3rem, 8.2vw, 7.6rem); line-height: .88; letter-spacing: -.04em; font-stretch: 78%; text-transform: uppercase; }
h2, .h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: .96; letter-spacing: -.03em; font-stretch: 86%; }
h3, .h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.1; letter-spacing: -.015em; font-stretch: 92%; }
.lede { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.sec-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.sec-head p { color: var(--text-dim); font-size: 1.12rem; max-width: 38rem; }
.on-dark .sec-head p, .night .sec-head p { color: var(--on-dark-dim); }
.mono { font-family: var(--font-mono); }

/* ---------- buttons: printed stickers with a hard shadow ---------- */
.btn {
  --bg: var(--sun); --fg: var(--ink); --bd: var(--ink); --sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 800 1rem/1 var(--font-display); font-stretch: 90%; letter-spacing: .035em; text-transform: uppercase; text-decoration: none;
  background: var(--bg); color: var(--fg); border: 3px solid var(--bd); border-radius: 18px;
  padding: 1.05rem 1.5rem; cursor: pointer; box-shadow: 5px 5px 0 var(--sh);
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn:hover:not([disabled]):not([aria-disabled="true"]) { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sh); }
.btn:active:not([disabled]):not([aria-disabled="true"]) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.btn-ink { --bg: var(--ink); --fg: var(--sun); --sh: var(--coral); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --sh: transparent; box-shadow: none; }
.btn-ghost:hover:not([disabled]) { background: rgba(22, 20, 18, .08); box-shadow: none; transform: none; }
.btn-sm { padding: .8rem 1.05rem; font-size: .88rem; box-shadow: 4px 4px 0 var(--sh); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: 3px 3px 0 var(--sh); }
.on-dark .btn, .night .btn, .console .btn { --sh: var(--coral); --bd: var(--ink); }
.on-dark .btn-ghost, .night .btn-ghost { --fg: var(--on-dark); --bd: var(--on-dark); --sh: transparent; box-shadow: none; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem; align-self: start; justify-self: start;
  background: var(--ink); color: var(--sun); font: 700 .8rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: .7rem 1.1rem; border-radius: 999px;
}
.sticker {
  display: inline-block; font: 800 .9rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  background: var(--ivory); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: .55rem .8rem;
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(-3deg);
}

/* ---------- BiBi, the live character ---------- */
.bibi {
  position: relative; display: block; width: 100%; aspect-ratio: 1; --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .28s ease-out;
}
.bibi-float {
  position: absolute; inset: 0; animation: bfloat 5.6s ease-in-out infinite;
  filter: drop-shadow(0 20px 22px rgba(150, 70, 0, .26)); transition: rotate .4s ease;
}
.bibi-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bibi-shadow {
  position: absolute; left: 20%; right: 20%; bottom: -2%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 40, 0, .34), transparent); animation: bshadow 5.6s ease-in-out infinite;
}
@keyframes bfloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3.4%) rotate(1deg); } }
@keyframes bshadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .7; } }
.bibi[data-mood="thinking"] .bibi-float { rotate: -5deg; }
.bibi.pop .bibi-svg { animation: pop .62s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { scale: 1; } 30% { scale: 1.1 .9; } 62% { scale: .97 1.05; } 100% { scale: 1; } }
.bb-star { transform-box: fill-box; transform-origin: center; animation: twinkle 3.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.78) rotate(18deg); opacity: .8; } }
/* ---------- window dots, blink ---------- */
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80; height: var(--nav-h); }
.nav-wrap { padding-top: 14px; position: relative; }
.nav-bar {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px;
  background: rgba(22, 20, 18, .97); border: 1px solid var(--line-dark); border-radius: 22px;
  box-shadow: 5px 5px 0 rgba(22, 20, 18, .9);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; }
.wordmark { height: 26px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: .55rem .85rem; border-radius: 12px; text-decoration: none; font: 700 .95rem/1 var(--font-display); font-stretch: 92%; color: var(--on-dark-dim); }
.nav-links a:hover { color: var(--sun); background: rgba(255, 211, 32, .08); }
.nav-links a[aria-current="page"] { color: var(--sun); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 12px 12px 4px 4px; }
.beat {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .85rem; border: 1px solid var(--line-dark); border-radius: 999px;
  font: 700 .78rem/1 var(--font-mono); letter-spacing: .04em; color: #FFE08A; white-space: nowrap;
}
.beat i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); display: block; }
.beat i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.beat.tick { animation: flash .9s ease; }
@keyframes flash { 0% { background: rgba(91, 227, 161, .5); } 100% { background: transparent; } }
.menu { display: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line-dark); background: transparent; color: var(--sun); cursor: pointer; place-items: center; }
.menu svg { width: 22px; height: 22px; }

/* ---------- footer ---------- */
.footer { padding-block: clamp(3rem, 6vw, 5rem) calc(clamp(2rem, 4vw, 3rem) + 1px); }
.footer > .wrap { position: relative; z-index: 3; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.footer .wordmark { height: 32px; }
.mono-line { margin-top: 1rem; font: 500 .78rem/1.4 var(--font-mono); letter-spacing: .06em; color: var(--sun); }
.footer-links { display: grid; gap: .65rem; }
.footer-links h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); font-family: var(--font-mono); font-weight: 700; margin-bottom: .3rem; }
.footer-links a { text-decoration: none; font: 700 1.1rem/1.2 var(--font-display); font-stretch: 92%; color: var(--on-dark); }
.footer-links a:hover { color: var(--sun); }
.footer-end { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--on-dark-dim); font: 500 .8rem var(--font-mono); letter-spacing: .04em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #FFB814 url(assets/site/hero-bg.webp) center / cover no-repeat; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(4.5rem, 8vw, 7rem); }
.hero .rays {
  position: absolute; z-index: 0; width: 190vmax; height: 190vmax; left: calc(74% - 95vmax); top: calc(46% - 95vmax); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .16) 0 4.5deg, transparent 4.5deg 9deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, transparent 60%); mask-image: radial-gradient(closest-side, #000 6%, transparent 60%);
  animation: spin 160s linear infinite; will-change: transform;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto auto auto; column-gap: 2rem; align-items: start; }
.hero .pill { grid-column: 1; grid-row: 1; margin-top: clamp(1rem, 3vw, 2.4rem); }
.hero h1 { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 4; margin-top: 1.4rem; line-height: .8; letter-spacing: -.045em; font-stretch: 76%; text-transform: uppercase; color: var(--ink); pointer-events: none; text-shadow: .028em .03em 0 var(--coral); }
.h1-a { display: block; font-size: clamp(3.4rem, 7.4vw, 7rem); }
.h1-b { display: block; font-size: clamp(6rem, 22vw, 21rem); margin-top: .02em; }
.hero-copy { grid-column: 1; grid-row: 3; position: relative; z-index: 4; display: grid; gap: 1.3rem; margin-top: clamp(1.4rem, 3vw, 2.4rem); max-width: 40rem; }
.hero-copy .lede strong { font-weight: 800; }
.hero-copy .sub { color: #4A3512; max-width: 34rem; }
.hero-art { grid-column: 2; grid-row: 1 / span 3; position: relative; z-index: 2; align-self: center; justify-self: end; width: 100%; max-width: 560px; margin-top: clamp(0rem, 3vw, 2rem); }
.numerals {
  position: absolute; z-index: 0; left: -16%; top: -26%; font: 800 clamp(12rem, 27vw, 24rem)/.8 var(--font-display); font-stretch: 76%; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 3px var(--ink); opacity: .9; transform: rotate(-5deg); pointer-events: none; user-select: none;
}
.hero-art .bibi { position: relative; z-index: 1; transform: translate(8%, 8%); }
.ring { position: absolute; z-index: 3; left: -4%; bottom: 2%; width: clamp(96px, 11vw, 138px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }
.ring text { font: 800 14px var(--font-display); letter-spacing: .12em; fill: var(--ink); text-transform: uppercase; }
.ring .core { position: absolute; inset: 31%; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.ring .core svg { width: 62%; height: 62%; animation: none; }
.bubble {
  position: absolute; z-index: 4; top: 3%; right: -3%; max-width: 15.5rem; background: var(--ivory); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px 22px 22px 6px;
  padding: .85rem 1.1rem; font: 700 1rem/1.25 var(--font-display); font-stretch: 94%; box-shadow: 4px 4px 0 var(--ink); transition: opacity .25s ease, transform .25s ease;
}
.bubble.out { opacity: 0; transform: translateY(6px); }
.bubble small { display: block; margin-bottom: .3rem; font: 700 .64rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8A5A00; }

.ask { display: flex; gap: 10px; background: var(--ivory); border: 3px solid var(--ink); border-radius: 22px; padding: 8px; box-shadow: 6px 6px 0 var(--ink); max-width: 38rem; transition: box-shadow .15s ease; }
.ask:focus-within { box-shadow: 6px 6px 0 var(--coral); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .8rem 1rem; font: 500 1.08rem var(--font-sans); color: var(--ink); outline: none; }
.ask input::placeholder { color: #8A7A55; }
.ask .btn { box-shadow: none; border-radius: 14px; padding: .95rem 1.25rem; white-space: nowrap; }
.ask .btn:hover:not([disabled]) { box-shadow: none; transform: translate(-1px, -1px); }
.hero-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font: 700 1rem var(--font-display); font-stretch: 92%; }
.hero-links a { text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 5; background: var(--ink); color: var(--ivory); overflow: hidden; border-block: 3px solid var(--ink); }
.marquee-track {
  display: flex; align-items: center; width: max-content; gap: 2.2rem; padding: 1.05rem 0; animation: mq 50s linear infinite;
  font: 800 clamp(2rem, 4.6vw, 3.7rem)/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; white-space: nowrap;
}
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.6px var(--ivory); }
.marquee-track i { flex: none; width: .55em; height: .55em; background: var(--sun); transform: rotate(45deg); display: block; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- three commands ---------- */
.speak .sec-head h2 { max-width: 14ch; }
.trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); align-items: stretch; padding-bottom: 28px; }
.panel {
  position: relative; display: grid; gap: .9rem; align-content: start; overflow: hidden; min-height: 560px;
  border: 3px solid var(--ink); border-radius: var(--radius); padding: clamp(1.3rem, 2.2vw, 1.9rem); box-shadow: 8px 8px 0 var(--ink);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
}
.panel:nth-child(1) { background: var(--sun); transform: rotate(-1.2deg); }
.panel:nth-child(2) { background: var(--ink); color: var(--on-dark); transform: translateY(28px) rotate(.9deg); }
.panel:nth-child(3) { background: var(--flare); transform: rotate(-.7deg); }
.panel:hover { transform: translateY(-4px) rotate(0deg); }
.panel:nth-child(2):hover { transform: translateY(22px) rotate(0deg); }
.panel .no { position: absolute; right: .6rem; top: -1.6rem; font: 800 10rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 2.5px currentColor; opacity: .22; pointer-events: none; user-select: none; }
.panel h3 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); letter-spacing: -.035em; line-height: .9; font-stretch: 80%; text-transform: uppercase; position: relative; }
.panel p { position: relative; max-width: 28rem; }
.panel .flow { display: inline-block; font: 700 .8rem/1.2 var(--font-mono); background: rgba(22, 20, 18, .12); padding: .55rem .7rem; border-radius: 10px; justify-self: start; }
.panel:nth-child(2) .flow { background: rgba(255, 211, 32, .12); color: var(--sun); }
.scene { position: relative; aspect-ratio: 4 / 3; width: 100%; margin-bottom: .4rem; }
.scene .bibi { position: absolute; }
.scene svg.props { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.prop { fill: var(--ivory); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.props .line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 11; animation: flow 1.1s linear infinite; }
.panel:nth-child(2) .props .line { stroke: var(--sun); }
.panel:nth-child(2) .prop { stroke: var(--sun); }
@keyframes flow { to { stroke-dashoffset: -26; } }
.props .dot { fill: var(--ink); animation: dots 1.4s ease-in-out infinite; }
.props .dot:nth-child(2) { animation-delay: .2s; }
.props .dot:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-5px); } }
.props .dot { transform-box: fill-box; }
.props .ecg { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 150; animation: ecg 2.4s ease-in-out infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 150; } 55%, 100% { stroke-dashoffset: 0; } }

/* ---------- what you give: a typographic list ---------- */
.gives { border-top: 3px solid var(--ink); }
.give { display: grid; grid-template-columns: 132px minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.4rem); align-items: center; padding-block: clamp(1.1rem, 2.4vw, 1.8rem); border-bottom: 3px solid var(--ink); transition: background-color .2s ease, padding .2s ease; }
.give:hover { background: rgba(255, 142, 16, .18); }
.give img { width: 132px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.give:hover img { transform: rotate(-8deg) scale(1.06); }
.give h3 { font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: .86; letter-spacing: -.045em; font-stretch: 78%; text-transform: uppercase; }
.give p { color: var(--text-dim); font-size: 1.12rem; max-width: 26rem; }

/* ---------- the face disc (Meet BiBi, desk) ---------- */
.mood-disc { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #FFE9A0, #FFD65A 70%, #FFC62F); box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .28), 6px 6px 0 var(--ink); border: 3px solid var(--ink); }
.mood-disc .bibi { width: 78%; }

/* ---------- wallet band: the relay and the four facts ---------- */
.relay { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.relay li { position: relative; font: 800 clamp(1.2rem, 2.4vw, 1.7rem)/1 var(--font-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; padding: .85rem 1.2rem; border: 2px solid var(--line-dark); border-radius: 16px; background: var(--night-2); color: var(--on-dark); }
.relay li.key { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 5px 5px 0 var(--coral); }
.relay li:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--sun); transform: rotate(45deg); border-radius: 2px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.facts article { border-top: 3px solid var(--sun); padding-top: 1rem; display: grid; gap: .5rem; align-content: start; }
.facts h3 { font-size: 1.5rem; line-height: 1.02; text-transform: uppercase; font-stretch: 80%; letter-spacing: -.02em; }
.facts p { color: var(--on-dark-dim); font-size: 1rem; }

/* ---------- closing call ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; }
.cta-grid h2 { font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: .9; letter-spacing: -.04em; font-stretch: 78%; text-transform: uppercase; margin-bottom: 2rem; }
.cta-art { position: relative; max-width: 420px; justify-self: end; width: 100%; }

/* ---------- inner page head ---------- */
.phead { position: relative; overflow: hidden; background: #FFB814 url(assets/site/section-bg.webp) center / cover no-repeat; padding-block: clamp(2rem, 4vw, 3.4rem) clamp(4rem, 8vw, 6.5rem); }
.phead > .wrap { position: relative; z-index: 3; }
.phead-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem; align-items: center; }
.phead h1 { font-size: clamp(3.2rem, 9vw, 8rem); line-height: .84; letter-spacing: -.045em; font-stretch: 76%; text-transform: uppercase; margin-top: 1.2rem; text-shadow: .028em .03em 0 var(--coral); }
.phead p.lede { margin-top: 1.4rem; max-width: 34rem; color: #3E2D0C; }
.phead-art { max-width: 320px; justify-self: end; width: 100%; }

/* ---------- the launch console ---------- */
.console { position: relative; background: var(--night); color: var(--on-dark); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; z-index: 3; }
.console::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 246, 223, .03) 0 1px, transparent 1px 3px); }
.console > * { position: relative; z-index: 1; }
.console-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--night-2); border-bottom: 1px solid var(--line-dark); }
.console-bar b { font: 700 .9rem var(--font-mono); letter-spacing: .04em; color: #FFE08A; }
.state { margin-left: auto; display: inline-flex; align-items: center; gap: .55rem; font: 700 .74rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #FFE08A; background: #4A3A22; padding: .55rem .85rem; border-radius: 999px; }
.state[data-state="waiting"] i { background: var(--sun); }
.state[data-state="check"] i { background: var(--coral); }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: block; transition: background-color .3s ease; }
.state[data-state="working"] i { background: var(--sun); animation: blink .8s steps(1) infinite; }

.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; list-style: none; border-bottom: 1px solid var(--line-dark); }
.rail li { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; font: 700 .82rem/1.1 var(--font-display); font-stretch: 92%; letter-spacing: .03em; text-transform: uppercase; color: var(--on-dark-dim); border-right: 1px solid var(--line-dark); min-width: 0; position: relative; }
.rail li:last-child { border-right: 0; }
.rail .n { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--font-mono); border: 2px solid currentColor; }
.rail li.now { color: var(--ink); background: var(--sun); }
.rail li.done { color: var(--mint); }
.rail li.done .n { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.rail li.done .n::before { content: "\2713"; }
.rail li.done .n span { display: none; }

.console-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0; }
.chat { display: grid; grid-template-rows: 1fr auto; min-width: 0; padding: 22px 24px 20px; gap: 16px; }
.log { list-style: none; display: flex; flex-direction: column; gap: 14px; height: clamp(380px, 58vh, 600px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: #5A4326 transparent; scroll-behavior: smooth; }
.msg { display: grid; gap: .45rem; border-radius: 20px; padding: 14px 18px 16px; animation: rise .3s ease both; max-width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg .who { font: 700 .66rem/1 var(--font-mono); letter-spacing: .1em; }
.msg-you { background: #382E25; color: var(--on-dark); margin-left: clamp(0rem, 8vw, 4rem); border-bottom-right-radius: 6px; }
.msg-you .who { color: var(--sun); }
.msg-bibi { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-bottom-left-radius: 6px; margin-right: clamp(0rem, 4vw, 2rem); }
.msg-bibi .who { color: #9A5F00; }
.msg-sys { border: 1px dashed var(--line-dark); color: var(--on-dark-dim); font: 500 .8rem/1.4 var(--font-mono); padding: .6rem .9rem; border-radius: 12px; justify-self: center; }
.msg .body { display: grid; gap: .85rem; min-width: 0; }
.msg .body p { margin: 0; }
.msg .attach { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.typing { display: inline-flex; gap: 6px; padding: .35rem 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #B2700B; animation: dotb 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dotb { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

/* widgets inside BiBi's messages */
.card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px; box-shadow: 4px 4px 0 rgba(22, 20, 18, .85); }
.card.noimg { grid-template-columns: minmax(0, 1fr); }
.emblem { width: 112px; height: 112px; border-radius: 16px; border: 2px solid var(--ink); background: var(--paper); overflow: hidden; display: block; }
.emblem canvas, .emblem img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card dl { display: grid; gap: .5rem; min-width: 0; }
.card dl div { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 10px; align-items: baseline; }
.card dt { font: 700 .64rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #8A6A2C; }
.card dd { font-weight: 600; overflow-wrap: anywhere; }
.card dd .sw { display: inline-block; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid var(--ink); vertical-align: -.2em; margin-right: 3px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.act, .chip {
  font: 800 .8rem/1 var(--font-display); font-stretch: 92%; letter-spacing: .05em; text-transform: uppercase; padding: .8rem 1rem; border-radius: 14px;
  border: 2px solid var(--ink); background: var(--ink); color: #FFE9A8; cursor: pointer; transition: transform .12s ease, background-color .12s ease;
}
.act:hover:not([disabled]), .chip:hover:not([disabled]) { transform: translateY(-2px); }
.act.alt, .chip { background: transparent; color: var(--ink); }
.chip[aria-pressed="true"], .act.alt[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.act[disabled], .chip[disabled] { opacity: .45; cursor: default; transform: none; }
.act.go { background: var(--coral); color: var(--ink); }
.field { display: grid; gap: .4rem; }
.field label, .field .lab { font: 700 .66rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8A6A2C; }
.field input[type="text"] { border: 2px solid var(--ink); border-radius: 12px; background: #fff; padding: .75rem .9rem; font: 500 1rem var(--font-sans); color: var(--ink); min-width: 0; width: 100%; }
.field input[type="text"]:focus-visible { outline: 3px solid var(--coral); outline-offset: 1px; }
.field .hint { font-size: .86rem; color: #6A5428; }
.field .hint.bad { color: #B3261E; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; gap: 0; padding: 4px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.swatch i { width: 22px; height: 22px; display: block; }
.swatch i:first-child { border-radius: 999px 0 0 999px; }
.swatch i:last-child { border-radius: 0 999px 999px 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--sun), 0 0 0 5px var(--ink); }
.drop { display: grid; place-items: center; gap: .4rem; text-align: center; padding: 1.2rem; border: 2px dashed var(--ink); border-radius: 16px; background: rgba(255, 211, 32, .18); cursor: pointer; transition: background-color .15s ease; }
.drop:hover, .drop.over { background: rgba(255, 211, 32, .45); }
.drop b { font: 800 1rem var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.drop span { font-size: .88rem; color: #6A5428; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop:focus-within { outline: 3px solid var(--coral); outline-offset: 2px; }
.rng { display: grid; gap: .5rem; }
.rng .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rng output { font: 800 1.5rem/1 var(--font-display); }
.rng input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.seg { display: inline-grid; grid-auto-flow: column; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; }
.seg button { border: 0; border-right: 2px solid var(--ink); background: transparent; padding: .7rem .9rem; font: 800 .8rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.limits { display: grid; gap: 1rem; }
.limits .grp { display: grid; gap: .45rem; }
.limits .grp > .lab { font: 700 .66rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8A6A2C; }

.composer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.composer { display: flex; align-items: center; border: 2px solid rgba(255, 211, 32, .5); border-radius: 18px; background: #261F19; min-width: 0; transition: border-color .15s ease; }
.composer:focus-within { border-color: var(--sun); }
.composer input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 1rem 1.1rem; font: 500 1.02rem var(--font-sans); color: var(--on-dark); outline: none; }
.composer input::placeholder { color: #9B8A6B; }
.composer input:disabled { opacity: .6; }
.hints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--on-dark-dim); font-size: .88rem; }
.hints button { border: 1px solid var(--line-dark); background: transparent; color: #FFE08A; border-radius: 999px; padding: .45rem .8rem; font: 600 .84rem var(--font-sans); cursor: pointer; }
.hints button:hover { background: rgba(255, 211, 32, .12); }

/* BiBi's desk */
.desk { border-left: 1px solid var(--line-dark); padding: 22px; display: grid; gap: 18px; align-content: start; background: rgba(0, 0, 0, .16); min-width: 0; }
.desk-top { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.desk-face { position: relative; width: 190px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #FFE9A0, #FFD65A 70%, #FFC62F); border: 3px solid var(--ink); box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .28), 6px 6px 0 #000; }
.desk-face .bibi { width: 80%; }
.now { font: 500 .86rem/1.4 var(--font-mono); color: var(--on-dark); min-height: 2.8em; }
.now::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: 4px; vertical-align: -.15em; background: var(--sun); animation: blink 1s steps(1) infinite; }
.sub-h { font: 700 .66rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: .6rem; }
.check { list-style: none; display: grid; gap: .5rem; }
.check li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .92rem; color: var(--on-dark-dim); }
.check li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 6px; border: 2px solid currentColor; display: block; }
.check li.ok { color: var(--on-dark); }
.check li.ok::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23161412' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--mint); }
.check li span:last-child { font: 500 .78rem var(--font-mono); color: #FFE08A; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center; }
.hb svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.hb .track { fill: none; stroke: rgba(255, 211, 32, .18); stroke-width: 7; }
.hb .arc { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.hb b { display: block; font: 700 1.45rem/1 var(--font-mono); color: var(--on-dark); }
.hb small { display: block; margin-top: .35rem; color: var(--on-dark-dim); font-size: .8rem; line-height: 1.3; }
.feed { list-style: none; display: grid; gap: .35rem; max-height: 168px; overflow-y: auto; font: 500 .76rem/1.45 var(--font-mono); color: var(--on-dark-dim); scrollbar-width: thin; scrollbar-color: #5A4326 transparent; }
.feed li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .5rem; animation: rise .25s ease both; }
.feed time { color: #9B8A6B; }
.feed li:first-child { color: var(--on-dark); }

.reassure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); margin-top: clamp(2.2rem, 4vw, 3.4rem); list-style: none; }
.reassure li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 1rem 1.2rem; border: 3px solid var(--ink); border-radius: 20px; background: var(--ink); color: var(--on-dark); box-shadow: 5px 5px 0 var(--coral); font: 700 1.05rem/1.25 var(--font-display); font-stretch: 94%; }
.reassure img { width: 56px; height: 56px; }

/* desktop: the console is one fixed-height panel, the chat fills it and scrolls inside */
@media (min-width: 961px) {
  .console-grid { height: clamp(700px, 86vh, 880px); }
  .chat { min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }
  .log { height: auto; min-height: 0; }
  .desk { overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #5A4326 transparent; }
}

/* ---------- how it works ---------- */
.steprow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.4rem); align-items: center; padding-block: clamp(1.6rem, 3vw, 2.6rem); }
.steprow + .steprow { border-top: 3px solid var(--ink); }
.steprow:nth-child(even) .stepbox { order: 2; }
.stepbox { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: clamp(1rem, 2vw, 1.6rem); overflow: hidden; position: relative; }
.stepbox.s1 { background: var(--sun); }
.stepbox.s2 { background: var(--ink); color: var(--on-dark); }
.stepbox.s2 .prop { stroke: var(--sun); }
.stepbox.s2 .props .line { stroke: var(--sun); }
.stepbox.s3 { background: var(--flare); }
.stepcopy { display: grid; gap: 1rem; }
.stepcopy .no { font: 800 .9rem/1 var(--font-mono); letter-spacing: .1em; color: #8A5A00; }
.stepcopy h2 { text-transform: uppercase; font-stretch: 78%; letter-spacing: -.04em; line-height: .88; font-size: clamp(3rem, 7vw, 5.6rem); }
.stepcopy p { max-width: 34rem; font-size: 1.12rem; }
.flow { display: inline-block; font: 700 .85rem/1.2 var(--font-mono); background: var(--ink); color: var(--sun); padding: .6rem .8rem; border-radius: 10px; justify-self: start; }

.flow5 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
.node { position: relative; border: 2px solid var(--line-dark); border-radius: 22px; padding: 1.2rem 1.1rem 1.4rem; background: var(--night-2); display: grid; gap: .6rem; align-content: start; }
.node h3 { font-size: 1.35rem; text-transform: uppercase; font-stretch: 82%; letter-spacing: -.02em; }
.node p { color: var(--on-dark-dim); font-size: .95rem; }
.node:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--sun); transform: rotate(45deg); border-radius: 3px; }
.node-key { border-color: var(--sun); background: #3A2F18; box-shadow: 6px 6px 0 var(--sun); }
.return { margin-top: 1.4rem; border: 2px solid var(--line-dark); border-top: 0; border-radius: 0 0 22px 22px; padding: .9rem 1.1rem 1rem; text-align: center; color: var(--on-dark-dim); font: 500 .85rem/1.4 var(--font-mono); }
.tech-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.4rem, 5vw, 4rem); }
.tech-cols h3 { font-size: 2rem; text-transform: uppercase; font-stretch: 80%; margin-bottom: .6rem; }
.tech-cols p { color: var(--on-dark-dim); }
.table-title { margin-top: clamp(2.6rem, 5vw, 4rem); margin-bottom: 1rem; font-size: 2rem; text-transform: uppercase; font-stretch: 80%; }
.table-scroll { overflow-x: auto; border: 2px solid var(--line-dark); border-radius: 20px; }
.stages { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.stages th, .stages td { padding: 1rem 1.2rem; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.stages thead th { font: 700 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sun); background: rgba(255, 211, 32, .06); }
.stages tbody th { font-weight: 700; width: 24%; }
.stages tbody td:last-child { color: var(--on-dark-dim); }
.stages tr:last-child th, .stages tr:last-child td { border-bottom: 0; }
.stage { display: inline-block; font: 700 .66rem/1 var(--font-mono); letter-spacing: .1em; color: var(--sun); border: 1px solid var(--sun); padding: .35rem .5rem; border-radius: 999px; }
.legend { list-style: none; display: grid; gap: .6rem; margin-top: 1.2rem; color: var(--on-dark-dim); font-size: .95rem; }
.legend li { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }

/* ---------- meet bibi ---------- */
.meet { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.meet-stage { display: grid; justify-items: center; gap: 1.6rem; }
.meet-stage .mood-disc { width: min(100%, 480px); }
.meet-stage .mood-disc .bibi { width: 82%; }
.meet-copy { display: grid; gap: 1.2rem; }
.meet-copy .intro { color: var(--text-dim); font-size: 1.12rem; max-width: 34rem; }
.jobs { list-style: none; display: grid; gap: .1rem; border-top: 3px solid var(--ink); }
.jobs li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding-block: .8rem; border-bottom: 2px solid rgba(22, 20, 18, .85); align-items: baseline; }
.jobs b { font: 800 1.2rem/1.1 var(--font-display); font-stretch: 88%; letter-spacing: -.01em; }
.jobs span { color: #3E2D0C; }
.rule-line { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1 var(--font-display); font-stretch: 82%; text-transform: uppercase; letter-spacing: -.02em; }
.lookhint { font: 500 .85rem var(--font-mono); color: #6A4F18; }

.loop { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: lp; }
.loop li { position: relative; border: 2px solid var(--line-dark); border-radius: 22px; padding: 1.3rem 1.2rem 1.5rem; background: var(--night-2); display: grid; gap: .5rem; align-content: start; transition: background-color .3s ease, border-color .3s ease, transform .3s ease, color .3s ease; }
.loop li .n { font: 700 .82rem var(--font-mono); color: var(--sun); transition: color .3s ease; }
.loop li h3 { font-size: 1.6rem; text-transform: uppercase; font-stretch: 80%; letter-spacing: -.02em; }
.loop li p { color: var(--on-dark-dim); font-size: .96rem; transition: color .3s ease; }
.loop li.on { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: translateY(-8px); box-shadow: 6px 6px 0 var(--coral); }
.loop li.on .n, .loop li.on p { color: var(--ink); }
.bigbeat { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.6rem; align-items: center; margin-top: clamp(2.4rem, 5vw, 4rem); }
.bigbeat svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.bigbeat .track { fill: none; stroke: rgba(255, 211, 32, .18); stroke-width: 8; }
.bigbeat .arc { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.bigbeat b { display: block; font: 800 clamp(2.6rem, 6vw, 4.4rem)/1 var(--font-mono); letter-spacing: -.02em; color: var(--sun); }
.bigbeat p { color: var(--on-dark-dim); margin-top: .5rem; max-width: 34rem; }

/* ---------- safety ---------- */
.never { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.never li { display: grid; gap: 1.2rem; align-content: space-between; min-height: 230px; padding: 1.5rem; background: var(--ink); color: var(--on-dark); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--coral); }
.never img { width: 84px; height: 84px; }
.never p { font: 800 1.5rem/1.1 var(--font-display); font-stretch: 88%; letter-spacing: -.02em; }
.rules { list-style: none; columns: 2; column-gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(1rem, 2vw, 1.6rem); }
.rules li { break-inside: avoid; display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .9rem; padding-block: 1.05rem; border-bottom: 2px solid rgba(22, 20, 18, .85); }
.rules li::before { content: ""; width: .7rem; height: .7rem; margin-top: .55rem; background: var(--ink); transform: rotate(45deg); display: block; }
.rules b { font: 800 1.25rem/1.1 var(--font-display); font-stretch: 90%; display: block; margin-bottom: .2rem; }
.rules span { color: #3E2D0C; }
.rules-title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; font-stretch: 80%; letter-spacing: -.03em; margin-top: clamp(3rem, 6vw, 5rem); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq-list { border-top: 3px solid var(--ink); }
.faq-list details { border-bottom: 3px solid var(--ink); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font: 800 clamp(1.25rem, 2.4vw, 1.7rem)/1.1 var(--font-display); font-stretch: 88%; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--flare); transform: rotate(45deg); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background-color .2s; border: 2px solid var(--ink); }
.faq-list details[open] summary::after { transform: rotate(225deg) scale(1.15); background: var(--sun); }
.faq-list summary:hover { color: #7A3E00; }
.faq-list details p { padding: 0 2.2rem 1.4rem 0; color: var(--text-dim); max-width: 36rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: .55rem .6rem; font-size: .9rem; }
  .console-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .flow5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node:not(:last-child)::after { display: none; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --nav-h: 80px; }
  .nav-links {
    display: none; position: absolute; left: max(var(--gut), env(safe-area-inset-left, 0px)); right: max(var(--gut), env(safe-area-inset-right, 0px)); top: calc(100% - 6px);
    flex-direction: column; gap: 2px; padding: 10px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 20px; box-shadow: 5px 5px 0 rgba(22, 20, 18, .9);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.1rem; }
  .menu { display: grid; }
  .beat { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .pill, .hero h1, .hero-copy, .hero-art { grid-column: 1; }
  .hero .pill { grid-row: 1; }
  .hero h1 { grid-row: 2; }
  .hero-art { grid-row: 3; max-width: 420px; justify-self: center; margin-top: 0; }
  .hero-copy { grid-row: 4; }
  .bubble { top: auto; bottom: 4%; right: 0; max-width: 13.5rem; }
  .numerals { left: 2%; top: -6%; font-size: clamp(11rem, 30vw, 17rem); }
  .trip { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .panel { min-height: 0; }
  .panel:nth-child(n) { transform: none; }
  .panel:nth-child(n):hover { transform: none; }
  .give { grid-template-columns: 96px minmax(0, 1fr); }
  .give img { width: 96px; grid-row: 1 / span 2; }
  .give p { grid-column: 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid, .phead-grid, .meet, .faq-wrap, .steprow, .tech-cols { grid-template-columns: minmax(0, 1fr); }
  .cta-art, .phead-art { justify-self: start; max-width: 260px; }
  .steprow:nth-child(even) .stepbox { order: 0; }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
  .desk { order: -1; border-left: 0; border-bottom: 1px solid var(--line-dark); grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; }
  .desk-top { grid-column: 1 / -1; grid-template-columns: 110px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; gap: 16px; }
  .desk-face { width: 110px; }
  .desk .hbbox, .desk .feedbox { display: none; }
  .desk .checkbox { grid-column: 1 / -1; }
  .check { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
  .log { height: clamp(320px, 52vh, 480px); }
  .never { grid-template-columns: minmax(0, 1fr); }
  .never li { min-height: 0; grid-template-columns: 84px minmax(0, 1fr); align-items: center; }
  .reassure { grid-template-columns: minmax(0, 1fr); }
  .rules { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .rail li { padding: .7rem .4rem; justify-content: center; font-size: 0; gap: 0; }
  .rail li .n { font-size: .72rem; }
  .rail li.now { font-size: .7rem; gap: .4rem; flex: 1; }
  .rail { display: flex; }
  .rail li:not(.now) { flex: 0 0 auto; }
  .table-scroll { border: 0; border-radius: 0; overflow: visible; }
  .stages { min-width: 0; display: block; }
  .stages thead { display: none; }
  .stages tbody { display: grid; gap: 12px; }
  .stages tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 16px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255, 211, 32, .05); }
  .stages tbody th, .stages tbody td { padding: 0; border: 0; width: auto; }
  .stages tbody td:last-child { grid-column: 1 / -1; }
  .flow5 { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .bigbeat { grid-template-columns: 110px minmax(0, 1fr); }
  .bigbeat svg { width: 110px; height: 110px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 76px; --gut: 18px; }
  .nav-bar { gap: 10px; padding-left: 14px; }
  .nav .btn { white-space: nowrap; font-size: .76rem; padding: .75rem .85rem; }
  .wordmark { height: 22px; }
  .h1-a { font-size: clamp(3.2rem, 17vw, 5rem); }
  .h1-b { font-size: clamp(5.6rem, 33vw, 9rem); }
  .ask { flex-direction: column; }
  .ask .btn { width: 100%; }
  .bubble { font-size: .92rem; max-width: 13rem; }
  .console-bar { gap: 10px; padding: 12px 14px; }
  .console-bar .dots { display: none; }
  .console-bar b { font-size: .8rem; white-space: nowrap; }
  .state { font-size: .64rem; padding: .5rem .65rem; }
  .chat { padding: 16px 14px 14px; }
  .composer-row { grid-template-columns: minmax(0, 1fr); }
  .composer-row .btn { width: 100%; }
  .card { grid-template-columns: minmax(0, 1fr); }
  .emblem { width: 96px; height: 96px; }
  .card dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .jobs li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .relay { gap: 12px 26px; }
  .give h3 { font-size: clamp(2.4rem, 13vw, 4rem); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .bigbeat b { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 960px) { .hero-art .bibi { transform: translate(2%, 4%); } }
@media (max-width: 380px) {
  .nav .btn-sm { display: none; }
  .ask { flex-direction: column; }
  .ask .btn { width: 100%; }
  .bubble { max-width: 12rem; }
}
