:root {
  --bg: #07090e;
  --elev: #11161f;
  --surface: #151b26;
  --high: #1b2330;
  --ink: #f3f4f6;
  --muted: #9ca3af;
  --dim: #6b7280;
  --line: #2a3344;
  --accent: #4c7dff;
  --cyan: #22d3ee;
  --gold: #c9a227;
  --hot: #ff3d8a;
  --green: #22d36b;
  --warn: #f59e0b;
  --pad: 28px;
  --nav-h: 64px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(7, 9, 14, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #22d3ee22;
  box-shadow: 0 1px 0 #c9a22722;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--ink);
}
.brand::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px #c9a22788;
  flex: none;
}
.brand:has(img)::before { display: none; }
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px #c9a22788, 0 0 10px #c9a22755;
}
.brand:has(img) {
  letter-spacing: 0.1em;
  font-size: 12px;
}
.brand.fd img {
  border-radius: 7px;
  object-fit: contain;
  box-shadow: 0 0 0 1px #22d3ee55, 0 0 10px #22d3ee44;
}
.fd-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.fd-lockup img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
  box-shadow: 0 0 0 1px #22d3ee44, 0 0 16px #22d3ee33;
}
.fd-lockup-type {
  display: flex;
  flex-direction: column;
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 32px);
}
.fd-lockup-type .fd-field { color: #5AD8E8; }
.fd-lockup-type .fd-deck { color: #fff; }
.fd-product-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.fd-product-title img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: none;
  filter: none;
  min-height: 0;
  object-fit: contain;
  box-shadow: 0 0 0 1px #22d3ee44;
}
.nav nav a.is-here { color: var(--cyan); text-shadow: 0 0 12px #22d3ee55; }
.nav nav { display: flex; gap: 22px; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav nav a:hover { color: var(--cyan); text-shadow: 0 0 12px #22d3ee66; }

.hero {
  position: relative;
  min-height: 100vh;
  background: #07090e;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  width: min(100%, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #07090e 0%, transparent 22%),
    linear-gradient(90deg, #07090ecc 0%, #07090e22 48%, transparent 70%),
    linear-gradient(0deg, #07090e 0%, transparent 38%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: var(--pad);
  bottom: 72px;
  max-width: 560px;
}
.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 8px;
}
.hero .eyebrow::after,
.lab .eyebrow::after,
.page .eyebrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 8px #22d3ee66;
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.lede { color: #dbe7f3; margin: 0 0 22px; font-size: 18px; }
.scroll-cue {
  display: inline-flex;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #22d3ee55;
  box-shadow: 0 0 0 1px #c9a22722, 0 0 16px #22d3ee18;
  padding: 10px 14px;
  border-radius: 999px;
}
.scroll-cue:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px #22d3ee44; }

.scrolly {
  display: block;
  position: relative;
  scroll-margin-top: var(--nav-h);
  background:
    radial-gradient(80% 50% at 70% 35%, #4c7dff18, transparent 58%),
    radial-gradient(60% 40% at 12% 80%, #22d3ee12, transparent 50%),
    #07090e;
}
.scrolly::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#22d3ee08 1px, transparent 1px),
    linear-gradient(90deg, #22d3ee08 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 28px 16px 36px;
}
.ticks {
  position: absolute;
  left: 14px;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticks li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  transition: 0.3s ease;
}
body[data-scene="kit"] [data-tick="kit"],
body[data-scene="spec"] [data-tick="spec"],
body[data-scene="wifi"] [data-tick="wifi"],
body[data-scene="fly"] [data-tick="fly"],
body[data-scene="deploy"] [data-tick="deploy"] {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: scale(1.35);
}

.laptop {
  min-height: 0;
  overflow: hidden;
  container-type: size;
  display: grid;
  place-items: center;
}
.mac {
  width: min(100cqi, calc((100cqh - 32px) * 16 / 9));
  max-height: 100%;
  filter: drop-shadow(0 18px 40px #000c);
}
.lid {
  position: relative;
  background: linear-gradient(180deg, #2a2d32 0%, #16181c 100%);
  border: 1px solid #3c4048;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  padding: 12px 10px 8px;
  box-shadow: inset 0 0 0 1px #22d3ee14;
}
.cam {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #0c0d10;
  box-shadow: inset 0 0 0 1.5px #3a3d44, 0 0 0 1px #111;
  z-index: 2;
}
.glass {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background: #07090e;
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #ffffff18 0%, transparent 38%, transparent 100%);
  pointer-events: none;
  z-index: 6;
}
.base {
  height: 14px;
  margin: 0 -1.6%;
  background: linear-gradient(180deg, #3a3d44 0%, #1c1e22 40%, #121316 100%);
  border: 1px solid #4a4e56;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  position: relative;
}
.base i {
  position: absolute;
  left: 50%;
  top: 3px;
  width: 16%;
  height: 5px;
  margin-left: -8%;
  border-radius: 0 0 6px 6px;
  background: #0e0f12;
}

.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 0.55s ease;
}
body[data-scene="hero"] [data-shot="a"],
body[data-scene="kit"] [data-shot="a"],
body[data-scene="spec"] [data-shot="a"] {
  opacity: 1;
}
body[data-scene="wifi"] [data-shot="b"] {
  opacity: 1;
}
body[data-scene="fly"] [data-shot="c"],
body[data-scene="deploy"] [data-shot="c"] {
  opacity: 1;
}
.theme-glass .shot { opacity: 0; }
body[data-scene="theme-original"] [data-theme="original"],
body[data-scene="theme-matrix"] [data-theme="matrix"],
body[data-scene="theme-cyberpunk"] [data-theme="cyberpunk"],
body[data-scene="theme-wargames"] [data-theme="wargames"],
body[data-scene="theme-gold"] [data-theme="gold"],
body[data-scene="theme-halloween"] [data-theme="halloween"] {
  opacity: 1;
}
.scrolly.themes .caption { margin-left: auto; }
.ptr {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}
.ptr::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px #22d3ee55, 0 0 16px var(--cyan);
}
.ptr-tag {
  position: absolute;
  left: 0;
  bottom: 32px;
  transform: translateX(-50%);
  background: #0b0e14f2;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.ptr-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 18px;
  margin-left: -1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.ptr-tag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--cyan);
}
.ptr[data-hl="waterfall"] .ptr-tag {
  left: auto;
  right: 36px;
  bottom: auto;
  top: 0;
  transform: translateY(-50%);
}
.ptr[data-hl="waterfall"] .ptr-tag::after {
  left: 100%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-left: 0;
  margin-top: -1px;
}
.ptr[data-hl="waterfall"] .ptr-tag::before {
  left: calc(100% + 14px);
  top: 50%;
  margin-left: 0;
  margin-top: -5px;
  border: 5px solid transparent;
  border-left-color: var(--cyan);
}
.ptr[data-hl="pads"] { left: 32%; top: 18%; }
.ptr[data-hl="spec"] { left: 38%; top: 54%; }
.ptr[data-hl="waterfall"] { left: 80%; top: 54%; }
.ptr[data-hl="flipper"] { left: 41%; top: 85%; }
.ptr[data-hl="pager"] { left: 54%; top: 85%; }
body[data-scene="kit"] [data-hl="pads"],
body[data-scene="spec"] [data-hl="spec"],
body[data-scene="wifi"] [data-hl="pager"],
body[data-scene="fly"] [data-hl="flipper"],
body[data-scene="deploy"] [data-hl="waterfall"] {
  opacity: 1;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  background: #11161f;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.08em;
}
.tb-left, .tb-right { display: flex; align-items: center; gap: 8px; }
.chip {
  background: #1b2330;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--muted);
}
.live { color: var(--green); display: flex; align-items: center; gap: 5px; }
.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.35; }
}
.op {
  min-width: 22px;
  height: 16px;
  border-radius: 8px;
  background: #4c7dff;
  color: #fff;
  font-size: 8px;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 800;
  padding: 0 4px;
}

.board {
  flex: 1;
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 0;
}
.rail {
  background: #11161f;
  border-right: 1px solid var(--line);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rail-label {
  margin: 6px 0 2px;
  color: var(--dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.kit { display: flex; flex-direction: column; gap: 6px; }
.pad {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 2px 8px;
  opacity: 0.72;
  transition: 0.45s ease;
}
.pad span { grid-column: 2; color: var(--ink); }
.pad em { grid-column: 2; color: var(--dim); font-style: normal; font-size: 10px; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b5563;
  margin-top: 3px;
}
.nav-item {
  background: transparent;
  border: 0;
  color: var(--muted);
  text-align: left;
  font: inherit;
  padding: 5px 8px;
  border-radius: 4px;
  opacity: 0.55;
  transition: 0.35s ease;
}
body[data-scene="wifi"] [data-nav="wifi"],
body[data-scene="fly"] [data-nav="fly"],
body[data-scene="deploy"] [data-nav="deploy"] {
  opacity: 1;
  color: var(--cyan);
  background: #22d3ee14;
}

.main {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.spectrum, .panel {
  background: #11161f;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0.78;
  transition: 0.45s ease;
}
.spectrum {
  flex: 1.15;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.spectrum canvas { width: 100%; height: 100%; display: block; }
.panel-head {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 4px;
  color: var(--muted);
}
.panel-head b { color: var(--ink); font-weight: 600; }
.row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.panel { padding: 0 0 6px; overflow: hidden; }
.wifi table {
  width: 100%;
  border-collapse: collapse;
}
.wifi th, .wifi td {
  padding: 6px 10px;
  text-align: left;
  color: var(--muted);
}
.wifi tbody tr {
  opacity: 0;
  transform: translateY(4px);
}
body[data-scene="wifi"] .wifi tbody tr {
  animation: rowin 0.45s ease forwards;
}
.wifi tbody tr:nth-child(1) { animation-delay: 0.05s; }
.wifi tbody tr:nth-child(2) { animation-delay: 0.16s; }
.wifi tbody tr:nth-child(3) { animation-delay: 0.28s; }
.wifi tbody tr:nth-child(4) { animation-delay: 0.4s; }
@keyframes rowin {
  to { opacity: 1; transform: none; }
}
.scan {
  color: var(--cyan);
  letter-spacing: 0.12em;
}
body[data-scene="wifi"] .scan { animation: pulse 1.2s ease-in-out infinite; }
.kismet-note, .fly-meta {
  margin: 6px 8px 0;
  color: var(--dim);
  font-size: 10px;
}
.pub {
  color: var(--warn);
  border: 1px solid #f59e0b55;
  border-radius: 4px;
  padding: 0 5px;
}
.sky { width: 100%; height: 110px; display: block; }
.track {
  fill: none;
  stroke: #22d3ee33;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
body[data-scene="fly"] .track {
  stroke: #22d3ee88;
  animation: dash 6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -40; } }
.plane {
  font-size: 10px;
  fill: var(--cyan);
  offset-path: path("M10,90 C70,70 110,40 210,28");
  offset-distance: 0%;
}
body[data-scene="fly"] .plane {
  animation: fly 7s linear infinite;
}
@keyframes fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.sheet {
  position: absolute;
  left: 168px;
  right: 0;
  bottom: 0;
  background: #151b26f2;
  border-top: 1px solid var(--cyan);
  padding: 8px 10px 12px;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body[data-scene="deploy"] .sheet { transform: none; }
.jobs { list-style: none; margin: 6px 0 0; padding: 0; }
.jobs li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--muted);
  border-bottom: 1px solid #1e293b;
}
.jobs li i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b5563;
}
.jobs li.on { color: var(--ink); }
.jobs li.on i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.jobs em { margin-left: auto; color: var(--dim); font-style: normal; }

.spot {
  position: absolute;
  border: 1.5px solid var(--cyan);
  border-radius: 10px;
  box-shadow: 0 0 0 1px #22d3ee55, 0 0 28px #22d3ee33;
  pointer-events: none;
  transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}

body[data-scene="kit"] [data-hl="kit"],
body[data-scene="spec"] [data-hl="spec"],
body[data-scene="wifi"] [data-hl="wifi"],
body[data-scene="fly"] [data-hl="fly"] {
  opacity: 1;
  border-color: #22d3ee88;
  box-shadow: 0 0 0 1px #22d3ee44, 0 0 22px #22d3ee22;
}
body[data-scene="kit"] .pad .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
body[data-scene="spec"] [data-pad="hackrf"] {
  opacity: 1;
  border-color: var(--cyan);
}
body[data-scene="spec"] [data-pad="hackrf"] .dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
body[data-scene="wifi"] [data-pad="pi"],
body[data-scene="deploy"] [data-pad="pi"] {
  opacity: 1;
}
body[data-scene="wifi"] [data-pad="pi"] .dot,
body[data-scene="deploy"] [data-pad="pi"] .dot {
  background: var(--green);
}

.caption {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  width: min(920px, 100%);
  margin: 0 auto 0 8px;
  background: transparent;
  border: 0;
  padding: 0 8px;
  color: var(--ink);
  z-index: 5;
}
.caption.caption-end { margin-left: auto; margin-right: 8px; }
.caption .idx {
  grid-row: 1 / 3;
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin: 0;
  font-size: 15px;
  text-shadow: 0 0 10px #22d3ee66;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}
.caption h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.caption p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #d5deea;
}
.caption p.is-swap { animation: pop 0.35s ease; }
@keyframes pop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.steps {
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.step {
  height: 100vh;
  overflow: hidden;
  opacity: 0;
}

.lab {
  padding: 96px var(--pad) 80px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.lab h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; }
.lab .lede { color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 40px;
}
.cards article {
  border: 1px solid #22d3ee28;
  border-radius: 4px;
  padding: 20px;
  background-color: #0c1016;
  background-image:
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(180deg, #121821, #0c1016);
  background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, auto;
  background-position: left top, left top, right bottom, right bottom, 0 0;
  background-repeat: no-repeat;
}
.cards h3 { margin: 0 0 8px; }
.cards p { margin: 0; color: var(--muted); font-size: 14px; }
.lab-cta { margin: 36px 0 0; }

footer {
  padding: 56px var(--pad) 72px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid #22d3ee22;
  box-shadow: 0 -1px 0 #c9a22722;
}
.foot-co {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 12px;
}
.foot-co:hover { color: var(--cyan); }
footer img,
.foot-co img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px #c9a22777, 0 0 22px #c9a22744;
}
.mail a { color: var(--cyan); text-decoration: none; font-size: 16px; }

.page {
  min-height: calc(100vh - var(--nav-h));
  max-width: 760px;
  margin: 0 auto;
  padding: 72px var(--pad) 96px;
}
.page .cards { grid-template-columns: 1fr; }
.page h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.page .lede { color: var(--muted); }
.page h2 { margin: 36px 0 10px; font-size: 22px; }
.page p { color: #d5deea; }
.dl-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.dl-row.two { grid-template-columns: 1fr 1fr; }
.dl-row article,
.dl-row a {
  border: 1px solid #22d3ee28;
  border-radius: 4px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  background-color: #0c1016;
  background-image:
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(180deg, #121821, #0c1016);
  background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, auto;
  background-position: left top, left top, right bottom, right bottom, 0 0;
  background-repeat: no-repeat;
}
.dl-row a:hover { border-color: var(--cyan); box-shadow: 0 0 18px #22d3ee22; }
.dl-row h3 { margin: 0 0 8px; }
.dl-row p { margin: 0; color: var(--muted); font-size: 14px; }
.faq { margin: 0; padding: 0; list-style: none; }
.faq li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq strong { display: block; margin-bottom: 4px; }

.fx-scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(34, 211, 238, 0.015) 2px,
    rgba(34, 211, 238, 0.015) 4px
  );
  mix-blend-mode: screen;
}
.co {
  background: #05060a;
}
.co-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-content: start;
  overflow: visible;
  padding: 108px var(--pad) 48px;
}
.co-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.co-glow {
  position: absolute;
  width: 70vw;
  height: 50vh;
  left: 50%;
  top: 12%;
  transform: translate(-50%, -20%);
  background:
    radial-gradient(circle at 40% 40%, #4c7dff33, transparent 55%),
    radial-gradient(circle at 70% 60%, #c9a22722, transparent 50%),
    radial-gradient(circle at 30% 70%, #22d3ee22, transparent 46%);
  filter: blur(8px);
  pointer-events: none;
}
.co-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -18%;
  height: 58%;
  background-image:
    linear-gradient(#22d3ee18 1px, transparent 1px),
    linear-gradient(90deg, #22d3ee18 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(720px) rotateX(64deg);
  transform-origin: center top;
  mask-image: linear-gradient(transparent, #000 28%, #000 70%, transparent);
  pointer-events: none;
}
.co-horizon {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #22d3ee88, #c9a22788, #22d3ee88, transparent);
  box-shadow: 0 0 24px #22d3ee66;
  pointer-events: none;
}
.co-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  transform-style: preserve-3d;
}
.co-seal-slot {
  --coin: clamp(168px, 22vw, 280px);
  width: var(--coin);
  height: var(--coin);
  margin: 2px auto 22px;
  perspective: 900px;
  position: relative;
  transform: rotateX(14deg);
  transform-style: preserve-3d;
  overflow: visible;
  z-index: 3;
}
.co-coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spinY 10s linear infinite;
  will-change: transform;
}
.coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.coin-face.front { transform: translateZ(7px); }
.coin-face.back { transform: rotateY(180deg) translateZ(7px); }
.coin-edge {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.coin-edge i {
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(#1c1404, #c9a227 38%, #f4e2a8 50%, #8a6918 62%, #1c1404);
}
@keyframes spinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.co-readout {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #22d3eecc;
  margin: 0 0 8px;
}
.co-readout span { color: var(--gold); }
.co-hero h1 {
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  text-shadow: 0 0 40px #4c7dff44;
}
.co-hero .lede {
  max-width: 560px;
  margin: 0 auto;
  color: #c5d4e4;
}
.co-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.co-cta a {
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid #22d3ee66;
  color: var(--ink);
  background: #22d3ee12;
}
.co-cta a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 18px #22d3ee33;
}
.co-cta a.ghost {
  background: transparent;
  border-color: #c9a22766;
}
.co-cta a.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px #c9a22733;
}
.co-strip {
  position: relative;
  z-index: 2;
  padding: 24px var(--pad) 96px;
  max-width: 1120px;
  margin: 0 auto;
}
.co-head {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.co-sub {
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 28px;
}
.co-go {
  margin: 16px 0 0 !important;
  color: var(--cyan) !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.hud.soon { opacity: 0.72; }
.co-product {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid #22d3ee33;
  background: linear-gradient(180deg, #0c121a, #080a0e);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px #c9a22718;
}
.co-product img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.co-product .fd-product-title img {
  width: 36px;
  height: 36px;
  min-height: 0;
  object-fit: contain;
  filter: none;
  box-shadow: 0 0 0 1px #22d3ee44;
}
.co-product div { padding: 28px; }
.co-product:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px #22d3ee22, 0 20px 60px #0008;
}
.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hud {
  position: relative;
  border: 1px solid #22d3ee28;
  padding: 22px;
  background-color: #0a0d12;
  background-image:
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(180deg, #10161f, #0a0d12);
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, auto;
  background-position: left top, left top, right bottom, right bottom, 0 0;
  background-repeat: no-repeat;
}
.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--cyan);
}
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hud h3 { margin: 0 0 8px; }
.hud p { margin: 0; color: var(--muted); font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .co-coin { animation: none; }
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-stage { width: 100%; }
  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    padding: 28px 20px 36px;
  }
  .hero-veil {
    background: linear-gradient(0deg, #07090e 0%, transparent 28%);
  }
  .nav { padding: 0 16px; }
  .nav nav { gap: 14px; }
  .sticky {
    padding: 8px 14px 10px;
    overflow: hidden;
    gap: 10px;
    grid-template-rows: auto auto;
    align-content: start;
  }
  .ticks { display: none; }
  .caption {
    margin: 0;
    padding: 0;
    min-height: 0;
  }
  .caption h2 { font-size: 22px; }
  .caption p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .laptop { overflow: hidden; width: 100%; aspect-ratio: 16 / 10; height: auto; }
  .mac { transform: none; }
  .lid { padding: 10px 8px 6px; }
  .base { display: none; }
  .ptr-tag { font-size: 12px; padding: 4px 10px; }
  .cards { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 1fr; }
  .co-product { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .co-hero h1 { font-size: 42px; }
  .co-seal-slot { --coin: clamp(150px, 46vw, 200px); transform: rotateX(10deg); }
}
@media (max-width: 640px) {
  .nav {
    height: auto;
    min-height: var(--nav-h);
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav nav {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 12px;
  }
  .nav nav a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
  }
  .brand:has(img) {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
  }
  .hero h1 { overflow-wrap: anywhere; }
  .fd-lockup img { width: 44px; height: 44px; border-radius: 10px; }
  .work-grid { grid-template-columns: 1fr; }
  .co-hero { padding: 72px 16px 36px; min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
