/* Version 7 (v7.html): version 5's layout (BG5DESIGN.md) with the imagery, gradients,
   grading and type-over-image rules of BRAND-VISUALS.md, opening on version 4's un-paint
   landing. Started as a copy of v5.css; set in Geist with Geist Mono labels instead of
   Satoshi. The review switcher and modals come from shared.css, retinted at the end. */

:root {
  /* Brand */
  --bg-purple: #642d99;
  --bg-purple-hover: #52237f;
  --bg-lavender: #967de3;
  --bg-lavender-tint: #f3eef9;
  --bg-plum: #481157;
  --bg-mauve: #80638e;
  /* Surfaces */
  --canvas: #fafaf9;
  --surface: #ffffff;
  --surface-muted: #f5f5f7;
  --midnight: #000118;
  --midnight-card: rgba(255, 255, 255, 0.04);
  /* Text */
  --ink: #111114;
  --ink-muted: #55555c;
  --ink-subtle: #8a8a92;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.64);
  /* Lines */
  --border: #e4e4e7;
  --border-strong: #d9d9dc;
  --border-dark: rgba(255, 255, 255, 0.12);
  /* Type */
  --font-site: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Image-derived extensions (BRAND-VISUALS §3) */
  --glow: #d78dec;
  --electric: #8742c6;
  --indigo-dusk: #343a69;
  --haze: #615d82;
  --blush: #d6bdca;
  --signal-void: #050109;
  --signal-plum: #240c46;
  /* Signature gradients: fallbacks under every image, and the art where none exists yet */
  --grad-signal: linear-gradient(180deg, #050109 0%, #0f092b 55%, #000118 100%);
  --grad-glow: radial-gradient(60% 40% at 25% 35%, rgba(215, 141, 236, 0.35), transparent 60%);
  --grad-thread: linear-gradient(160deg, #343a69 0%, #615d82 40%, #9689a0 70%, #d6bdca 100%);
  --grad-horizon: linear-gradient(180deg, #9088b1 0%, #c0aec3 45%, #aa90a5 70%, #907ca8 100%);
  /* 2-3% monochrome grain, laid over every image (§5) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Depth (navy-tinted, never pure black) */
  --shadow-1: 0 12px 32px rgba(17, 17, 20, 0.08);
  --shadow-2: 0 16px 40px rgba(17, 17, 20, 0.12);
  --shadow-3: 0 24px 48px rgba(0, 1, 24, 0.12);
  /* Layout */
  --nav-h: 76px;
  --gutter: 64px;
  --max: 1200px;
  --section-y: 128px;
  /* What shared.css falls back on */
  --accent: var(--bg-purple);
  --accent-shadow: var(--bg-purple-hover);
  --font: var(--font-site);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  margin: 0;
  font-family: var(--font-site);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[id] { scroll-margin-top: var(--nav-h); }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.canvas { background: var(--canvas); }
.midnight { background: var(--midnight); color: var(--on-dark); }
.center { text-align: center; }

/* ---------- Type ---------- */

/* One accent word per headline: glow on dark imagery */
.glow { font-style: normal; color: var(--glow); }
.display { margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.h1 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -0.01em; }
.statement { max-width: 840px; margin: 0 auto; font-size: 22px; line-height: 1.45; letter-spacing: -0.01em; }
/* Every section opens with one of these */
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.midnight .eyebrow { color: var(--on-dark-muted); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.midnight .tag { border-color: var(--border-dark); color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--bg-purple); color: #fff; }
.btn-primary:hover { background: var(--bg-purple-hover); }
.btn-secondary { border-color: currentColor; background: transparent; }
.btn-secondary:hover { background: var(--surface-muted); }
.midnight .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-glass {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn-small { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--bg-purple); }
.midnight .text-link { color: var(--bg-lavender); }
.cta-band .text-link { display: inline; color: rgba(255, 255, 255, 0.85); } /* flows with its text, so the arrow stays on the last word */
.arrow { display: inline-block; transition: transform 0.15s ease; }
a:hover > .arrow, a:hover .text-link .arrow { transform: translateX(3px); }

/* ---------- Placeholders (art, screenshots, logos we don't have yet) ---------- */

.placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  background: var(--surface-muted);
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-subtle);
}
.placeholder.dark { border-color: var(--border-dark); background: rgba(255, 255, 255, 0.04); }
.placeholder.dark::after { color: rgba(255, 255, 255, 0.4); }
.lines { display: grid; gap: 10px; }
.bar { display: block; height: 12px; width: 100%; border-radius: 6px; background: var(--border); }
.midnight .bar { background: rgba(255, 255, 255, 0.1); }
.bar.big { height: 32px; border-radius: 8px; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }

/* ---------- Nav ----------
   Transparent with white text over the pinned hero; once the sheet passes under it
   (.on-light, script.js) a canvas bar at 85% with blur. The logo is hidden until the
   hero's logo lands in its spot (.logo-docked). Tabs: no underline at rest, underline on hover; the
   active tab sits on an off-white pill that slides between tabs (script.js). */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  color: var(--on-dark);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.nav.on-light {
  background: rgba(250, 250, 249, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  color: var(--ink);
}
/* Over a dark section past the hero: a midnight bar at 85% with blur, white text */
.nav.on-dark { background: rgba(0, 1, 24, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--border-dark); }
.logo { display: block; justify-self: start; }
.logo img, .logo svg { display: block; height: 22px; width: auto; }
.logo .logo-base { transition: filter 0.25s ease; }
.nav:not(.on-light) .logo-base { filter: invert(1); }
.nav:not(.logo-docked) .logo { visibility: hidden; }
.nav-cta { justify-self: end; }

.nav-links { position: relative; display: flex; gap: 4px; }
.nav-tab {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border: 0;
  border-radius: 2px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.nav-tab:hover { text-decoration: underline; }
.nav-tab.is-active { color: var(--ink); }
.nav-pill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pill-w, 0);
  border-radius: 2px;
  background: #f1eff4;
  opacity: 0;
  transform: translateX(var(--pill-x, 0));
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.nav-pill.is-shown { opacity: 1; }
.nav-pill.is-sliding { transition: opacity 0.2s ease, transform 0.25s ease, width 0.25s ease; }

/* Dropdowns: a white panel under the tab (script.js sets --menu-left), mono headers */
.nav-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: var(--menu-left, 0);
  width: max-content;
  min-width: 240px;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
  color: var(--ink);
  animation: menu-in 0.2s ease;
}
.nav-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; translate: 0 -6px; } }
.nav-menu ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-menu a {
  display: block;
  margin-inline: -10px;
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--surface-muted); color: var(--bg-purple); }

/* ---------- 1 Hero ----------
   One screen (js/hero.js): the words of "Confidence in every click" arrive one by one,
   and as "click" lands a ring spreads from the word and turns the oil painting into the
   digital particle wave. Clicks on the picture send more rings. The logo sits above the
   headline and flies into the nav as the page scrolls; the page then scrolls on as
   normal. Graded per BRAND-VISUALS §5: the image toward midnight, a soft glow at the
   crest, 2-3% grain, the bottom fading into midnight, and a left scrim for text. */

.hero-stage { position: relative; background: var(--midnight); }
.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--grad-signal);
  color: var(--on-dark);
}
.unpaint-canvas, .unpaint-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.unpaint-fallback { object-fit: cover; }
/* Text scrim (§4) */
.unpaint-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 1, 24, 0.72) 0%, rgba(0, 1, 24, 0) 60%); pointer-events: none; }
.hero-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 85%, var(--midnight) 100%),
    var(--grad-glow);
}
/* Midnight multiplied over the image so its blacks match the page */
.hero-grade::before { content: ""; position: absolute; inset: 0; background: var(--midnight); opacity: 0.25; mix-blend-mode: multiply; }
.hero-grain, .cta-band::after, .horizon::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--grain);
  opacity: 0.03;
  pointer-events: none;
}
.hero-grain { content: ""; opacity: 0.035; }

/* The copy: the logo, the headline, then the button with the New link beside it */
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--nav-h) var(--gutter) clamp(88px, 13vh, 150px);
}
.hero-logo { width: max-content; margin: 0 0 clamp(26px, 4vh, 44px); transform-origin: 0 0; }
.hero .hero-logo svg { height: clamp(30px, 3.2vw, 48px); }
.hero-logo .logo-base { filter: invert(1); }
.hero-logo.is-docked { visibility: hidden; }
/* Headline on the Signal (§4): weight 500, white, one line on a wide screen */
.hero-title {
  margin: 0;
  font-size: clamp(44px, 6.1vw, 100px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 1, 24, 0.35);
}
.hero-title > span, .hero-title > em { display: inline-block; }
/* The glow word starts white and lights up as it lands (data-lit) */
.hero-title .glow { color: #fff; transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease, color 1.2s ease, text-shadow 1.2s ease; }
.hero-title .glow.is-lit { color: var(--glow); text-shadow: 0 0 42px rgba(215, 141, 236, 0.45); }
.hero .hero-actions { margin-top: clamp(30px, 4.5vh, 52px); align-items: center; gap: 16px 36px; }

/* The intro (js/hero.js): each element with data-in arrives at its time. Hidden only
   once the script has said it is running (the html.hero-intro class, set in the head). */
.hero-intro .hero [data-in] {
  opacity: 0;
  translate: 0 0.28em;
  filter: blur(8px);
  transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease;
}
.hero-intro .hero .hero-logo[data-in], .hero-intro .hero .hero-actions[data-in], .hero-intro .hero .hero-new[data-in] { translate: 0 12px; filter: none; }
.hero-intro .hero [data-in].is-in { opacity: 1; translate: 0 0; filter: none; }
.hero-intro .hero .glow[data-in] { transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease, color 1.2s ease, text-shadow 1.2s ease; }

/* The button: a dark fill inside a gradient edge that travels round it on hover */
@property --hero-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero-actions .btn-primary {
  min-height: 52px;
  padding: 0 26px;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: #0c0824;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 16px 36px -16px rgba(135, 66, 198, 0.9);
  transition: transform 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--hero-spin), #8742c6, #d78dec, #ffffff, #d78dec, #8742c6 50%, #3a1a6e 70%, #8742c6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: hero-spin 2.4s linear infinite paused;
}
@keyframes hero-spin { to { --hero-spin: 360deg; } }
.hero-actions .btn-primary::after { display: none; }
.hero-actions .btn-primary:hover { transform: translateY(-2px); background: #1a1040; box-shadow: 0 0 36px -6px rgba(215, 141, 236, 0.75); }
.hero-actions .btn-primary:hover::before, .hero-actions .btn-primary:focus-visible::before { animation-play-state: running; }
.hero-actions .btn-primary:hover .arrow { transform: translateX(4px); }
.hero-actions .btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* The new-content link: "New" in the glow, the title in white, the arrow nudging on hover */
.hero-new {
  display: inline-block;
  align-self: center;
  max-width: 100%;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 14px rgba(0, 1, 24, 0.75);
}
.hero-new .n { margin-right: 0.75em; color: var(--glow); }
.hero-new .t { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color 0.2s ease; }
.hero-new:hover .t, .hero-new:focus-visible .t { text-decoration-color: currentColor; }
.hero-new .nw { white-space: nowrap; }
.hero-new .arrow { margin-left: 0.3em; }
.hero-new:hover .arrow { transform: translateX(3px); }
.hero-new:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 640px) {
  .hero-copy { padding-bottom: clamp(120px, 20vh, 180px); }
  .hero .hero-actions { gap: 20px; }
  .hero-new { flex-basis: 100%; font-size: 16px; }
}
@keyframes hero-in { from { opacity: 0; translate: 0 12px; } }

/* The scroll arrow: three glow chevrons at the bottom centre that light up top to bottom,
   like the logo's chevrons turned down. .is-gone (js/hero.js) fades it out once the
   page moves. */
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(28px, 5vh, 48px);
  translate: -50% 0;
  display: grid;
  justify-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--glow);
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}
.scroll-cue.is-gone { opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s, 0.4s; }
.scroll-cue:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
.scroll-cue svg { width: 26px; margin-top: -8px; opacity: 0.15; filter: drop-shadow(0 0 6px rgba(215, 141, 236, 0.7)); animation: cascade 1.8s ease-in-out infinite; }
.scroll-cue svg:first-child { margin-top: 0; }
.scroll-cue svg:nth-child(2) { animation-delay: 0.2s; }
.scroll-cue svg:nth-child(3) { animation-delay: 0.4s; }
@keyframes cascade { 0%, 100% { opacity: 0.15; } 30% { opacity: 1; } 60% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { transition: none; }
  .scroll-cue svg { animation: none; opacity: 0.85; }
}

/* The sheet: everything after the hero, scrolling on after it */
.sheet {
  position: relative;
  z-index: 5;
  /* clip, not hidden: hidden would stop the overview's list from sticking */
  overflow: clip;
  background: var(--canvas);
}

.actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin-top: 40px; }
/* The line under the primary button shows only while that button is hovered or focused */
/* Positioned under the button so its width doesn't push the secondary button away */
.primary-with-note { position: relative; }
.hover-note {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  max-width: calc(100vw - 2 * var(--gutter));
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--on-dark-muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.primary-with-note .btn:hover + .hover-note,
.primary-with-note .btn:focus-visible + .hover-note { opacity: 1; transform: none; }

/* ---------- 2 What it is ---------- */

.what-it-is { display: grid; justify-items: center; gap: 20px; margin: 0 0 56px; text-align: center; }
.what-it-is .what-is-logo { justify-self: center; }
.what-it-is .what-is-logo svg { height: clamp(32px, 3.6vw, 48px); }


/* Overview: list left, the active item's panel right (snap-to on scroll, v5.js). The
   section is three screens tall on desktop so scrolling can advance the panels. */
/* --ov-h is the pinned block's height (the panel is 4:3 at about 7/12 of the content
   width). The track adds 40vh of scrolling per step, and the block pins centred in the
   space under the nav, so it never leaves an empty strip below it. */
.overview {
  --ov-h: min(500px, calc((min(100vw, var(--max) + 2 * var(--gutter)) - 2 * var(--gutter)) * 0.44));
  position: relative;
  height: calc(var(--ov-h) + 120vh);
  margin-bottom: 96px;
}
.overview-list {
  position: sticky;
  top: max(calc(var(--nav-h) + 24px), calc(var(--nav-h) + (100svh - var(--nav-h) - var(--ov-h)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.overview-list > li { display: contents; }
.overview-list > li:nth-child(1) > button { grid-row: 1; }
.overview-list > li:nth-child(2) > button { grid-row: 2; }
.overview-list > li:nth-child(3) > button { grid-row: 3; }
.overview-list > li > button {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 20px 0 20px 24px;
  border: 0;
  border-left: 2px solid var(--border);
  background: none;
  color: var(--ink-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.overview-list > li > button .eyebrow { grid-column: 1 / -1; margin: 0; }
.overview-list > li > button b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.overview-list > li > button::after { content: "→"; grid-column: 2; grid-row: 2; color: var(--bg-purple); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.overview-text { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; }
.overview-list > li.is-active > button { border-left-color: var(--bg-purple); color: var(--ink); }
.overview-list > li.is-active > button::after { opacity: 1; transform: none; }
.overview-panel {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.overview-list > li.is-active > .overview-panel { opacity: 1; transform: none; pointer-events: auto; }
.overview-panel .placeholder { border-style: solid; border-color: var(--border); background: var(--surface); box-shadow: var(--shadow-3); }

/* Segmented toggle and both seats */
.seats { padding-top: 0; }
.seats .h1 { margin-bottom: 32px; }
.seat-toggle {
  display: flex;
  width: max-content;
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 9999px;
  background: var(--surface-muted);
  box-shadow: inset 0 0 0 1px var(--border);
}
.seat-toggle button {
  padding: 10px 20px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.seat-toggle button[aria-pressed="true"] { background: var(--bg-purple); color: #fff; }
.seat {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.seats[data-seat="employee"] .seat-security,
.seats[data-seat="security"] .seat-employee { display: none; }
.seat-copy .h2 { margin-bottom: 16px; }
.seat-copy p { margin: 0; color: var(--ink-muted); }

/* Product mockups: the only place red and green may appear */
.mockup { padding: 32px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--border), var(--shadow-3); }
.mockup-logo { display: block; height: 16px; width: auto; margin-bottom: 16px; }
.mockup-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 20px; font-weight: 700; }
.tells { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.tells li { display: flex; gap: 12px; align-items: flex-start; }
.tells b { display: block; font-size: 15px; line-height: 1.3; }
.tells span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.pin { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--bg-purple); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiles div { padding: 14px; border-radius: 10px; background: var(--surface-muted); }
.tiles b { display: block; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.tiles span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--ink-muted); }
.trend { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 20px; }
.trend i { flex: 1; border-radius: 4px 4px 0 0; background: var(--bg-purple); }
.trend-label { margin: 8px 0 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-subtle); }
.dashboard table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dashboard th { padding: 0 8px 8px 0; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-subtle); text-align: left; }
.dashboard td { padding: 10px 8px 10px 0; border-top: 1px solid var(--border); }

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.section-cta p { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- 2b Why we exist: "The Horizon" (images/brand/horizon-wide.jpg) ----------
   The image over its gradient fallback. The heading sits centred above the horizon in
   white at 24px+ (§3), on a soft scrim where it crosses the clouds (§4).
   The bottom padding keeps the room the statement under it used to take (a 24px gap,
   its 22px padding and 1px rule, two lines at 1.5), so the band, and with it the
   picture's crop and drift, stays the height it was. */

.horizon {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) 0 calc(clamp(200px, 22vw, 300px) + 47px + 3 * clamp(17px, 1.5vw, 20px));
  background: var(--grad-horizon);
  color: #fff;
}
.horizon::after { content: ""; }
.band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Landscape source (3840x2160, a 1920 copy for 1x screens): on a wide band it is cropped
   top and bottom, so --crop picks how much sky shows over the hills. The art is a little
   taller than the band and drifts with scroll (script.js sets --pan, 0 as the band enters,
   1 as it leaves): more hill on the way in, more cloud on the way out.
   --crop is the resting view when the band is centred. */
.horizon { --crop: 21%; }
.horizon-art { top: 0; height: 112%; object-position: center var(--crop); transform: translateY(calc((var(--pan, 0.5) * -12%) / 1.12)); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .horizon-art { transform: translateY(-5.4%); } }
.horizon::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 45% at 50% 40%, rgba(80, 79, 121, 0.45), transparent 75%); }
.horizon-copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.horizon-copy .h1 { margin: 0; max-width: 14em; font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: #fff; text-shadow: 0 1px 24px rgba(52, 58, 105, 0.5); }
.horizon-copy .h1 .line { display: block; white-space: nowrap; }
.horizon-copy .h1 .glow { font-style: normal; color: var(--glow); }

/* ---------- 3 Proof ---------- */

/* "The Trace": a faint fine-line ribbon down the right edge; midnight stays dominant */
.proof { position: relative; overflow: hidden; }
.proof > .wrap { position: relative; z-index: 1; }
/* images/brand/trace.jpg: black background, so screen blends it into midnight */
.trace-ribbon { position: absolute; top: 0; right: -40px; width: 380px; height: 100%; object-fit: cover; object-position: center 55%; mix-blend-mode: screen; opacity: 0.5; pointer-events: none; }
.research-first { margin-top: 24px; }

.statement + .research { margin-top: 64px; }
/* Research row: centred midnight cards joined by short lavender dashes */
.research { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.research-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  background: var(--midnight-card);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.research-card:hover { transform: translateY(-2px); border-color: rgba(150, 125, 227, 0.5); }
.research-card p { margin: 0; flex: 1; font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }
.research-card .text-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.research-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 32px;
  border-top: 2px dashed var(--bg-lavender);
  opacity: 0.7;
}

/* Design partner stories: a swipeable row of slides (v5.js) */
.stories { margin-top: 128px; }
.stories-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.stories-head .eyebrow { margin: 0; }
.stories-nav { display: flex; gap: 8px; }
.stories-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.stories-arrow:hover { background: rgba(255, 255, 255, 0.14); }
.stories-arrow:disabled { opacity: 0.35; cursor: default; }
.stories-track {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.stories-track::-webkit-scrollbar { display: none; }
.stories-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.stories-track:focus-visible { outline: 2px solid var(--bg-lavender); outline-offset: 4px; border-radius: 16px; }
.story {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  background: var(--midnight-card);
  scroll-snap-align: start;
}
.story-media { display: flex; padding: 32px; background: rgba(255, 255, 255, 0.02); }
.story-media .placeholder { aspect-ratio: auto; min-height: 320px; }
.story-body { display: grid; gap: 28px; align-content: start; padding: 40px; }
.story-body .eyebrow { margin-bottom: 10px; }
.story-partner .logo-slot { width: 132px; aspect-ratio: 5 / 2; border-radius: 8px; }
/* On midnight the quote rule is lavender: purple disappears on dark */
.story-quote { display: grid; gap: 20px; padding-left: 20px; border-left: 2px solid var(--bg-lavender); }
.story-byline { display: flex; align-items: center; gap: 14px; }
.story-byline .lines { width: 160px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.story-results { padding-top: 24px; border-top: 1px solid var(--border-dark); }
.results-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.results-row div { display: grid; gap: 10px; }
.stories-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.stories-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.stories-dots button[aria-pressed="true"] { width: 24px; background: var(--bg-lavender); }

/* Highlight panel: the founding design partner offer */
.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-top: 128px;
  padding: 48px;
  border-radius: 16px;
  background: var(--bg-lavender-tint);
  color: var(--ink);
}
.check-list { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--bg-purple); }
.highlight .note { margin: 14px 0 0; color: var(--ink-muted); }

/* Logo strip: grey at 60%, full on hover */
.logo-strip { margin-top: 128px; }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 24px; }
.logos .placeholder { aspect-ratio: 5 / 2; filter: grayscale(1); opacity: 0.6; transition: opacity 0.2s ease; }
.logos .placeholder:hover { opacity: 1; }

/* ---------- 4 Closing CTA: "The Thread" (images/brand/thread.jpg) ----------
   The image over its gradient fallback; white headline upper-left in the calm gradient
   area (§4). */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 128px) clamp(28px, 5vw, 72px);
  border-radius: 2px;
  background: var(--grad-signal);
  color: #fff;
  box-shadow: 0 40px 100px -40px rgba(0, 1, 24, 0.9), 0 0 0 1px rgba(215, 141, 236, 0.25);
}
/* The Thread lines in colour: the image tinted toward electric purple, a glow at the crest */
.cta-band .thread-art { mix-blend-mode: screen; opacity: 0.9; filter: saturate(1.6) hue-rotate(-10deg) brightness(1.05); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 60% at 78% 30%, rgba(215, 141, 236, 0.45), transparent 70%), radial-gradient(50% 50% at 15% 85%, rgba(135, 66, 198, 0.4), transparent 70%); pointer-events: none; }
.cta-lede { margin: 18px 0 0; max-width: 26em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.cta-band::after { content: ""; }
/* Portrait source: the slice where the fold rises from lower-left to the top-right */
.thread-art { object-position: center 58%; }
.cta-band > :not(img) { position: relative; z-index: 2; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.7); }
.cta-band .display { max-width: 9em; font-weight: 700; font-size: clamp(44px, 5vw, 64px); }
.cta-band .actions { align-items: center; }

/* ---------- 5 Footer: midnight over the particle wave at 20%, big faded wordmark ---------- */

/* The wordmark sits whole between the links and the copyright bar: the grid's bottom
   padding is the wordmark's height (its artwork is 2368 x 291) plus a gap. */
.footer { --wordmark-w: min(1400px, 110vw); --bar-h: 56px; position: relative; overflow: hidden; padding-top: 96px; }
.footer-art {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 70%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
  mask-image: linear-gradient(to bottom, transparent, #000 70%);
}
.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bar-h) + 16px);
  width: var(--wordmark-w);
  max-width: none;
  transform: translateX(-50%);
  filter: invert(1);
  opacity: 0.06;
  pointer-events: none;
}
.footer .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 80px; }
.footer-brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer-logo .logo-base { filter: invert(1); }
.footer-title { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--bg-lavender); }
.footer-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-col a, .footer-social { font-size: 15px; color: var(--on-dark-muted); transition: color 0.15s ease; }
.footer-col a:hover, .footer-social:hover { color: var(--on-dark); }
.footer-social svg { display: block; width: 18px; height: 18px; }
.footer-bar { position: relative; z-index: 1; border-top: 1px solid var(--border-dark); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: var(--bar-h);
  padding-block: 16px;
  font-size: 13px;
  color: var(--on-dark-muted);
}
.footer-base p { margin: 0; }

/* ---------- Modals (shared.css), retinted to the Signal palette ---------- */

/* Square corners, like the page's buttons */
/* The assessment: a light sheet with a midnight column (the Signal) carrying the mark,
   the question count and the progress; the question and the result on white. */
.modal, .modal .score-option, .modal .field input, .modal .field select, .modal .field textarea, .modal .modal-submit, .modal .founder-action { border-radius: 2px !important; }
.modal .modal-close { border-radius: 2px; }
.modal.score {
  --s-bg: #ffffff; --s-surface: #ffffff; --s-surface-hover: var(--bg-lavender-tint); --s-line: var(--border); --s-text: var(--ink); --s-muted: var(--ink-muted); --s-lavender: var(--bg-purple);
  --s-critical: #b3261e; --s-high: #b3261e; --s-moderate: var(--bg-purple); --s-low: #1b7f5a;
  display: grid; grid-template-columns: 200px 1fr; width: min(760px, calc(100vw - 32px)); padding: 0; overflow: hidden;
  border: 0; background: #fff; box-shadow: 0 60px 120px -40px rgba(0, 1, 24, 0.9), 0 0 0 1px rgba(0, 1, 24, 0.08); color: var(--ink);
}
/* The grid display above would otherwise beat the browser's own dialog:not([open])
   { display: none }, leaving the closed sheet drawn under the footer */
.modal.score:not([open]) { display: none; }
.modal.score::backdrop { background: rgba(0, 1, 24, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.score-side { position: relative; overflow: hidden; display: grid; grid-template-rows: auto; align-content: start; gap: 16px; padding: 24px 22px; background: var(--midnight); color: #fff; }
.score-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.score-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 1, 24, 0.2), rgba(0, 1, 24, 0.85)); }
.score-side > :not(.score-art) { position: relative; z-index: 1; }
.score-mark { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.modal .score-eyebrow { margin: 0; align-self: end; font-family: var(--font-site); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; color: var(--glow); opacity: 1; }
.score-progress { display: grid; gap: 6px; margin: 0; }
.score-progress i { display: block; height: 3px; background: rgba(255, 255, 255, 0.14); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.score-progress i.on { background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.score-main { position: relative; padding: 64px 32px 32px; }
.modal.score .modal-close { top: 18px; right: 18px; border-color: var(--border); color: var(--ink); }
.modal.score .modal-close:hover { background: var(--surface-muted); }
.score-question { margin: 0; padding: 0; border: 0; }
.score-question legend { margin-bottom: 18px; }
.modal.score .score-q { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); }
.modal.score .score-question legend { margin-bottom: 22px; padding-right: 48px; }
.modal.score .score-options { gap: 8px; }
.modal.score .score-option { gap: 14px; padding: 15px 18px; border-color: var(--border); background: var(--canvas); font-size: 16px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(17, 17, 20, 0.04); transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.modal.score .score-option:hover { border-color: var(--bg-lavender); background: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -12px rgba(100, 45, 153, 0.35); }
.modal.score .score-option:has(input:checked) { border-color: var(--bg-purple); background: var(--bg-lavender-tint); box-shadow: inset 0 0 0 1px var(--bg-purple); }
.modal.score .score-option input { width: 20px; height: 20px; border: 1.5px solid var(--border-strong); background: #fff; }
.modal.score .score-option input:checked { border-color: var(--bg-purple); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--bg-purple); }
.modal.score .score-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.modal.score .score-count { margin: 0; font-size: 14px; color: var(--ink-subtle); }
.modal.score .score-count b { font-weight: 500; color: var(--ink); }
.modal.score .score-back { padding: 0; color: var(--bg-purple); font-size: 14px; font-weight: 500; }
.modal.score .score-back:disabled { color: var(--ink-subtle); opacity: 1; }
/* The result */
.modal.score .score-result { text-align: left; }
.modal.score .score-number { margin: 0; }
.modal.score .score-number b { font-size: 72px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--bg-purple); }
.modal.score .score-level { margin: 8px 0 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.score-bar { height: 4px; margin: 16px 0 8px; background: var(--border); overflow: hidden; }
.score-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--bg-lavender), var(--electric)); box-shadow: 0 0 12px rgba(135, 66, 198, 0.5); transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.score-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-subtle); }
.modal.score .score-summary { margin: 18px 0 22px; padding: 0; border: 0; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.modal.score .field { margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.modal.score .field input, .modal.score .field select { height: 44px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); font-size: 15px; }
.modal.score .field input:focus, .modal.score .field select:focus { border-color: var(--bg-purple); box-shadow: 0 0 0 3px rgba(150, 125, 227, 0.25); }
.modal.score .field option { background: #fff; color: var(--ink); }
.modal.score .form-error { color: #b3261e; }
.modal.score .modal-submit { width: auto; height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; background: var(--bg-purple); box-shadow: 0 10px 24px -12px rgba(100, 45, 153, 0.8); }
.modal.score .modal-submit:hover { background: var(--bg-purple-hover); }
.modal.score .score-sent h3 { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.modal.score .score-sent p { color: var(--ink-muted); }
/* Talk to the team: a light sheet, a lavender header block holding the title */
.modal.founder { width: min(600px, calc(100vw - 32px)); padding: 0; overflow: hidden; border: 0; background: #fff; box-shadow: 0 60px 120px -40px rgba(0, 1, 24, 0.9), 0 0 0 1px rgba(0, 1, 24, 0.08); color: var(--ink); }
.modal.founder::backdrop { background: rgba(0, 1, 24, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact-head { display: grid; gap: 8px; padding: 22px 36px 26px; background: var(--bg-lavender-tint); border-bottom: 1px solid var(--border); }
.contact-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.contact-mark { height: 15px; width: auto; }
.modal.founder .modal-close { position: static; width: 36px; height: 36px; border-color: var(--border); color: var(--ink); }
.modal.founder .modal-close:hover { background: #fff; }
.modal.founder .founder-title { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.contact-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.contact-body { padding: 24px 36px 32px; }
.modal.founder .field { margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.modal.founder .field input, .modal.founder .field textarea { border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 15px; }
.modal.founder .field input { height: 46px; }
.modal.founder .field input:focus, .modal.founder .field textarea:focus { border-color: var(--bg-purple); box-shadow: 0 0 0 3px rgba(150, 125, 227, 0.25); }
.modal.founder .field.is-invalid input { border-color: #b3261e; }
.modal.founder .form-error { color: #b3261e; }
.contact-foot { display: flex; justify-content: flex-end; }
.modal.founder .modal-submit { width: auto; height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; background: var(--bg-purple); box-shadow: 0 10px 24px -12px rgba(100, 45, 153, 0.8); }
.modal.founder .modal-submit:hover { background: var(--bg-purple-hover); }
.modal.founder .modal-submit:disabled { opacity: 0.7; cursor: default; }
.modal.founder .founder-sent h3 { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.modal.founder .founder-sent p { color: var(--ink-muted); }
@media (max-width: 640px) {
  .contact-head { padding: 18px 20px 22px; } .contact-body { padding: 20px 20px 24px; }
  .modal.score { grid-template-columns: 1fr; }
  /* Phones: the column becomes a header strip: mark and close on one row, then one
     line with the count and the question's theme. The five named steps are desktop only. */
  .score-side { grid-template-rows: auto; gap: 14px; padding: 14px 20px; }
  .score-mark { width: auto; height: 20px; }
  .score-main { position: static; }
  .modal.score { position: fixed; }
  .modal.score .modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; border-color: rgba(255, 255, 255, 0.3); color: #fff; background: rgba(0, 1, 24, 0.4); }
  .modal.score .modal-close:hover { background: rgba(0, 1, 24, 0.6); }
  .score-main { padding: 22px 20px 24px; }
  .modal.score .score-q { font-size: 22px; }
  /* Thumb-sized close buttons and a Back that can be tapped */
  .modal.score .modal-close, .modal.founder .modal-close { width: 44px; height: 44px; }
  .modal.score .score-back { min-height: 44px; }
}
/* Phones zoom the page when a field's text is under 16px; keep the fields at 16px on
   touch screens so focusing one never zooms */
@media (max-width: 640px), (pointer: coarse) {
  .modal.score .field input, .modal.score .field select,
  .modal.founder .field input, .modal.founder .field textarea { font-size: 16px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  :root { --gutter: 48px; }
  .research { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .research-card:not(:last-child)::after { top: 100%; left: 50%; width: 0; height: 32px; border-top: 0; border-left: 2px dashed var(--bg-lavender); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* Overview: each item stacks above its own panel */
  .overview { height: auto; }
  .overview-list { position: static; display: grid; grid-template-columns: 1fr; gap: 32px; }
  .overview-list > li { display: grid; gap: 16px; }
  .overview-list > li > button, .overview-panel { grid-column: auto; grid-row: auto; }
  .overview-list > li > button { cursor: default; border-left-color: var(--bg-purple); color: var(--ink); }
  .overview-list > li > button::after { content: none; }
  .overview-panel { opacity: 1; transform: none; pointer-events: auto; }
  .seat, .story, .highlight { grid-template-columns: 1fr; }
  .story-media .placeholder { min-height: 200px; }
}
/* Under 900px the three tabs and the demo button no longer fit beside each other
   (at 768 the last tab ran under the button): a menu button opens the sheet (script.js) */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; gap: 8px; }
  .nav-links, .nav-menu { display: none !important; }
  /* The demo button moves into the sheet */
  .nav-cta { display: none !important; }
}
@media (max-width: 640px) {
  :root { --gutter: 24px; --section-y: 80px; }
  .lead, .statement { font-size: 19px; }
  .story-body, .highlight { padding: 28px; }
  .trace-ribbon { width: 220px; opacity: 0.35; }
  .tiles { grid-template-columns: 1fr; }
  /* Footer on phones: the brand row, then the three columns on one row, compact */
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; grid-template-columns: auto auto; align-items: center; gap: 14px; }
  .footer-logo .logo-base, .footer-logo svg { height: 18px; }
  .footer-title { margin-bottom: 8px; font-size: 13px; }
  .footer-col ul { gap: 0; }
  .footer-col a { display: inline-block; padding-block: 7px; font-size: 13.5px; line-height: 1.3; }
  .footer-social { display: inline-block; padding: 12px; margin: -12px; }
  .footer-base { min-height: 44px; padding-block: 12px; font-size: 12px; }
  /* The Horizon headline: its lines are set nowrap for the wide band, which clips
     them once the band is narrower than a line */
  .horizon-copy .h1 { max-width: 100%; font-size: clamp(34px, 9.5vw, 40px); }
  .horizon-copy .h1 .line { white-space: normal; }
  /* Phones: the copy stays centred as on desktop. Behind the words only, a soft dusk
     haze (the image's own indigo, blurred) lifts them off the brightest clouds without
     dimming the picture. */
  .horizon-copy { padding: 28px 8px; border-radius: 2px; background: radial-gradient(70% 60% at 50% 50%, rgba(52, 58, 105, 0.42), rgba(52, 58, 105, 0.18) 70%, transparent 100%); }
  .horizon-copy .h1 { text-shadow: 0 1px 2px rgba(23, 20, 60, 0.45), 0 4px 30px rgba(23, 20, 60, 0.55); }
  /* The room the statement took here: 24px gap, 23px padding and rule, three 24px lines */
  .horizon { padding-bottom: calc(200px + 119px); }
}
/* No snapping below the desktop chapter layout (attack.css drops the chapter's snap
   target there; this drops the container's too) */
@media (max-width: 1199px) {
  html { scroll-snap-type: none; }
}
@media (prefers-reduced-motion: reduce) {
  html, .stories-track { scroll-behavior: auto; }
  .nav-menu { animation: none; }
  .overview-panel, .research-card, .arrow, .hover-note { transition: none; }
  .hero-title .glow, .hero-intro .hero [data-in] { transition: none; }
  .hero-actions .btn-primary::before { animation: none; }
}

/* ---------- Synced from v8.css: the What it is section and toggle placement ---------- */

/* ---------- Home: Why BrowserGuard's way on to the product page ---------- */

.seats-cta { display: flex; justify-content: center; margin-top: 56px; }

/* Logo + tagline sit on a soft light-purple orb */
.what-it-is.has-orb { position: relative; isolation: isolate; }
.what-it-is.has-orb::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(760px, 90vw);
  aspect-ratio: 1.9;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 125, 227, 0.32), rgba(215, 141, 236, 0.14) 55%, transparent);
  filter: blur(24px);
  pointer-events: none;
}

/* Seats: the toggle sits left, above each seat's heading */
.seats .seat:first-of-type { margin-top: 0; }
.seat-copy .seat-toggle { margin: 0 0 28px; }

/* ---------- Phone menu (script.js builds it below 640px) ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-burger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-burger { display: grid; }
}
.nav-burger path { transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: 12px 12px; }
.nav-burger[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .l2 { opacity: 0; }
.nav-burger[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
/* The open sheet puts the bar on canvas, whatever it's over */
.nav.sheet-open { background: var(--canvas); color: var(--ink); border-bottom-color: var(--border); }
.nav.sheet-open .logo { visibility: visible; }
.nav.sheet-open .logo-base { filter: none; }
.nav-sheet {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 16px var(--gutter) 32px;
  background: var(--canvas);
  color: var(--ink);
  animation: menu-in 0.2s ease;
}
.nav-sheet[hidden] { display: none; }
html.sheet-lock { overflow: hidden; }
.sheet-group, .sheet-link { border-bottom: 1px solid var(--border); }
.sheet-group summary, .sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.sheet-group summary::-webkit-details-marker { display: none; }
.sheet-group summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-muted); transition: transform 0.2s ease; }
.sheet-group[open] summary::after { transform: rotate(45deg); }
.sheet-body { padding-bottom: 18px; }
.sheet-title { margin: 6px 0 4px; font-size: 13px; font-weight: 500; color: var(--bg-purple); }
.sheet-group ul { display: grid; gap: 2px; margin: 0 0 12px; padding: 0; list-style: none; }
.sheet-cards { display: grid; gap: 10px; }
.sheet-card { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; border: 1px solid #e6ddf3; border-radius: 2px; background: var(--surface); overflow: hidden; box-shadow: 0 12px 28px -20px rgba(100, 45, 153, 0.45); }
.sheet-card .menu-photo { aspect-ratio: 4 / 3; margin: 0; }
.sheet-card b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sheet-card b em { font-style: normal; color: var(--bg-purple); }
.sheet-rows { display: grid; margin-bottom: 14px; }
.sheet-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; min-height: 48px; padding: 5px 0; border-top: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--ink); }
.sheet-row:first-child { border-top: 0; }
.sheet-row b { font-weight: 500; } .sheet-row b span { color: var(--electric); }
.sheet-row .cmp-tile { width: 36px; height: 36px; }
.nav-sheet .sol-promo { display: block; margin: 4px 0 0; padding: 12px 14px; border-radius: 2px; background: var(--bg-purple); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.45; }
.nav-sheet .sol-promo em { font-style: normal; color: var(--glow); }
.sheet-group li a { display: flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--ink-muted); }
.sheet-group li a:hover { color: var(--bg-purple); }
.sheet-cta { margin-top: 24px; min-height: 48px; }
@media (prefers-reduced-motion: reduce) {
  .nav-sheet { animation: none; }
  .nav-burger path { transition: none; }
}

/* Touch targets: tabs and toggle buttons reach 44px */
.nav-tab { min-height: 44px; }
.seat-toggle button { min-height: 44px; }

/* ---------- Synced from v8.css: the Product and Solution menu panels ---------- */

/* ---------- Product menu: three feature cards ---------- */

.nav-menu.menu-wide { width: min(940px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 24px 0; }
.menu-head .text-link { font-size: 14px; }
.menu-title { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px 24px 24px; }
.nav-menu .menu-card { display: grid; align-content: start; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); overflow: hidden; transition: transform 0.15s ease, border-color 0.15s ease; }
.nav-menu .menu-card:hover { transform: translateY(-2px); border-color: var(--bg-lavender); background: var(--surface); color: inherit; }
.nav-menu .menu-card.is-soon:hover { transform: none; border-color: var(--border); }
/* The brand photographs as card art, in true colour (no grain). They are alive at rest
   (design/menu-life option 4): each picture drifts slowly, points of light twinkle over
   the two dark ones and a light passes across every few seconds. script.js adds the
   .menu-twinkle and .menu-sweep layers. Nothing runs while the menu or the phone sheet is
   closed (display: none stops the animations), and reduced motion holds a still frame. */
.menu-photo { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--midnight); }
.menu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) contrast(1.06); animation: menu-drift 16s ease-in-out infinite alternate; transition: filter 0.3s ease; }
.menu-card:nth-child(2) .menu-photo img, .sheet-card:nth-child(2) .menu-photo img { animation-delay: -5s; object-position: 50% 62%; }
.menu-card:nth-child(3) .menu-photo img, .sheet-card:nth-child(3) .menu-photo img { animation-delay: -11s; }
@keyframes menu-drift { from { transform: scale(1.06) translate(-2%, 1%); } to { transform: scale(1.16) translate(2%, -1.5%); } }
.menu-twinkle, .menu-sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.menu-twinkle i {
  position: absolute; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 6px 1px rgba(232, 190, 255, 0.95), 0 0 14px 3px rgba(215, 141, 236, 0.5);
  animation: menu-twinkle var(--twinkle-d, 4s) ease-in-out infinite;
}
@keyframes menu-twinkle { 0%, 100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 1; transform: scale(1); } }
/* No stars over the daylight hills: the drift and the light carry that card */
.menu-card:nth-child(3) .menu-twinkle, .sheet-card:nth-child(3) .menu-twinkle { display: none; }
.menu-sweep {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.3) 50%, transparent 62%) -200% 0 / 250% 100% no-repeat;
  animation: menu-sweep 7s ease-in-out infinite;
}
.menu-card:nth-child(2) .menu-sweep, .sheet-card:nth-child(2) .menu-sweep { animation-delay: 0.6s; }
.menu-card:nth-child(3) .menu-sweep, .sheet-card:nth-child(3) .menu-sweep { animation-delay: 1.2s; }
@keyframes menu-sweep { 0% { background-position: -200% 0; } 30%, 100% { background-position: 200% 0; } }
.menu-card-text { display: grid; gap: 6px; padding: 14px 18px 20px; }
.menu-card b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.menu-card b em { font-style: normal; color: var(--bg-purple); transition: color 0.3s ease; }
.menu-card-text > span { font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink); }
#menu-product .menu-title { color: var(--ink); }
/* Room under the cards for the hover shadow */
#menu-product .menu-cards { padding-bottom: 32px; }
#menu-product .menu-card {
  border-color: #e6ddf3; box-shadow: 0 12px 28px -20px rgba(100, 45, 153, 0.45);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
#menu-product .menu-card:is(:hover, :focus-visible) { transform: translateY(-5px); border-color: #c79ced; box-shadow: 0 30px 50px -22px rgba(135, 66, 198, 0.7); }
#menu-product .menu-card:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }
#menu-product .menu-card:is(:hover, :focus-visible) .menu-photo { box-shadow: inset 0 0 40px rgba(215, 141, 236, 0.45); }
#menu-product .menu-card:is(:hover, :focus-visible) .menu-photo img { filter: saturate(1.6) brightness(1.12) contrast(1.06); }
#menu-product .menu-card:is(:hover, :focus-visible) .menu-twinkle i { animation-duration: 1.6s; }
#menu-product .menu-card:is(:hover, :focus-visible) b em { color: var(--electric); }
@media (prefers-reduced-motion: reduce) {
  .menu-photo img { animation: none; transform: scale(1.06); }
  .menu-sweep { display: none; }
  .menu-twinkle i { animation: none; opacity: 0.7; }
  #menu-product .menu-card, #menu-product .menu-card * { transition: none; }
}
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 16px 24px; border-top: 1px solid var(--border); background: var(--surface-muted); font-size: 14px; }
.menu-foot p { margin: 0; }
.nav-menu .menu-foot a { display: inline; margin: 0; padding: 0; color: var(--bg-purple); background: none; }

/* Solution menu: use cases on a lavender wash, the Thread behind; Compare with icon tiles */
.nav-menu.menu-solution { display: grid; grid-template-columns: 1fr 1.25fr; width: min(960px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.nav-menu.menu-solution[hidden] { display: none; }
.sol-uses { position: relative; overflow: hidden; padding: 24px 28px 26px; background: linear-gradient(180deg, var(--bg-lavender-tint), #fff); }
.sol-art { position: absolute; right: -40px; bottom: -60px; width: 80%; opacity: 0.55; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: radial-gradient(70% 70% at 80% 80%, #000 20%, transparent 70%); mask-image: radial-gradient(70% 70% at 80% 80%, #000 20%, transparent 70%); }
.sol-uses > :not(.sol-art) { position: relative; }
.sol-uses .menu-title, .sol-cmp .menu-title { margin-bottom: 12px; }
.nav-menu .sol-uses ul { gap: 0; }
.nav-menu .sol-uses li a { margin: 0; padding: 9px 0; font-size: 15px; color: var(--ink); }
.nav-menu .sol-promo { display: block; margin: 18px 0 0; padding: 12px 14px; border-radius: 2px; background: var(--bg-purple); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.45; box-shadow: 0 10px 24px -12px rgba(100, 45, 153, 0.8); transition: background-color 0.15s ease; }
.nav-menu .sol-promo:hover { background: var(--bg-purple-hover); color: #fff; }
.sol-promo em { font-style: normal; color: var(--glow); }
.sol-cmp { padding: 24px 28px 26px; border-left: 1px solid var(--border); }
.cmp-rows { display: grid; }
.nav-menu .cmp-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin: 0; padding: 9px 0; border-top: 1px solid var(--border); border-radius: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-menu .cmp-row:first-child { border-top: 0; }
.nav-menu .cmp-row:hover, .nav-menu .cmp-row:focus-visible { background: none; color: var(--ink); }
.cmp-row b { font-weight: 500; } .cmp-row b span { color: var(--electric); }
.cmp-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 2px; background: var(--midnight); color: var(--glow); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.cmp-tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* On narrow phones the quiz label may wrap rather than overflow the card */
.proof-more { margin: 32px 0 0; text-align: center; }

/* Tabs that are plain links (v9 "About") line up with the button tabs */
.nav-tab { display: inline-flex; align-items: center; }

/* ---------- Synced from v8.css: the seats copy, checklists and CTA wording ---------- */

/* Home: "Big-team security…" and the seat headings set like the hero headline;
   the seat paragraphs like the hero lede */
.seat-copy .h2 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.seat-copy p { font-size: 19px; line-height: 1.55; color: var(--ink-muted); }
/* What each seat gets, as a checklist under its paragraph */
.seat-checks { margin: 24px 0 0; gap: 12px; }
.seat-checks li { font-size: 16px; line-height: 1.45; }
.seat-checks svg { width: 18px; height: 18px; }
/* The trend chart lost its caption; keep the gap it used to make before the table */
.seat-security .trend { margin-bottom: 20px; }

/* The seats CTA's wording follows the toggle */
.seats[data-seat="employee"] .for-security,
.seats[data-seat="security"] .for-employee { display: none; }

/* ---------- Buttons: sharp outline, underline sweep ----------
   2px corners. The primary is an outline: a bright lavender edge, a touch of glass
   behind white text, and a glow line that sweeps across the bottom edge on hover while
   the fill rises. On light grounds it turns ink. (The nav's ask has its own style below.) */

.btn { border-radius: 2px; }
.btn > * { position: relative; z-index: 1; }
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(205, 185, 255, 0.85);
  background: rgba(150, 125, 227, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px -12px rgba(150, 125, 227, 0.7);
  transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  border-color: var(--glow);
  background: rgba(150, 125, 227, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 32px -12px rgba(215, 141, 236, 0.8);
}
.btn-primary:hover::after { transform: none; }
.btn-primary:active { transform: none; }
/* On light grounds: ink edge and text, same sweep */
.canvas .btn-primary, .mockup .btn-primary, .nav-sheet .btn-primary {
  border-color: var(--bg-purple);
  background: var(--bg-purple);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 1, 24, 0.2), 0 10px 24px -12px rgba(100, 45, 153, 0.7);
}
.canvas .btn-primary:hover, .mockup .btn-primary:hover, .nav-sheet .btn-primary:hover { border-color: var(--bg-purple-hover); background: var(--bg-purple-hover); color: #fff; }
.canvas .btn-primary::after, .mockup .btn-primary::after, .nav-sheet .btn-primary::after { background: var(--glow); }

/* ---------- Nav "Book a demo": Sheen (N6, picked 2026-11-23) ----------
   Dark plum with a thin glow edge; a slow light sheen crosses it every few seconds.
   Hover or keyboard focus turns it electric violet with a lift and a glow. On the
   light bar it sits as solid midnight. Reduced motion: no sheen, no lift. */
.nav .nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #170d38;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: inset 0 0 0 1px rgba(215, 141, 236, 0.55), 0 8px 22px -10px rgba(135, 66, 198, 0.95);
  transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(215, 141, 236, 0.18) 42%, rgba(255, 255, 255, 0.34) 50%, rgba(215, 141, 236, 0.18) 58%, transparent 70%);
  transform: translateX(-110%);
  animation: navcta-sheen 5.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
@keyframes navcta-sheen { 0% { transform: translateX(-110%); } 32%, 100% { transform: translateX(110%); } }
.nav .nav-cta .arrow { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav .nav-cta:hover .arrow { transform: translateX(4px); }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible {
  background: #8742c6;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 12px 28px -8px rgba(135, 66, 198, 1), 0 0 30px -6px rgba(215, 141, 236, 0.7);
}
.nav .nav-cta:active { transform: none; }
.nav .nav-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nav.on-light .nav-cta { background: #0c0824; box-shadow: 0 8px 20px -10px rgba(12, 8, 36, 0.8); }
.nav.on-light .nav-cta:hover, .nav.on-light .nav-cta:focus-visible { background: #8742c6; box-shadow: 0 12px 26px -8px rgba(135, 66, 198, 0.9); }
.nav.on-light .nav-cta:focus-visible { outline-color: #8742c6; }
@media (prefers-reduced-motion: reduce) {
  .nav .nav-cta::before { animation: none; opacity: 0; }
  .nav .nav-cta:hover, .nav .nav-cta:focus-visible, .nav .nav-cta:hover .arrow { transform: none; }
}
/* Over the closing band's image, the white edge reads best */
.cta-band .btn-primary { border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: none; }
.cta-band .btn-glass { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(255, 255, 255, 0.4); transition: transform 0.2s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; }
.cta-band .btn-glass::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--glow); box-shadow: 0 0 10px var(--glow); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s ease; }
.cta-band .btn-glass:hover { transform: translateY(-1px); border-color: var(--glow); background: rgba(255, 255, 255, 0.18); box-shadow: 0 12px 32px -12px rgba(215, 141, 236, 0.7); }
.cta-band .btn-glass:hover::after { transform: none; }
/* Glass and outline buttons: the same sharp edge, quieter */
.btn-glass, .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.btn-glass:hover, .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(215, 141, 236, 0.6); }

/* ---------- Threat Research Blog menu: the three most recent posts ---------- */

.menu-title { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.menu-posts .menu-card.post-card, .menu-posts .menu-card.post-card:hover { padding: 0; border: 1px solid var(--border); background: #07061a; }
.post-card svg { display: block; width: 100%; height: auto; }
.sheet-diagrams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.sheet-diagram { display: block; border: 1px solid var(--border); border-radius: 2px; background: #07061a; overflow: hidden; }
.sheet-diagram svg { display: block; width: 100%; height: auto; }

/* ---------- Pages not built yet: their links stay in place but do nothing ---------- */

.is-soon { cursor: default; }
.is-soon:hover, .is-soon:focus-visible { color: inherit; background: inherit; transform: none; }
.nav-menu a.is-soon:hover, .nav-menu a.is-soon:focus-visible { background: none; color: inherit; }
.nav-menu .menu-card.is-soon:hover { transform: none; border-color: var(--border); }
.menu-posts .menu-card.post-card.is-soon:hover { border-color: var(--border); }
.footer-col a.is-soon:hover { color: var(--on-dark-muted); }
.is-soon .arrow { display: none; }

/* Solution menu, on desktop and in the phone sheet (design/menu-soon option 2). Not built
   yet: a greyed label, Coming soon at the row's right end, a soft lavender tile in place of
   the midnight one, and no hover. Live: the dark tile, and on hover the label turns purple
   and the tile fills. A long label wraps; Coming soon never does. */
.menu-solution .soon, .sheet-solution .soon { flex: none; font-size: 14px; font-style: normal; font-weight: 500; color: var(--haze); white-space: nowrap; }
.nav-menu .sol-uses li a.is-soon, .nav-menu .sol-uses li a.is-soon:hover { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--ink-muted); }
.nav-menu .cmp-row.is-soon, .nav-menu .cmp-row.is-soon:hover,
.sheet-row.is-soon, .sheet-row.is-soon:hover { grid-template-columns: auto 1fr auto; color: var(--ink-muted); }
.cmp-row.is-soon b span, .sheet-row.is-soon b span { color: inherit; }
.cmp-row.is-soon .cmp-tile, .sheet-row.is-soon .cmp-tile { background: #efeafc; box-shadow: none; color: #8b6fe6; }
.sheet-solution li a.is-soon, .sheet-solution li a.is-soon:hover { justify-content: space-between; align-items: baseline; gap: 16px; min-height: 0; padding-block: 11px; line-height: 1.4; color: var(--ink-muted); }
.cmp-row:not(.is-soon) b, .sheet-row:not(.is-soon) b { transition: color 0.15s ease; }
.cmp-row:not(.is-soon) .cmp-tile, .sheet-row:not(.is-soon) .cmp-tile { transition: background-color 0.15s ease, color 0.15s ease; }
.cmp-row:not(.is-soon):hover b, .cmp-row:not(.is-soon):focus-visible b,
.sheet-row:not(.is-soon):hover b, .sheet-row:not(.is-soon):focus-visible b { color: var(--bg-purple); }
.cmp-row:not(.is-soon):hover .cmp-tile, .cmp-row:not(.is-soon):focus-visible .cmp-tile,
.sheet-row:not(.is-soon):hover .cmp-tile, .sheet-row:not(.is-soon):focus-visible .cmp-tile { background: var(--bg-purple); color: #fff; }
