@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0a09;
  --ink: #f3eee4;
  --mute: #cfc8ba;
  --dim: #5f584f;
  --line: rgba(243, 238, 228, .14);
  --amber: #e9963a;
  --gut: max(18px, 2.6vw);
  --top-h: 64px;
  --ease: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--top-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 var(--gut);
  background: linear-gradient(to bottom, rgba(11,10,9,.72), rgba(11,10,9,0));
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 30px; height: 30px; display: block; filter: drop-shadow(0 6px 14px rgba(233,150,58,.22)); }
.brand-word {
  font-weight: 700; font-stretch: 92%; text-transform: none;
  letter-spacing: -.01em; font-size: 19px; line-height: 1;
}
.brand-word b { font-weight: 700; color: var(--mute); }

.ca {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 6px 0 12px; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(11,10,9,.45); backdrop-filter: blur(8px);
}
.ca-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--mute); }
.ca-value {
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ca-value.is-empty { color: var(--mute); letter-spacing: .14em; font-size: 11px; font-weight: 600; }
.ca-copy {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  color: var(--mute); transition: color .2s, background .2s;
}
.ca-copy:hover { color: var(--ink); background: rgba(243,238,228,.08); }
.ca-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }

.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(11,10,9,.45); backdrop-filter: blur(8px);
  transition: border-color .2s;
}
.icon-btn:hover { border-color: rgba(243,238,228,.4); }
.icon-btn svg { width: 15px; height: 15px; fill: var(--ink); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #14110d;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(243,238,228,.16); }
.pill-lg { height: 48px; padding: 0 28px; font-size: 12.5px; }

/* ---------- the room ---------- */
#room { position: fixed; inset: 0; overflow: hidden; background: #070605; }
.stage {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0; will-change: transform;
}
.still { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; user-select: none; }
.hand {
  position: absolute; opacity: 0; transition: opacity .6s;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.hand.ready { opacity: 1; }
.fauna { position: absolute; pointer-events: none; z-index: 2; object-fit: fill; }
.fauna-deer { filter: blur(.9px) brightness(.78) saturate(.45) contrast(.85); opacity: 0; }
.fauna-birds { filter: blur(.5px) brightness(.75); mix-blend-mode: multiply; }
.steam { position: absolute; pointer-events: none; z-index: 3; filter: blur(1.5px); }
.idle { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; transition: opacity .8s; }
.idle.ready { opacity: 1; }
.scene-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.scene-fx .glass { position: absolute; display: block; }
.scene-fx .term { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; }
.led { position: absolute; width: calc(var(--r) * 7); height: calc(var(--r) * 7); margin: calc(var(--r) * -3.5) 0 0 calc(var(--r) * -3.5); border-radius: 50%; }
.led::before, .led::after { content: ''; position: absolute; inset: 0; border-radius: 50%; }
.led::before { background: radial-gradient(circle, rgba(10,24,14,.96) 0 14%, rgba(10,24,14,0) 22%); opacity: 0; }
.led::after { background: radial-gradient(circle, rgba(220,255,220,.95) 0 6%, rgba(110,255,140,.55) 16%, rgba(60,255,100,0) 50%); }
.led-mid::after { animation: led-on var(--d) steps(1, end) var(--delay) infinite; }
.led-mid::before { animation: led-off var(--d) steps(1, end) var(--delay) infinite; }
.led-slow::after { animation: led-on calc(var(--d) * 2.2) steps(1, end) var(--delay) infinite; }
.led-slow::before { animation: led-off calc(var(--d) * 2.2) steps(1, end) var(--delay) infinite; }
.led-busy::after { animation: led-busy calc(var(--d) * .6) steps(1, end) var(--delay) infinite; }
.led-busy::before { animation: led-busy-off calc(var(--d) * .6) steps(1, end) var(--delay) infinite; }
@keyframes led-on { 0% { opacity: 1 } 62% { opacity: 0 } }
@keyframes led-off { 0% { opacity: 0 } 62% { opacity: 1 } }
@keyframes led-busy { 0% { opacity: 1 } 12% { opacity: 0 } 20% { opacity: 1 } 41% { opacity: 0 } 47% { opacity: 1 } 70% { opacity: 0 } 78% { opacity: 1 } 90% { opacity: 0 } }
@keyframes led-busy-off { 0% { opacity: 0 } 12% { opacity: 1 } 20% { opacity: 0 } 41% { opacity: 1 } 47% { opacity: 0 } 70% { opacity: 1 } 78% { opacity: 0 } 90% { opacity: 1 } }
.scene-fx.paused .led::before, .scene-fx.paused .led::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .led::before, .led::after { animation: none !important; } }
.room-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,12,10,.55) 0, rgba(6,12,10,0) 22%),
    linear-gradient(to top, rgba(6,12,10,.62) 0, rgba(6,12,10,.32) 12%, rgba(6,12,10,0) 26%);
}
.room-shade::after {           /* darkens the room as we push into the screen */
  content: ''; position: absolute; inset: 0; background: #050404;
  opacity: var(--dark, 0);
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) }
  60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,2%) } 100% { transform: translate(0,0) }
}

/* ---------- the CRT screen ---------- */
body #os-root[data-mode="crt"] {
  position: fixed !important; left: 0 !important; top: 0 !important; margin: 0 !important;
  width: 1024px !important; height: 960px !important;
  transform-origin: 0 0 !important; z-index: 10;
  border-radius: 10px; overflow: hidden;
  backface-visibility: hidden;
}
#screen-base {
  position: fixed; left: 0; top: 0; width: 1024px; height: 960px; z-index: 9; transform-origin: 0 0;
  background: #050605; border-radius: 46px / 40px; pointer-events: none;
}
#screen-art-box {
  position: fixed; left: 0; top: 0; width: 1024px; height: 960px; z-index: 10; transform-origin: 0 0;
  border-radius: 46px / 40px; overflow: hidden; pointer-events: none;
  filter: blur(.8px) contrast(1.06) saturate(1.05); transition: opacity .35s;
}
#screen-art-box canvas { display: block; width: 100%; height: 100%; }
body.is-os #screen-art-box, body.is-off #screen-art-box { opacity: 0; }
/* in the meadow the art covers the OS; the OS takes over once we are inside */
body.is-room #os-root, body.is-entering:not(.is-off) #os-root { opacity: 0; }
#screen-fx {
  position: fixed; left: 0; top: 0; width: 1024px; height: 960px; z-index: 11;
  transform-origin: 0 0; pointer-events: none;
  border-radius: 46px / 40px;
  background:
    /* sky reflected on the convex glass, upper left */
    radial-gradient(70% 55% at 22% 12%, rgba(220, 240, 245, .16), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.07) 0%, transparent 38%),
    /* the tube darkens toward its curved edges */
    radial-gradient(115% 110% at 50% 48%, transparent 55%, rgba(0,0,0,.55) 100%),
    /* scanlines */
    repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 2px, transparent 2px 5px);
  /* the bezel throws a soft shadow onto the glass */
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.55), inset 0 14px 30px rgba(0,0,0,.55), inset 0 -6px 20px rgba(0,0,0,.35), inset 10px 0 24px rgba(0,0,0,.35), inset -10px 0 24px rgba(0,0,0,.35);
  transition: opacity .5s;
}
#os-root { --crt-vignette: 0; }              /* #screen-fx already shades the glass */
#os-root[data-mode="native"] { --os-inset-top: calc(var(--top-h) + 40px); }
body.is-room #os-root { cursor: pointer; }
body.is-room #os-root * { pointer-events: none !important; }
#os-root.screen-hover { filter: brightness(1.06); }
/* In the room the agent terminal fills his screen; bigger type so the code reads from across the room. */
/* ---------- the tube, seen from the room: a 1984 CRT, not a flat panel ----------
   Only the agent's terminal shows, full-bleed, in soft phosphor; no window chrome or taskbar. */
body.is-room #os-root .win-title, body.is-room #os-root .win-menubar, body.is-room #os-root .win-status,
body.is-room #os-root .win-toolbar, body.is-room #os-root .os-taskbar, body.is-room #os-root .os-icons,
body.is-room #os-root .os-balloon, body.is-room #os-root .os-cursor,
body.is-entering #os-root .win-title, body.is-entering #os-root .win-menubar, body.is-entering #os-root .win-status,
body.is-entering #os-root .os-taskbar, body.is-entering #os-root .os-icons, body.is-entering #os-root .os-cursor { visibility: hidden; }
body.is-room #os-root .win.is-max, body.is-entering #os-root .win.is-max { inset: 0 !important; border: 0 !important; box-shadow: none !important; background: #0b0d0b !important; }
body.is-room #os-root .term, body.is-entering #os-root .term {
  font-size: 34px; line-height: 1.32; padding: 56px 64px; border: 0 !important; background: #0b0d0b !important;
  color: #cfe9d3 !important; text-shadow: 0 0 6px rgba(160, 255, 190, .55), 0 0 18px rgba(120, 255, 170, .22);
}
body.is-room #os-root .term *, body.is-entering #os-root .term * { color: inherit !important; }
body.is-room #os-root .term .t-dim, body.is-room #os-root .term .t-faint,
body.is-entering #os-root .term .t-dim, body.is-entering #os-root .term .t-faint { opacity: .55; }
/* match the photo: slightly soft, a touch of bloom, phosphor tint */
body.is-room #os-root, body.is-entering #os-root { filter: blur(.9px) contrast(1.08) brightness(1.06) saturate(.9); border-radius: 46px / 40px !important; }


/* ---------- copy ---------- */
.hero-copy {
  position: fixed; left: var(--gut); bottom: var(--gut); z-index: 30;
  width: auto;
  transition: opacity .5s, transform .6s var(--ease);
}
.kicker {
  margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: #e4ded2;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.hero-stats { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.actions { display: flex; align-items: center; gap: 26px; }
.pill-lg { height: 44px; padding: 0 24px; font-size: 11.5px; }
.text-link {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid rgba(243,238,228,.35); padding-bottom: 3px; transition: border-color .2s;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.text-link:hover { border-color: var(--ink); }

.hero-stats {
  position: fixed; right: var(--gut); bottom: calc(var(--gut) + 15px); z-index: 30;
  display: flex; align-items: baseline; gap: 22px;
  transition: opacity .5s;
}
.hero-stats div { display: flex; align-items: baseline; gap: 8px; }
.hero-stats span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hero-stats strong { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-stats p { margin: 0; padding-left: 22px; border-left: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; color: var(--mute); }

.hint {
  position: fixed; left: 50%; bottom: calc(var(--gut) + 12px); z-index: 30; margin: 0;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
  transition: opacity .6s;
}
.hint-mouse { width: 14px; height: 21px; border: 1.3px solid currentColor; border-radius: 8px; position: relative; }
.hint-mouse::after {
  content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px;
  background: currentColor; border-radius: 1px; animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint { 0%, 100% { transform: translateX(-3px) } 50% { transform: translateX(3px) } }
.hint.is-gone { opacity: 0; }

.back {
  position: fixed; left: var(--gut); top: calc(var(--top-h) + 4px); z-index: 41;
  display: none; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(11,10,9,.6); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.back:hover { color: var(--ink); }

.toast {
  position: fixed; left: 50%; top: calc(var(--top-h) + 8px); z-index: 60;
  transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #14110d;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- states ---------- */
body.is-entering .hero-copy, body.is-os .hero-copy { opacity: 0; transform: translateY(14px); pointer-events: none; }
body.is-entering .hero-stats, body.is-os .hero-stats,
body.is-entering .hint, body.is-os .hint { opacity: 0; pointer-events: none; }
body.is-os .back { display: inline-flex; }
body.is-os #screen-fx { opacity: 0; }
/* the screen is dark while the camera moves in, until the power switch */
body.is-off #os-root { filter: brightness(0); transition: filter .25s; }
body.is-os #os-root { transition: filter .35s; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --top-h: 56px; }
  .top { gap: 10px; }
  .brand-word { font-size: 15px; }
  .ca {
    position: fixed; left: var(--gut); right: var(--gut); top: var(--top-h);
    height: 30px; justify-content: space-between;
  }
  .ca-value { font-size: clamp(8.5px, 2.45vw, 12px); letter-spacing: 0; }
  .hero-copy { width: auto; right: var(--gut); bottom: calc(var(--gut) + env(safe-area-inset-bottom)); top: auto; }
  .actions { flex-wrap: wrap; row-gap: 14px; column-gap: 20px; }
  .actions .pill-lg { width: 100%; }
  h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .lede { font-size: 14px; margin: 16px 0 20px; }
  .hero-stats { display: none; }
  body.is-room .room-shade {
    background:
      linear-gradient(to bottom, rgba(6,12,10,.45) 0, transparent 16%),
      linear-gradient(to top, rgba(6,12,10,.92) 0, rgba(6,12,10,.7) 22%, rgba(6,12,10,0) 46%);
  }
  .hint { display: none; }
  body.is-os .back { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .hint-mouse::after { animation: none; }
}

/* stacking inside the room */
.idle { z-index: 1; }
.hand { z-index: 2; }
.scene-fx { z-index: 3; }

/* the room cat */
.cat { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 6; opacity: 0; transition: opacity .3s; }
.cat.is-on { opacity: 1; }
.cat-sprite { position: absolute; background-repeat: no-repeat; pointer-events: auto; cursor: pointer;
  filter: brightness(.58) saturate(.7) contrast(1.1) drop-shadow(0 calc(var(--s, 1) * 5px) calc(var(--s, 1) * 4px) rgba(0, 0, 0, .55)); transform-origin: 50% 100%; }
.cat-shadow { position: absolute; left: calc(var(--s, 1) * -95px); top: calc(var(--s, 1) * -10px); width: calc(var(--s, 1) * 190px); height: calc(var(--s, 1) * 26px);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), rgba(0,0,0,0)); transition: opacity .12s; }
.cat.is-air .cat-shadow { opacity: 0; }
.cat.is-asleep .cat-sprite { animation: cat-breathe 3.4s ease-in-out infinite; }
@keyframes cat-breathe { 0%, 100% { transform: scale(1, 1) } 50% { transform: scale(1.012, 1.035) } }
.cat-zz { position: absolute; left: calc(var(--s, 1) * -150px); top: calc(var(--s, 1) * -170px); font: 34px/1 'NKOS VGA', monospace; letter-spacing: .3em;
  color: #8dffa3; text-shadow: 0 0 8px rgba(90, 255, 130, .7); opacity: 0; pointer-events: none; white-space: nowrap; }
.cat.is-asleep .cat-zz { animation: cat-zz 3.4s ease-in-out infinite 1s; }
@keyframes cat-zz { 0% { opacity: 0; transform: translate(0, 10px) } 30% { opacity: .85 } 100% { opacity: 0; transform: translate(-24px, -42px) } }
@media (prefers-reduced-motion: reduce) { .cat.is-asleep .cat-sprite, .cat.is-asleep .cat-zz { animation: none; } }

/* Meadow view: nothing is laid over the video's own glass (owner: overlays read as pasted).
   The black base, glass fx and the OS only appear once the computer is entered. */
body.is-room #screen-art-box, body.is-room #screen-base, body.is-room #screen-fx, body.is-room #os-root { opacity: 0 !important; visibility: hidden; }
body.is-entering #screen-art-box { opacity: 0 !important; }

/* ---------- how-to-mine guide ---------- */
.guide { position: fixed; inset: 0; z-index: 70; }
.guide[hidden] { display: none; }
.guide-scrim { position: absolute; inset: 0; background: rgba(6, 10, 9, .45); backdrop-filter: blur(3px); animation: g-fade .3s var(--ease); }
.guide-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
  overflow: auto; padding: 30px 30px 26px; border-radius: 18px;
  background: rgba(14, 18, 16, .9); border: 1px solid rgba(243, 238, 228, .12); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: var(--ink);
  animation: g-in .45s var(--ease);
}
@keyframes g-fade { from { opacity: 0 } }
@keyframes g-in { from { opacity: 0; transform: translateX(24px) } }
.guide-head { position: relative; margin-bottom: 14px; }
.guide-kicker { margin: 0 0 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.guide-head h2 { margin: 0; font-size: 30px; font-weight: 700; font-stretch: 88%; letter-spacing: -.01em; }
.guide-x { position: absolute; top: -6px; right: -8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); }
.guide-x:hover { background: rgba(243, 238, 228, .08); color: var(--ink); }
.guide-x svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.guide-lede { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: #cdc6b9; }
.guide-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 2px; }
.guide-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(243, 238, 228, .1); }
.guide-steps .n {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #0e1210;
  background: var(--c, #e9e2d4);
}
.guide-steps li:nth-child(1) .n { --c: #ff8f80; } .guide-steps li:nth-child(2) .n { --c: #ffd77a; }
.guide-steps li:nth-child(3) .n { --c: #8fe0a0; } .guide-steps li:nth-child(4) .n { --c: #8fc8ff; }
.guide-steps b { font-size: 15px; font-weight: 600; }
.guide-steps p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: #bdb6a9; }
.guide-steps em { font-style: normal; color: var(--ink); }
.guide-agent { padding: 18px; border-radius: 12px; background: rgba(243, 238, 228, .05); border: 1px solid rgba(243, 238, 228, .08); }
.guide-agent b { font-size: 14px; font-weight: 600; }
.guide-agent p { margin: 4px 0 12px; font-size: 13px; line-height: 1.5; color: #bdb6a9; }
.guide-line { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 12px; border-radius: 9px; background: #0a0d0c; border: 1px solid rgba(243, 238, 228, .1); }
.guide-line code { flex: 1; min-width: 0; font: 12.5px/1.4 'NKOS Mono', ui-monospace, monospace; color: #dfe9df; overflow-wrap: anywhere; }
.guide-line button { flex: none; height: 28px; padding: 0 12px; border-radius: 7px; background: var(--ink); color: #14110d; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guide-foot { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.guide-status { font-size: 12px; color: var(--mute); }
body.guide-open .hero-copy, body.guide-open .hero-stats, body.guide-open .hint { opacity: .25; }

/* touch targets ≥ 44 px on phones without changing the look: an invisible hit area around small controls */
@media (pointer: coarse) {
  .icon-btn, .ca-copy, .text-link, .brand, #link-buy { position: relative; }
  .icon-btn::after, .ca-copy::after, .text-link::after, .brand::after, #link-buy::after { content: ''; position: absolute; inset: -6px; }
  .text-link::after { inset: -14px -6px; }
}
