/* GENERATED FILE - do not edit. Source: src/assets/styles.css (run: npm run sync:assets) */
/* =============================================================================
   ZUMX v2 — "Charge"
   Built from scratch on branch design/zumx-v2. The only brand hue is the lime
   of the logo's lightning "X"; everything else is ink and off-white.

   House rules (enforced by scripts/check-tokens.mjs, see docs/UX_RULES.md):
   - Colours live in :root only.
   - Every font-size is a --text-* token (tokens may be fluid with clamp()).
   - Every animation and transition sits inside
     @media (prefers-reduced-motion: no-preference), so reduced motion is the
     default and motion is the opt-in.
   - Only transform, opacity, clip-path and SVG stroke-dashoffset animate
     (plus colour/shadow for 150ms hover feedback). Never layout.
   - Easing and durations come from tokens.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
    url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
    url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* ink ------------------------------------------------------------------ */
  --ink: #0A0B0A;
  --ink-2: #0F110F;
  --ink-3: #151815;
  --ink-4: #1C201B;
  --line: #242922;
  --line-strong: #353C32;
  --input-line: #5F6759;

  /* text ----------------------------------------------------------------- */
  --paper: #F4F6F1;
  --text: #E2E6DE;
  --muted: #A6ADA2;
  --faint: #8A9186;

  /* brand ---------------------------------------------------------------- */
  --lime: #9BE22D;
  --lime-hi: #B5EF5C;
  --on-lime: #0B0E06;
  --lime-a10: rgb(155 226 45 / 0.10);
  --lime-a45: rgb(155 226 45 / 0.45);
  --scrim: rgb(10 11 10 / 0.86);
  --image-outline: rgb(244 246 241 / 0.10);
  --shadow-color: rgb(0 0 0 / 0.45);
  --error: #FF8A7A;

  /* type ----------------------------------------------------------------- */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-code: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --text-mega: clamp(2.75rem, 1.1rem + 5.6vw, 5.75rem);
  --text-d1: clamp(2.375rem, 1.3rem + 3.8vw, 4.5rem);
  --text-d2: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);
  --text-d3: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  --text-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-lead: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --text-body: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-label: 0.8125rem;
  --text-micro: 0.75rem;
  --text-code: 0.9em;
  /* SVG user units inside the hero illustration (scaled with the viewBox) */
  --text-svg-chip: 26px;
  --text-svg-chip-sm: 38px;

  /* space (4px base) ----------------------------------------------------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 9vw, 144px);
  --wrap: 1320px;
  --measure: 68ch;

  /* shape ---------------------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* motion --------------------------------------------------------------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --d-press: 120ms;
  --d-fast: 160ms;
  --d-base: 280ms;
  --d-slow: 600ms;
  --d-focal: 900ms;
  --d-loop: 3200ms;
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body[data-nav-open="true"] {
  overflow: hidden;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
code,
pre {
  font-family: var(--font-code);
}
::selection {
  background: var(--lime);
  color: var(--on-lime);
}
input,
textarea {
  caret-color: var(--lime);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--lime-hi);
  border-radius: var(--r-sm);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 700;
  border-radius: var(--r-sm);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  transform: none;
}

/* ----------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sect {
  position: relative;
  padding-block: var(--section);
}
.sect--band {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.sect--tight {
  padding-block: var(--s-8);
}
.split {
  display: grid;
  gap: var(--s-7);
}
.split > *,
.stack > *,
.stack-lg > * {
  min-width: 0;
}
.stack > * + * {
  margin-top: var(--s-5);
}
.stack-lg > * + * {
  margin-top: var(--s-6);
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
    align-items: start;
  }
  .split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split--aside {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
  .sticky {
    position: sticky;
    top: calc(var(--s-9) + var(--s-2));
    align-self: start;
  }
}

/* ------------------------------------------------------------- typography */
.mega,
.d1,
.d2,
.h2,
.h3 {
  font-family: var(--font-display);
  color: var(--paper);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.mega {
  font-size: var(--text-mega);
  line-height: 0.96;
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.d1 {
  font-size: var(--text-d1);
  line-height: 1;
  font-stretch: 110%;
}
.d2,
.h2 {
  font-size: var(--text-d2);
  line-height: 1.04;
  font-stretch: 108%;
}
.h3 {
  font-size: var(--text-h3);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-stretch: 104%;
}
.h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  line-height: 1.25;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
.small {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
}
.label {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-stretch: 112%;
}
.lime {
  color: var(--lime);
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.measure {
  max-width: var(--measure);
}
.muted {
  color: var(--muted);
}

/* Inline links in running text: off-white with a lime underline. */
.prose a,
.lead a,
.small a,
.muted a,
.note a,
.faq__panel a,
.article a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
code {
  font-size: var(--text-code);
  color: var(--paper);
  background: var(--ink-4);
  padding: 0.1em 0.35em;
  border-radius: var(--r-sm);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn .icon {
  flex: none;
}
.btn--lime {
  background: var(--lime);
  color: var(--on-lime);
}
.btn--lime::before {
  /* the charge: a deeper lime sweeps in from the left on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime-hi);
  clip-path: inset(0 100% 0 0);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.btn--sm {
  min-height: 40px;
  padding: var(--s-2) var(--s-4);
  font-size: var(--text-label);
}
.btn--lg {
  min-height: 56px;
  padding: var(--s-4) var(--s-6);
  font-size: var(--text-body);
}
.btn:focus-visible {
  border-radius: var(--r-pill);
}
.btn:disabled {
  /* the contact form while a request is in flight; the label says "Sending…" */
  cursor: progress;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
@media (max-width: 599px) {
  /* phones: paired actions share the row or take it whole, never ragged */
  .btn-row > .btn:not(.btn--sm) {
    flex: 1 1 auto;
  }
}
.btn__bolt {
  width: 14px;
  height: 18px;
}
@media (hover: hover) {
  .btn--lime:hover::before {
    clip-path: inset(0 0 0 0);
  }
  .btn--ghost:hover {
    border-color: var(--lime);
    color: var(--lime);
  }
}
.btn:active {
  transform: scale(0.97);
}

/* arrow link */
.link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 650;
  font-stretch: 108%;
  font-size: var(--text-sm);
  color: var(--paper);
  text-decoration: none;
  padding-block: var(--s-1);
  border-bottom: 1px solid var(--lime);
  width: fit-content;
}
.link .icon {
  color: var(--lime);
}
@media (hover: hover) {
  .link:hover .icon {
    transform: translateX(4px);
  }
}

/* --------------------------------------------------------------- the nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  padding: var(--s-1);
}
.brand__logo {
  width: auto;
  height: 28px;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 120%;
  color: var(--paper);
}
.nav__links {
  display: none;
  gap: var(--s-1);
}
.nav__link {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--r-pill);
}
.nav__link[aria-current="page"] {
  color: var(--paper);
  background: var(--ink-4);
}
@media (hover: hover) {
  .nav__link:hover {
    color: var(--paper);
  }
}
.nav__cta {
  display: none;
}
.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.nav__toggle:focus-visible {
  border-radius: var(--r-pill);
}
@media (min-width: 960px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
}
.nav-panel {
  position: fixed;
  inset: 72px 0 0;
  z-index: 49;
  background: var(--ink);
  padding: var(--s-6) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
}
.nav-panel[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.nav-panel__links a {
  display: block;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  font-stretch: 110%;
  color: var(--paper);
  text-decoration: none;
}
.nav-panel__links a[aria-current="page"] {
  color: var(--lime);
}
.nav-panel__foot {
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 960px) {
  .nav-panel {
    display: none;
  }
}

/* -------------------------------------------------------------- the hero */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 112px);
  padding-bottom: var(--s-8);
}
.hero__title {
  max-width: 16ch;
}
.hero__line {
  display: block;
}
.hero__line--lime {
  color: var(--lime);
}
.hero__body {
  display: grid;
  gap: var(--s-7);
  margin-top: clamp(32px, 4vw, 64px);
}
.hero__sub {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--text);
  max-width: 44ch;
}
.hero__actions {
  margin-top: var(--s-6);
}
.hero__spec {
  margin-top: var(--s-7);
  display: grid;
  gap: var(--s-3);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.hero__spec li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--text-sm);
  color: var(--muted);
}
.hero__spec .bolt-tick {
  margin-top: 4px;
}
@media (min-width: 960px) {
  .hero__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-7);
    align-items: start;
  }
  .hero__title {
    max-width: none;
  }
}

/* the visual: rendered bolt plate + live SVG circuit */
.hero__visual {
  position: relative;
  aspect-ratio: 1200 / 896;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--image-outline), 0 24px 64px -24px var(--shadow-color);
}
.hero__plate,
.hero__plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__plate {
  inset: -4% 0;
  height: 108%;
}
.hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__svg .trace {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__svg .trace--live {
  stroke: var(--lime);
  stroke-width: 2.5;
}
.hero__svg .pulse {
  fill: none;
  stroke: var(--lime-hi);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 0.06 0.94;
  stroke-dashoffset: 1;
  opacity: 0;
}
.hero__svg .node {
  fill: var(--ink);
  stroke: var(--lime);
  stroke-width: 2;
}
.hero__svg .chip {
  fill: var(--scrim);
  stroke: var(--lime-a45);
  stroke-width: 1.5;
}
.hero__svg .chip-text {
  fill: var(--paper);
  font-family: var(--font-display);
  font-size: var(--text-svg-chip);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-stretch: 115%;
}
.hero__bolt-path {
  fill: none;
  stroke: var(--lime-hi);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
@media (max-width: 599px) {
  .hero__svg .chip-text {
    font-size: var(--text-svg-chip-sm);
    letter-spacing: 0.04em;
  }
}

/* --------------------------------------------------------- section heads */
.head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: clamp(40px, 5vw, 80px);
}
.head--split {
  gap: var(--s-5);
}
@media (min-width: 960px) {
  .head--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: last baseline;
    gap: var(--s-8);
  }
}

/* ------------------------------------------------------ energy divider */
.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-3);
  color: var(--lime);
}
.divider__line {
  height: 1px;
  background: var(--line-strong);
}
.divider__line:first-child {
  transform-origin: right center;
}
.divider__line:last-child {
  transform-origin: left center;
}
.divider svg {
  width: 40px;
  height: 24px;
}
.divider path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* drawn SVG lines: any .ln stroke (pathLength=1) inside a .draw container */
.draw .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* ------------------------------------------------------------- services */
.svc {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-7);
  border-top: 1px solid var(--line);
}
.svc:last-of-type {
  border-bottom: 1px solid var(--line);
}
.svc__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--image-outline);
}
.svc__media picture {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
}
.svc__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc__icon {
  display: block;
  width: 56px;
  height: 56px;
  color: var(--lime);
}
span.draw {
  display: block;
  width: fit-content;
}
.svc__icon path,
.svc__icon rect,
.svc__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc__body {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}
.svc__body .h3 {
  font-size: var(--text-d2);
  line-height: 1.04;
  font-weight: 750;
}
.svc__more {
  justify-self: start;
  margin-top: var(--s-3);
}
@media (min-width: 960px) {
  .svc {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: var(--s-8);
    align-items: center;
    padding-block: var(--s-8);
  }
  .svc--flip .svc__media {
    order: 2;
  }
}

/* lists: bolt ticks and dashes */
.ticks {
  display: grid;
  gap: var(--s-3);
}
.ticks li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--s-3);
  align-items: start;
  color: var(--text);
}
.bolt-tick {
  width: 12px;
  height: 16px;
  margin-top: 4px;
  color: var(--lime);
}
.bolt-tick path {
  fill: currentColor;
}
.dashes {
  display: grid;
  gap: var(--s-3);
}
.dashes li {
  position: relative;
  padding-left: var(--s-5);
  color: var(--text);
}
.dashes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 2px;
  background: var(--lime);
}
.ticks--muted li,
.dashes--muted li {
  color: var(--muted);
}

/* plain statement strip */
.plain {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s-4);
  align-items: start;
  margin-top: var(--s-7);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 920px;
}
.plain p {
  color: var(--text);
}
.plain strong {
  color: var(--paper);
}
.plain__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--lime-a10);
  color: var(--lime);
}

/* ------------------------------------------------- tags (incl. Illustrative) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--lime-a45);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: var(--text-micro);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-stretch: 112%;
  line-height: 1.4;
  white-space: nowrap;
}
.tag--solid {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: none;
}
.tag--quiet {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---------------------------------------------------- interface studies */
.studies {
  display: grid;
  gap: var(--s-5);
}
.tabs__list {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  padding: var(--s-1);
  border-radius: var(--r-pill);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  justify-self: start;
  max-width: 100%;
}
.tabs__indicator {
  position: absolute;
  left: 0;
  top: var(--s-1);
  height: calc(100% - var(--s-2));
  width: 100px;
  border-radius: var(--r-pill);
  background: var(--lime);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
}
.tabs[data-indicator="true"] .tabs__indicator {
  opacity: 1;
}
.tabs__tab {
  position: relative;
  z-index: 1;
  padding: var(--s-2) var(--s-4);
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-sm);
  font-stretch: 108%;
  cursor: pointer;
  min-height: 40px;
}
.tabs__tab[aria-selected="true"] {
  color: var(--on-lime);
  background: var(--lime);
}
.tabs[data-indicator="true"] .tabs__tab[aria-selected="true"] {
  background: transparent;
}
.tabs__tab:focus-visible {
  border-radius: var(--r-pill);
}
@media (hover: hover) {
  .tabs__tab[aria-selected="false"]:hover {
    color: var(--paper);
  }
}

.study {
  border-radius: var(--r-xl);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.study:focus-visible {
  border-radius: var(--r-xl);
}
.study__chrome {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.study__dots {
  display: inline-flex;
  gap: var(--s-2);
}
.study__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.study__chrome-label {
  margin-right: auto;
  min-width: 0;
  font-family: var(--font-code);
  font-size: var(--text-label);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.study__frame {
  padding: var(--s-5);
  min-height: 340px;
}
.study__caption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
}
.study__disclaimer {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
}
.study__disclaimer strong {
  color: var(--text);
}
.study__controls {
  display: grid;
  gap: var(--s-3);
}
.study__progress {
  display: block;
  height: 2px;
  background: var(--lime);
  transform-origin: left center;
  transform: scaleX(0);
}
.mock {
  display: grid;
  gap: var(--s-4);
}
.pkil__grid,
.rag__grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 760px) {
  .pkil__grid,
  .rag__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mock__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.mock__label {
  font-size: var(--text-label);
  color: var(--muted);
}
.mock__field {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 40px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: var(--text-sm);
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
}
.mock__caret {
  width: 2px;
  height: 18px;
  background: var(--lime);
}
.mock__pill {
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  font-size: var(--text-label);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.mock__pill[data-active="true"] {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: none;
}
.mock__panel,
.pkil__draft,
.rag__page {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mock__lines {
  display: grid;
  gap: var(--s-2);
}
.mock__line {
  display: block;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--ink-4);
}
.mock__line--mid {
  width: 72%;
}
.mock__line--short {
  width: 44%;
}
.mock__line--accent {
  background: var(--lime-a45);
}
.mock__shimmer {
  height: 96px;
  border-radius: var(--r-sm);
  background: var(--ink-4);
}
.pkil__revise,
.rag__cite,
.rag__doc,
.clip__pasted {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  font-size: var(--text-label);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.pkil__revise .icon,
.rag__cite .icon,
.clip__pasted .icon {
  color: var(--lime);
}
.pkil__switch {
  width: 32px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--lime);
}
.rag__docs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.rag__hit {
  padding: var(--s-2);
  border-radius: var(--r-sm);
  background: var(--lime-a10);
  box-shadow: inset 0 0 0 1px var(--lime-a45);
}
.clip__grid {
  display: grid;
  gap: var(--s-1);
}
.clip__row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--text-label);
  color: var(--text);
}
.clip__index,
.clip__meta {
  color: var(--muted);
}
.clip__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-code);
}
.clip__pin {
  color: var(--lime);
}
.search-ctl .icon {
  color: var(--muted);
}
.faint {
  color: var(--muted);
}
.no-wrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.push-end {
  margin-top: auto;
}
.mt-md {
  margin-top: var(--s-3);
}
.mt-5 {
  margin-top: var(--s-5);
}
.mt-6 {
  margin-top: var(--s-6);
}
.mt-7 {
  margin-top: var(--s-7);
}
/* step states: visible by default; the scrub hides what is not yet reached */
.study[data-step-active="0"] .step:not([data-step="0"]),
.study[data-step-active="1"] .step:not([data-step="0"]):not([data-step="1"]),
.study[data-step-active="2"] .step[data-step="3"] {
  opacity: 0.18;
}
.study[data-step-active="1"] .mock__label.step[data-step="0"],
.study[data-step-active="2"] .mock__label.step[data-step="0"],
.study[data-step-active="2"] .mock__label.step[data-step="1"],
.study[data-step-active="3"] .mock__label.step:not([data-step="3"]) {
  opacity: 0.18;
}
.study[data-step-active="0"] .clip__row:not([data-show-at="0"]),
.study[data-step-active="1"] .clip__row[data-show-at="2"] {
  opacity: 0.18;
}
.study[data-step-active="2"] .clip__row[data-selected-at="2"],
.study[data-step-active="3"] .clip__row[data-selected-at-3="true"] {
  background: var(--lime-a10);
  box-shadow: inset 0 0 0 1px var(--lime-a45);
}

/* ------------------------------------------------------------ work index */
.index {
  border-top: 1px solid var(--line);
}
.index__item {
  border-bottom: 1px solid var(--line);
}
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-3) var(--s-5);
  align-items: start;
  padding: var(--s-6) var(--s-2);
  text-decoration: none;
  color: var(--text);
  isolation: isolate;
}
.index__row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime);
  clip-path: inset(0 100% 0 0);
}
.index__row:focus-visible {
  border-radius: var(--r-md);
}
.index__num {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--muted);
  padding-top: var(--s-3);
}
.index__title {
  font-family: var(--font-display);
  font-size: var(--text-d2);
  font-weight: 750;
  font-stretch: 110%;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--paper);
}
.index__meta {
  display: grid;
  gap: var(--s-3);
  grid-column: 2 / -1;
}
.index__problem {
  color: var(--muted);
  max-width: 62ch;
}
.index__arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--lime);
  grid-row: 1;
  grid-column: 3;
}
@media (min-width: 960px) {
  .index__row {
    grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr) 56px;
    align-items: center;
    padding: var(--s-6) var(--s-4);
  }
  .index__meta {
    grid-column: auto;
  }
  .index__arrow {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (hover: hover) {
  .index__row:hover::before {
    clip-path: inset(0 0 0 0);
  }
  .index__row:hover,
  .index__row:hover .index__title,
  .index__row:hover .index__num,
  .index__row:hover .index__problem {
    color: var(--on-lime);
  }
  .index__row:hover .tag {
    color: var(--on-lime);
    box-shadow: inset 0 0 0 1px var(--on-lime);
  }
  .index__row:hover .index__arrow {
    color: var(--on-lime);
    box-shadow: inset 0 0 0 1px var(--on-lime);
    transform: translateX(6px) rotate(-45deg);
  }
}

/* ------------------------------------------------------ process / flow */
.flow {
  display: grid;
  gap: var(--s-6);
}
.flow__phases {
  display: none;
}
.flow__steps {
  display: grid;
  gap: 0;
  counter-reset: none;
}
.flow__step {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: 40px 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-6);
}
.flow__node {
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--lime);
}
.flow__node circle {
  fill: var(--ink);
  stroke: currentColor;
  stroke-width: 2;
}
.flow__node .flow__core {
  fill: var(--lime);
  stroke: none;
}
.flow__rail {
  position: absolute;
  left: calc(20px - 1px);
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--lime);
  transform-origin: top center;
}
.flow__step:last-child .flow__rail {
  display: none;
}
.flow__phase-name {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  font-stretch: 112%;
}
.flow__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 650;
  color: var(--paper);
  line-height: 1.25;
  margin-top: var(--s-1);
}
.flow__detail {
  margin-top: var(--s-2);
  color: var(--muted);
  font-size: var(--text-sm);
}
@media (min-width: 960px) {
  .flow__phases {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s-5);
  }
  .flow__phase {
    display: grid;
    gap: var(--s-3);
  }
  .flow__phase-bar {
    display: block;
    height: 2px;
    background: var(--lime-a45);
    transform-origin: left center;
  }
  .flow__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s-5);
  }
  .flow__step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .flow__rail {
    left: 48px;
    right: calc(var(--s-5) * -1 + 4px);
    top: calc(20px - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
    transform-origin: left center;
  }
  .flow__step-phase {
    display: none;
  }
}

/* -------------------------------------------------------- principal / about */
.about__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1584 / 672;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--image-outline);
}
.about__media picture {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
}
.about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 759px) {
  .about__media {
    aspect-ratio: 4 / 3;
  }
}
.about__panel {
  position: relative;
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6);
  margin-top: calc(var(--s-7) * -1);
  margin-inline: var(--s-3);
  border-radius: var(--r-xl);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 64px -24px var(--shadow-color);
}
/* Wide screens: the panel sits inside the photograph instead of hanging
   below it, so the image frames the copy and no dead band opens beside it. */
@media (min-width: 960px) {
  .about {
    display: grid;
  }
  .about > * {
    grid-area: 1 / 1;
  }
  .about__media {
    aspect-ratio: auto;
    min-height: 560px;
  }
  .about__panel {
    align-self: end;
    width: min(640px, 56%);
    margin: var(--s-7);
    padding: var(--s-7);
  }
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  color: var(--text);
  font-size: var(--text-sm);
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.principles {
  display: grid;
  gap: 0;
  margin-top: var(--s-8);
  border-top: 1px solid var(--line);
}
.principle {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.principle p:last-child {
  color: var(--muted);
}
@media (min-width: 760px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-7);
  }
}

/* ------------------------------------------------------------------- faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item h3 {
  font-size: inherit;
}
.faq__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  color: var(--paper);
}
.faq__icon {
  flex: none;
  width: 32px;
  height: 32px;
  padding: var(--s-2);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--lime);
}
.faq__trigger[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: none;
}
@media (hover: hover) {
  .faq__trigger:hover .faq__icon {
    box-shadow: inset 0 0 0 1px var(--lime);
  }
}
.faq__panel-inner {
  padding: 0 var(--s-8) var(--s-5) 0;
  color: var(--muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------ boundaries */
.bounds {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.bounds li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--text);
}
.bounds svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--lime);
}
.bounds svg path,
.bounds svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ----------------------------------------------------------- CTA band */
.cta {
  position: relative;
  padding-block: var(--section);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta__inner {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
.cta__art {
  display: none;
  width: min(70%, 320px);
  justify-self: center;
  color: var(--lime);
}
.cta__art path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cta__art .cta__fill {
  fill: var(--lime);
  stroke: none;
  opacity: 0.12;
}
@media (min-width: 960px) {
  .cta__inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: var(--s-8);
  }
  .cta__art {
    display: block;
  }
}

/* --------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 112px);
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero__grid {
  display: grid;
  gap: var(--s-6);
  align-items: end;
}
.page-hero__copy {
  display: grid;
  gap: var(--s-5);
}
.page-hero__mark {
  display: none;
  color: var(--lime);
}
.page-hero__mark path,
.page-hero__mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-hero__mark .mark__muted {
  stroke: var(--line-strong);
}
.page-hero__mark .mark__fill {
  fill: var(--lime);
  stroke: none;
}
@media (min-width: 960px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
  .page-hero__mark {
    display: block;
    width: 100%;
    max-width: 360px;
    justify-self: end;
  }
}

/* ------------------------------------------------------- notes / panels */
.note {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.note__title {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  font-stretch: 112%;
}
.note p,
.note li {
  font-size: var(--text-sm);
  color: var(--text);
}
.note--lime {
  box-shadow: inset 0 0 0 1px var(--lime-a45);
  background: var(--lime-a10);
}
.panel {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.panel__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--lime-a10);
  color: var(--lime);
}
.panel p:not(.h4),
.panel li {
  font-size: var(--text-sm);
}
.panel p:not(.h4) {
  color: var(--muted);
}
.stack-panels {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

/* ruled list (scope items, resources, etc.) */
.ruled {
  display: grid;
  border-top: 1px solid var(--line);
}
.ruled > li,
.ruled > article {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.ruled p:not(.h4) {
  color: var(--muted);
}
@media (min-width: 760px) {
  .ruled--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-7);
  }
}
@media (min-width: 1100px) {
  .ruled--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--s-6);
  }
}
.ruled__row {
  display: grid;
  gap: var(--s-2) var(--s-5);
}
@media (min-width: 760px) {
  .ruled__row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
    align-items: center;
  }
}

/* ordered rules (agent consent: the order matters) */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.steps__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lime);
  font-size: var(--text-sm);
  padding-top: 2px;
}
.steps__body {
  color: var(--text);
}
.steps__title {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--paper);
}

/* code sample */
.code-block {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  max-width: 820px;
}
.code-block code {
  display: block;
  white-space: pre;
  background: none;
  padding: 0;
  font-size: var(--text-label);
  line-height: 1.7;
  color: var(--text);
  overflow-wrap: normal;
}

/* ------------------------------------------------------------ work page */
.case {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--s-9);
}
.case__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3) var(--s-5);
  align-items: baseline;
}
.case__num {
  position: static;
  font-family: var(--font-display);
  font-size: var(--text-d2);
  font-weight: 300;
  font-stretch: 112%;
  color: var(--lime);
  line-height: 1;
}
.case__tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
}
.case__lede {
  margin-top: var(--s-6);
  font-size: var(--text-lead);
  color: var(--text);
  max-width: 62ch;
  line-height: 1.55;
}
.case__grid {
  display: grid;
  gap: var(--s-7);
  margin-top: var(--s-7);
}
.case__block {
  display: grid;
  gap: var(--s-4);
}
.case__block + .case__block {
  margin-top: var(--s-7);
}
.case__block-title {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-stretch: 112%;
}
.flowlist {
  display: grid;
  gap: 0;
  counter-reset: flow;
}
.flowlist li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: flow;
}
.flowlist li::before {
  content: counter(flow);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.decision {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.decision:first-child {
  border-top: 1px solid var(--line);
}
.decision p:last-child {
  color: var(--muted);
}
@media (min-width: 960px) {
  .case__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}
.feature {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1376 / 768;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--image-outline);
}
.feature picture {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
}
.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature--wide {
  aspect-ratio: 1584 / 672;
}

/* ------------------------------------------------------------- contact */
.ways {
  display: grid;
  border-top: 1px solid var(--line);
}
.ways__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.ways__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink-4);
  color: var(--lime);
}
.ways__label {
  display: block;
  font-size: var(--text-label);
  color: var(--muted);
}
.ways__value {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-h4);
  color: var(--paper);
  overflow-wrap: anywhere;
}
.ways__value a {
  text-decoration: none;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
}
.ways__hint {
  font-size: var(--text-label);
  color: var(--muted);
}

/* form (selectors are part of the site.js / test contract) */
.form {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.field {
  display: grid;
  gap: var(--s-2);
}
.field__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--paper);
}
.req {
  color: var(--lime);
}
.field__control {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid var(--input-line);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--text-body);
}
.field__control::placeholder {
  color: var(--faint);
}
.field__control:focus-visible {
  border-color: var(--lime);
  border-radius: var(--r-md);
}
textarea.field__control {
  resize: vertical;
  min-height: 136px;
}
select.field__control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--s-7);
}
.field[data-invalid="true"] .field__control {
  border-color: var(--error);
}
.field__error {
  font-size: var(--text-label);
  color: var(--error);
  min-height: 0;
}
.field__error:empty {
  display: none;
}
.field__hint {
  font-size: var(--text-label);
  color: var(--muted);
}
.form-status[data-visible="true"] {
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.form-status[data-tone="error"] {
  box-shadow: inset 0 0 0 1px var(--error);
}
.form-status[data-tone="success"] {
  box-shadow: inset 0 0 0 1px var(--lime-a45);
}
.form-status__title {
  font-weight: 700;
  color: var(--paper);
}
.email-draft-wrap {
  border-radius: var(--r-md);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.email-draft-wrap__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
  border-bottom: 1px solid var(--line);
}
.email-draft-wrap__title {
  font-size: var(--text-label);
  color: var(--muted);
}
.email-draft {
  padding: var(--s-4);
  font-size: var(--text-label);
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
}
.copy-btn__done {
  display: none;
}
.copy-btn[data-copied="true"] .copy-btn__idle {
  display: none;
}
.copy-btn[data-copied="true"] .copy-btn__done {
  display: inline-flex;
}
.copy-btn__idle,
.copy-btn__done {
  align-items: center;
  gap: var(--s-2);
}
.copy-btn__idle {
  display: inline-flex;
}
.copy-btn__done .icon {
  color: var(--lime);
}

/* --------------------------------------------------------------- article */
.article {
  max-width: 70ch;
}
.article h2 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 650;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.article h3 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 650;
  color: var(--paper);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.article p,
.article li {
  color: var(--text);
  line-height: 1.7;
}
.article p + p {
  margin-top: var(--s-4);
}
.article ul {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.article ul li {
  position: relative;
  padding-left: var(--s-5);
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 2px;
  background: var(--lime);
}
.note-index {
  display: grid;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .note-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-7);
  }
}
.note-link {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.note-link__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 650;
  color: var(--paper);
}
.note-link__body {
  color: var(--muted);
  font-size: var(--text-sm);
}
.note-link .link {
  justify-self: start;
}
@media (hover: hover) {
  .note-link:hover .note-link__title {
    color: var(--lime);
  }
}
.essay {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--s-9);
}
.essay__head {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  max-width: 60rem;
}
.essay__body {
  margin-top: var(--s-6);
}
.essay__body > section:first-child > h3:first-child {
  margin-top: 0;
}
/* Wide screens: title and standfirst hold the left column while the essay
   reads at ~68ch on the right, instead of a narrow column beside empty space. */
@media (min-width: 1100px) {
  .essay__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--s-8);
    align-items: start;
  }
  .essay__head {
    position: sticky;
    top: calc(var(--s-9) + var(--s-2));
  }
  .essay__head .d2 {
    font-size: var(--text-d3);
  }
  .essay__body {
    margin-top: 0;
  }
}
.check {
  margin-top: var(--s-7);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 70ch;
}
.check .ticks {
  margin-top: var(--s-4);
}
.essay__close {
  margin-top: var(--s-6);
  font-size: var(--text-lead);
  color: var(--paper);
  max-width: 62ch;
  line-height: 1.55;
}

/* 404 */
.link-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 650;
}
.link-list small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--muted);
  font-size: var(--text-sm);
}
.link-list .icon {
  color: var(--lime);
}

/* --------------------------------------------------------------- footer */
.footer {
  padding-top: var(--s-9);
  padding-bottom: var(--s-6);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  gap: var(--s-7);
}
.footer__brand {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.footer__logo {
  width: clamp(128px, 12vw, 168px);
  height: auto;
}
.footer__blurb {
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 48ch;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--paper);
  font-size: var(--text-label);
  font-weight: 600;
  text-decoration: none;
}
.socials a:focus-visible {
  border-radius: var(--r-pill);
}
.socials .icon {
  color: var(--lime);
}
@media (hover: hover) {
  .socials a:hover {
    box-shadow: inset 0 0 0 1px var(--lime);
  }
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-stretch: 112%;
  margin-bottom: var(--s-3);
}
.footer__links {
  display: grid;
  gap: 0;
}
.footer__links a {
  display: inline-block;
  padding-block: var(--s-1);
  color: var(--text);
  font-size: var(--text-sm);
  text-decoration: none;
}
@media (hover: hover) {
  .footer__links a:hover {
    color: var(--lime);
  }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer__bottom a {
  color: var(--text);
}
@media (min-width: 960px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--s-8);
  }
  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icon {
  flex: none;
}

/* =============================================================================
   MOTION — opt-in only. Nothing above animates; everything below is gated.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* feedback */
  .btn,
  .link .icon,
  .nav__link,
  .socials a,
  .footer__links a,
  .tabs__tab,
  .faq__icon,
  .note-link__title,
  .field__control {
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-duration: var(--d-fast);
    transition-timing-function: var(--ease-out);
  }
  .btn--lime::before {
    transition: clip-path var(--d-base) var(--ease-out);
  }
  .btn:active {
    transition-duration: var(--d-press);
  }
  .faq__icon {
    transition-duration: var(--d-base);
  }
  .nav {
    transition: border-color var(--d-base) var(--ease-out);
  }
  .nav-panel {
    transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out), visibility var(--d-base) var(--ease-out);
  }
  .index__row::before {
    transition: clip-path var(--d-slow) var(--ease-out);
  }
  .index__row,
  .index__title,
  .index__num,
  .index__problem,
  .index__row .tag,
  .index__arrow {
    transition-property: color, box-shadow, transform;
    transition-duration: var(--d-base);
    transition-timing-function: var(--ease-out);
  }
  .tabs__indicator {
    transition: transform var(--d-slow) var(--ease-out), opacity var(--d-fast) var(--ease-out);
  }
  .tabs__panel:not([hidden]) {
    animation: panel-in var(--d-slow) var(--ease-out) both;
  }
  .study .step,
  .study .clip__row {
    transition: opacity var(--d-base) var(--ease-out), background-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
  }
  .study__progress {
    transition: transform var(--d-fast) linear;
  }
  .faq__panel[data-state="open"] .faq__panel-inner {
    animation: faq-in var(--d-base) var(--ease-out) both;
  }
  .faq__panel[data-state="closed"] .faq__panel-inner {
    animation: faq-out var(--d-fast) var(--ease-exit) both;
  }
  [data-magnetic] {
    transition-property: transform, background-color, color, box-shadow;
    transition-duration: var(--d-base);
    transition-timing-function: var(--ease-out);
  }

  /* hero: the strike ------------------------------------------------------ */
  .hero__plate img {
    animation: plate-charge var(--d-focal) var(--ease-out) 300ms both;
  }
  .hero__bolt-path {
    animation: bolt-draw var(--d-slow) var(--ease-in-out) 200ms both;
  }
  .hero__svg .trace--live {
    stroke-dasharray: 1;
    animation: trace-draw var(--d-focal) var(--ease-out) both;
  }
  .hero__svg .trace--live:nth-of-type(1) { animation-delay: 700ms; }
  .hero__svg .trace--live:nth-of-type(2) { animation-delay: 820ms; }
  .hero__svg .trace--live:nth-of-type(3) { animation-delay: 940ms; }
  .hero__svg .trace--live:nth-of-type(4) { animation-delay: 1060ms; }
  .hero__svg .trace--live:nth-of-type(5) { animation-delay: 1180ms; }
  .hero__svg .chip-group {
    animation: chip-in var(--d-slow) var(--ease-out) both;
  }
  .hero__svg .chip-group:nth-of-type(1) { animation-delay: 1300ms; }
  .hero__svg .chip-group:nth-of-type(2) { animation-delay: 1400ms; }
  .hero__svg .chip-group:nth-of-type(3) { animation-delay: 1500ms; }
  .hero__svg .pulse {
    animation: pulse-run var(--d-loop) linear 1800ms infinite;
  }
  .hero__svg .pulse:nth-of-type(2) { animation-delay: 2300ms; }
  .hero__svg .pulse:nth-of-type(3) { animation-delay: 2800ms; }
  .hero__svg .pulse:nth-of-type(4) { animation-delay: 3300ms; }
  .hero__svg .pulse:nth-of-type(5) { animation-delay: 3800ms; }
  .hero[data-paused="true"] .pulse {
    animation-play-state: paused;
  }

  /* page heroes ------------------------------------------------------------ */
  .page-hero__mark .mark__draw {
    stroke-dasharray: 1;
    animation: trace-draw var(--d-focal) var(--ease-out) 200ms both;
  }
  .page-hero__mark .mark__fill {
    animation: chip-in var(--d-slow) var(--ease-out) 800ms both;
  }

  /* Text is never faded in: headings and paragraphs are readable on arrival.
     Only images wipe in, and only drawn SVG strokes charge on scroll
     (gated on html.js, so nothing is hidden without JavaScript). ---------- */
  html.js .reveal-wipe {
    transition: clip-path var(--d-focal) var(--ease-out);
  }
  html.js .reveal-wipe:not(.is-in) {
    clip-path: inset(0 0 100% 0 round var(--r-xl));
  }

  /* SVG draws on scroll */
  html.js .draw .ln {
    transition: stroke-dashoffset var(--d-focal) var(--ease-out);
  }
  html.js .draw:not(.is-in) .ln {
    stroke-dashoffset: 1;
  }
  html.js .draw .ln:nth-of-type(2) { transition-delay: 120ms; }
  html.js .draw .ln:nth-of-type(3) { transition-delay: 240ms; }

  /* divider */
  html.js .divider .divider__line {
    transition: transform var(--d-focal) var(--ease-out);
  }
  html.js .divider:not(.is-in) .divider__line {
    transform: scaleX(0);
  }

  /* the process flow: rails charge left-to-right, nodes light in order */
  html.js .flow .flow__rail {
    transition: transform var(--d-slow) var(--ease-out);
  }
  html.js .flow:not(.is-in) .flow__rail {
    transform: scaleY(0);
  }
  html.js .flow .flow__core {
    transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out);
    transform-origin: center;
    transform-box: fill-box;
  }
  html.js .flow:not(.is-in) .flow__core {
    opacity: 0;
    transform: scale(0.2);
  }
  html.js .flow .flow__step:nth-child(1) .flow__core { transition-delay: 100ms; }
  html.js .flow .flow__step:nth-child(1) .flow__rail { transition-delay: 200ms; }
  html.js .flow .flow__step:nth-child(2) .flow__core { transition-delay: 600ms; }
  html.js .flow .flow__step:nth-child(2) .flow__rail { transition-delay: 700ms; }
  html.js .flow .flow__step:nth-child(3) .flow__core { transition-delay: 1100ms; }
  html.js .flow .flow__step:nth-child(3) .flow__rail { transition-delay: 1200ms; }
  html.js .flow .flow__step:nth-child(4) .flow__core { transition-delay: 1600ms; }
  html.js .flow .flow__phase-bar {
    transition: transform var(--d-focal) var(--ease-out);
  }
  html.js .flow:not(.is-in) .flow__phase-bar {
    transform: scaleX(0);
  }
  html.js .flow .flow__phase:nth-child(2) .flow__phase-bar { transition-delay: 500ms; }
  html.js .flow .flow__phase:nth-child(3) .flow__phase-bar { transition-delay: 1000ms; }

  /* the CTA bolt */
  html.js .cta .cta__fill {
    transition: opacity var(--d-focal) var(--ease-out) 600ms;
  }
  html.js .cta:not(.is-in) .cta__fill {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  html.js .flow:not(.is-in) .flow__rail {
    transform: scaleX(0);
  }
}

@keyframes bolt-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes trace-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes plate-charge {
  0% {
    opacity: 0.25;
    transform: scale(1.04);
  }
  45% {
    opacity: 0.4;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse-run {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -0.06;
    opacity: 0;
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes faq-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Reduced motion: the explicit path. Nothing above runs (it is all inside the
   no-preference block), and these lines pin the end states so the bolt is
   drawn and every loop is off even if a later rule tries to start one. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__svg .pulse,
  .hero__plate img,
  .hero__bolt-path,
  .tabs__panel {
    animation: none;
  }
  .hero__svg .pulse {
    opacity: 0;
  }
}
