/* V1olet Security
   Design system: dark by default, one violet brand colour, red for offensive
   work, blue for defensive work. IBM Plex Sans for text, Plex Mono for data.
   No inline styles anywhere (strict CSP); motion is opt-in via html.motion
   (set by theme.js) and off under prefers-reduced-motion. */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-variable.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ----------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  --bg: #07060d;
  --bg-2: #0b0915;
  --surface: #100d1c;
  --surface-2: #171327;
  --surface-3: #201a35;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.15);
  --text: #f3f1fb;
  --muted: #a9a4bf;
  --faint: #8a85a3;
  --brand: #6a45f5;
  --brand-2: #5b36ea;
  --violet: #9a80ff;
  --red: #ff4f6e;
  --red-btn: #c81e44;
  --blue: #4f8dff;
  --tint: var(--violet);
  --wordmark-dark: url("/assets/img/wordmark-dark-360.webp");
  --wordmark-light: url("/assets/img/wordmark-light-360.webp");
  --bloom-dark: url("/assets/img/bloom-dark.webp");
  --bloom-light: url("/assets/img/bloom-light.webp");
  --wordmark-image: var(--wordmark-dark);
  --bloom-image: var(--bloom-dark);
  --header-bg: rgb(7 6 13 / 0.92);
  --shadow: 0 30px 80px -40px rgb(0 0 0 / 0.8);

  --sans: "Plex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 8px;
  --section: clamp(88px, 11vw, 160px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme="light"] {
  --wordmark-image: var(--wordmark-light);
  --bloom-image: var(--bloom-light);
  color-scheme: light;
  --bg: #fbfaff;
  --bg-2: #f3f1fa;
  --surface: #ffffff;
  --surface-2: #f1eefa;
  --surface-3: #e7e2f6;
  --line: rgb(20 12 50 / 0.1);
  --line-2: rgb(20 12 50 / 0.18);
  --text: #120d24;
  --muted: #4f4966;
  --faint: #6a6482;
  --brand: #5a34e8;
  --brand-2: #4f2bd9;
  --violet: #4f2bd9;
  --red: #c81e44;
  --red-btn: #c81e44;
  --blue: #1f5fd6;
  --header-bg: rgb(251 250 255 / 0.94);
  --shadow: 0 30px 70px -40px rgb(40 20 90 / 0.35);
}
@media (min-width: 1700px) { :root { --container: 1480px; } }

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 4vw, 5.25rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); }
h3 { font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.4375rem); line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.small { font-size: 0.9375rem; }
.muted { color: var(--muted); }
.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: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand); color: #fff; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b: var(--brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--b);
  border-radius: 999px;
  background: var(--b);
  color: #fff;
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn:hover { color: #fff; background: var(--brand-2); border-color: var(--brand-2); box-shadow: 0 12px 32px -14px var(--brand); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: 0.6; transform: none; box-shadow: none; }
.btn:disabled::after { display: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn-danger { --b: var(--red-btn); }
.btn-danger:hover { background: #a8173a; border-color: #a8173a; box-shadow: 0 12px 32px -14px var(--red-btn); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Text link with an underline that draws in. */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.45s var(--ease-out), color 0.2s;
}
.link:hover { background-size: 100% 1px; color: var(--text); }
.link .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.link:hover .icon { transform: translateX(4px); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: transform 0.45s var(--ease-out), border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-101%); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--red), var(--violet), var(--blue)); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wm-img { display: block; height: 28px; width: calc(28px * 360 / 110); background: var(--wordmark-image) center / contain no-repeat; }
.wordmark-sub { padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--faint); font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }

.nav-desktop { display: none; margin-left: auto; }
.nav-groups { display: flex; gap: 4px; list-style: none; }
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 0.96875rem var(--sans);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.nav-trigger .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease-out); }
.nav-trigger:hover, .nav-group.is-open .nav-trigger { color: var(--text); background: var(--surface-2); }
.nav-trigger.is-current { color: var(--text); }
.nav-trigger.is-current::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); margin-left: 2px; }
.nav-group.is-open .chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  width: 340px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgb(20 10 60 / 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.35s var(--ease-out);
  pointer-events: none;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group.is-open .nav-panel,
html:not(.nav-js) .nav-group:hover .nav-panel,
html:not(.nav-js) .nav-group:focus-within .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition: opacity 0.22s ease, transform 0.35s var(--ease-out); }
.nav-panel ul { list-style: none; display: grid; gap: 2px; }
.nav-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; transition: background-color 0.2s; }
.nav-item:hover, .nav-item:focus-visible { background: var(--surface-2); color: var(--text); }
.nav-item[aria-current="page"] { background: color-mix(in srgb, var(--tint) 10%, transparent); }
.nav-dot { flex-shrink: 0; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tint) 18%, transparent); transition: transform 0.35s var(--ease-out); }
.nav-item:hover .nav-dot { transform: scale(1.25); }
.nav-text { display: grid; gap: 2px; }
.nav-text b { font-weight: 600; font-size: 0.96875rem; }
.nav-text span { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.nav-group .nav-panel li { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .nav-group.is-open .nav-panel li { animation: nav-in 0.4s var(--ease-out) both; }
  .nav-group.is-open .nav-panel li:nth-child(2) { animation-delay: 0.04s; }
  .nav-group.is-open .nav-panel li:nth-child(3) { animation-delay: 0.08s; }
  .nav-group.is-open .nav-panel li:nth-child(4) { animation-delay: 0.12s; }
  .nav-group.is-open .nav-panel li:nth-child(5) { animation-delay: 0.16s; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(6px); } }
}
.tint-violet { --tint: var(--violet); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.5s var(--ease-out);
}
.icon-btn:hover { color: var(--text); transform: rotate(-20deg); }
.theme-btn .icon-sun { display: none; }
:root[data-theme="dark"] .theme-btn .icon-sun { display: block; }
:root[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* The emergency link: always visible, always red. */
.breach-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid color-mix(in srgb, var(--red) 55%, transparent);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.breach-link:hover { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0; }
.header-cta { display: none; }

.nav-mobile { position: relative; }
.nav-mobile > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  font-size: 0.9375rem;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: fixed;
  left: 0; right: 0; top: var(--header-h);
  max-height: calc(100svh - var(--header-h));
  overflow: auto;
  padding: 16px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-mobile ul { list-style: none; }
.nav-mobile-h { margin: 18px 0 4px; color: var(--faint); font: 500 0.8125rem var(--mono); }
.nav-mobile-h:first-child { margin-top: 4px; }
.nav-mobile li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.25rem; font-weight: 500; text-decoration: none; }
.nav-mobile li a[aria-current="page"] { color: var(--violet); }
.nav-mobile .btn { width: 100%; margin-top: 16px; }
@media (max-width: 520px) { .wordmark-sub, .header-actions .icon-btn { display: none; } .breach-link { padding: 0 12px; font-size: 0.875rem; } .header-actions { gap: 8px; } }
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .header-actions { margin-left: 8px; }
  .nav-mobile { display: none; }
  .header-cta { display: inline-flex; }
}

/* ----------------------------------------------------------------- heroes */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 45%, color-mix(in srgb, var(--tint) 16%, transparent), transparent 70%),
    linear-gradient(var(--bg), var(--bg));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(48px, 8vh, 96px);
}
.hero-copy { position: relative; z-index: 1; grid-column: 1; grid-row: 1; min-width: 0; max-width: 720px; }
.hero-copy h1 { max-width: 15ch; }
.hero-home h1 { max-width: 16ch; }
.lede { margin-top: 28px; max-width: 60ch; color: var(--muted); font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); line-height: 1.55; }
/* Keep both the canvas and still artwork in the content grid, at any width. */
.hero-art {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  aspect-ratio: 1;
  pointer-events: none;
}
.bloom-still { position: absolute; inset: 0; background: var(--bloom-image) center / contain no-repeat; }
.hero-art.is-bloom > .bloom-still { display: none; }
.hero-art > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art > canvas { -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent); mask-image: radial-gradient(closest-side, #000 80%, transparent); }
/* A pool of light under the bloom, so it sits in the scene rather than floating
   (not needed when it stands on water or a mirror floor). */
.hero-art[data-stage-now="water"]::before, .hero-art[data-stage-now="mirror"]::before { display: none; }
.hero-art.is-bloom::before {
  content: "";
  position: absolute;
  left: 27%; right: 27%; bottom: 21%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--violet) 45%, transparent), color-mix(in srgb, var(--brand) 12%, transparent) 55%, transparent);
  filter: blur(6px);
}
.hero-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-aurora > canvas { width: 100%; height: 100%; }
.hero-red { --tint: var(--red); }
.hero-blue { --tint: var(--blue); }
.back { margin-bottom: 28px; font-size: 0.9375rem; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--text); }

/* Promises under the home headline. */
.proof { display: grid; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; max-width: 680px; }
.proof li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.96875rem; line-height: 1.5; }
.proof .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--violet); }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

@media (max-width: 1039px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 24px;
    padding-block: 48px 32px;
  }
  .hero-art { grid-column: 1; grid-row: 2; max-width: 560px; }
}

/* Compact top for forms and legal pages. */
.page-top { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-top .lede { margin-top: 20px; }

/* --------------------------------------------------------------- sections */
.section { position: relative; padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { display: grid; gap: 20px; max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head p { color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem); max-width: 62ch; }
.section-head h2 { position: relative; }
.section-split { display: grid; gap: 28px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-split p { color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem); }
@media (min-width: 1000px) { .section-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }
.section-foot { margin-top: 48px; }
.mt-l { margin-top: 48px; }

/* An accent bar that draws in front of key headings. */
.accent { display: block; width: 56px; height: 3px; margin-bottom: 28px; border-radius: 2px; background: var(--tint); transform-origin: left; }
.tint-red { --tint: var(--red); }
.tint-blue { --tint: var(--blue); }

.two-col { display: grid; gap: 48px 72px; }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two-col h3 { margin-bottom: 12px; }
.two-col p { color: var(--muted); }
.prose-lg p { font-size: 1.125rem; color: var(--muted); }
.prose-lg p strong { color: var(--text); }

/* ------------------------------------------------------- service panels */
.svc-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 860px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc {
  --mx: 50%; --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--tint) 16%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tint); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.svc:hover { color: var(--text); transform: translateY(-6px); border-color: color-mix(in srgb, var(--tint) 40%, var(--line)); box-shadow: var(--shadow); }
.svc:hover::before { opacity: 1; }
.svc-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; }
.svc-name .icon { width: 28px; height: 28px; color: var(--tint); transition: transform 0.5s var(--ease-out); }
.svc:hover .svc-name .icon { transform: translate(4px, -4px); }
.svc-what { margin-top: 10px; color: var(--tint); font-weight: 500; }
.svc-text { margin-top: 18px; color: var(--muted); }
.svc-for { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.svc-for > span { display: flex; gap: 10px; color: var(--muted); font-size: 0.96875rem; line-height: 1.5; }
.svc-for > span::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--tint); }
.svc-cta { margin-top: auto; padding-top: 28px; font-weight: 500; }

/* -------------------------------------------------------------- chooser */
.chooser { display: grid; gap: 16px; }
@media (min-width: 1000px) { .chooser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; } }
.chooser-tabs { display: grid; gap: 8px; align-content: start; }
.chooser-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font: 500 1.0625rem/1.4 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s, transform 0.45s var(--ease-out);
}
.chooser-tab:hover { color: var(--text); transform: translateX(4px); }
.chooser-tab[aria-selected="true"] { color: var(--text); background: var(--surface-2); border-color: color-mix(in srgb, var(--tint) 55%, var(--line)); }
.chooser-tab .num { font: 500 0.8125rem var(--mono); color: var(--faint); }
.chooser-tab[aria-selected="true"] .num { color: var(--tint); }
.chooser-panel {
  position: relative;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.chooser-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tint); }
.chooser-panel h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); }
.chooser-panel .rec { margin-bottom: 14px; color: var(--tint); font: 500 0.875rem var(--mono); }
.chooser-panel p { margin-top: 16px; color: var(--muted); }
.chooser-panel .actions { margin-top: 28px; }
.chooser.is-ready .chooser-panel:not(.is-active) { display: none; }
.chooser:not(.is-ready) .chooser-tabs { display: none; }
.chooser:not(.is-ready) .chooser-panels { display: grid; gap: 16px; }

/* --------------------------------------------------------------- cards */
.cards { display: grid; gap: 16px; list-style: none; }
@media (min-width: 720px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .num { margin-bottom: 22px; color: var(--tint); font: 500 0.875rem var(--mono); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; background: color-mix(in srgb, var(--tint) 14%, transparent); color: var(--tint); }
.card-icon .icon { width: 24px; height: 24px; }

/* ------------------------------------------------------- feature rows */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows > li { display: grid; gap: 12px 48px; padding-block: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .rows > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.rows h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); }
.rows p { color: var(--muted); }

/* --------------------------------------------------------------- steps */
.steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); } }
.steps > li { position: relative; padding-top: 28px; counter-increment: step; }
.steps > li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--tint); font: 500 0.875rem var(--mono); }
.steps > li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.steps .bar { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 2px; background: var(--tint); transform-origin: left; }
.steps h3 { margin-bottom: 10px; font-size: 1.125rem; }
.steps p { color: var(--muted); font-size: 0.96875rem; }
.steps-4 { --n: 4; }

/* ---------------------------------------------------------- timeline */
.timeline-wrap { position: relative; padding-left: 52px; }
.timeline { list-style: none; }
.timeline-wrap::before, .timeline-fill { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.timeline-fill { background: linear-gradient(var(--red), var(--violet), var(--blue)); transform-origin: top; transform: scaleY(var(--tl, 1)); }
.timeline > li { position: relative; padding-bottom: 56px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -52px; top: 0;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  color: var(--faint);
  font: 500 0.75rem var(--mono);
  transition: border-color 0.4s, color 0.4s, background-color 0.4s, transform 0.5s var(--ease-out);
}
.timeline > li.is-past .timeline-dot { border-color: var(--violet); color: var(--text); background: var(--surface-2); transform: scale(1.08); }
.timeline h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem); }
.timeline p { color: var(--muted); max-width: 70ch; }
.timeline .checks { margin-top: 18px; }
section.section-alt .timeline-dot { background: var(--bg-2); }

/* -------------------------------------------------------------- lists */
.checks { display: grid; gap: 12px; list-style: none; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tint) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%239a80ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.tint-red .checks li::before, .checks-red li::before { background-color: color-mix(in srgb, var(--red) 18%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23ff4f6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tint-blue .checks li::before { background-color: color-mix(in srgb, var(--blue) 18%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%234f8dff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks-cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 0.875rem; }

.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts > div { display: grid; gap: 4px 32px; padding-block: 18px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .facts > div { grid-template-columns: 220px minmax(0, 1fr); } }
.facts dt { color: var(--faint); font: 500 0.875rem var(--mono); padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.def-grid { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .def-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .def-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.def-grid > div { padding: 26px 28px; background: var(--surface); }
.def-grid dt { margin-bottom: 8px; font-weight: 600; }
.def-grid dd { margin: 0; color: var(--muted); font-size: 0.96875rem; }

/* -------------------------------------------------------------- notes */
.note {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--tint);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
}
.note strong { color: var(--text); }
.note .icon { color: var(--tint); margin-top: 3px; }
.note-urgent { --tint: var(--red); }

.panel { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font-size: 1.375rem; margin-bottom: 12px; }
.panel h2:not(:first-child) { margin-top: 28px; }
.panel p { color: var(--muted); }
.panel .checks { margin-top: 18px; }
.panel .checks + p { margin-top: 18px; }
.panel-urgent { --tint: var(--red); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); background: color-mix(in srgb, var(--red) 6%, var(--surface)); }

/* ------------------------------------------------------------- stats */
.stats { display: grid; gap: 40px; margin: 0; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.stat { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--violet); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.6s var(--ease-out) calc(var(--d, 0ms) + 200ms); }
.stat dt { font-size: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat dd { margin: 16px 0 0; max-width: 32ch; color: var(--muted); }
.source { margin-top: 48px; color: var(--faint); font-size: 0.875rem; }
.source a { color: var(--muted); }

/* ------------------------------------------------------- attack chain */
.chain { margin: 0; padding: clamp(24px, 3.5vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chain-steps { display: grid; list-style: none; counter-reset: chain; }
.chain-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 30px 44px; counter-increment: chain; color: var(--red); }
.chain-step.is-detected { color: var(--blue); }
.chain-step.is-goal { color: var(--violet); }
.chain-step:last-child { padding-bottom: 0; }
.chain-step:not(:last-child)::before, .chain-step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line-2); }
.chain-step:not(:last-child)::after { background: linear-gradient(var(--red), color-mix(in srgb, var(--red) 50%, var(--violet))); transform-origin: top; }
.chain-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; background: color-mix(in srgb, currentColor 22%, var(--surface)); }
.chain-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.chain-name { color: var(--text); font-weight: 600; font-size: 1.0625rem; }
.chain-name::before { content: counter(chain, decimal-leading-zero) "  "; white-space: pre; color: var(--red); font: 500 0.75rem var(--mono); }
.chain-desc { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.chain-det { width: fit-content; margin-top: 10px; padding: 3px 10px; border: 1px solid currentColor; border-radius: 999px; font: 500 0.6875rem/1.4 var(--mono); letter-spacing: 0.03em; }
.chain-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.chain-replay { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 500 0.875rem var(--sans); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.chain-replay:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }
@media (min-width: 960px) {
  .chain-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .chain-step { padding: 42px 0 0; }
  .chain-step:not(:last-child)::before, .chain-step:not(:last-child)::after { top: 10px; bottom: auto; left: 30px; width: calc(100% + 20px - 38px); height: 2px; }
  .chain-step:not(:last-child)::after { background: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 50%, var(--violet))); transform-origin: left; }
  .chain-det { margin-top: auto; }
  .chain-desc { margin-bottom: 14px; }
}
.chain.is-armed .chain-step:not(.is-on) .chain-dot { color: var(--line-2); background: var(--surface); }
.chain.is-armed .chain-step:not(.is-on) .chain-det { opacity: 0; transform: translateY(6px); }
.chain.is-armed .chain-step:not(.is-on) .chain-name, .chain.is-armed .chain-step:not(.is-on) .chain-desc { opacity: 0.55; }
.chain.is-armed .chain-step:not(.is-link)::after { transform: scale(0); }
.chain-step .chain-det { transition: opacity 0.4s ease 0.2s, transform 0.5s var(--ease-out) 0.2s; }
.chain-step .chain-name, .chain-step .chain-desc { transition: opacity 0.4s; }
.chain-step::after { transition: transform 0.62s cubic-bezier(0.5, 0, 0.3, 1); }
.chain.is-armed .chain-cap > span { opacity: 0; }
.chain-cap > span { transition: opacity 0.5s; }

/* --------------------------------------------------------- Hound console */
.hound-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .hound-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }
.console {
  position: relative;
  overflow: hidden;
  background: #090713;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -50px rgb(106 69 245 / 0.55), var(--shadow);
  color: #f3f1fb;
  font: 400 0.8125rem/1.5 var(--mono);
}
.console-hd { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 10px 0 16px; border-bottom: 1px solid rgb(255 255 255 / 0.08); color: #a9a4bf; }
.console-dots { display: inline-flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3354; }
.console-dots i:first-child { background: #ff4f6e; }
.console-dots i:last-child { background: #4f8dff; }
.console-title b { color: #f3f1fb; font-weight: 500; }
.console-ver { color: #7d7894; }
.console-status { margin-left: auto; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.6875rem; color: #9a80ff; transition: color 0.3s; }
.console-status.is-analysing { color: #ff4f6e; }
.console-status.is-sealed, .console-status.is-reported { color: #4f8dff; }
.console-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a9a4bf; cursor: pointer; }
.console-btn:hover { color: #fff; border-color: rgb(255 255 255 / 0.15); }
.console-btn .icon { width: 16px; height: 16px; }
.console-btn .icon-play { display: none; fill: currentColor; stroke: none; }
.console-btn.is-paused .icon-pause { display: none; }
.console-btn.is-paused .icon-play { display: block; }
.console-log { display: flex; flex-direction: column; justify-content: flex-end; height: 24em; margin: 0; padding: 14px 16px; overflow: hidden; list-style: none; -webkit-mask-image: linear-gradient(transparent, #000 3.5em); mask-image: linear-gradient(transparent, #000 3.5em); }
.cl { display: grid; grid-template-columns: 4.4em 5.4em 6.6em minmax(0, 1fr); gap: 10px; padding: 4px 0; flex-shrink: 0; }
.cl-ts { color: #7d7894; }
.cl-ev { font-weight: 500; color: #9a80ff; }
.cl-src { color: #a9a4bf; }
.cl-found .cl-ev { color: #ff4f6e; }
.cl-clear .cl-ev, .cl-evidence .cl-ev, .cl-report .cl-ev { color: #4f8dff; }
.cl-bar { grid-template-columns: 4.4em 12.2em minmax(0, 1fr) 3em; align-items: center; }
.cl-track { height: 6px; border-radius: 3px; background: #201a35; overflow: hidden; }
.cl-fill { display: block; height: 100%; width: 100%; border-radius: 3px; background: linear-gradient(90deg, #6a45f5, #9a80ff); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.cl-pct { color: #a9a4bf; text-align: right; }
.cl-sep { display: block; padding: 10px 0 4px; color: #7d7894; }
.console-ft { margin: 0; padding: 10px 16px; border-top: 1px solid rgb(255 255 255 / 0.08); color: #8a85a3; font-size: 0.6875rem; }
@media (max-width: 560px) { .console { font-size: 0.6875rem; } .cl { grid-template-columns: 4em 4.6em minmax(0, 1fr); } .cl-src { display: none; } .cl-bar { grid-template-columns: 4em minmax(0, 1fr) 3em; } }

.points { display: grid; gap: 28px; list-style: none; margin-top: 36px; }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.points .card-icon { width: 44px; height: 44px; margin: 0; border-radius: 10px; }
.points .card-icon .icon { width: 22px; height: 22px; }
.points h3 { font-size: 1.125rem; margin-bottom: 6px; }
.points p { color: var(--muted); font-size: 0.96875rem; }

/* Hound flow: inputs on the left, Hound in the middle, outputs on the right. */
.flow { display: grid; gap: 16px; align-items: center; }
@media (min-width: 1000px) { .flow { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.4fr) 72px minmax(0, 1fr); gap: 0; } }
.flow-col { display: grid; gap: 12px; }
.flow-label { margin-bottom: 4px; color: var(--faint); font: 500 0.8125rem var(--mono); }
.flow-item { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.flow-item b { display: block; font-weight: 600; }
.flow-item span { color: var(--muted); font-size: 0.9375rem; }
.flow-core { position: relative; padding: 28px; border: 1px solid color-mix(in srgb, var(--violet) 55%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); box-shadow: 0 30px 80px -40px rgb(106 69 245 / 0.6); }
.flow-core h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.75rem; margin-bottom: 18px; }
.flow-core h3 span { color: var(--violet); font: 500 0.875rem var(--mono); }
.flow-core ol { display: grid; gap: 10px; list-style: none; }
.flow-core li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: 0.9375rem; }
.flow-link { position: relative; height: 2px; margin-inline: 8px; background: var(--line-2); overflow: hidden; }
.flow-link::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--violet), transparent); transform: translateX(-100%); }
@media (max-width: 999px) { .flow-link { width: 2px; height: 32px; margin: 0 auto; } .flow-link::after { width: 100%; height: 40%; background: linear-gradient(transparent, var(--violet), transparent); transform: translateY(-100%); } }

/* ------------------------------------------------------------- team */
.team-grid { display: grid; gap: 16px; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.member-card {
  --mx: 50%; --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.member-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--violet) 14%, transparent), transparent 65%); opacity: 0; transition: opacity 0.4s; }
.member-card:hover { color: var(--text); transform: translateY(-6px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); box-shadow: var(--shadow); }
.member-card:hover::before { opacity: 1; }
.member-avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--brand) 55%, var(--blue)); color: #fff; font: 600 1.25rem var(--sans); letter-spacing: 0.02em; transition: transform 0.7s var(--ease-out); }
.member-card:hover .member-avatar { transform: scale(1.06) rotate(-6deg); }
.member-avatar-lg { width: 88px; height: 88px; margin: 0; font-size: 1.5rem; }
.member-avatar { overflow: hidden; flex-shrink: 0; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-card .member-avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; font-size: 2.5rem; }
.member-role { color: var(--violet); font: 500 0.875rem var(--mono); }
.member-name { margin-top: 6px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.member-summary { margin-top: 12px; color: var(--muted); overflow-wrap: anywhere; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.member-tags span { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 0.8125rem; }
.member-more { margin-top: auto; padding-top: 24px; font-weight: 500; }
.member-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / 0.8);
}
.member-dialog::backdrop { background: rgb(4 3 10 / 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; transition: transform 0.4s var(--ease-out), color 0.2s; }
.dialog-close:hover { color: var(--text); transform: rotate(90deg); }
.member-detail { padding: clamp(28px, 4vw, 48px); }
.member-head { display: flex; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.member-head .member-name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin-top: 4px; }
.member-ctf { margin-top: 6px; color: var(--faint); font-size: 0.875rem; }
.member-body { padding-block: 28px; }
.member-body p { color: var(--muted); }
.member-facts { margin: 0; display: grid; gap: 20px; }
.member-facts dt { margin-bottom: 8px; color: var(--faint); font: 500 0.8125rem var(--mono); }
.member-facts dd { margin: 0; }
.member-list { list-style: none; display: grid; gap: 4px; }
.dialog-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }

/* ---------------------------------------------------- clients and cases */
.org-grid { display: grid; gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.org { display: grid; gap: 6px; align-content: start; padding: 32px; background: var(--surface); transition: background-color 0.3s; }
.org:hover { background: var(--surface-2); }
.org-name { font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.org-name a { color: var(--text); text-decoration: none; }
.org-sector { color: var(--violet); font: 500 0.8125rem var(--mono); overflow-wrap: anywhere; }
.org-note { color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.org-list { display: grid; gap: 12px; list-style: none; }
.org-list .org { border: 1px solid var(--line); border-radius: var(--radius); }

.case-card { --tint: var(--violet); }
.case-card.card-red { --tint: var(--red); }
.case-card.card-blue { --tint: var(--blue); }
.case-card::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: var(--tint); }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 18px; color: var(--faint); font: 500 0.8125rem var(--mono); }
.case-practice { color: var(--tint); }
.case-card h3 { overflow-wrap: anywhere; }
.case-link { color: var(--text); text-decoration: none; }
.case-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.case-link:hover { color: var(--text); }
.case-card p { overflow-wrap: anywhere; }
.case-client { margin-top: auto; padding-top: 20px; color: var(--faint); font-size: 0.875rem; }
.case-layout { display: grid; gap: 48px; }
@media (min-width: 960px) { .case-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } .case-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.case-body { max-width: 70ch; }
.case-body h2 { margin: 56px 0 16px; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2rem); }
.case-body h2:first-child { margin-top: 0; }
.case-body p { color: var(--muted); overflow-wrap: anywhere; }
.case-body .checks li { overflow-wrap: anywhere; }

/* --------------------------------------------------------------- forms */
.contact-grid { display: grid; gap: 48px; padding-block: clamp(48px, 6vw, 88px) var(--section); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.contact-aside { display: grid; gap: 16px; }
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .field legend { font-weight: 500; }
.req, .opt { margin-left: 6px; color: var(--faint); font-size: 0.8125rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: 400 1rem/1.5 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--violet) 45%, var(--line-2)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 22%, transparent); }
.field-hint { color: var(--faint); font-size: 0.9375rem; }
.field-error { color: var(--red); font-size: 0.9375rem; font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 12px; padding: 0; }
.radios { display: grid; gap: 10px; }
@media (min-width: 640px) { .radios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.radio label::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--line-2); border-radius: 50%; transition: border-color 0.2s, box-shadow 0.2s; }
.radio input:checked + label { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 8%, var(--surface)); }
.radio input:checked + label::before { border-color: var(--violet); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--violet); }
.radio input:focus-visible + label { outline: 2px solid var(--violet); outline-offset: 2px; }
.radio-breach input:checked + label { border-color: var(--red); background: color-mix(in srgb, var(--red) 9%, var(--surface)); }
.radio-breach input:checked + label::before { border-color: var(--red); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--red); }
.breach-callout { overflow: hidden; display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s var(--ease-out), opacity 0.3s; }
.breach-callout > div { min-height: 0; }
.breach-callout.is-hidden { grid-template-rows: 0fr; opacity: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { color: var(--faint); font-size: 0.9375rem; }
.form .btn { justify-self: start; }
.alert, .error-summary { padding: 20px 24px; border: 1px solid var(--red); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--red) 8%, var(--surface)); margin-bottom: 24px; }
.error-summary h2 { font-size: 1.125rem; margin-bottom: 8px; }
.error-summary ul { list-style: none; display: grid; gap: 4px; }
.error-summary a { color: var(--red); font-weight: 500; }
.fingerprint { overflow-wrap: anywhere; color: var(--muted); }

/* --------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 1.25rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9375rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.prose th { color: var(--text); font-weight: 600; }
.sec, .sec-tight { padding-block: clamp(56px, 7vw, 104px); }
.placeholder { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
pre.placeholder { white-space: pre-wrap; font: 0.875rem/1.6 var(--mono); }

/* ---------------------------------------------------------------- CTA */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(96px, 12vw, 176px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 50%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.cta-flower { position: absolute; z-index: -1; right: -6%; top: 50%; width: min(56vw, 760px); translate: 0 -50%; }
.cta-flower .flower, .spin-flower .flower, .footer-flower .flower { width: 100%; height: auto; fill: none; stroke: color-mix(in srgb, var(--violet) 40%, transparent); stroke-width: 2.5; }
.cta h2 { max-width: 18ch; font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem); }
.cta p { margin-top: 20px; max-width: 54ch; color: var(--muted); font-size: 1.1875rem; }
@media (max-width: 899px) { .cta-flower { width: 320px; right: -110px; top: auto; bottom: -120px; translate: none; } }

/* -------------------------------------------------------------- footer */
.site-footer { padding-block: 80px 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.footer-tag { margin-top: 20px; max-width: 34ch; color: var(--muted); }
.footer-note { margin-top: 12px; color: var(--faint); font-size: 0.875rem; }
.footer-nav { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-h { margin-bottom: 14px; color: var(--faint); font: 500 0.8125rem var(--mono); letter-spacing: 0; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.875rem; overflow-wrap: anywhere; }

/* ============================================================== motion
   Everything below only moves with motion allowed. The hidden "before"
   states apply under html.motion, which theme.js sets before first paint
   and removes again if site.js never runs. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out 0.25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 0.5s var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

  /* Server-rendered words retain the original entrance and stagger without
     waiting for JavaScript. Dynamic enhancements use the same word class. */
  .is-split .w:nth-child(1) { --i: 0; }
  .is-split .w:nth-child(2) { --i: 1; }
  .is-split .w:nth-child(3) { --i: 2; }
  .is-split .w:nth-child(4) { --i: 3; }
  .is-split .w:nth-child(5) { --i: 4; }
  .is-split .w:nth-child(6) { --i: 5; }
  .is-split .w:nth-child(7) { --i: 6; }
  .is-split .w:nth-child(8) { --i: 7; }
  .is-split .w:nth-child(9) { --i: 8; }
  .is-split .w:nth-child(10) { --i: 9; }
  .is-split .w:nth-child(11) { --i: 10; }
  .is-split .w:nth-child(12) { --i: 11; }
  .is-split .w:nth-child(13) { --i: 12; }
  .is-split .w:nth-child(14) { --i: 13; }
  .is-split .w:nth-child(15) { --i: 14; }
  .is-split .w:nth-child(16) { --i: 15; }
  .is-split .w:nth-child(17) { --i: 16; }
  .is-split .w:nth-child(18) { --i: 17; }
  .is-split .w:nth-child(19) { --i: 18; }
  .is-split .w:nth-child(20) { --i: 19; }
  .is-split .w:nth-child(21) { --i: 20; }
  .is-split .w:nth-child(22) { --i: 21; }
  .is-split .w:nth-child(23) { --i: 22; }
  .is-split .w:nth-child(24) { --i: 23; }
  .is-split .w:nth-child(25) { --i: 24; }
  .is-split .w:nth-child(26) { --i: 25; }
  .is-split .w:nth-child(27) { --i: 26; }
  .is-split .w:nth-child(28) { --i: 27; }
  .is-split .w:nth-child(29) { --i: 28; }
  .is-split .w:nth-child(30) { --i: 29; }
  .is-split .w:nth-child(31) { --i: 30; }
  .is-split .w:nth-child(32) { --i: 31; }
  .motion .hero-copy > :not(h1) { animation: rise 0.9s var(--ease-out) both; }
  .motion .hero-copy > :nth-child(2) { animation-delay: 0.35s; }
  .motion .hero-copy > :nth-child(3) { animation-delay: 0.45s; }
  .motion .hero-copy > :nth-child(4) { animation-delay: 0.55s; }
  .motion .hero-copy > :nth-child(5) { animation-delay: 0.65s; }
  .motion .hero-copy h1:not(.is-split) { opacity: 0; }
  .w { display: inline-block; }
  .motion .is-split .w { animation: word 0.9s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes word { from { opacity: 0; transform: translateY(0.5em); filter: blur(6px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  .hero-art.is-bloom { animation: fade 1.8s var(--ease-out) both; }
  @keyframes fade { from { opacity: 0; } }

  /* Scroll reveals. */
  .motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(40px); }
  .motion [data-reveal="fade"]:not(.is-in) { transform: none; }
  .motion [data-reveal="left"]:not(.is-in) { transform: translateX(-40px); }
  .motion [data-reveal="scale"]:not(.is-in) { transform: scale(0.96); }
  .motion [data-reveal].is-in:not(.is-done) { transition: opacity 0.9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
  .motion .accent:not(.is-in) { transform: scaleX(0); }
  .accent { transition: transform 1s var(--ease-out) 0.15s; }
  .motion .svc:not(.is-in)::after { transform: scaleX(0); }
  .svc::after { transition-delay: calc(var(--d, 0ms) + 300ms); }
  .motion .steps > li:not(.is-in) .bar { transform: scaleX(0); }
  .steps .bar { transition: transform 1.1s var(--ease-out) calc(var(--d, 0ms) + 250ms); }
  .motion .stat:not(.is-in)::before { transform: scaleX(0); }

  /* The header's emergency dot pulses three times, then rests. */
  .pulse::after { animation: ping 1.6s ease-out 0.8s 3; }
  @keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }

  /* Hound flow: light travels from the inputs into Hound and out to the outputs. */
  .flow.is-live .flow-link::after { animation: flow-x 1.8s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
  .flow.is-live .flow-link:nth-of-type(4)::after { animation-delay: 0.9s; }
  @keyframes flow-x { to { transform: translateX(260%); } }
  @media (max-width: 999px) {
    .flow.is-live .flow-link::after { animation-name: flow-y; }
    @keyframes flow-y { to { transform: translateY(260%); } }
  }

  /* Attack chain: dots pop and ring as the attacker reaches them. */
  .chain.is-armed .chain-step.is-on .chain-dot { animation: pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
  .chain.is-armed .chain-step.is-on .chain-dot::after { animation: ring 1s ease-out both; }
  .chain.is-armed .chain-step.is-detected.is-on .chain-dot::after { animation: ring 1s ease-out 2 both; }
  @keyframes pop { from { transform: scale(0.4); } }
  @keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.6); opacity: 0; } }

  /* Console rows slide in. */
  .cl { animation: cl-in 0.45s var(--ease-out) both; }
  @keyframes cl-in { from { opacity: 0; transform: translateY(8px); } }
  .cl-fill { transition: transform var(--fill-time, 1.2s) cubic-bezier(0.4, 0.1, 0.3, 1); }

  /* Chooser panel swap. */
  .chooser-panel.is-active { animation: panel-in 0.6s var(--ease-out) both; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }

  .member-dialog[open] { animation: dialog-in 0.5s var(--ease-out) both; }
  .member-dialog[open]::backdrop { animation: fade 0.4s ease both; }
  @keyframes dialog-in { from { opacity: 0; transform: translateY(28px) scale(0.97); } }
}

/* ---------------------------------------------------- user preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .svc, .card, .chooser-tab { border: 1px solid ButtonText; }
  .accent, .stat::before, .svc::after, .timeline-fill, .steps .bar { background: CanvasText; }
}
@media print {
  .site-header, .hero-art, .cta, .nav-mobile, .console-btn, .spin-flower, .footer-flower { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-grid { min-height: 0; }
}

/* ------------------------------------------------------------- variants */
@media (min-width: 720px) { .def-grid-1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1100px) { .def-grid-1 { grid-template-columns: minmax(0, 1fr); } .def-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts-stack > div { grid-template-columns: minmax(0, 1fr) !important; }
.member-page { padding: 0; }
.page-top h1 { max-width: 20ch; }
@media (prefers-reduced-motion: no-preference) {
  .motion .page-top h1:not(.is-split) { opacity: 0; }
  .motion .page-top .container > :not(h1) { animation: rise 0.9s var(--ease-out) 0.3s both; }
}

/* ------------------------------------------------------- spinning flowers */
.page-top-art { position: relative; overflow: hidden; isolation: isolate; }
.spin-flower { position: absolute; z-index: -1; right: max(-60px, calc((100vw - var(--container)) / 2 - 60px)); top: 50%; width: min(28vw, 340px); translate: 0 -50%; }
@media (max-width: 899px) { .spin-flower { width: 260px; right: -90px; top: 20px; translate: none; opacity: 0.6; } }
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.footer-flower { position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; opacity: 0.6; }
[data-spin] { will-change: auto; }

/* ------------------------------------------------------------- filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
@media (min-width: 1000px) { .filters { justify-content: flex-end; } }
.filter { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font: 500 0.9375rem var(--sans); cursor: pointer; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.filter:hover { color: var(--text); border-color: var(--tint, var(--violet)); }
.filter.is-on { color: #fff; background: var(--brand); border-color: var(--brand); }
.filter.tint-red.is-on { background: var(--red-btn); border-color: var(--red-btn); }
.filter.tint-blue.is-on { background: var(--blue); border-color: var(--blue); }
[data-filter-grid] > .is-filtered { display: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-filter-grid] > .is-shown { animation: pop-in 0.55s var(--ease-out) both; animation-delay: var(--fd, 0ms); }
  @keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
}
.case-card.card-infra { --tint: var(--violet); }
.research-card { --tint: var(--violet); overflow: hidden; }
.research-card::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--violet), var(--blue)); }
.research-tags { margin-top: 18px; }

/* ------------------------------------------------------------ card tilt */
[data-tilt] { transform-style: preserve-3d; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .motion-ok [data-tilt].is-done:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); transition: transform 0.15s ease-out, border-color 0.4s, box-shadow 0.6s var(--ease-out); }
}

/* ------------------------------------------- light theme: hero artwork */
:root[data-theme="light"] .hero::before { background: radial-gradient(60% 70% at 78% 45%, color-mix(in srgb, var(--tint) 9%, transparent), transparent 70%), linear-gradient(var(--bg), var(--bg)); }
:root[data-theme="light"] .console { box-shadow: 0 40px 90px -45px rgb(80 50 200 / 0.45); }
:root[data-theme="light"] .member-dialog::backdrop { background: rgb(30 20 60 / 0.35); }
.radio-breach { grid-column: 1 / -1; }

/* Long-form research: evidence tables, inert code excerpts and local figures. */
.research-body { min-width: 0; max-width: none; }
.research-publication { padding: 24px; margin-bottom: 40px; background: var(--bg-2); border-left: 3px solid var(--violet); border-radius: var(--radius-sm); font-size: 0.9375rem; }
.research-publication:empty { display: none; }
.research-content { line-height: 1.75; }
.research-content > :first-child { margin-top: 0; }
.research-content h2, .research-content h3, .research-content h4 { scroll-margin-top: calc(var(--header-h) + 24px); }
.research-content h2 { margin: 56px 0 20px; }
.research-content h3 { margin: 36px 0 16px; font-size: 1.375rem; }
.research-content h4 { margin: 28px 0 12px; font-size: 1.125rem; }
.research-content p, .research-content li { color: var(--muted); overflow-wrap: anywhere; }
.research-content p { margin-block: 18px; }
.research-content ul, .research-content ol { padding-left: 24px; margin-block: 20px; }
.research-content li + li { margin-top: 8px; }
.research-content code { padding: 2px 5px; border-radius: 4px; background: var(--surface-2); color: var(--text); font: 0.85em/1.65 var(--mono); overflow-wrap: anywhere; }
.research-content pre { max-width: 100%; max-height: 36rem; overflow: auto; margin-block: 28px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface-2); }
.research-content pre code { padding: 0; white-space: pre; overflow-wrap: normal; font-size: 0.8125rem; }
.research-content blockquote { margin: 28px 0; padding: 8px 24px; border-left: 3px solid var(--violet); background: var(--bg-2); }
.research-content figure { margin: 32px 0; }
.research-content figure img { width: 100%; height: auto; max-height: 900px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.research-content figcaption { margin-top: 12px; color: var(--faint); font-size: 0.875rem; }
.research-content hr { border: 0; border-top: 1px solid var(--line-2); margin-block: 40px; }
.research-table { max-width: 100%; overflow: auto; margin-block: 28px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.research-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.6; }
.research-table th, .research-table td { min-width: 120px; padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.research-table th { color: var(--text); background: var(--surface-2); font-weight: 600; }
.research-table td { color: var(--muted); }
.research-toc { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.research-toc summary { cursor: pointer; color: var(--text); font-weight: 500; }
.research-toc ol { list-style: none; margin-top: 16px; }
.research-toc li + li { margin-top: 10px; }
.research-toc a { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.5; text-decoration: none; }
.research-toc a:hover { color: var(--violet); }
@media (min-width: 960px) {
  .research-layout { grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: 64px; }
  .research-layout .case-aside { max-height: calc(100svh - var(--header-h) - 48px); overflow: auto; padding-right: 12px; }
}

/* Partners */
.partner-grid { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
.partner-card { display: grid; grid-template-columns: minmax(220px, 0.8fr) 2fr; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); transition: border-color 0.25s; }
.partner-card:hover, .partner-card:focus-within { border-color: color-mix(in srgb, var(--violet) 55%, var(--line-2)); }
.partner-art { display: grid; place-content: center; justify-items: center; gap: 24px; padding: 48px 24px; border-right: 1px solid var(--line); background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 72%), linear-gradient(135deg, var(--surface-2), var(--surface)); }
.partner-server { display: grid; place-items: center; width: 100px; height: 100px; color: var(--violet); border: 1px solid color-mix(in srgb, var(--violet) 35%, transparent); border-radius: 24px; background: color-mix(in srgb, var(--violet) 8%, var(--surface)); box-shadow: 0 16px 48px -24px var(--violet), inset 0 1px 0 var(--line-2); }
.partner-server .icon { width: 48px; height: 48px; stroke-width: 1.2; }
.partner-art-caption { font: 400 0.6875rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.partner-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.partner-category { display: inline-flex; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--violet) 25%, transparent); border-radius: 99px; background: color-mix(in srgb, var(--violet) 7%, transparent); color: var(--violet); font: 400 0.75rem var(--mono); }
.partner-info h3 { margin: 20px 0 12px; font-size: clamp(1.875rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.15; }
.partner-info p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.partner-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding-block: 8px; color: var(--text); font-weight: 500; text-decoration: none; }
.partner-link .icon { width: 20px; height: 20px; color: var(--violet); transition: transform 0.2s; }
.partner-link:hover .icon { transform: translate(3px, -3px); }
.partner-invite { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.partner-invite p { margin: 0; color: var(--muted); }
@media (max-width: 600px) {
  .partner-card { grid-template-columns: 1fr; }
  .partner-art { padding: 32px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-server { width: 80px; height: 80px; border-radius: 20px; }
  .partner-server .icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .partner-card, .partner-link .icon { transition: none; } }

/* Contact form */
.contact-form-wrap { min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); align-self: start; }
.contact-form-heading { margin-bottom: 28px; }
.contact-eyebrow { color: var(--violet); font: 400 0.75rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.contact-form-heading h2 { margin: 12px 0 8px; font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.03em; }
.contact-form-heading p { margin: 0; color: var(--muted); }
.contact-notice { padding: 16px 20px; border-color: color-mix(in srgb, var(--violet) 30%, var(--line)); background: color-mix(in srgb, var(--violet) 5%, var(--surface)); border-radius: 12px; color: var(--muted); font-size: 0.9375rem; }
.contact-form-wrap .form { gap: 24px; }
.contact-form-wrap .field { min-width: 0; align-content: start; }
.contact-form-wrap .field label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 0.9375rem; }
.contact-form-wrap .req, .contact-form-wrap .opt { flex-shrink: 0; margin: 0; font-size: 0.75rem; }
.contact-form-wrap .field input, .contact-form-wrap .field select, .contact-form-wrap .field textarea { background: var(--bg-2); border-radius: 10px; }
.contact-form-wrap .field input, .contact-form-wrap .field select { height: 54px; }
.contact-form-wrap .field-hint { margin: 0; font-size: 0.875rem; line-height: 1.6; }
.contact-form-wrap .field-error { margin: 0; }
.select-wrap { position: relative; min-width: 0; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; text-overflow: ellipsis; }
.select-chevron { position: absolute; right: 17px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.select-wrap:focus-within .select-chevron { stroke: var(--violet); }
.select-wrap select:required:invalid { color: var(--faint); }
.select-wrap option { color: var(--text); background: var(--surface); }
.breach-callout[hidden] { display: none; }
.contact-form-wrap .form-privacy { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.contact-form-wrap .form > .btn { width: 100%; justify-content: center; }
@media (max-width: 639px) { .contact-form-wrap .field-row { gap: 24px; } }
@media (forced-colors: active) { .select-wrap select { appearance: auto; } .select-chevron { display: none; } }
