/* Perch marketing site.
   Layout, rhythm and type scale follow the cmem.ai reference; colour is
   Perch's own, built around the measured working tint #F25227. */

:root {
  color-scheme: dark;

  --bg-0: #030405;
  --bg-1: #08090c;
  --bg-2: #0e1016;
  --bg-3: #14161e;
  --bg-4: #1b1e28;
  --fg-1: #f3f4f8;
  --fg-2: #c6c9d3;
  --fg-3: #8d90a6;
  --fg-4: #595e72;
  --line-1: #ffffff0d;
  --line-2: #1b1e2c;
  --line-3: #262b3a;

  /* Agent states, sampled off the reference recording. */
  --working: #f25227;
  --waiting: #ff453a;
  --finished: #32d74b;
  --idle: #8e8e93;

  --ver: #f25227;
  --ver-bright: #ff7a4f;
  --ver-deep: #d8431c;
  --ver-line: #f252278c;
  --cool: #7c85ee;
  --cool-line: #5b63d48c;

  --grad-text: linear-gradient(95deg, #ff8f5a 0%, #f25227 42%, #e8396b 100%);
  --grad-btn: linear-gradient(180deg, #ff6f45 0%, #ea4a1f 100%);
  --grad-soft: linear-gradient(135deg, #f2522729, #ff453a14);
  --glow-soft: 0 8px 40px #f2522738;
  --glow: 0 0 0 1px #f2522773, 0 6px 26px #f2522766;

  --shadow-2: 0 6px 20px #00000073;
  --shadow-3: 0 22px 60px #0009;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.32, 1.24, .52, 1);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--ver-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; position: relative; }
.section { padding: 116px 0; position: relative; }
.edge-y { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.bg-void { background: var(--bg-0); }

.tx-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mono { font-family: var(--font-mono); }
.ver { color: var(--ver-bright); }

/* Scroll progress */
.scrollbar-fill {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 2px;
  background: var(--grad-text);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 10px #f2522799;
  pointer-events: none;
}

/* ---------- Buttons, pills, chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad-btn); color: #1a0903; box-shadow: var(--glow-soft); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow); }
.btn-ghost { background: var(--bg-2); color: var(--fg-1); border: 1px solid var(--line-3); }
.btn-ghost:hover { border-color: var(--fg-4); }
.btn-lg { height: 62px; padding: 0 30px; font-size: 17px; box-shadow: var(--glow); }
.btn[aria-disabled="true"] { cursor: default; color: var(--fg-3); }
.btn[aria-disabled="true"]:hover { border-color: var(--line-3); }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  white-space: nowrap;
}
.pill svg { width: 14px; height: 14px; }
.pill-ver { background: var(--grad-soft); color: var(--ver-bright); border-color: var(--ver-line); }
.pill-cool { background: #5b63d41f; color: var(--cool); border-color: var(--cool-line); }
.pill-ok { background: #32d74b1a; color: var(--finished); border-color: #32d74b66; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 22px;
}
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow.red { color: var(--waiting); }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-3);
  background: #0e0f13c7;
  color: var(--fg-1);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 500;
  white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--fg-3); }

/* ---------- Nav ---------- */

.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav-shell.scrolled {
  background: #08090cd9;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-2);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; background: #000;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.t-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--fg-1); }
.nav-mid { display: flex; gap: 6px; }
.nav-link {
  font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--fg-2);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--fg-1); background: #ffffff0a; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { padding: 11px 20px; }
.nav-store {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border: 1px solid var(--line-3); border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--fg-2);
}
.nav-store svg { width: 15px; height: 15px; }
.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-3); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; }
.nav-sheet {
  display: none;
  border-top: 1px solid var(--line-2);
  background: #08090cf2;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 10px 16px 20px;
}
.nav-sheet a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-family: var(--font-display); font-size: 17px; color: var(--fg-1); }
.nav-sheet .btn { width: 100%; margin-top: 16px; }
.nav-shell.open .nav-sheet { display: block; }
.nav-shell.open { background: #08090cf2; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 150px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow-core {
  position: absolute; top: 2%; left: 72%;
  width: 1100px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(42% 40% at 50% 42%, #f2522757, #ff453a1c 55%, transparent 72%);
  filter: blur(6px);
}
.glow-left {
  position: absolute; top: 30%; left: -10%; width: 700px; height: 700px;
  background: radial-gradient(50% 50% at 50% 50%, #e2543e14, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 56px; align-items: center; }
.hero-h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(42px, 5.2vw, 70px); line-height: 1; letter-spacing: -.035em;
  color: var(--fg-1);
  margin: 24px 0 22px;
  text-wrap: balance;
}
.hero-h1 .l { display: block; }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--fg-2); max-width: 54ch; margin-bottom: 32px; }
.hero-sub .mono { color: var(--ver-bright); font-size: .95em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-3); }
.hero-note svg { width: 16px; height: 16px; }
.hero-built { margin-top: 44px; }
.hl-cap { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--fg-2); margin-bottom: 12px; }
.hl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-row .chip { height: 38px; padding: 0 13px; font-size: 14px; }

/* ---------- The Mac screen stage ---------- */

.stage-wrap { position: relative; }
.stage {
  position: relative;
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 70% 110%, #3a1a14 0%, transparent 60%),
    radial-gradient(70% 80% at 10% 100%, #141a2e 0%, transparent 65%),
    linear-gradient(180deg, #11131b 0%, #0b0c11 100%);
  border: 1px solid var(--line-3);
  box-shadow: var(--shadow-3), 0 0 0 6px #0d0e13, 0 0 0 7px #1e2130;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  background: #0000004d;
  font-family: var(--font-mac); font-size: 12.5px; color: #e9e9ee;
  z-index: 1;
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 15px; white-space: nowrap; }
.mb-left b { font-weight: 700; }
.mb-left svg { width: 13px; height: 15px; }
.mb-right svg { width: 16px; height: 16px; opacity: .92; }
.mb-dim { opacity: .9; }

/* The island. One black shape that grows out of the notch. */
.island {
  position: absolute; top: 0; left: 50%;
  width: 178px; height: 32px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 3;
  cursor: pointer;
  transition:
    width .52s var(--spring),
    height .52s var(--spring),
    border-radius .52s var(--spring);
  overflow: hidden;
}
.stage[data-tier="card"] .island { width: 336px; height: 108px; border-radius: 0 0 28px 28px; }
.stage[data-tier="shelf"] .island { width: min(528px, calc(100% - 20px)); height: 314px; border-radius: 0 0 30px 30px; }

/* Rest: glyph and count flank the notch, inside the bar. */
.flank {
  position: absolute; top: 0; height: 32px; z-index: 2;
  display: flex; align-items: center;
  transition: opacity .25s;
}
.flank-l { right: calc(50% + 89px + 14px); }
.flank-r { left: calc(50% + 89px + 16px); font-family: var(--font-mac); font-size: 12.5px; font-weight: 700; color: var(--tint); }
.stage[data-tier="card"] .flank,
.stage[data-tier="shelf"] .flank { opacity: 0; }
.stage .menubar .mb-hide { transition: opacity .25s; }
.stage[data-tier="shelf"] .menubar .mb-hide { opacity: 0; }

.tier { position: absolute; left: 0; right: 0; top: 32px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.stage[data-tier="card"] .tier-card,
.stage[data-tier="shelf"] .tier-shelf { opacity: 1; pointer-events: auto; transition: opacity .3s ease .14s; }

/* Hover card, 336pt, measured. */
.card-row { position: absolute; left: 0; right: 0; top: 0; height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.card-text { min-width: 0; flex: 1; }
.card-name { font-family: var(--font-mac); font-size: 13px; font-weight: 600; color: #fff; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-line { font-family: var(--font-mac); font-size: 11px; color: #ebebf599; line-height: 1.35; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage[data-state="waiting"] .card-line { color: var(--waiting); }
.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.badge {
  font-family: var(--font-mac); font-size: 11px; font-weight: 700; color: var(--working);
  background: #ffffff1a; border-radius: 999px; padding: 2px 7px; line-height: 1.3;
}
.ago { font-family: var(--font-mac); font-size: 11px; color: #ebebf599; padding-right: 3px; font-variant-numeric: tabular-nums; }

/* Shelf, on click. */
.shelf { padding: 6px 14px 14px; font-family: var(--font-mac); }
.shelf-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.shelf-icons { display: flex; gap: 6px; }
.shelf-ic { width: 26px; height: 26px; border-radius: 50%; background: #1c1c1e; display: grid; place-items: center; color: #d1d1d6; }
.shelf-ic.on { background: #F25227; color: #fff; }
.shelf-ic svg { width: 13px; height: 13px; }
.rows { border-radius: 14px; background: #111113; padding: 4px 0; margin-bottom: 8px; }
.row { display: flex; align-items: center; gap: 9px; padding: 6px 12px; font-size: 12.5px; color: #f2f2f7; }
.row .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.row .nm { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .el { font-size: 11.5px; color: #ebebf599; font-variant-numeric: tabular-nums; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w { border-radius: 14px; background: #1c1c1e; padding: 10px; min-width: 0; height: 104px; position: relative; overflow: hidden; }
.w-np { display: flex; gap: 10px; align-items: center; }
.w-art { width: 56px; height: 56px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #3b2a55, #7d3a2a); display: grid; place-items: center; color: #ffffffb3; }
.w-art svg { width: 20px; height: 20px; }
.w-np-t { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-np-s { font-size: 11px; color: #ebebf599; margin-bottom: 8px; }
.w-ctl { display: flex; gap: 12px; color: #fff; }
.w-ctl svg { width: 14px; height: 14px; }
.w-wx { background: linear-gradient(180deg, #5a6f8c 0%, #8b9bb0 100%); color: #fff; }
.w-wx .t { font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.w-wx .c { position: absolute; top: 10px; right: 10px; text-align: right; font-size: 12px; font-weight: 600; line-height: 1.3; }
.w-wx .c span { display: block; font-weight: 400; opacity: .85; font-size: 11px; }
.w-wx .b { position: absolute; left: 10px; right: 10px; bottom: 9px; display: flex; justify-content: space-between; font-size: 11px; }
.cal { margin-top: 8px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 12px; background: #111113; font-size: 12px; color: #f2f2f7; }
.cal i { width: 3px; height: 22px; border-radius: 2px; background: #bf5af2; flex: none; }
.cal .when { margin-left: auto; font-size: 11px; color: #ebebf599; }

.stage-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #ffffff80;
  white-space: nowrap; z-index: 1;
}
.stage-hint svg { width: 13px; height: 13px; }

.tier-switch { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.seg {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line-3); background: var(--bg-2);
  font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--fg-3);
  cursor: pointer; transition: color .2s, border-color .2s;
}
.seg i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.seg:hover { color: var(--fg-1); }
.seg[aria-pressed="true"] { color: var(--fg-1); border-color: var(--ver-line); }

/* Floating event cards around the stage, like log entries. */
.evt {
  position: absolute; z-index: 4;
  width: 250px; padding: 13px 15px;
  border-radius: var(--r-md);
  background: #0e1016eb;
  border: 1px solid var(--line-3);
  box-shadow: var(--shadow-3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: bob 7s ease-in-out infinite;
}
.evt-a { right: -34px; top: 196px; }
.evt-b { left: -40px; top: 262px; animation-delay: -3.5s; width: 228px; }
.evt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid;
}
.tag-red { color: var(--waiting); border-color: #ff453a73; background: #ff453a14; }
.tag-green { color: var(--finished); border-color: #32d74b66; background: #32d74b12; }
.tag-ver { color: var(--ver-bright); border-color: var(--ver-line); background: #f2522714; }
.evt-id { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.evt-t { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--fg-1); line-height: 1.35; }
.evt-m { font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-4); margin-top: 6px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Dot matrix ---------- */

.matrix { display: grid; grid-template-columns: repeat(5, var(--cell)); gap: var(--gap); }
.matrix i { position: relative; display: block; width: var(--cell); height: var(--cell); border-radius: var(--r, 1px); background: #000; overflow: hidden; }
.matrix i::after {
  content: ""; position: absolute; inset: 0; background: var(--tint);
  opacity: 0;
  animation: var(--anim);
}
.matrix.still i::after { animation: none; opacity: .85; }
.matrix.dim i::after { animation: none; opacity: .3; }
.m-bar { --cell: 2px; --gap: 1px; --r: .5px; }
.m-card { --cell: 3px; --gap: 1.2px; --r: .6px; }
.m-nav { --cell: 3px; --gap: 1.5px; --r: .7px; }
.m-mini { --cell: 5px; --gap: 2px; --r: 1.4px; }
.m-mid { --cell: 9px; --gap: 3px; --r: 2.4px; }
.m-big { --cell: 26px; --gap: 6px; --r: 7px; }
.m-hero { --cell: 18px; --gap: 5px; --r: 5px; }

/* ---------- Stats strip ---------- */

.herofoot { padding: 0 0 20px; position: relative; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--bg-2);
}
.stat { padding: 22px 26px 24px; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat-n { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--fg-1); letter-spacing: -.02em; line-height: 1.1; }
.stat-n small { font-size: 18px; color: var(--ver-bright); margin-left: 2px; }
.stat-l { font-size: 14px; color: var(--fg-3); margin-top: 6px; }

.works { padding: 90px 0 30px; text-align: center; }
.works-cap { font-family: var(--font-display); font-size: 15px; letter-spacing: .02em; color: var(--fg-3); margin-bottom: 22px; }
.works-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }

/* ---------- Scenes (split sections) ---------- */

.scene { padding: 130px 0; position: relative; }
.scene-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.scene-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em;
  color: var(--fg-1); margin-bottom: 22px; text-wrap: balance;
}
.scene-p { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 46ch; }
.details { margin-top: 30px; display: grid; gap: 14px; }
.detail { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
.detail svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--cool); }
.detail b { color: var(--fg-1); font-weight: 600; }
.scene-glow {
  position: absolute; pointer-events: none;
  width: 900px; height: 700px;
  background: radial-gradient(45% 45% at 50% 50%, #f252272e, transparent 70%);
}

/* Steps */
.steps { margin-top: 36px; display: grid; gap: 6px; }
.step {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px;
  text-align: left; width: 100%;
  padding: 16px 16px; border-radius: var(--r-md);
  border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background .3s, border-color .3s, opacity .3s;
  opacity: .5;
}
.step:hover { opacity: .8; }
.step.on { opacity: 1; background: var(--bg-2); border-color: var(--line-3); }
.step-n {
  width: 30px; height: 22px; border-radius: 999px; border: 1px solid var(--line-3);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 2px;
}
.step.on .step-n { border-color: var(--ver-line); color: var(--ver-bright); }
.step-t { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--fg-1); }
.step-d { font-size: 15px; color: var(--fg-3); margin-top: 3px; line-height: 1.5; }

/* Terminal window */
.term {
  border-radius: var(--r-lg); border: 1px solid var(--line-3);
  background: var(--bg-2); box-shadow: var(--shadow-3);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-3); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-4); }
.term-bar span { margin-left: 12px; }
.term-body { padding: 18px 20px 22px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; min-height: 214px; }
.term-body div { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease-out); white-space: pre-wrap; word-break: break-word; }
.term-body div.show { opacity: 1; transform: none; }
.term-body .p { color: var(--fg-1); }
.term-body .p b { color: var(--ver-bright); font-weight: 400; }
.term-body .ok { color: var(--finished); }
.term-body .hl { color: var(--ver-bright); }
.term-body .mut { color: var(--fg-4); }

.after-term { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.log {
  padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line-3);
  box-shadow: var(--shadow-2);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.log.off { opacity: .35; transform: translateY(8px); }
.log .evt-t { font-size: 14.5px; margin-top: 2px; }

/* States: orbit */
.beats { margin-top: 32px; display: grid; gap: 10px; }
.beat {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: border-color .3s, opacity .3s, background .3s;
  opacity: .62;
}
.beat.on { opacity: 1; border-color: var(--line-3); background: var(--bg-3); }
.beat-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); display: flex; align-items: center; gap: 7px; }
.beat-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.beat-t { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--fg-1); margin-top: 3px; }
.beat-s { font-size: 13.5px; color: var(--fg-3); margin-top: 2px; }
.beat-el { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); }

.orbit { position: relative; aspect-ratio: 1 / 1; max-width: 600px; margin: 0 auto; width: 100%; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed #f2522747; inset: var(--in); }
.orbit-glow {
  position: absolute; inset: 14%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%);
  filter: blur(10px);
  transition: background .6s;
}
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 30px; border-radius: 40px; background: #000;
  box-shadow: 0 0 0 1px #ffffff12, 0 30px 80px #000c;
}
.tool {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  background: #0e1016f0; border: 1px solid var(--line-3);
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-2);
  white-space: nowrap;
  box-shadow: var(--shadow-2);
}
.tool svg { width: 13px; height: 13px; color: var(--fg-3); }

/* Approval mock */
.approve-stage { position: relative; display: grid; place-items: center; min-height: 460px; }
.approve {
  position: relative; width: min(440px, 100%);
  background: #000; border-radius: 0 0 34px 34px;
  padding: 50px 22px 22px;
  box-shadow: 0 0 0 1px #ffffff10, 0 40px 90px #000;
  font-family: var(--font-mac);
}
.approve::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 26px; border-radius: 0 0 12px 12px; background: #000;
  box-shadow: inset 0 -1px 0 #ffffff14;
}
.ap-head { display: flex; align-items: center; gap: 13px; }
.ap-name { font-size: 14px; font-weight: 600; color: #fff; }
.ap-line { font-size: 12px; color: var(--waiting); margin-top: 1px; }
.ap-head .badge { margin-left: auto; }
.ap-cmd {
  margin-top: 16px; border-radius: 12px; background: #111113; border: 1px solid #ffffff0f;
  padding: 12px 14px; font-family: var(--font-mono); font-size: 13px; color: #f2f2f7; line-height: 1.6;
}
.ap-cmd .k { color: #ebebf580; font-size: 11px; font-family: var(--font-mac); display: block; margin-bottom: 4px; }
.ap-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ap-btn {
  height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--font-mac); font-size: 13px; font-weight: 600;
  transition: transform .15s, filter .2s;
}
.ap-btn:active { transform: scale(.97); }
.ap-deny { background: #1c1c1e; color: #f2f2f7; }
.ap-allow { background: #f2f2f7; color: #000; }
.ap-result {
  position: absolute; inset: 0; border-radius: 0 0 34px 34px; background: #000;
  display: grid; place-items: center; text-align: center; padding: 40px 20px 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.ap-result.show { opacity: 1; pointer-events: auto; }
.ap-result b { display: block; font-size: 15px; color: #fff; margin-top: 12px; }
.ap-result span { font-size: 12px; color: #ebebf599; }
.approve-legend { position: absolute; bottom: 4px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); }
.approve-legend span { display: inline-flex; align-items: center; gap: 8px; }
.approve-legend i { width: 18px; border-top: 2px dashed var(--c); }

/* Shelf mock, larger */
.shelf-big {
  background: #000; border-radius: 0 0 32px 32px; padding: 50px 18px 18px;
  position: relative; box-shadow: 0 0 0 1px #ffffff10, 0 40px 90px #000;
  font-family: var(--font-mac);
  max-width: 560px; margin: 0 auto;
}
.shelf-big::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 26px; border-radius: 0 0 12px 12px; background: #000; box-shadow: inset 0 -1px 0 #ffffff14;
}
.shelf-big .rows { padding: 6px 0; }
.shelf-big .row { padding: 9px 14px; font-size: 13.5px; cursor: pointer; border-radius: 10px; margin: 0 6px; transition: background .2s; }
.shelf-big .row:hover { background: #ffffff0a; }
.shelf-big .row .el { font-size: 12px; }
.row-detail {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out);
  margin: 0 6px;
}
.row-detail > div { overflow: hidden; }
.row-detail.open { grid-template-rows: 1fr; }
.rd {
  margin: 2px 14px 10px 30px; padding: 10px 12px; border-radius: 10px; background: #1c1c1e;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 11.5px; color: #ebebf599;
}
.rd b { display: block; color: #f2f2f7; font-weight: 600; font-size: 12px; }
.shelf-big .widgets { gap: 10px; }
.shelf-big .w { height: 118px; }
.recall-pill { display: flex; justify-content: center; margin-top: 24px; }
.recall-pill .pill { font-family: var(--font-mono); font-weight: 400; font-size: 12px; }

/* ---------- Why (centred) ---------- */

.center-head { text-align: center; max-width: 780px; margin: 0 auto; }
.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.03em;
  color: var(--fg-1); margin-bottom: 20px; text-wrap: balance;
}
.h2-sub { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 600px; margin: 0 auto; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; align-items: start; max-width: 1000px; margin-left: auto; margin-right: auto; }
.vs-cap { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--fg-4); text-transform: uppercase; margin-bottom: 26px; text-align: center; }
.vs-cap.ver { color: var(--ver-bright); }
.pile { display: grid; gap: 12px; padding-top: 30px; }
.pile-i {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border-radius: var(--r-md);
  background: var(--bg-2); border: 1px solid var(--line-3);
  font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--fg-2);
  box-shadow: var(--shadow-2);
  transform: rotate(var(--rot)) translateX(var(--x));
}
.pile-i svg { width: 16px; height: 16px; color: var(--fg-4); flex: none; }
.pile-i .when { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); border: 1px solid var(--line-3); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.win {
  border-radius: var(--r-xl); border: 1px solid var(--ver-line);
  background: linear-gradient(180deg, #13100f 0%, var(--bg-2) 60%);
  padding: 24px; box-shadow: 0 20px 60px #f252271f;
}
.win-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: #000; border: 1px solid var(--line-3); font-family: var(--font-mono); font-size: 13.5px; color: var(--fg-1); }
.win-top .matrix { margin-left: auto; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; color: var(--fg-2); }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 17px; height: 17px; color: var(--finished); flex: none; }
.win .pill { margin-top: 16px; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.bc {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-2);
  padding: 22px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bc-tall { grid-row: span 2; }
.bc-wide { grid-column: span 2; justify-content: space-between; }
.bc-n { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--fg-1); letter-spacing: -.03em; line-height: 1.05; }
.bc-n small { font-size: 20px; color: var(--ver-bright); margin-left: 2px; }
.bc-l { font-size: 14.5px; color: var(--fg-3); margin-top: 8px; line-height: 1.5; }
.bc-glow { position: absolute; inset: -30% -30% auto auto; width: 280px; height: 220px; background: radial-gradient(50% 50% at 50% 50%, #f2522733, transparent 70%); pointer-events: none; }
.bc-art { position: absolute; top: 24px; left: 22px; }
.bc-quote { font-size: 17px; line-height: 1.55; color: var(--fg-1); }
.bc-quote svg { width: 26px; height: 26px; color: var(--ver-bright); margin-bottom: 12px; }
.bc-src { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); margin-top: 12px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; position: absolute; top: 26px; left: 22px; right: 22px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--bg-4); height: var(--h); }
.bars i.z { background: var(--ver); height: 2px; box-shadow: 0 0 10px var(--ver); }

/* ---------- Get Perch (plans) ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; align-items: stretch; }
.plan {
  border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--bg-2);
  padding: 34px; display: flex; flex-direction: column;
}
.plan.feat { border-color: var(--ver-line); background: linear-gradient(180deg, #16100e 0%, var(--bg-2) 55%); box-shadow: 0 20px 60px #f252271a; }
.plan-h { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--fg-1); letter-spacing: -.03em; margin: 22px 0 6px; line-height: 1.1; }
.plan-d { font-size: 15px; color: var(--fg-3); line-height: 1.55; min-height: 48px; }
.plan .checks { margin: 18px 0 26px; }
.plan .checks li { font-size: 14.5px; padding: 10px 0; }
.plan-cta { margin-top: auto; display: grid; gap: 12px; }
.plan-cta .btn { width: 100%; height: 50px; }
.plan-fine { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 13px; color: var(--fg-3); }
.plan-fine span { display: inline-flex; align-items: center; gap: 6px; }
.plan-fine svg { width: 14px; height: 14px; color: var(--finished); }

/* ---------- Final CTA ---------- */

.finalcta { text-align: center; padding: 130px 0; position: relative; overflow: hidden; }
.finalcta .glow {
  position: absolute; left: 50%; bottom: -30%; transform: translateX(-50%);
  width: 1000px; height: 700px; pointer-events: none;
  background: radial-gradient(45% 45% at 50% 50%, #f2522740, transparent 70%);
}
.final-mark { display: inline-block; padding: 26px; border-radius: 34px; background: #000; box-shadow: 0 0 0 1px #ffffff12, 0 20px 70px #f2522730; margin-bottom: 40px; }
.finalcta .h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: -.035em; max-width: 16ch; margin: 0 auto 22px; }
.finalcta .h2-sub { margin-bottom: 38px; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Footer (i8l family footer, cmem layout) ---------- */

.footer { border-top: 1px solid var(--line-2); background: var(--bg-0); padding: 72px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; margin-bottom: 56px; }
.foot-brand .tagline { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--fg-3); max-width: 300px; }
.foot-by { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--fg-4); }
.foot-by img { height: 12px; width: auto; transform: translateY(-.5px); }
.foot-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--fg-3); text-transform: uppercase; margin-bottom: 20px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--fg-2); }
.foot-col a:hover { color: var(--fg-1); }
.foot-col a.warm { color: var(--ver-bright); }
.foot-bottom {
  border-top: 1px solid var(--line-2); padding-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px;
  font-size: 13px; color: var(--fg-4);
}
.foot-bottom .r { display: flex; align-items: center; gap: 22px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-3); }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--finished); box-shadow: 0 0 8px var(--finished); }
.foot-bottom a:hover { color: var(--fg-2); }

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0; transform: translateY(24px); filter: blur(10px);
  transition: opacity .8s ease, transform .8s var(--ease-out), filter .8s ease;
  transition-delay: calc(var(--i, 0) * 65ms);
}
.js .reveal.in-view { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-mid { display: none; }
  .evt-a { right: -10px; }
  .evt-b { left: -10px; }
}

@media (max-width: 980px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid, .scene-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hl-row { justify-content: center; }
  .hero-h1 { margin-top: 20px; }
  .glow-core { left: 50%; top: 30%; }
  .scene { padding: 96px 0; }
  .scene-copy { text-align: center; }
  .scene-p { margin: 0 auto; }
  .details, .steps, .beats { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .vs { grid-template-columns: 1fr; gap: 50px; max-width: 520px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .order-art-last .scene-art { order: 2; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 84px 0; }
  .nav-right .nav-store, .nav-right .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-bar { height: 62px; }
  .hero { padding: 100px 0 56px; }
  .hero-sub { font-size: 17px; }
  .hero-cta { flex-direction: column; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .hero-built { margin-top: 34px; }
  .stage { height: 360px; border-radius: 20px; box-shadow: var(--shadow-3), 0 0 0 4px #0d0e13, 0 0 0 5px #1e2130; }
  .mb-left .mb-hide, .mb-right .mb-hide { display: none; }
  .evt { position: relative; left: auto; right: auto; top: auto; width: auto; animation: none; }
  .evts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-2); }
  .works { padding-top: 64px; }
  .scene-h { font-size: clamp(32px, 9vw, 40px); }
  .scene-p { font-size: 16.5px; }
  .detail { font-size: 16px; }
  .after-term { grid-template-columns: 1fr; gap: 10px; }
  .term-body { font-size: 12.5px; padding: 16px; min-height: 0; }
  .tool { font-size: 10.5px; height: 28px; padding: 0 9px; }
  .tool svg { display: none; }
  .m-big { --cell: 17px; --gap: 4px; --r: 5px; }
  .orbit-core { padding: 20px; border-radius: 28px; }
  .approve-stage { min-height: 0; padding-bottom: 36px; }
  .approve-legend { gap: 14px; font-size: 11px; }
  .shelf-big { padding: 44px 10px 10px; }
  .shelf-big .widgets { grid-template-columns: 1fr; }
  .rd { margin-left: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bc-wide, .bc-tall { grid-column: auto; grid-row: auto; }
  .bc-tall { min-height: 240px; }
  .plan { padding: 26px; }
  .finalcta { padding: 96px 0; }
  .final-actions .btn { width: 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .pile-i { transform: none; font-size: 14px; }
}

@media (max-width: 420px) {
  .w-wx .t { font-size: 28px; }
  .w-art { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .matrix i::after { animation: none !important; opacity: .85; }
  .matrix.dim i::after { opacity: .3; }
  .evt { animation: none; }
  .island, .tier, .flank, .step, .beat, .log, .row-detail, .term-body div { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- State tints ---------- */

:root { --tint: var(--working); }
[data-state="working"] { --tint: var(--working); }
[data-state="waiting"] { --tint: var(--waiting); }
[data-state="finished"] { --tint: var(--finished); }
[data-state="idle"] { --tint: var(--idle); }

/* Hero grid areas: headline, then the island, then the rest on small screens. */
.hero-grid { grid-template-areas: "head art" "rest art"; row-gap: 0; }
.hero-head { grid-area: head; align-self: end; }
.hero-rest { grid-area: rest; align-self: start; }
.stage-wrap { grid-area: art; }
.stage { --notch: 178px; }
.island { width: var(--notch); }
.flank-l { right: calc(50% + var(--notch) / 2 + 14px); }
.flank-r { left: calc(50% + var(--notch) / 2 + 16px); }
.stage[data-tier="card"] .island { width: min(336px, calc(100% - 16px)); }
.stage[data-tier="shelf"] .stage-hint { opacity: 0; }
.stage-hint { transition: opacity .2s; }
.tool.hot { border-color: color-mix(in srgb, var(--tint) 60%, transparent); color: var(--fg-1); box-shadow: 0 0 22px color-mix(in srgb, var(--tint) 35%, transparent); }
.tool.hot svg { color: var(--tint); }

.scene, .section { overflow-x: clip; }

/* Desktop content behind the island, so the stage reads as a real screen. */
.stage { height: 340px; }
.desk-win {
  position: absolute; left: 28px; right: 28px; top: 132px; bottom: -24px;
  border-radius: 12px; background: #0c0e13f0; border: 1px solid var(--line-3);
  box-shadow: 0 20px 50px #0008;
  overflow: hidden; z-index: 0;
}
.dw-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.dw-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-4); }
.dw-bar span { margin: 0 auto; transform: translateX(-20px); }
.dw-body { padding: 12px 16px; font-family: var(--font-mono); font-size: 12px; line-height: 1.75; color: var(--fg-2); white-space: nowrap; }
.dw-body .mut { color: var(--fg-4); }
.stage-hint { position: static; transform: none; display: flex; justify-content: center; margin-top: 18px; color: var(--fg-4); }
.evt-a { right: -40px; top: 112px; }
.evt-b { right: -64px; left: auto; top: 222px; }
.stage[data-tier="shelf"] .island { height: 300px; }
.evts { transition: opacity .25s; }
.stage-wrap:has(.stage[data-tier="shelf"]) .evts { opacity: 0; pointer-events: none; }
.scene { padding: 110px 0; }
.approve-stage .screen, .scene-art > .screen { width: 100%; }
.approve { width: min(420px, calc(100% - 64px)); }
.shelf-big { max-width: min(460px, calc(100% - 64px)); }

/* A screen top for the approval and shelf mocks. */
.screen {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line-3);
  background:
    radial-gradient(90% 70% at 70% 110%, #3a1a14 0%, transparent 60%),
    radial-gradient(70% 80% at 10% 100%, #141a2e 0%, transparent 65%),
    linear-gradient(180deg, #11131b 0%, #0b0c11 100%);
  box-shadow: var(--shadow-3), 0 0 0 6px #0d0e13, 0 0 0 7px #1e2130;
  padding: 0 16px 34px;
}
.screen .menubar .mb-left, .screen .menubar .mb-right { gap: 12px; }
.approve, .shelf-big { position: relative; z-index: 2; margin: 0 auto; }
.approve { padding-top: 46px; }
.approve::before, .shelf-big::before { display: none; }
.approve-stage { min-height: 0; }
.shelf-big { padding: 44px 14px 14px; max-width: 520px; }
.shelf-big .row { padding: 8px 12px; font-size: 13px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-areas: "head" "art" "rest"; row-gap: 40px; }
  .hero-head, .hero-rest { text-align: center; }
}
@media (max-width: 760px) {
  .stage { --notch: 128px; }
  .flank-l { right: calc(50% + var(--notch) / 2 + 10px); }
  .flank-r { left: calc(50% + var(--notch) / 2 + 12px); }
  .evts { display: none; }
  .bc { min-height: 0; }
  .bc-tall { padding-top: 140px; }
}
