/* Frondeur Labs — site stylesheet, second design.
   A night sky seen from orbit. The spectrum runs from ice blue (what you hold)
   through violet to ember (what threatens you); DeltaZero is the act of
   bringing one end to the other. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --void: #04060e;
  --deep: #070b19;
  --raise: #0b1124;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --edge: rgba(160, 185, 255, 0.13);
  --edge-2: rgba(160, 185, 255, 0.26);
  --text: #eef2fb;
  --soft: #c3cbe0;
  --muted: #93a0bd;
  --faint: #5f6b8a;

  --blue: #3d7bff;
  --ice: #7fdcff;
  --violet: #b06cff;
  --ember: #ff6b8b;
  --amber: #ffb24a;
  --mint: #4fe3b0;

  --spectrum: linear-gradient(100deg, #7fdcff 0%, #3d7bff 32%, #b06cff 66%, #ff6b8b 100%);
  --cool: linear-gradient(100deg, #7fdcff, #3d7bff);

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(76px, 10vw, 140px);
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; -webkit-tap-highlight-color: rgba(127, 220, 255, 0.2); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--void) radial-gradient(rgba(170, 195, 255, 0.075) 1px, transparent 1.4px) 0 0 / 46px 46px;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 3.85vw, 3.3rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 2.75vw, 2.4rem); line-height: 1.16; }
h3, h4 { font-family: var(--body); font-weight: 600; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
h3 { font-size: clamp(1.14rem, 1.5vw, 1.32rem); line-height: 1.28; }
h4 { font-size: 1rem; line-height: 1.3; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--soft); max-width: 60ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }

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

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ice); color: #04101a; padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- header: a floating bar ---------- */

.site-head { position: sticky; top: 0; z-index: 50; padding-top: 14px; pointer-events: none; }
.site-head .wrap {
  pointer-events: auto;
  display: flex; align-items: center; gap: 22px; min-height: 68px; padding: 0 12px 0 22px;
  background: rgba(8, 12, 28, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--edge);
  border-radius: 999px;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 50px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; padding: 9px 14px; font-size: 0.94rem; font-weight: 500; color: var(--muted); border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--text); background: var(--glass-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--edge); }
.nav .btn { margin-left: 10px; color: #04101a; }
.nav .btn:hover { color: #04101a; background: var(--cool); }

.nav-toggle { display: none; min-height: 44px; margin-left: auto; background: var(--glass-2); border: 1px solid var(--edge-2); color: var(--text); font: 500 0.93rem var(--body); padding: 9px 16px; border-radius: 999px; cursor: pointer; }

@media (max-width: 980px) {
  .site-head .wrap { border-radius: 22px; min-height: 62px; padding: 0 10px 0 16px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: -1px; right: -1px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px;
    background: rgba(8, 12, 28, 0.97); border: 1px solid var(--edge); border-radius: 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; border-radius: 12px; font-size: 1.02rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  font: 600 0.98rem var(--body); padding: 13px 24px; border-radius: 999px;
  background: var(--cool); color: #04101a;
  box-shadow: 0 10px 34px -12px rgba(61, 123, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(61, 123, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn.ghost { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--edge-2); }
.btn.ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(127, 220, 255, 0.55); }
.btn.small { padding: 12px 20px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.text-link { color: var(--ice); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 500; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- sections ---------- */

.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: calc(var(--section) * 0.6); }
.ruled::before {
  /* a hairline of light that fades at both ends */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(92%, 1200px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-2) 20%, var(--edge-2) 80%, transparent);
}
.on-paper { background: linear-gradient(180deg, #0a1026 0%, #060916 100%); border-block: 1px solid var(--edge); }
.on-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(176, 108, 255, 0.1), transparent 70%); }
.on-paper > .wrap { position: relative; z-index: 1; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 800px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 9px; width: max-content; max-width: 100%;
  font-size: 0.86rem; font-weight: 500; color: var(--soft);
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(127, 220, 255, 0.16); flex: none; }

/* ---------- hero ---------- */

.hero { position: relative; margin-top: -82px; padding-top: clamp(112px, 9.5vw, 138px); padding-bottom: clamp(56px, 6vw, 84px); overflow: hidden; background: var(--void); }
.hero::before {
  /* the glow behind the radar and a cooler one behind the words */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 62% at 78% 46%, rgba(61, 123, 255, 0.26), transparent 70%),
    radial-gradient(30% 40% at 92% 20%, rgba(176, 108, 255, 0.2), transparent 70%),
    radial-gradient(40% 50% at 8% 8%, rgba(127, 220, 255, 0.09), transparent 70%);
}
.hero::after {
  /* the limb of a planet along the bottom edge */
  content: ""; position: absolute; left: 50%; bottom: -1560px; width: 2600px; height: 1640px; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--void) 97.5%, transparent 100%);
  box-shadow: 0 -1px 0 0 rgba(127, 220, 255, 0.55), 0 -22px 70px -6px rgba(61, 123, 255, 0.5), 0 -70px 160px -10px rgba(176, 108, 255, 0.28);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.hero h1 { margin-top: 22px; background: linear-gradient(180deg, #ffffff 30%, #b9d4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero .lead { margin-top: 20px; max-width: 50ch; }
.hero-art { position: relative; width: 100%; max-width: 548px; justify-self: end; }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin: 8px auto 0; max-width: 560px; width: 100%; }
}

.proof { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; font-size: 0.92rem; color: var(--muted); }
.proof li { display: flex; align-items: center; gap: 9px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* ---------- radar ---------- */

.radar { width: 100%; height: auto; overflow: visible; }
.rd-ring { fill: none; stroke: rgba(160, 190, 255, 0.2); stroke-width: 1; }
.rd-ringname { fill: #7785a8; font: 500 10.5px var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.rd-sweep { transform-origin: 320px 320px; animation: sweep 9s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.rd-link { stroke: rgba(160, 190, 255, 0.17); stroke-width: 1; }
.rd-hot { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 7; animation: flow 1.4s linear infinite; filter: drop-shadow(0 0 6px rgba(176, 108, 255, 0.9)); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.rd-node text { fill: var(--soft); font: 500 12px var(--body); paint-order: stroke; stroke: #070c1c; stroke-width: 4px; stroke-linejoin: round; }
.rd-asset circle { fill: var(--blue); stroke: #cfe0ff; stroke-width: 1.2; }
.rd-finding rect { fill: #ff8a4c; }
.rd-technique rect { fill: var(--mint); }
.rd-actor path { fill: var(--amber); }
.rd-node .rd-halo { fill: none; stroke: var(--ember); stroke-width: 1.6; animation: halo 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.35; } }
.rd-you circle { fill: rgba(61, 123, 255, 0.16); stroke: var(--ice); stroke-width: 1.4; }
.rd-you .dot { fill: #fff; stroke: none; filter: drop-shadow(0 0 10px var(--ice)); }
.rd-you text { fill: var(--text); font: 600 12.5px var(--body); }

.callout {
  position: absolute; z-index: 2; max-width: 250px; padding: 14px 16px; border-radius: 16px;
  background: rgba(10, 15, 34, 0.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--edge-2); box-shadow: 0 24px 60px -24px #000;
  font-size: 0.88rem; line-height: 1.45; color: var(--soft);
}
.callout b { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 0.84rem; }
.callout b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.callout.look b::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.callout { max-width: 218px; }
.callout.c1 { left: -9%; top: 3%; }
.callout.c2 { right: -5%; top: 7%; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 4px; font-size: 0.84rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; display: inline-block; }
.legend .k-asset { border-radius: 50%; background: var(--blue); }
.legend .k-finding { border-radius: 2px; background: #ff8a4c; }
.legend .k-technique { background: var(--mint); transform: rotate(45deg); }
.legend .k-actor { width: 0; height: 0; border: 5.5px solid transparent; border-bottom: 10px solid var(--amber); border-top: 0; }
@media (max-width: 1100px) { .callout.c1 { left: 0; top: 0; } .callout.c2 { right: 0; top: 4%; } }
@media (max-width: 560px) { .callout { position: static; max-width: none; margin-top: 10px; } .hero-art { display: flex; flex-direction: column; } .hero-art .radar { order: -1; padding-inline: 0; } .legend { order: 3; margin: 16px 0 26px; } }

/* ---------- the problem ---------- */

.contrast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contrast > div { padding: 26px 26px 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--edge); }
.contrast .big { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; color: var(--faint); margin-bottom: 14px; }
.contrast p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.contrast .answer { background: linear-gradient(160deg, rgba(61, 123, 255, 0.22), rgba(176, 108, 255, 0.1) 60%, rgba(255, 255, 255, 0.02)); border-color: rgba(127, 220, 255, 0.4); }
.contrast .answer .big { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contrast .answer p { color: var(--soft); }
@media (max-width: 860px) { .contrast { grid-template-columns: 1fr; } }

/* ---------- cards, grids ---------- */

.panel, .card {
  position: relative; border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.panel h3, .card h3 { margin-bottom: 10px; }
.panel p:last-child, .card p:last-child { margin-bottom: 0; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.panel-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .panel-grid, .panel-grid.three { grid-template-columns: 1fr; } }

.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(140deg, rgba(127, 220, 255, 0.2), rgba(61, 123, 255, 0.08)); border: 1px solid rgba(127, 220, 255, 0.28); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ice); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.split.mid { align-items: center; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; } }

/* ---------- kill chain ---------- */

.kc-frame {
  border-radius: 26px; padding: clamp(14px, 2vw, 26px);
  background: linear-gradient(180deg, rgba(13, 19, 44, 0.9), rgba(7, 11, 25, 0.9));
  border: 1px solid var(--edge-2);
  box-shadow: 0 50px 120px -50px rgba(61, 123, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.kc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; padding: 4px 6px 0; }
.kc-count { margin: 0; font-size: 1.02rem; color: var(--soft); display: flex; align-items: center; gap: 14px; }
.kc-count b { font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #b06cff, #ff6b8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kc-frame.clear .kc-count b { background: linear-gradient(120deg, #7fdcff, #4fe3b0); -webkit-background-clip: text; background-clip: text; }
.kc-note { font-size: 0.84rem; color: var(--faint); }
.kc-scroll { overflow-x: auto; margin-inline: -4px; padding: 0 4px 4px; }
.kc { width: 100%; height: auto; }
.kc-h { min-width: 780px; }
.kc-v { display: none; max-width: 440px; margin-inline: auto; }
.kc-v .g-edge.live { stroke: url(#kc-live-v); }
.kc-v .kc-stage { font-size: 12.5px; }
.kc-v .kc-num { font: 500 11px var(--display); fill: var(--faint); }
.kc-v .kc-id { font-size: 13px; }
.kc-v .kc-name { font-size: 12px; }
@media (max-width: 900px) { .kc-h { display: none; } .kc-v { display: block; } }
.kc-col { fill: rgba(255, 255, 255, 0.022); stroke: rgba(160, 185, 255, 0.09); }
.kc-num { fill: var(--faint); font: 500 11px var(--display); }
.kc-stage { fill: var(--soft); font: 600 12px var(--body); }
.kc-id { fill: var(--text); font: 600 12px var(--body); letter-spacing: 0.02em; }
.kc-name { fill: var(--muted); font: 400 10.8px var(--body); }

.g-edge { fill: none; stroke: #2a3454; stroke-width: 2; }
.g-edge.live { stroke: url(#kc-live); stroke-width: 2.6; stroke-dasharray: 6 7; animation: flow 1.2s linear infinite; filter: drop-shadow(0 0 5px rgba(176, 108, 255, 0.7)); }
.g-edge.cut { stroke: #1e2740; stroke-dasharray: 2 6; }
.g-cut { opacity: 0; transition: opacity 0.2s; }
.g-cut.on { opacity: 1; }
.g-cut circle { fill: #06281f; stroke: var(--mint); stroke-width: 1.6; }
.g-cut path { stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.g-node circle { fill: #0a1022; stroke: #4a577d; stroke-width: 2; transition: stroke 0.2s; }
.g-node.live circle { stroke: #c9a0ff; fill: #1a1238; filter: drop-shadow(0 0 6px rgba(176, 108, 255, 0.8)); }
.g-node.safe circle { stroke: var(--mint); }
.g-node.safe .kc-id { fill: var(--muted); }

.controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 1100px) { .controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .controls { grid-template-columns: 1fr; } }
.control {
  text-align: left; cursor: pointer; font: 500 0.93rem/1.3 var(--body); color: var(--text);
  background: var(--glass); border: 1px solid var(--edge-2); border-radius: 14px; padding: 13px 14px;
  display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; transition: background 0.15s, border-color 0.15s;
}
.control:hover { background: var(--glass-2); }
.control .box { width: 20px; height: 20px; border: 1.5px solid #6b7aa3; border-radius: 6px; display: grid; place-items: center; }
.control .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #04101a; border-bottom: 2px solid #04101a; transform: rotate(-45deg) translateY(-1px); opacity: 0; }
.control[aria-pressed="true"] { border-color: rgba(79, 227, 176, 0.55); background: rgba(79, 227, 176, 0.08); }
.control[aria-pressed="true"] .box { background: var(--mint); border-color: var(--mint); }
.control[aria-pressed="true"] .box::after { opacity: 1; }
.control small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 400; margin-top: 3px; }
.control.best { border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice), 0 14px 40px -18px var(--ice); }
.control.best small { color: var(--ice); }
.kc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; min-height: 34px; padding: 0 6px; }
.demo-msg { font-size: 0.96rem; color: var(--soft); }
.demo-reset { background: none; border: 0; color: var(--muted); font: 500 0.9rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 12px 8px; }
.demo-reset[hidden] { display: none; }
.demo-reset:hover { color: var(--text); }

/* ---------- the decision ---------- */

.plan { display: grid; gap: 14px; }
.meter { display: grid; gap: 8px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.93rem; color: var(--soft); }
.meter-row b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--text); }
.bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: rgba(160, 185, 255, 0.5); }
.bar .w-46 { width: 46%; }
.bar .w-64 { width: 64%; }
.bar.next i { background: var(--cool); box-shadow: 0 0 18px rgba(61, 123, 255, 0.8); }
.plan-list { margin-top: 10px; border-top: 1px solid var(--edge); }
.plan-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--edge); font-size: 0.97rem; }
.plan-list .n { font-family: var(--display); font-size: 0.8rem; color: var(--faint); }
.plan-list .gain { font-size: 0.84rem; color: var(--mint); white-space: nowrap; }
.caption { font-size: 0.82rem; color: var(--faint); margin: 14px 0 0; }

/* ---------- steps (a real sequence, so numbered) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 26px 24px 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--edge); }
.step::before { content: "0" counter(step); display: block; font-family: var(--display); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps.stack { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.steps.stack .step { display: grid; grid-template-columns: 62px 1fr; align-items: center; padding: 16px 22px; }
.steps.stack .step::before { margin: 0; }
.steps.stack .step h3 { margin: 0; }

/* ---------- product viewer ---------- */

.viewer { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.viewer-tabs { display: grid; gap: 4px; }
.viewer-tab { text-align: left; background: none; border: 1px solid transparent; border-radius: 16px; cursor: pointer; padding: 14px 18px; color: var(--muted); font: inherit; transition: background 0.15s, color 0.15s; }
.viewer-tab strong { display: block; font-weight: 600; font-size: 1.06rem; color: inherit; }
.viewer-tab span { display: none; font-size: 0.92rem; line-height: 1.5; margin-top: 6px; color: var(--muted); }
.viewer-tab:hover { color: var(--text); background: var(--glass); }
.viewer-tab[aria-selected="true"] { color: var(--text); background: var(--glass-2); border-color: var(--edge-2); }
.viewer-tab[aria-selected="true"] span { display: block; }
.shot {
  margin: 0; border-radius: 18px; overflow: hidden; background: #050a15; position: relative;
  border: 1px solid var(--edge-2);
  box-shadow: 0 60px 130px -50px rgba(61, 123, 255, 0.6), 0 0 0 7px rgba(160, 185, 255, 0.045);
}
.shot::before {
  /* window bar */
  content: ""; display: block; height: 34px; border-bottom: 1px solid var(--edge);
  background:
    radial-gradient(circle at 20px 50%, #55607f 5px, transparent 5.6px),
    radial-gradient(circle at 38px 50%, #55607f 5px, transparent 5.6px),
    radial-gradient(circle at 56px 50%, #55607f 5px, transparent 5.6px),
    #0a1022;
}
.shot img { width: 100%; }
.shot figcaption { font-size: 0.82rem; color: var(--faint); padding: 10px 16px; border-top: 1px solid var(--edge); }
@media (max-width: 860px) {
  .viewer { grid-template-columns: 1fr; }
  .viewer-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .viewer-tab { padding: 12px 18px; border-radius: 999px; border-color: var(--edge); }
  .viewer-tab span, .viewer-tab[aria-selected="true"] span { display: none; }
  .viewer-tab strong { font-size: 0.95rem; }
}

/* ---------- platform: three parts ---------- */

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio > div { position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--r); background: var(--glass); border: 1px solid var(--edge); overflow: hidden; }
.trio .verb { font-size: 0.9rem; font-weight: 500; color: var(--ice); margin-bottom: 8px; }
.trio h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; margin-bottom: 14px; }
.trio p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.trio .lead-part { background: linear-gradient(160deg, rgba(61, 123, 255, 0.28), rgba(176, 108, 255, 0.12) 55%, rgba(255, 255, 255, 0.02)); border-color: rgba(127, 220, 255, 0.4); }
.trio .lead-part p { color: var(--soft); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- who it is for ---------- */

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience .card { display: flex; flex-direction: column; }
.audience .who { font-size: 0.9rem; color: var(--ice); font-weight: 500; margin-bottom: 10px; }
.audience h3 { font-size: 1.28rem; margin-bottom: 12px; }
.audience p { color: var(--muted); font-size: 0.98rem; }
.audience .text-link { margin-top: auto; padding-top: 14px; width: max-content; }
@media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }

/* ---------- rows, ticks ---------- */

.rows { border-top: 1px solid var(--edge-2); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--edge); }
.row p { margin: 0; color: var(--muted); }
.row p + p { margin-top: 0.8em; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; gap: 8px; } }

.ticks { display: grid; gap: 10px; margin-top: 14px; }
.ticks li { padding-left: 28px; position: relative; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.52em; width: 11px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.ticks.cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 560px) { .ticks.cols { grid-template-columns: 1fr; } }

.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(255, 178, 74, 0.13); color: var(--amber); margin-left: 8px; vertical-align: middle; }

/* ---------- papers ---------- */

.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.paper { display: block; text-decoration: none; border-radius: var(--r); padding: 26px 28px; background: var(--glass); border: 1px solid var(--edge); transition: border-color 0.15s, transform 0.15s; }
.paper:hover { border-color: var(--ice); transform: translateY(-2px); }
.paper .id { font-size: 0.86rem; color: var(--ice); font-weight: 500; font-variant-numeric: tabular-nums; }
.paper h3 { margin: 10px 0 10px; font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.03em; }
.paper p { margin: 0; color: var(--muted); font-size: 0.96rem; }
@media (max-width: 760px) { .papers { grid-template-columns: 1fr; } }

/* ---------- logos ---------- */

.logo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.logo-row li { background: #f4f7fd; border-radius: 16px; padding: 14px 22px; display: grid; place-items: center; min-width: 150px; height: 92px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 20px 40px -24px #000; }
.logo-row img { max-height: 60px; max-width: min(170px, 100%); width: auto; object-fit: contain; }

/* ---------- values ---------- */

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.values > div { padding: 24px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--edge); }
.values .letter { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; width: max-content; }
.values h3 { margin: 16px 0 8px; font-size: 1.12rem; }
.values p { color: var(--muted); font-size: 0.94rem; margin: 0; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- people ---------- */

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person .role { color: var(--ice); font-weight: 500; font-size: 0.94rem; margin: 4px 0 12px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

/* ---------- page head (inner pages) ---------- */

.page-head { position: relative; background: var(--void); margin-top: -82px; padding-top: clamp(150px, 15vw, 210px); padding-bottom: clamp(48px, 6vw, 84px); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 70% at 88% 30%, rgba(61, 123, 255, 0.24), transparent 70%), radial-gradient(30% 50% at 70% 0%, rgba(176, 108, 255, 0.16), transparent 70%);
}
.page-head::after {
  /* orbits */
  content: ""; position: absolute; right: -220px; top: -180px; width: 760px; height: 760px; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(closest-side, transparent 39.6%, rgba(160, 190, 255, 0.22) 40%, transparent 40.4%),
    radial-gradient(closest-side, transparent 59.6%, rgba(160, 190, 255, 0.17) 60%, transparent 60.4%),
    radial-gradient(closest-side, transparent 79.6%, rgba(160, 190, 255, 0.12) 80%, transparent 80.4%),
    radial-gradient(closest-side, transparent 99.2%, rgba(160, 190, 255, 0.08) 99.6%, transparent 100%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); max-width: 20ch; background: linear-gradient(180deg, #ffffff 30%, #b9d4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.page-head .lead { margin-top: 22px; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.subnav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--edge-2); color: var(--soft); background: var(--glass); }
.subnav a:hover { color: var(--text); border-color: var(--ice); }

/* ---------- call band ---------- */

.band { padding-block: clamp(20px, 3vw, 40px); }
.band .wrap {
  position: relative; overflow: hidden; border-radius: 30px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(176, 108, 255, 0.5), transparent 60%),
    radial-gradient(60% 140% at 0% 100%, rgba(127, 220, 255, 0.3), transparent 60%),
    linear-gradient(120deg, #12265e, #101a44);
  border: 1px solid rgba(160, 190, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.band h2 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
.band p { color: #d5def5; margin: 14px 0 0; max-width: 58ch; }
.band .btn { background: #fff; box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.6); }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: clamp(20px, 3vw, 34px); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); border: 1px solid var(--edge-2); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; color: var(--soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: rgba(4, 6, 14, 0.6); border: 1px solid var(--edge-2); border-radius: 12px; padding: 12px 14px; }
.field select option { background: #0b1124; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ice); outline-offset: 0; border-color: var(--ice); }
.field .hint { font-size: 0.82rem; color: var(--faint); margin: 5px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; min-height: 1.5em; margin: 0; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ff9db1; }

.contact-list { display: grid; gap: 24px; margin: 0; }
.contact-list dt { font-size: 0.88rem; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.12rem; letter-spacing: -0.03em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--ice); }

/* ---------- footer ---------- */

.site-foot { margin-top: clamp(40px, 6vw, 80px); padding-block: 60px 36px; font-size: 0.95rem; position: relative; background: linear-gradient(180deg, transparent, #070b19); }
.site-foot::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(92%, 1200px); height: 1px; background: linear-gradient(90deg, transparent, var(--edge-2) 20%, var(--edge-2) 80%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-grid img { height: 58px; width: auto; margin-bottom: 16px; }
.foot-grid h4 { color: var(--faint); font-weight: 600; font-size: 0.86rem; margin-bottom: 14px; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { text-decoration: none; color: var(--soft); }
.foot-grid a:hover { color: var(--ice); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--edge); color: var(--faint); font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-base a { color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--ice); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- small helpers (no inline styles anywhere: the security policy forbids them) ---------- */

.mt-s { margin-top: 18px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 36px; }
.mt-xl { margin-top: clamp(36px, 6vw, 72px); }
.big { font-size: 1.08rem; }
.v-centre { display: flex; flex-direction: column; justify-content: center; }
.page-head.tall { min-height: 70vh; }

/* ---------- tablets and phones ---------- */

/* tablet, upright and on its side: 600 to 1020 */
@media (min-width: 561px) and (max-width: 1100px) {
  .hero-art { max-width: 620px; padding-top: 96px; }
  .callout.c1 { left: 0; top: 0; }
  .callout.c2 { right: 0; top: 0; }
  .hero h1 { max-width: 16ch; }
  .panel-grid.three, .audience, .contrast, .trio { grid-template-columns: 1fr 1fr; }
  .audience .card:last-child, .contrast .answer, .trio .lead-part { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .foot-grid li { margin-bottom: 2px; }
  .foot-grid a { display: inline-block; padding: 9px 0; }
  .foot-base a { display: inline-block; padding: 8px 0; }
  .section-head { margin-bottom: 32px; }
  .logo-row { justify-content: flex-start; }
}

/* phones */
@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; --r: 18px; }
  h1 { font-size: clamp(1.72rem, 8vw, 2.1rem); letter-spacing: -0.04em; }
  h2 { font-size: clamp(1.36rem, 6.2vw, 1.6rem); }
  .page-head h1 { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .site-head { padding-top: 10px; }
  .hero { padding-top: 108px; }
  .page-head { padding-top: 128px; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
  .chip { font-size: 0.8rem; white-space: normal; width: auto; }
  .proof { gap: 6px 22px; }
  .kc-frame { border-radius: 20px; padding: 14px 12px; }
  .kc-count b { font-size: 2.1rem; }
  .kc-count { font-size: 0.95rem; }
  .kc-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .band .wrap { border-radius: 22px; padding: 28px 22px; }
  .band .btn { width: 100%; text-align: center; }
  .form { padding: 18px 16px; border-radius: 20px; }
  .field input, .field select, .field textarea { font-size: 16px; }  /* stops iOS zooming on focus */
  .logo-row li { min-width: 0; flex: 1 1 42%; height: 80px; padding: 12px 14px; }
  .plan-list li { grid-template-columns: 26px 1fr; }
  .plan-list .gain { grid-column: 2; }
  .steps.stack .step { grid-template-columns: 54px 1fr; padding: 14px 18px; }
  .foot-base { flex-direction: column; }
  .contact-list dd { font-size: 1rem; word-break: break-word; }
}

/* the radar on a phone: fewer, larger labels */
@media (max-width: 560px) {
  .rd-actor text, .rd-finding:not(.rd-act) text { display: none; }
  .rd-node text { font-size: 18px; }
  .rd-you text { font-size: 18px; }
  .rd-ringname { font-size: 14px; }
  .rd-hot { stroke-width: 3.2; }
}

/* very narrow phones */
@media (max-width: 380px) {
  .brand img { height: 38px; }
  .nav-toggle { padding: 9px 13px; }
}

/* touch screens: nothing depends on hover, and targets are finger-sized */
@media (hover: none) {
  .btn:hover { transform: none; }
  .paper:hover { transform: none; }
  .text-link { display: inline-block; padding-block: 6px; }
}

/* a phone held sideways */
@media (max-height: 480px) and (orientation: landscape) {
  .site-head { position: absolute; left: 0; right: 0; }
  .hero { padding-top: 104px; }
}

@media print {
  .site-head, .band, .hero-art, .kc-frame, .viewer-tabs, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, .hero h1, .page-head h1 { color: #000; -webkit-text-fill-color: #000; background: none; }
  .lead, .muted, p { color: #222 !important; }
}
