/* ============================================================
   DJ DEVELOPS — Nocturne UI
   Palette: near-black navy · electric cyan · warm amber
   ============================================================ */
:root {
  --bg: #04070d;
  --bg-2: #070c16;
  --panel: rgba(13, 20, 34, 0.72);
  --line: rgba(80, 120, 170, 0.16);
  --ink: #e8eef8;
  --muted: #93a1b8;
  --cyan: #39d7f2;
  --cyan-soft: rgba(57, 215, 242, 0.14);
  --teal: #2dd4bf;
  --amber: #f5a524;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
.mono { font-family: var(--font-mono); }
::selection { background: rgba(57, 215, 242, 0.35); color: #fff; }
a { color: var(--cyan); text-decoration: none; }

/* ---------- backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.aurora, .aurora-fallback {
  position: absolute; inset: -2%;
  width: 104%; height: 104%;
  object-fit: cover;
}
.aurora { opacity: 0; transition: opacity 2.4s ease; filter: saturate(1.1) brightness(0.85); }
.aurora.is-playing { opacity: 0.68; }
.aurora-fallback {
  background:
    radial-gradient(60% 45% at 78% 12%, rgba(57, 215, 242, 0.16), transparent 65%),
    radial-gradient(50% 40% at 12% 80%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(35% 30% at 60% 60%, rgba(245, 165, 36, 0.05), transparent 60%),
    linear-gradient(180deg, #05080f 0%, #04070d 100%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(1.5%, 1%, 0) scale(1.06); }
}
#neural { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.45; mix-blend-mode: screen;
  will-change: transform;
}
.o1 { width: 44vw; height: 44vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(57, 215, 242, 0.25), transparent 65%);
  animation: orb1 38s ease-in-out infinite alternate; }
.o2 { width: 36vw; height: 36vw; right: -8vw; top: 26%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.20), transparent 65%);
  animation: orb2 46s ease-in-out infinite alternate; }
.o3 { width: 30vw; height: 30vw; left: 30%; bottom: -12vw;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.13), transparent 65%);
  animation: orb3 52s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-10vw, -8vh) scale(0.9); } }
@keyframes orb3 { to { transform: translate(8vw, -10vh) scale(1.2); } }
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(2, 4, 8, 0.85) 100%);
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%; opacity: 0;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(57, 215, 242, 0.45);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
}
body.cursor-live .cursor-dot, body.cursor-live .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--amber); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- build bar ---------- */
.buildbar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: rgba(80, 120, 170, 0.12);
}
.buildbar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--amber));
  box-shadow: 0 0 14px rgba(57, 215, 242, 0.7);
}
.buildbar-label {
  position: fixed; top: 10px; right: 14px;
  font-size: 10px; letter-spacing: 0.08em; color: var(--muted);
  opacity: 0; transition: opacity 0.3s;
}
body.scrolled .buildbar-label { opacity: 1; }
.buildbar-label b { color: var(--cyan); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 44px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.85), rgba(4, 7, 13, 0.0));
}
.brand { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.brand-mark { font-weight: 700; font-size: 20px; color: var(--cyan); letter-spacing: 0.02em; }
.brand-dot { color: var(--amber); font-size: 10px; vertical-align: super; margin-left: 2px; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.brand-name { font-weight: 500; font-size: 17px; letter-spacing: 0.04em; color: var(--ink); }
.nav-links { display: flex; gap: clamp(14px, 2.5vw, 30px); }
.nav-links a {
  color: var(--muted); font-size: 14px; letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cyan); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.kbd-hint {
  font-size: 11px; color: var(--muted); border: 1px solid var(--line);
  background: rgba(13, 20, 34, 0.6); border-radius: 6px; padding: 4px 8px;
  cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.kbd-hint:hover { color: var(--cyan); border-color: rgba(57, 215, 242, 0.4); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, rgba(57, 215, 242, 0.95), rgba(45, 212, 191, 0.9));
  color: #03121a;
  box-shadow: 0 4px 30px rgba(57, 215, 242, 0.25);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  animation: shimmer 3.8s ease-in-out infinite;
}
@keyframes shimmer { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.btn-primary:hover { box-shadow: 0 6px 44px rgba(57, 215, 242, 0.45); }
.btn-ghost {
  color: var(--ink); border-color: var(--line); background: rgba(13, 20, 34, 0.5);
}
.btn-ghost:hover { border-color: rgba(57, 215, 242, 0.45); color: var(--cyan); }
.btn-small { padding: 9px 18px; font-size: 13px; border-radius: 8px;
  background: rgba(57, 215, 242, 0.12); color: var(--cyan); border-color: rgba(57, 215, 242, 0.3); }
.btn-small:hover { background: rgba(57, 215, 242, 0.2); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(18px, 6vw, 80px) 40px;
  max-width: 1180px; margin: 0 auto;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; color: var(--muted);
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}
.hero-title {
  font-size: clamp(44px, 8.5vw, 104px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.grad {
  background: linear-gradient(100deg, var(--cyan) 10%, var(--teal) 45%, var(--amber) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%;
  animation: gradshift 7s ease-in-out infinite alternate;
}
@keyframes gradshift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* per-character hero entrance (spans injected by JS after the boot intro) */
.hero-title .ch {
  display: inline-block; opacity: 0;
  transform: translateY(0.55em); filter: blur(6px);
  animation: ch-in 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 28ms);
}
@keyframes ch-in { to { opacity: 1; transform: none; filter: none; } }
.hero-rotate { font-size: clamp(15px, 2vw, 20px); color: var(--teal); min-height: 1.6em; margin-bottom: 22px; }
.rotate-prefix { color: var(--muted); }
.caret { animation: blink 1s steps(1) infinite; color: var(--cyan); }
.hero-sub { max-width: 620px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 70px; }

.hero-ticker {
  overflow: hidden; margin: 0 calc(-1 * clamp(18px, 6vw, 80px));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
  animation: ticker 30s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) clamp(18px, 6vw, 80px); }
.kicker { font-size: 12px; letter-spacing: 0.2em; color: var(--teal); margin-bottom: 14px; }
.section-title {
  font-size: clamp(30px, 4.6vw, 54px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 18px;
}
.section-sub { color: var(--muted); max-width: 560px; margin-bottom: 34px; }

/* ---------- reveal machinery ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.section-title.reveal { filter: blur(10px); }
.section-title.reveal.is-in {
  filter: blur(0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
body[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; filter: none; }

/* ---------- offer cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: var(--panel); overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: rgba(57, 215, 242, 0.4); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(57, 215, 242, 0.08); }
/* breathing float via the independent `translate` property so the JS tilt (transform) still composes */
.card { animation: card-float 7s ease-in-out infinite alternate; }
.card:nth-child(2) { animation-delay: 1.4s; }
.card:nth-child(3) { animation-delay: 2.8s; }
@keyframes card-float { from { translate: 0 0; } to { translate: 0 -7px; } }
.card-media { position: relative; height: 180px; overflow: hidden; }
.card-media video, .card-media-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media video { opacity: 0; transition: opacity 1s ease; }
.card-media video.is-playing { opacity: 0.85; }
.card-media-fallback.f1 { background: radial-gradient(70% 80% at 30% 30%, rgba(57, 215, 242, 0.25), transparent 70%), linear-gradient(160deg, #0a1322, #060a12); }
.card-media-fallback.f2 { background: radial-gradient(70% 80% at 70% 30%, rgba(45, 212, 191, 0.22), transparent 70%), linear-gradient(200deg, #0a1322, #060a12); }
.card-media-fallback.f3 { background: radial-gradient(70% 80% at 50% 70%, rgba(245, 165, 36, 0.16), transparent 70%), linear-gradient(180deg, #0a1322, #060a12); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 20, 34, 0.9) 100%);
}
.card-body { padding: 22px 24px 26px; }
.card-num { color: var(--amber); font-size: 12px; letter-spacing: 0.2em; }
.card h3 { font-size: 23px; margin: 8px 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }
.card-price { margin-top: 16px; font-size: 12.5px; color: var(--teal); }
.card-price b { color: var(--cyan); }

/* ---------- demo ---------- */
.demo-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chip {
  font-size: 13px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(13, 20, 34, 0.6);
  color: var(--muted); cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.chip:hover { color: var(--ink); border-color: rgba(57, 215, 242, 0.4); }
.chip.is-active {
  color: #03121a; background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-color: transparent; box-shadow: 0 2px 18px rgba(57, 215, 242, 0.35);
}
.demo-stage {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch;
}
@media (max-width: 860px) { .demo-stage { grid-template-columns: 1fr; } }

.terminal {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(5, 9, 16, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: rgba(13, 20, 34, 0.8);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r { background: #ff5f57; } .tdot.y { background: #febc2e; } .tdot.g { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }
.terminal-body {
  padding: 18px; font-size: 13px; line-height: 1.75;
  min-height: 380px; max-height: 380px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-word;
  color: #b9c6da;
}
.terminal-body .t-cmd { color: var(--cyan); }
.terminal-body .t-ok { color: var(--teal); }
.terminal-body .t-warn { color: var(--amber); }
.terminal-body .t-dim { color: #5c6b82; }

.phone {
  position: relative; border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(180deg, #0a101c, #060a12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  padding: 22px 16px 16px; display: flex; flex-direction: column;
  max-width: 360px; width: 100%; margin: 0 auto;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07);
}
.phone-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #03121a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}
.phone-head b { font-size: 14px; display: block; }
.phone-status { font-size: 10.5px; color: var(--teal); font-family: var(--font-mono); }
.phone-body {
  flex: 1; min-height: 260px; max-height: 300px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px; padding: 6px 4px;
}
.msg {
  max-width: 82%; padding: 9px 13px; border-radius: 16px;
  font-size: 13.5px; line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(0.97);
  animation: msg-in 0.45s var(--ease-out) forwards;
}
@keyframes msg-in { to { opacity: 1; transform: none; } }
.msg.them { align-self: flex-start; background: #1b2536; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.ai { align-self: flex-end; background: linear-gradient(135deg, rgba(57, 215, 242, 0.9), rgba(45, 212, 191, 0.85)); color: #03121a; border-bottom-right-radius: 5px; font-weight: 500; }
.msg.sys { align-self: center; background: none; color: var(--muted); font-size: 11px; font-family: var(--font-mono); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #6b7d95; animation: tybounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tybounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.phone-input {
  border-top: 1px solid var(--line); margin-top: 10px; padding: 12px 8px 4px;
  font-size: 12px; color: var(--muted);
}
.demo-note { margin-top: 20px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- process ---------- */
.process { position: relative; margin-top: 40px; display: flex; gap: 30px; }
.process-line { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 4px; height: calc(100% - 20px); }
.process-line path {
  stroke: var(--cyan); stroke-width: 2; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.7;
  filter: drop-shadow(0 0 6px rgba(57, 215, 242, 0.6));
}
.steps { list-style: none; display: flex; flex-direction: column; gap: 42px; width: 100%; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--cyan); font-size: 13px; font-weight: 700;
  animation: step-pulse 3.2s ease-in-out infinite;
}
@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(57, 215, 242, 0.08); }
  50% { box-shadow: 0 0 34px rgba(57, 215, 242, 0.30); }
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 520px; }

/* ---------- proof ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
  margin: 40px 0 46px;
}
.stat {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 22px 20px;
}
.stat-num { display: block; font-size: 38px; font-weight: 700; color: var(--cyan); letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--muted); }
.proof-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.proof-list li {
  border-left: 2px solid rgba(57, 215, 242, 0.35); padding: 4px 0 4px 18px;
  color: var(--ink); font-size: 16.5px;
}
.proof-tag { font-size: 10px; letter-spacing: 0.16em; color: var(--amber); margin-right: 10px; }

/* ---------- omaha ---------- */
.omaha { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .omaha { grid-template-columns: 1fr; } }
.omaha-media {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); min-height: 280px;
  background: radial-gradient(80% 80% at 50% 90%, rgba(57, 215, 242, 0.12), transparent 70%), var(--bg-2);
}
.omaha-media img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.omaha-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(57, 215, 242, 0.25) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000);
  mask-image: linear-gradient(180deg, transparent 30%, #000);
  opacity: 0.5; pointer-events: none;
}
.omaha-copy p { color: var(--muted); margin-bottom: 26px; max-width: 460px; }
.omaha-sig { margin-top: 26px; color: var(--teal); font-size: 13px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(4, 7, 13, 0.8); }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 26px clamp(18px, 6vw, 80px);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted);
}
.footer-tag { color: #5c6b82; }

/* ---------- command palette ---------- */
.palette { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding-top: 16vh; }
.palette[hidden] { display: none; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 8, 0.7); backdrop-filter: blur(4px); }
.palette-panel {
  position: relative; width: min(560px, calc(100vw - 32px));
  border: 1px solid rgba(57, 215, 242, 0.25); border-radius: 14px;
  background: rgba(8, 13, 22, 0.97);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(57, 215, 242, 0.1);
  overflow: hidden;
  animation: palette-in 0.25s var(--ease-out);
}
@keyframes palette-in { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
.palette-input {
  width: 100%; padding: 17px 20px; font-size: 15px;
  background: none; border: none; outline: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.palette-list { list-style: none; max-height: 320px; overflow-y: auto; padding: 8px; }
.palette-list li {
  padding: 11px 14px; border-radius: 9px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink);
}
.palette-list li .p-hint { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.palette-list li.is-sel, .palette-list li:hover { background: rgba(57, 215, 242, 0.12); color: var(--cyan); }

/* ---------- boot intro ---------- */
.boot {
  position: fixed; inset: 0; z-index: 400;
  background: #04070d;
  display: grid; place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s;
  cursor: pointer;
}
.boot-text { font-size: 14px; color: var(--teal); line-height: 1.95; min-width: min(420px, 80vw); }
.boot-text .ok { color: var(--cyan); }
.boot.done { opacity: 0; visibility: hidden; }
body[data-motion="off"] .boot { display: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 300; padding: 12px 20px; border-radius: 10px;
  background: rgba(8, 13, 22, 0.97); border: 1px solid rgba(57, 215, 242, 0.35);
  color: var(--cyan); font-size: 13px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
  animation: toast-in 0.35s var(--ease-out);
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- mobile polish ---------- */
@media (hover: none), (pointer: coarse) {
  .kbd-hint { display: none; }   /* ⌘K means nothing on a touchscreen */
}
@media (max-width: 720px) {
  .buildbar-label { display: none; }  /* keeps the nav's Book-a-call button uncrowded */
}
@media (max-width: 640px) {
  /* let headlines flow naturally instead of desktop line breaks */
  .hero-title br, .section-title br { display: none; }
  /* the gradient span must wrap mid-phrase on narrow screens, so it can't be an
     inline-block animation chunk here — show it directly and let lines break */
  .hero-title .grad, .hero-title .grad.ch {
    display: inline; animation: none; opacity: 1; transform: none; filter: none;
  }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.16em; }
  .terminal-body { min-height: 300px; max-height: 320px; font-size: 12.5px; }
}
@media (max-width: 860px) {
  /* skyline fills its frame — no empty grid strip below the image */
  .omaha-media { aspect-ratio: 16 / 9; min-height: 0; }
  .omaha-media img { position: absolute; inset: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .ticker-track, .pulse-dot, .brand-dot, .caret,
  .orb, .card, .step-num, .grad { animation: none !important; }
  .aurora, .boot { display: none; }
  .aurora-fallback { animation: none; }
  .btn-primary::after { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; filter: none !important; }
  .hero-title .ch { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}
body[data-motion="off"] .aurora { display: none; }
body[data-motion="off"] .aurora-fallback,
body[data-motion="off"] .ticker-track,
body[data-motion="off"] .orb,
body[data-motion="off"] .card,
body[data-motion="off"] .step-num,
body[data-motion="off"] .grad { animation: none; }
body[data-motion="off"] .btn-primary::after { display: none; }
body[data-motion="off"] .hero-title .ch { animation: none; opacity: 1; transform: none; filter: none; }
