/* Firmline CRA: landing page. Self-hosted font, no third-party requests.
   Motion is progressive enhancement: hidden "before" states apply only under html.motion,
   which site.js adds when the visitor has not asked for reduced motion. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0a1a33;
  --ink-2: #3d4b63;
  --ink-3: #6b7891;
  --line: #e3e8ef;
  --line-2: #eef1f5;

  --brand: #2b59e8;
  --brand-600: #1f47cc;
  --brand-50: #eef3ff;
  --brand-100: #dce6ff;

  --red: #d93a40;
  --red-50: #fdeeee;
  --amber: #e5a12a;
  --amber-ink: #985a00;
  --amber-50: #fff3dc;
  --green: #178a4c;
  --green-50: #e6f5ec;

  --radius: 14px;
  --shadow-card: 0 0 0 1px rgba(10, 26, 51, 0.06), 0 1px 2px rgba(10, 26, 51, 0.05),
    0 12px 32px -12px rgba(10, 26, 51, 0.16);
  --shadow-window: 0 0 0 1px rgba(10, 26, 51, 0.07), 0 2px 4px rgba(10, 26, 51, 0.04),
    0 32px 64px -24px rgba(16, 38, 92, 0.28);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  overflow-x: clip; /* 3D and tilted elements never widen the page; clip keeps position: sticky working */
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
p {
  margin: 0;
}
a {
  color: var(--brand-600);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  background: var(--bg);
  padding: 8px 12px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  font: 550 0.9375rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 26, 51, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-primary:hover {
  background: var(--brand-600);
}
.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 26, 51, 0.05);
}
.btn-secondary:hover {
  background: var(--bg-soft);
}
.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 0.875rem;
}

/* navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav-row {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand b {
  font-weight: 500;
  color: var(--ink-3);
}
.brand-mark {
  width: 28px;
  height: 28px;
}
.brand-mark rect {
  fill: var(--brand);
}
.brand-mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9375rem;
}
.nav-links a:hover {
  color: var(--ink);
}

/* hero */

.hero {
  padding: 56px 0 72px;
  background: radial-gradient(900px 520px at 88% -8%, #e7edff 0%, rgba(231, 237, 255, 0) 62%),
    radial-gradient(700px 420px at -8% 0%, #f2f5ff 0%, rgba(242, 245, 255, 0) 60%);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero-sub {
  margin-top: 20px;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.1875rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* product window (hero) */

.window {
  background: var(--bg);
  border-radius: 14px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line-2);
}
.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dde3ec;
}
.app {
  display: grid;
  grid-template-columns: 128px 1fr;
}
.app-side {
  padding: 14px 10px;
  background: #fbfcfe;
  border-right: 1px solid var(--line-2);
}
.side-item {
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink-2);
}
.side-item.active {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 600;
}
.app-main {
  padding: 18px 20px 20px;
  min-width: 0;
}
.crumbs {
  color: var(--ink-3);
  font-size: 0.75rem;
}
.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.case-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 0.75rem;
}
.clocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.clock {
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.clock-label {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
}
.clock-time {
  margin: 3px 0 9px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.clock-sub {
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 0.6875rem;
}
.meter {
  height: 4px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}
.clock-urgent {
  background: #fff8f8;
  box-shadow: inset 0 0 0 1px #f5c9cb;
}
.clock-urgent .clock-time {
  color: var(--red);
}
.clock-urgent .meter i {
  background: var(--red);
}
.clock-idle .clock-time {
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.45rem;
}
.rows {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid var(--line-2);
  font-size: 0.78rem;
}
.row-head {
  border-top: 0;
  background: #fafbfd;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 500;
}
.case-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.fake-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 550;
  white-space: nowrap;
}
.fake-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

/* status pills (inside product mock-ups) */

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.pill-red {
  background: var(--red-50);
  color: #b1262c;
}
.pill-amber {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.pill-green {
  background: var(--green-50);
  color: #12683a;
}

/* reveal on scroll */

.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.motion [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* deadline band: a line sweeps through the milestones */

.band {
  padding: 64px 0 56px;
  background: var(--bg-soft);
  border-block: 1px solid var(--line-2);
}
.band-title {
  max-width: 34rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.track-wrap {
  --dur: 3.4s;
  --dir: 90deg;
  position: relative;
  margin: 36px 0 24px;
}
.track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.track-line {
  position: absolute;
  top: 5px;
  left: 6px;
  right: 0;
  height: 2px;
  overflow: hidden;
  /* solid until the 72-hour milestone, dashed after it: the final report waits for a fix */
  -webkit-mask-image: linear-gradient(var(--dir), #000 0 var(--f72, 51.5%), transparent var(--f72, 51.5%)),
    repeating-linear-gradient(var(--dir), #000 0 6px, transparent 6px 11px);
  mask-image: linear-gradient(var(--dir), #000 0 var(--f72, 51.5%), transparent var(--f72, 51.5%)),
    repeating-linear-gradient(var(--dir), #000 0 6px, transparent 6px 11px);
}
.track-base,
.track-fill {
  position: absolute;
  inset: 0;
}
.track-base {
  background: #d3dbe7;
}
.track-fill {
  overflow: hidden;
}
.track-fill > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--dir), var(--brand) 0, var(--red) var(--f24, 25.7%),
    var(--amber) var(--f72, 51.5%), var(--brand) 100%);
}
.track-tip {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2.5px var(--brand), 0 0 18px 5px rgba(43, 89, 232, 0.45);
  opacity: 0;
  pointer-events: none;
}
.track li {
  position: relative;
  padding-top: 32px;
}
.track li::before,
.track-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.track li::before {
  content: "";
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 2px #c5cfde, 0 0 0 4px var(--bg-soft);
}
.track-dot {
  background: var(--c);
  box-shadow: 0 0 0 4px var(--bg-soft);
}
.track-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid var(--c);
  opacity: 0;
}
.m-aware {
  --c: var(--brand);
}
.m-24 {
  --c: var(--red);
}
.m-72 {
  --c: var(--amber);
}
.m-final {
  --c: var(--brand);
}
.track-time {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.track-what {
  display: block;
  max-width: 17rem;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.band-note {
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.motion .track-fill {
  transform: translate3d(-100%, 0, 0);
}
/* the inner layer moves the other way, so the colours stay pinned to their milestones */
.motion .track-fill > span {
  transform: translate3d(100%, 0, 0);
}
.motion .track-dot {
  transform: scale(0);
}
.motion .track-time,
.motion .track-what {
  opacity: 0.3;
  transform: translate3d(0, 6px, 0);
}
.motion .play .track-fill,
.motion .play .track-fill > span {
  transform: none;
  transition: transform var(--dur) linear;
}
.motion .play .track-tip {
  animation: tip-x var(--dur) linear 1 forwards;
}
.motion .play .track-dot {
  transform: none;
  transition: transform 0.55s var(--ease-pop) var(--d, 0s);
}
.motion .play .track-dot::after {
  animation: ping 1.3s var(--ease) var(--d, 0s) 1 forwards;
}
.motion .play .track-time,
.motion .play .track-what {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s);
}
@keyframes tip-x {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  4%,
  90% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(var(--len, 0) * 1px), 0, 0);
    opacity: 0;
  }
}
@keyframes tip-y {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  4%,
  90% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, calc(var(--len, 0) * 1px), 0);
    opacity: 0;
  }
}
@keyframes ping {
  0% {
    opacity: 0.7;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

/* sections */

.section {
  padding: 96px 0;
}
.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line-2);
}
.section h2,
.stack-section h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 64px;
}
.section-head p:not(.badge),
.lede {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.125rem;
}

/* exploded view of the record (CSS 3D, scroll-linked) */

.stack-section {
  background: linear-gradient(180deg, #fff 0%, #fbfcff 70%, #fff 100%);
}
.stack-sticky {
  padding: 96px 0 24px;
}
.stack-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.layers {
  display: grid;
  gap: 4px;
  max-width: 30rem;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: layer;
}
.layers li {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 14px;
  padding: 11px 14px;
  counter-increment: layer;
  transition: opacity 0.45s var(--ease);
}
.layers li::before {
  content: counter(layer);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 0.8125rem;
  font-weight: 650;
}
.layers li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.layers b {
  font-weight: 600;
}
.layers span {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.js-stack .layers li {
  opacity: 0.42;
}
.js-stack .layers li.is-done {
  opacity: 1;
}
.js-stack .layers li.is-current::after {
  opacity: 1;
}
.js-stack .layers li.is-current::before {
  background: var(--brand);
  color: #fff;
}

.stack-stage {
  /* plate geometry in px (unitless so calc() can mix it), and the exploded z positions */
  --w: 320;
  --h: 216;
  --t: 12;
  --gc: 6;
  --gx: 72;
  --s: 1.12;
  --ox: -84px;
  --z0: 0;
  --z1: 90;
  --z2: 180;
  --z3: 270;
  --zmax: 270;
  position: relative;
  height: 620px;
  overflow: clip;
}
.iso,
.iso-lines,
.iso-labels {
  position: absolute;
  left: calc(50% + var(--ox));
  top: 50%;
  width: 0;
  height: 0;
}
.iso {
  transform-style: preserve-3d;
  transform: scale(var(--s)) translate3d(0, calc(var(--z3) * 0.433px), 0) rotateX(60deg) rotateZ(-45deg);
}
.iso-lines,
.iso-labels {
  transform: scale(var(--s)) translate3d(0, calc(var(--z3) * 0.433px), 0);
}
.floor {
  position: absolute;
  left: calc(var(--w) * -1.05px);
  top: calc(var(--h) * -1.2px);
  width: calc(var(--w) * 2.1px);
  height: calc(var(--h) * 2.4px);
  transform: translateZ(-28px);
  background: radial-gradient(circle, #c4d0e6 1.1px, transparent 1.7px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent);
  mask-image: radial-gradient(closest-side, #000 25%, transparent);
}
.floor::after {
  content: "";
  position: absolute;
  left: calc(var(--w) * 0.55px + 18px);
  top: calc(var(--h) * 0.7px + 18px);
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  border-radius: 16px;
  background: rgba(16, 38, 92, 0.2);
  filter: blur(22px);
}
.plate {
  --fa: #cfd9e9;
  --fb: #e3e9f3;
  position: absolute;
  left: calc(var(--w) * -0.5px);
  top: calc(var(--h) * -0.5px);
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  border-radius: 7px;
  background: #fff;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, calc(var(--z) * 1px));
}
.plate[data-layer="0"] {
  --z: var(--z0);
}
.plate[data-layer="1"] {
  --z: var(--z1);
}
.plate[data-layer="2"] {
  --z: var(--z2);
}
.plate[data-layer="3"] {
  --z: var(--z3);
}
/* the slab's two visible edges */
.plate::before,
.plate::after {
  content: "";
  position: absolute;
}
.plate::before {
  left: 4px;
  right: 4px;
  top: 100%;
  height: calc(var(--t) * 1px);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  background: var(--fa);
}
.plate::after {
  top: 4px;
  bottom: 4px;
  right: 100%;
  width: calc(var(--t) * 1px);
  transform-origin: 100% 50%;
  transform: rotateY(-90deg);
  background: var(--fb);
}
.plate-in {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 26, 51, 0.09);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
}
.plate-ring {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid var(--brand);
  box-shadow: 0 0 30px rgba(43, 89, 232, 0.35);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.plate.is-current .plate-ring {
  opacity: 1;
}
.p-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.p-head b {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.p-head span {
  color: var(--ink-3);
  font-size: 10px;
}
.p-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px;
  border-top: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10.5px;
}
.d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.d-red {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-50);
}
.d-amber {
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-50);
}
.d-green {
  background: #2fae6a;
  box-shadow: 0 0 0 3px var(--green-50);
}
.p-seg {
  display: flex;
  padding: 3px;
  border-radius: 8px;
  background: #f1f4f8;
}
.p-seg span {
  flex: 1;
  padding: 6px 2px;
  border-radius: 6px;
  color: var(--ink-3);
  font-size: 10px;
  text-align: center;
}
.p-seg .on {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(10, 26, 51, 0.12);
}
.p-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.p-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #e8edf5;
}
.p-lines i:nth-child(1) {
  width: 94%;
}
.p-lines i:nth-child(2) {
  width: 80%;
}
.p-lines i:nth-child(3) {
  width: 56%;
}
.p-tag {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-50);
  color: #12683a;
  font-size: 10px;
  font-weight: 700;
}
.p-clocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.p-clock {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 6px 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.p-clock .ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--v) * 1turn), #e8edf5 0);
  -webkit-mask-image: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  mask-image: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
}
.p-clock b {
  font-size: 13px;
  font-weight: 650;
}
.c-red {
  --c: var(--red);
  --v: 0.78;
  background: #fff8f8;
}
.c-amber {
  --c: var(--amber);
  --v: 0.3;
}
.c-blue {
  --c: var(--brand);
  --v: 0.06;
}
.plate-report {
  --fa: #1b3aa6;
  --fb: #2448c4;
  background: linear-gradient(135deg, #4672ff 0%, #2b59e8 45%, #1f47cc 100%);
}
.plate-report .plate-in {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.plate-report .p-head span {
  color: rgba(255, 255, 255, 0.75);
}
.plate-report .plate-ring {
  border-color: #9db8ff;
}
.p-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.p-check i {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}
.p-check i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2.5px;
  width: 3.5px;
  height: 7px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.p-check span {
  height: 7px;
  width: 70%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.38);
}
.p-check:nth-child(3) span {
  width: 52%;
}
.p-check:nth-child(4) span {
  width: 62%;
}
.p-foot {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 650;
}

/* exploded-view guide lines: hidden behind the plates, visible in the gaps */
.iso-lines i {
  position: absolute;
  height: calc(var(--zmax) * 0.866px);
  border-left: 1.5px dashed #a8b9da;
  transform-origin: 50% 100%;
  transform: scaleY(calc(var(--z3) / var(--zmax)));
}
.gl-l {
  left: calc((var(--w) + var(--h)) * -0.3536px);
  top: calc((var(--w) - var(--h)) * 0.1768px - var(--zmax) * 0.866px);
}
.gl-r {
  left: calc((var(--w) + var(--h)) * 0.3536px);
  top: calc((var(--h) - var(--w)) * 0.1768px - var(--zmax) * 0.866px);
}
.gl-b {
  left: calc((var(--h) - var(--w)) * 0.3536px);
  top: calc((var(--w) + var(--h)) * 0.1768px - var(--zmax) * 0.866px);
}

/* labels follow each plate's right-hand corner */
.iso-label {
  position: absolute;
  left: calc((var(--w) + var(--h)) * 0.3536px + 14px);
  top: calc((var(--h) - var(--w)) * 0.1768px);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transform: translate3d(0, calc(var(--z) * -0.866px - 50%), 0);
  transition: opacity 0.45s var(--ease);
}
.iso-label::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 11px;
  border-top: 1.5px solid #a8b9da;
}
.iso-label i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--brand);
  color: var(--brand-600);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}
.iso-label b {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(10, 26, 51, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
}
.iso-label[data-layer="0"] {
  --z: var(--z0);
}
.iso-label[data-layer="1"] {
  --z: var(--z1);
}
.iso-label[data-layer="2"] {
  --z: var(--z2);
}
.iso-label[data-layer="3"] {
  --z: var(--z3);
}
.js-stack .iso-label {
  opacity: 0;
}
.js-stack .iso-label.is-done {
  opacity: 1;
}

/* feature rows */

.features {
  padding-top: 48px;
}
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}
.feature + .feature {
  margin-top: 96px;
}
.feature-copy h3 {
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.feature-copy p {
  max-width: 30rem;
  margin-top: 12px;
  color: var(--ink-2);
}
.feature-visual {
  min-width: 0;
}
.tilt {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.motion .feature-visual[data-reveal] {
  transform: perspective(1400px) rotateY(-16deg) rotateX(9deg) translate3d(0, 64px, 0) scale(0.94);
  transform-origin: 50% 70%;
  transition-duration: 1.2s;
}
.motion .feature-flip .feature-visual[data-reveal] {
  transform: perspective(1400px) rotateY(16deg) rotateX(9deg) translate3d(0, 64px, 0) scale(0.94);
}
.motion .feature-visual[data-reveal].in {
  transform: none;
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  line-height: 1.45;
  min-width: 0;
}
.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
}

.code-card {
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: #fafbfd;
  border-bottom: 1px solid var(--line-2);
  overflow-x: auto;
}
.tabs button {
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-3);
  font: 500 0.8125rem/1.2 var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 26, 51, 0.05);
}
.code {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: #24324a;
  font: 0.8125rem/1.7 var(--mono);
}
.code .c {
  color: var(--ink-3);
}
.code .k {
  color: var(--brand-600);
}

/* "before / after" text pairs used by the card animations */
.swap {
  display: inline-grid;
  text-align: right;
}
.swap > * {
  grid-area: 1 / 1;
}
.swap-a {
  opacity: 0;
}
.field-box.swap {
  display: grid;
  text-align: left;
}

.list-head,
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}
.list-head span {
  color: var(--ink-3);
}
.list-body {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.list-row {
  border-top: 1px solid var(--line-2);
}
.scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 25%;
  background: linear-gradient(180deg, rgba(43, 89, 232, 0) 0%, rgba(43, 89, 232, 0.1) 85%, rgba(43, 89, 232, 0.16) 100%);
  border-bottom: 1.5px solid rgba(43, 89, 232, 0.55);
  opacity: 0;
  pointer-events: none;
}

/* SBOM card: rows stream in, a scan line passes, badges pop */
.motion [data-play="sbom"] .swap-a {
  opacity: 1;
}
.motion [data-play="sbom"] .swap-b {
  opacity: 0;
}
.motion [data-play="sbom"] .list-row {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
}
.motion [data-play="sbom"] .list-row .pill {
  opacity: 0;
  transform: scale(0.4);
}
.list-body > :nth-child(2) {
  --i: 0;
}
.list-body > :nth-child(3) {
  --i: 1;
}
.list-body > :nth-child(4) {
  --i: 2;
}
.list-body > :nth-child(5) {
  --i: 3;
}
.motion [data-play="sbom"].go .list-row {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 0.11s);
}
.motion [data-play="sbom"].go .scan {
  animation: scan 1.7s cubic-bezier(0.35, 0, 0.65, 1) 0.55s 1 both;
}
.motion [data-play="sbom"].go .list-row .pill {
  opacity: 1;
  transform: none;
  transition: transform 0.5s var(--ease-pop), opacity 0.2s linear;
  transition-delay: calc(0.55s + 1.7s * (var(--i) + 1.6) / 5);
}
.motion [data-play="sbom"].go .pill-red::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1.5px solid rgba(217, 58, 64, 0.55);
  opacity: 0;
  animation: ring 1.4s var(--ease) 1.9s 2;
}
.motion [data-play="sbom"].go .swap-a {
  opacity: 0;
  transition: opacity 0.35s linear 2.3s;
}
.motion [data-play="sbom"].go .swap-b {
  opacity: 1;
  transition: opacity 0.35s linear 2.4s;
}
@keyframes scan {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 400%, 0);
  }
}
@keyframes ring {
  0% {
    opacity: 0.9;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.decision-card {
  padding: 18px;
}
.decision-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-3);
  font-size: 0.75rem;
}
.segmented {
  position: relative;
  display: flex;
  margin: 14px 0 4px;
  padding: 3px;
  border-radius: 9px;
  background: #f1f4f8;
}
.seg-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 4);
  border-radius: 7px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(10, 26, 51, 0.1), 0 0 0 1px rgba(10, 26, 51, 0.04);
  transform: translate3d(100%, 0, 0);
}
.segmented span {
  position: relative;
  flex: 1;
  padding: 6px 4px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}
.segmented .on {
  color: var(--ink);
  font-weight: 600;
}
.field {
  margin-top: 10px;
}
.field-label {
  margin-bottom: 4px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
}
.field-box {
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.decision-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.75rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 0.625rem;
  font-weight: 700;
}
.export {
  margin-left: auto;
  color: var(--green);
  font-weight: 600;
}

/* VEX card: Investigating -> Not affected, then the reasoning types in */
.motion [data-play="vex"] .seg-thumb {
  transform: translate3d(300%, 0, 0);
}
.motion [data-play="vex"].st-1 .seg-thumb {
  transform: translate3d(100%, 0, 0);
  transition: transform 0.65s var(--ease);
}
.motion [data-play="vex"] .swap-a {
  opacity: 1;
  color: var(--ink-3);
}
.motion [data-play="vex"] .swap-b {
  opacity: 0;
}
.motion [data-play="vex"].st-2 .swap-a {
  opacity: 0;
  transition: opacity 0.25s linear;
}
.motion [data-play="vex"].st-2 .swap-b {
  opacity: 1;
  transition: opacity 0.35s linear 0.1s;
}
.motion [data-play="vex"] .export {
  opacity: 0;
  transform: translate3d(0, 4px, 0) scale(0.92);
}
.motion [data-play="vex"].st-3 .export {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s linear, transform 0.5s var(--ease-pop);
}
.ch {
  position: relative;
}
.motion [data-play="vex"] .ch {
  opacity: 0;
}
.motion [data-play="vex"] .ch.on {
  opacity: 1;
}
.ch.cur::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0.12em;
  bottom: 0;
  width: 1.5px;
  margin-left: 1px;
  background: var(--brand);
}
.ch.cur.end::after {
  animation: blink 0.9s steps(1) 3 forwards;
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
.w {
  white-space: nowrap;
}

.report-head,
.report-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
}
.report-head span {
  color: var(--ink-3);
  font-size: 0.75rem;
}
.report-row {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 16px 112px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 16px;
  border-top: 1px solid var(--line-2);
}
.report-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-50);
  opacity: 0;
}
.ok {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #cdd5e1;
}
.ok i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
}
.ok i::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.rl {
  color: var(--ink-3);
}
.rv {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chips i {
  margin-right: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f1f4f8;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
}
.copy {
  color: var(--brand-600);
  font-size: 0.75rem;
  font-weight: 600;
}
.report-foot {
  border-top: 1px solid var(--line-2);
  background: #fafbfd;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
}
.rf-count b {
  font-variant-numeric: tabular-nums;
}

/* report card: fields turn green one by one */
.motion [data-play="report"] .ok i {
  opacity: 0;
  transform: scale(0.2);
}
.motion [data-play="report"] .rv,
.motion [data-play="report"] .copy {
  opacity: 0.35;
}
.motion [data-play="report"] .report-row.on .ok i {
  opacity: 1;
  transform: none;
  transition: transform 0.5s var(--ease-pop), opacity 0.15s linear;
}
.motion [data-play="report"] .report-row.on .rv,
.motion [data-play="report"] .report-row.on .copy {
  opacity: 1;
  transition: opacity 0.4s linear;
}
.motion [data-play="report"] .report-row.on::after {
  animation: flash 1.1s ease-out 1;
}
.motion [data-play="report"]:not(.done) .report-foot {
  color: var(--ink-3);
}
.motion [data-play="report"] .report-foot .fake-btn {
  opacity: 0.35;
}
.motion [data-play="report"].done .report-foot .fake-btn {
  opacity: 1;
  animation: pop 0.6s var(--ease-pop) 1;
  transition: opacity 0.3s linear;
}
@keyframes flash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes pop {
  0% {
    transform: scale(0.92);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: none;
  }
}

.t-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
  gap: 8px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-2);
}
.t-head {
  border-top: 0;
  background: #fafbfd;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
}
.t-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line-2);
  color: var(--brand-600);
  font-size: 0.75rem;
  font-weight: 600;
}

/* registry card: rows slide in */
.motion [data-play="registry"] .t-row:not(.t-head),
.motion [data-play="registry"] .t-foot {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}
.motion [data-play="registry"].go .t-row:not(.t-head),
.motion [data-play="registry"].go .t-foot {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.motion [data-play="registry"].go .t-row:nth-child(3) {
  transition-delay: 0.14s;
}
.motion [data-play="registry"].go .t-row:nth-child(4) {
  transition-delay: 0.28s;
}
.motion [data-play="registry"].go .t-foot {
  transition-delay: 0.6s;
}

/* connection diagram */

.hub {
  position: relative;
  display: grid;
  gap: 56px;
  max-width: 560px;
  margin-inline: auto;
}
.hub-wires {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.hub-wires .wire {
  fill: none;
  stroke: #c9d4e6;
  stroke-width: 1.5;
}
.hub-wires .wire-live {
  stroke: #b7c7e6;
}
.hub-wires .wire-soon {
  stroke-dasharray: 4 5;
}
.hub-wires .port {
  fill: #fff;
  stroke: #9fb3da;
  stroke-width: 1.5;
}
.hub-wires .pk-halo {
  fill: var(--brand);
  opacity: 0.16;
}
.hub-wires .pk-dot {
  fill: var(--brand);
}
.hub-wires .pk-t1 {
  fill: var(--brand);
  opacity: 0.45;
}
.hub-wires .pk-t2 {
  fill: var(--brand);
  opacity: 0.2;
}
.hub-wires .pk-osv .pk-dot,
.hub-wires .pk-osv .pk-halo {
  fill: #6f8fe9;
}
.hub-col,
.hub-mid {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hub-label {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 500;
}
.nodes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.node-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.node-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mono-ico {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.node-txt {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.node-txt b {
  font-size: 0.9375rem;
  font-weight: 600;
}
.node-txt small {
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.tag {
  flex: none;
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.tag-live {
  background: var(--green-50);
  color: #12683a;
}
.tag-soon {
  background: #e9edf4;
  color: var(--ink-2);
}
.node-live {
  box-shadow: 0 0 0 1.5px var(--brand), 0 14px 30px -16px rgba(43, 89, 232, 0.55);
}
.node-group {
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  border: 1.5px dashed #c3cee0;
}
.group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}
.group-head b {
  font-weight: 600;
}
.group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.group-chips span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.hub-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.core {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
}
.core::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 89, 232, 0.22), rgba(43, 89, 232, 0));
}
.core-chip {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  width: 168px;
  height: 168px;
  padding: 12px;
  border-radius: 26px;
  background: radial-gradient(120% 90% at 30% 8%, #5a85ff 0%, #2b59e8 46%, #1c3db4 100%);
  box-shadow: 0 30px 60px -24px rgba(31, 71, 204, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
}
.core-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.core-mark rect {
  fill: #fff;
}
.core-mark path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.6;
}
.core-chip b {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.core-chip small {
  max-width: 13ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  line-height: 1.3;
}
.core-ring {
  position: absolute;
  inset: -12px;
  border-radius: 34px;
  border: 1.5px solid rgba(43, 89, 232, 0.45);
  opacity: 0;
  pointer-events: none;
}
.osv {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.osv .node-ico {
  width: 30px;
  height: 30px;
  background: #f1f4f8;
  color: var(--ink-2);
}
.osv .node-txt b {
  font-size: 0.875rem;
}
.osv .node-txt small {
  font-size: 0.75rem;
}
.hub-pause {
  position: absolute;
  right: 0;
  bottom: -44px;
  z-index: 2;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  font: 500 0.8125rem/1.2 var(--font);
  cursor: pointer;
}
.hub-pause:hover {
  color: var(--ink);
  background: rgba(10, 26, 51, 0.04);
}
.hub-note {
  max-width: 40rem;
  margin: 72px auto 0;
  color: var(--ink-3);
  font-size: 0.9375rem;
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .core::before {
    animation: breathe 4.5s ease-in-out infinite alternate;
  }
}
@keyframes breathe {
  from {
    opacity: 0.6;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* pricing */

.plans {
  display: grid;
  gap: 16px;
}
.plan-wrap {
  min-width: 0;
}
.plans > :nth-child(2) {
  transition-delay: 0.08s;
}
.plans > :nth-child(3) {
  transition-delay: 0.16s;
}
.plan {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 28px 26px 24px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan-featured {
  box-shadow: inset 0 0 0 2px var(--brand), 0 12px 32px -16px rgba(43, 89, 232, 0.4);
}
.plan-name {
  font-weight: 600;
}
.plan-size {
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 22px;
}
.plan-price b {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan-price span {
  color: var(--ink-3);
}
.plan-year {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.plan-beta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
}
.plan-beta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.plan-sheen {
  position: absolute;
  left: calc(50% - 160px);
  top: calc(50% - 160px);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 89, 232, 0.1), rgba(43, 89, 232, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
}
.plan-wrap:hover .plan-sheen {
  opacity: 1;
}
.included,
.ticks {
  list-style: none;
  padding: 0;
}
.included {
  display: grid;
  gap: 10px 28px;
  margin: 24px 0 16px;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--bg-soft);
}
.included li,
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
}
.included li::before,
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.32em;
  width: 6px;
  height: 11px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.fine {
  color: var(--ink-3);
  font-size: 0.8125rem;
}

/* early access */

.ea-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}
.form-card {
  padding: 30px;
}
.form-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.form-card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.form-card .btn {
  margin-top: 20px;
}
.form-card .fine {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
iframe.tally {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 24px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.0625rem;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--ink-3);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  max-width: 42rem;
  padding-bottom: 18px;
  color: var(--ink-2);
}

/* final call to action */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 128px;
  background: linear-gradient(140deg, #1638b4 0%, #2b59e8 50%, #3e6dff 100%);
  color: #fff;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.cta-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -6%;
  height: 80%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center bottom;
  transform: perspective(560px) rotateX(60deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 90%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 90%);
}
.aur {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.aur-1 {
  left: -260px;
  top: -420px;
  background: radial-gradient(closest-side, rgba(148, 186, 255, 0.6), rgba(148, 186, 255, 0));
}
.aur-2 {
  right: -300px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(96, 214, 255, 0.42), rgba(96, 214, 255, 0));
}
.aur-3 {
  left: 28%;
  bottom: -520px;
  background: radial-gradient(closest-side, rgba(170, 150, 255, 0.4), rgba(170, 150, 255, 0));
}
@media (prefers-reduced-motion: no-preference) {
  .aur-1 {
    animation: aur-1 24s ease-in-out infinite alternate;
  }
  .aur-2 {
    animation: aur-2 30s ease-in-out infinite alternate;
  }
  .aur-3 {
    animation: aur-3 27s ease-in-out infinite alternate;
  }
}
.paused .aur,
.paused .core::before {
  animation-play-state: paused;
}
@keyframes aur-1 {
  to {
    transform: translate3d(320px, 160px, 0) scale(1.2);
  }
}
@keyframes aur-2 {
  to {
    transform: translate3d(-280px, 120px, 0) scale(0.85);
  }
}
@keyframes aur-3 {
  to {
    transform: translate3d(-200px, -140px, 0) scale(1.15);
  }
}
.cta h2 {
  max-width: 17ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.cta p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1875rem;
}
.btn-invite {
  margin-top: 36px;
  height: 60px;
  padding: 0 34px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-600);
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 20px 44px -18px rgba(4, 12, 48, 0.7), inset 0 -2px 0 rgba(43, 89, 232, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-invite:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 26px 50px -18px rgba(4, 12, 48, 0.8), inset 0 -2px 0 rgba(43, 89, 232, 0.12);
}
.cta :focus-visible {
  outline-color: #fff;
  outline-offset: 4px;
}

/* footer */

.footer {
  border-top: 1px solid var(--line-2);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-block: 36px 40px;
}
.brand-sm {
  font-size: 0.9375rem;
}
.brand-sm .brand-mark {
  width: 24px;
  height: 24px;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer-links a {
  color: var(--ink-2);
  font-size: 0.875rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-fine {
  flex-basis: 100%;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

/* privacy page */

.document {
  max-width: 44rem;
  padding: 64px 0 80px;
}
.document h1 {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
}
.document h2 {
  margin: 36px 0 8px;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.document p {
  color: var(--ink-2);
}
.document .fine {
  margin-top: 8px;
}
.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: #fff1c2;
  color: #6b4e00;
}

/* layout breakpoints */

@media (min-width: 760px) {
  .container {
    padding-inline: 32px;
  }
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
  .included {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 960px) {
  .hero {
    padding: 80px 0 104px;
  }
  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
  }
  .stack-grid {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 40px;
  }
  .stack-stage {
    overflow: visible; /* labels may run into the page margin; main clips anything wider */
  }
  .feature {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
  }
  .feature-flip {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .feature-flip .feature-copy {
    order: 2;
  }
  .ea-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .faq-grid {
    grid-template-columns: 0.55fr 1.45fr;
    gap: 72px;
  }
}
/* pin the exploded view while its layers separate (only with motion, on tall enough screens) */
@media (min-width: 960px) and (min-height: 680px) {
  .motion .stack-scroller {
    height: 240vh;
  }
  .motion .stack-sticky {
    position: sticky;
    top: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 64px);
    padding: 0;
  }
}
@media (min-width: 1060px) {
  .hub {
    grid-template-columns: 270px minmax(60px, 1fr) 220px minmax(60px, 1fr) 300px;
    align-items: center;
    gap: 0;
    max-width: none;
  }
  .hub-in {
    grid-column: 1;
  }
  .hub-mid {
    grid-column: 3;
    flex-direction: column;
    gap: 40px;
    padding-top: 108px; /* keeps the chip near the middle, with OSV.dev below it */
  }
  .core-chip {
    width: 188px;
    height: 188px;
  }
  .osv {
    max-width: 210px;
  }
  .hub-out {
    grid-column: 5;
  }
  .hub-pause {
    bottom: -52px;
  }
}
@media (max-width: 1059px) {
  .hub-col {
    padding-left: 30px;
  }
}
@media (max-width: 959px) {
  /* single column: heading, the stage, then the numbered legend under it */
  .stack-grid {
    gap: 0;
  }
  .stack-copy {
    display: contents;
  }
  .stack-stage {
    --s: 0.9;
    --ox: -48px;
    order: 1;
    height: 520px;
    margin-top: 8px;
  }
  .layers {
    order: 2;
    margin-top: 0;
  }
}
@media (max-width: 759px) {
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .section {
    padding: 72px 0;
  }
  .stack-sticky {
    padding-top: 72px;
  }
  .stack-stage {
    --s: 0.66;
    --ox: -14px;
    height: 370px;
  }
  .iso-label b {
    display: none;
  }
  .iso-label i {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .track-wrap {
    --dir: 180deg;
  }
  .track {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .track-line {
    top: 6px;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .motion .track-fill {
    transform: translate3d(0, -100%, 0);
  }
  .motion .track-fill > span {
    transform: translate3d(0, 100%, 0);
  }
  .motion .play .track-fill,
  .motion .play .track-fill > span {
    transform: none;
  }
  .motion .play .track-tip {
    animation-name: tip-y;
  }
  .track li {
    padding: 0 0 0 30px;
  }
  .track-what {
    max-width: none;
  }
  .motion .feature-visual[data-reveal],
  .motion .feature-flip .feature-visual[data-reveal] {
    transform: perspective(1000px) rotateX(10deg) translate3d(0, 48px, 0) scale(0.96);
  }
  .motion .feature-visual[data-reveal].in {
    transform: none;
  }
  .hub {
    gap: 48px;
  }
  .hub-mid {
    gap: 16px;
  }
  .core-chip {
    width: 148px;
    height: 148px;
    border-radius: 22px;
  }
  .core-ring {
    border-radius: 30px;
  }
  .osv {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 150px;
  }
  .node-txt b {
    font-size: 0.875rem;
  }
  .node-txt small {
    font-size: 0.75rem;
  }
  .node .tag {
    align-self: flex-start;
  }
  .hub-note {
    margin-top: 64px;
    text-align: left;
  }
  .cta {
    padding: 88px 0 96px;
  }
}
@media (max-width: 560px) {
  .app {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
  .app-main {
    padding: 14px;
  }
  .clocks {
    gap: 6px;
  }
  .clock {
    padding: 8px;
  }
  .clock-time {
    font-size: 0.9375rem;
  }
  .clock-idle .clock-time {
    font-size: 0.8125rem;
  }
  .clock-sub {
    display: none;
  }
  .report-row {
    grid-template-columns: 16px 88px minmax(0, 1fr) auto;
  }
  .t-row {
    grid-template-columns: 1.5fr 0.8fr 1fr;
  }
  .t-row span:nth-child(4) {
    display: none;
  }
  .segmented span {
    font-size: 0.6875rem;
  }
}

/* safety net: if reduced motion is requested, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

/* ------------------------------------------------- early-access form */
.ea-form { display: grid; gap: 18px; padding: 28px; }
.ea-form .q { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.ea-form legend, .ea-form .fld { font-weight: 600; font-size: 0.9375rem; color: var(--ink); padding: 0; }
.ea-form legend { margin-bottom: 10px; }
.ea-form .q-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ea-form .fld { display: grid; gap: 6px; }
.ea-form .opt-note { color: var(--ink-3); font-weight: 400; }
.ea-form .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-form .opt { position: relative; display: inline-flex; cursor: pointer; }
.ea-form .opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ea-form .opt span {
  padding: 7px 13px; border-radius: 999px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; color: var(--ink-2);
  transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.ea-form .opt input:checked + span { background: var(--brand-50); color: var(--brand-600); box-shadow: inset 0 0 0 1.5px var(--brand); font-weight: 600; }
.ea-form .opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ea-form .consent { align-items: flex-start; gap: 10px; }
.ea-form .consent input { position: static; opacity: 1; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ea-form .consent span { padding: 0; box-shadow: none; background: none; border-radius: 0; font-size: 0.875rem; color: var(--ink-2); }
.ea-form input:not([type="checkbox"]):not([type="radio"]), .ea-form select, .ea-form textarea {
  width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 400 0.9375rem/1.4 var(--font);
}
.ea-form textarea { resize: vertical; }
.ea-form input:focus, .ea-form select:focus, .ea-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; }
.ea-form .inline-input { margin-top: 2px; }
.ea-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ea-form .btn { justify-self: start; }
.ea-form .btn:disabled { opacity: 0.6; cursor: progress; }
.ea-form.sent h3 { font-size: 1.25rem; }
.ea-form [hidden] { display: none !important; }
