/* =========================================================
   WHU AI — design system
   Dark, hairline-framed, glow-accented. No inline styles
   anywhere so the CSP can stay at style-src 'self'.
   ========================================================= */

:root {
  --bg: #08080b;
  --bg-2: #0c0c11;
  --panel: #111118;
  --panel-2: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ededf2;
  --muted: #a1a1b0;
  --dim: #6c6c7a;

  --lime: #b5f23d;
  --lime-ink: #0d1203;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --fuchsia: #d946ef;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --green: #4ade80;

  --radius: 10px;
  --radius-lg: 16px;
  --frame: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Inter", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .link { color: var(--violet-2); text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .4); text-underline-offset: 3px; }
p a:hover, .prose a:hover, .link:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 650; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; 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; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Frame: hairline columns like a blueprint ---------- */
.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.framed { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.section { border-top: 1px solid var(--line); }
.section-pad { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.section-pad-sm { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Announcement bar ---------- */
.announce {
  border-bottom: 1px solid var(--line);
  background: #050507;
  font-size: 13.5px;
  text-align: center;
  padding: 8px 16px;
  color: var(--muted);
}
.announce a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.announce a:hover { text-decoration-color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 11, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.wordmark { color: #ededf2; }
.wordmark .ai { background: linear-gradient(90deg, #9bea5a, #2dd4bf 50%, #5e8eee); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav a.nav-link { white-space: nowrap; display: block; padding: 8px 9px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s, background .15s; }
.nav a.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav a.nav-link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  font-size: 15px;
  color: var(--muted);
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s, top .2s;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .6);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  body.nav-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a.nav-link { font-size: 18px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a.nav-link[aria-current="page"] { background: none; color: var(--lime); }
  .nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s, border-color .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 rgba(181, 242, 61, 0); }
.btn-primary:hover { background: #c4f75f; box-shadow: 0 8px 32px -8px rgba(181, 242, 61, .55); }
.btn-outline { border-color: var(--line-2); background: rgba(255, 255, 255, .015); color: var(--text); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.btn-white { background: #f4f4f6; color: #0a0a0c; border-radius: 999px; }
.btn-white:hover { background: #fff; }
.btn-ghost { background: var(--panel-2); color: var(--text); border-radius: 999px; }
.btn-ghost:hover { background: #1d1d28; }
.btn-pill { border-radius: 999px; border-color: var(--line-2); background: rgba(255, 255, 255, .02); position: relative; overflow: hidden; }
.btn-pill::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
}
.btn-pill:hover { background: rgba(255, 255, 255, .05); }
.btn .sparkle { color: var(--violet-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Pills & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 5px 6px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  font-size: 14.5px; color: var(--text);
  transition: border-color .15s, background .15s;
}
.pill:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.pill-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139, 92, 246, .22); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .45);
}
.pill-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill-arrow svg { width: 14px; height: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 9px; border-radius: 6px;
  background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--line);
  white-space: nowrap;
}
.badge.green { background: rgba(74, 222, 128, .1); color: var(--green); border-color: rgba(74, 222, 128, .2); }
.badge.violet { background: rgba(139, 92, 246, .12); color: #c4b5fd; border-color: rgba(139, 92, 246, .3); }
.badge.amber { background: rgba(251, 191, 36, .1); color: var(--amber); border-color: rgba(251, 191, 36, .22); }
.badge.cyan { background: rgba(34, 211, 238, .1); color: var(--cyan); border-color: rgba(34, 211, 238, .22); }
.badge.pink { background: rgba(244, 114, 182, .1); color: var(--pink); border-color: rgba(244, 114, 182, .22); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.eyebrow.violet { color: var(--violet-2); }
.eyebrow.cyan { color: var(--cyan); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 680;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.split-heading .tail { color: var(--dim); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.maxw-640 { max-width: 640px; }
.maxw-760 { max-width: 760px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grad-text {
  background: linear-gradient(90deg, var(--lime) 0%, var(--cyan) 28%, var(--violet) 55%, var(--fuchsia) 78%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-silver {
  background: linear-gradient(180deg, #fff 30%, #9b9bab 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.stack > * + * { margin-top: var(--stack, 20px); }
.stack-sm { --stack: 12px; }
.stack-lg { --stack: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, .22), rgba(139, 92, 246, .06) 55%, transparent 75%);
  pointer-events: none;
}
.hero-inner { padding-top: clamp(64px, 11vw, 136px); padding-bottom: clamp(48px, 7vw, 88px); text-align: center; }
.hero-inner .display { max-width: 980px; margin: 28px auto 0; }
.hero-inner .lede { max-width: 720px; margin: 24px auto 0; }
.hero-inner .btn-row { justify-content: center; margin-top: 36px; }
.hero-meta { margin-top: 28px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: .04em; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(139, 92, 246, .16), transparent 70%),
    radial-gradient(500px 260px at 90% 10%, rgba(34, 211, 238, .07), transparent 70%);
}
.page-hero-inner { padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero-inner .display { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-top: 20px; max-width: 900px; }
.page-hero-inner .lede { margin-top: 20px; max-width: 720px; }
.page-hero-inner .btn-row { margin-top: 32px; }

/* ---------- Chip rail (category scroller) ---------- */
.chip-rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .01); }
.chip-rail-inner { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.chip-rail-inner::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg-2); font-size: 15px; color: var(--text);
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--line-2); background: var(--panel); }
.chip svg { width: 20px; height: 20px; }
.c-lime { color: var(--lime); } .c-violet { color: var(--violet-2); } .c-cyan { color: var(--cyan); }
.c-pink { color: var(--pink); } .c-amber { color: var(--amber); } .c-green { color: var(--green); } .c-fuchsia { color: var(--fuchsia); }

/* ---------- Glow stage + product mock ---------- */
.stage { position: relative; isolation: isolate; padding: 40px 0 0; overflow: hidden; }
.stage::before {
  /* perspective floor grid */
  content: ""; position: absolute; left: -50%; right: -50%; top: 30px; height: 520px; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(167, 139, 250, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(167, 139, 250, .18) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.stage::after {
  content: ""; position: absolute; left: 50%; top: 0; width: min(1000px, 140%); height: 300px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(192, 80, 255, .55), rgba(139, 92, 246, .25) 45%, transparent 80%);
  filter: blur(10px);
}
.mock {
  position: relative;
  max-width: 980px; margin: 0 auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid rgba(167, 139, 250, .28);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(30, 22, 54, .92), rgba(13, 11, 24, .97) 40%, var(--bg) 100%);
  box-shadow: 0 -20px 80px -30px rgba(192, 80, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.mock-title { font-weight: 650; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.mock-title svg { width: 18px; height: 18px; color: var(--muted); }
.mock-new { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.mock-dots { margin-left: auto; display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.mock-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.mock-filters .org { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.mock-filters .org i { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.mock-filters .tag-sample { margin-left: auto; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mock-table th { text-align: left; font-weight: 500; color: var(--dim); padding: 14px 22px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 13px 22px; border-bottom: 1px solid rgba(255, 255, 255, .05); color: #d4d4de; }
.mock-table td.num, .mock-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-table .col-status { display: table-cell; }
.mock-table tr:last-child td { border-bottom: 0; }
.trend { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.trend i { width: 4px; border-radius: 1px; background: rgba(255, 255, 255, .16); }
.trend i.on { background: var(--violet-2); box-shadow: 0 0 8px rgba(167, 139, 250, .6); }
.trend .t1 { height: 30%; } .trend .t2 { height: 42%; } .trend .t3 { height: 55%; } .trend .t4 { height: 65%; } .trend .t5 { height: 78%; } .trend .t6 { height: 90%; } .trend .t7 { height: 100%; }
@media (max-width: 640px) {
  .mock-table .col-status { display: none; }
  .mock-table th, .mock-table td { padding-left: 14px; padding-right: 14px; }
  .mock-bar, .mock-filters { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Bordered card grid ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.cell { background: var(--bg); padding: clamp(24px, 3vw, 34px); position: relative; transition: background .2s; }
.cell:hover { background: #0b0b10; }
.cell h3 { font-size: 1.2rem; margin-top: 18px; }
.cell p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.cell .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--text); font-weight: 550; font-size: 14.5px; }
.cell .more svg { width: 14px; height: 14px; transition: transform .15s; }
a.cell:hover .more svg { transform: translate(2px, -2px); }
.icon-box {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
}
.icon-box svg { width: 22px; height: 22px; }
.cell ul.ticks { margin-top: 16px; }

ul.ticks { list-style: none; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15.5px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 5px;
  background: rgba(181, 242, 61, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5f23d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(181, 242, 61, .25);
}
ul.ticks li strong { color: var(--text); font-weight: 600; }
ul.crosses li::before {
  background: rgba(244, 114, 182, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f472b6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 10px no-repeat;
  border-color: rgba(244, 114, 182, .25);
}

/* ---------- Section header ---------- */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { max-width: 820px; }
.section-head .lede { grid-column: 1 / -1; max-width: 720px; margin-top: -4px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Tabs (segmented) ---------- */
.tabs { margin-top: 8px; }
.tablist {
  display: flex; gap: 0; align-items: center; justify-content: center; flex-wrap: wrap;
  margin: 0 auto 24px; width: fit-content; max-width: 100%;
}
.tab {
  position: relative; padding: 10px 20px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; font-weight: 500;
}
.tab + .tab::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line-2); }
.tab[aria-selected="true"] { background: var(--panel-2); color: var(--text); }
.tab[aria-selected="true"]::before, .tab[aria-selected="true"] + .tab::before { opacity: 0; }
.tab::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transform: translateX(-50%); transition: width .2s, background .2s; }
.tab[aria-selected="true"]::after { width: 34px; border-radius: 3px; background: var(--text); }
.tab:hover { color: var(--text); }
.tabpanel-wrap { border: 1px solid var(--line); border-radius: 22px; padding: 14px; background: rgba(255, 255, 255, .01); }
.tabpanel { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.tabpanel[hidden] { display: none; }
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.tp-head h3 { font-size: 1.15rem; font-weight: 600; }
.tp-head a { color: var(--dim); display: inline-flex; gap: 6px; align-items: center; font-size: 15px; white-space: nowrap; }
.tp-head a:hover { color: var(--text); }
.tp-head a svg { width: 15px; height: 15px; }
.tp-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.tp-row:last-child { border-bottom: 0; }
.tp-row .icon-box { width: 40px; height: 40px; }
.tp-row .icon-box svg { width: 20px; height: 20px; }
.tp-row .t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 550; font-size: 16.5px; }
.tp-row .s { color: var(--dim); font-size: 14.5px; margin-top: 2px; }
.tp-row .go { color: var(--muted); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.tp-row .go svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .tp-row { grid-template-columns: 40px 1fr; padding: 16px; }
  .tp-row .go { display: none; }
  .tp-head { padding: 18px 16px; }
  .tab { padding: 9px 14px; font-size: 15px; }
}

/* ---------- Split layout (text + code) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 960px) { .split, .split.reverse { grid-template-columns: 1fr; } }

/* ---------- Code block ---------- */
.code {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #0d0d13; overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.code-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--dim); }
.code-head .dots { display: flex; gap: 6px; }
.code-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a35; }
.code-head .copy { margin-left: auto; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 6px; padding: 4px 10px; font-family: var(--mono); font-size: 12px; cursor: pointer; }
.code-head .copy:hover { color: var(--text); border-color: var(--line-2); }
.code pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: #d6d6e0; tab-size: 2; }
.code pre::-webkit-scrollbar { height: 6px; }
.code pre::-webkit-scrollbar-thumb { background: #2a2a35; border-radius: 3px; }
.tok-c { color: #6b6b7b; }
.tok-k { color: #f472d0; }
.tok-p { color: #a5b4fc; }
.tok-s { color: #d9f99d; }
.tok-n { color: #c084fc; }
.tok-f { color: var(--lime); }
.tok-o { color: #8b8b9a; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; counter-reset: step; }
.step { background: var(--bg); padding: 28px 24px 30px; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.step h3 { font-size: 1.12rem; margin-top: 28px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.step .dur { margin-top: 18px; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 12px; } }

/* ---------- States ---------- */
.state-card { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.state-top { display: flex; align-items: center; justify-content: space-between; }
.state-abbr { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .1em; }
.state-shape { width: 56px; height: 56px; color: var(--violet-2); }
.state-card h3 { font-size: 1.6rem; }
.state-card .cities { color: var(--muted); font-size: 14.5px; }
.state-card .laws { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--bg); padding: 32px var(--gutter); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em; font-weight: 650; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 1.08rem; font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 820px; }
.faq details > div p + p { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; bottom: -220px; width: 1000px; height: 500px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .35), rgba(217, 70, 239, .1) 55%, transparent 80%);
}
.cta-band .h2 { max-width: 860px; margin: 0 auto; }
.cta-band .lede { max-width: 620px; margin: 20px auto 0; }
.cta-band .btn-row { margin-top: 36px; }

/* ---------- Long-form content ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 56px; }
.prose h3 { font-size: 1.2rem; margin-top: 32px; }
.prose p, .prose ul, .prose ol { margin-top: 16px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); }
.prose > :first-child { margin-top: 0; }

.callout {
  border: 1px solid rgba(251, 191, 36, .25); background: rgba(251, 191, 36, .05);
  border-radius: var(--radius); padding: 16px 20px; color: #e9dcb6; font-size: 14.5px;
  display: flex; gap: 12px; align-items: flex-start;
}
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--amber); }
.callout.violet { border-color: rgba(139, 92, 246, .3); background: rgba(139, 92, 246, .06); color: #d7ccfb; }
.callout.violet svg { color: var(--violet-2); }

/* ---------- Two-column layout with sticky aside ---------- */
.with-aside { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-nav { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.aside-nav .label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 10px; }
.aside-nav a { color: var(--muted); padding: 7px 12px; border-left: 1px solid var(--line); }
.aside-nav a:hover { color: var(--text); border-left-color: var(--line-2); }
.aside-nav a.is-active { color: var(--text); border-left-color: var(--lime); }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-nav { display: none; } }

/* ---------- Service blocks ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 16px; }
.service .lede { margin-top: 14px; font-size: 1.05rem; }
.service-box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); padding: 26px; }
.service-box h4 { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 500; }
.service-box ul { margin-top: 16px; }
.service-box + .service-box { margin-top: 14px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* ---------- Table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
table.data th, table.data td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 550; color: var(--dim); font-size: 13.5px; background: var(--bg-2); }
table.data td { color: var(--muted); }
table.data td:first-child { color: var(--text); font-weight: 550; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- Interactive tools (quiz / picker) ---------- */
.tool { border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; }
.tool-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.tool-head .progress { flex: 1; height: 4px; background: rgba(255, 255, 255, .06); border-radius: 2px; overflow: hidden; }
.tool-head .progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--cyan), var(--violet)); transition: width .3s ease; }
.tool-head .count { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.tool-body { padding: clamp(24px, 4vw, 40px); }
.tool fieldset { border: 0; margin: 0; padding: 0; }
.tool legend { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; padding: 0; }
.tool .hint { color: var(--dim); font-size: 14.5px; margin-top: 8px; }
.options { display: grid; gap: 10px; margin-top: 24px; }
.option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--line-2); }
.option input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; margin: 0; display: grid; place-items: center; }
.option input[type="checkbox"] { border-radius: 5px; }
.option input:checked { border-color: var(--lime); background: var(--lime); box-shadow: inset 0 0 0 3px var(--bg); }
.option input[type="checkbox"]:checked { box-shadow: none; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1203' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.option:has(input:checked) { border-color: rgba(181, 242, 61, .45); background: rgba(181, 242, 61, .04); }
.tool-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.tool-nav .btn[disabled] { opacity: .4; cursor: not-allowed; }
.result-score { display: flex; align-items: baseline; gap: 12px; }
.result-score b { font-size: clamp(3rem, 8vw, 4.5rem); letter-spacing: -0.05em; line-height: 1; }
.result-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: 18px; }
.result-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--amber), var(--lime)); width: 0; transition: width .6s ease; }
.result-list { margin-top: 28px; display: grid; gap: 12px; }
.result-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.result-item h4 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.result-item p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 14.5px; font-weight: 550; }
.field .opt { color: var(--dim); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font-size: 15.5px; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1b0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--pink); }
.field-error { color: var(--pink); font-size: 13.5px; min-height: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.checks .option { padding: 12px 14px; font-size: 15px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--lime); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .3); color: #bbf7d0; }
.form-status.err { background: rgba(244, 114, 182, .08); border: 1px solid rgba(244, 114, 182, .3); color: #fbcfe8; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); background: var(--bg-2); }

/* ---------- Team ---------- */
.role .avatar { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 15px; color: #fff; }
.av-1 { background: linear-gradient(135deg, #7c3aed, #22d3ee); }
.av-2 { background: linear-gradient(135deg, #db2777, #f59e0b); }
.av-3 { background: linear-gradient(135deg, #16a34a, #b5f23d); }
.av-4 { background: linear-gradient(135deg, #2563eb, #a78bfa); }
.av-5 { background: linear-gradient(135deg, #0891b2, #4ade80); }
.av-6 { background: linear-gradient(135deg, #c026d3, #8b5cf6); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050507; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px 32px; padding-top: 64px; padding-bottom: 48px; }
.footer-top h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.footer-top ul { list-style: none; display: grid; gap: 10px; }
.footer-top ul a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.footer-top ul a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer-states { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: color .2s, border-color .2s; }
.social-link:hover, .social-link:focus-visible { color: var(--text); border-color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; color: var(--dim); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
.footer-note { color: var(--dim); font-size: 12.5px; padding-bottom: 32px; max-width: 900px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Additions ---------- */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps.steps-4 { grid-template-columns: 1fr; } }
.grid-1 { grid-template-columns: 1fr; }
.with-aside > *, .split > *, .service > * { min-width: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.callout p { margin: 0; color: inherit; }
.prose .callout { margin-bottom: 24px; }

@media (max-width: 640px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn, .page-hero .btn-row .btn { width: 100%; }
}
.split.top { align-items: start; }
.tool fieldset + fieldset { margin-top: 36px; }
.tool-nav:first-child { margin-top: 0; }

/* ---------- Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar .chip { cursor: pointer; font: inherit; font-size: 14.5px; padding: 8px 14px; }
.chip.is-active, .chip[aria-pressed="true"] { border-color: rgba(181, 242, 61, .5); background: rgba(181, 242, 61, .08); color: var(--lime); }
[data-filter-item][hidden] { display: none !important; }

/* ---------- Video / course library ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vgrid { grid-template-columns: 1fr; } }
.vcard { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.vcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.vthumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.vthumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.vt-1 { background: radial-gradient(120% 90% at 20% 0%, rgba(139,92,246,.55), #0d0b18 70%); }
.vt-2 { background: radial-gradient(120% 90% at 80% 0%, rgba(34,211,238,.4), #08131a 70%); }
.vt-3 { background: radial-gradient(120% 90% at 20% 0%, rgba(181,242,61,.32), #0e1308 70%); }
.vt-4 { background: radial-gradient(120% 90% at 80% 0%, rgba(217,70,239,.45), #160a18 70%); }
.vt-5 { background: radial-gradient(120% 90% at 20% 0%, rgba(251,191,36,.35), #17120a 70%); }
.vt-6 { background: radial-gradient(120% 90% at 80% 0%, rgba(74,222,128,.32), #08140d 70%); }
.vprovider { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.vkind, .vplay { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); }
.vplay { cursor: pointer; transition: transform .15s, background .15s; }
.vplay:hover { transform: scale(1.06); background: rgba(255,255,255,.16); }
.vplay svg.i { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.vkind svg.i { width: 24px; height: 24px; }
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vbody h3 { font-size: 1.1rem; margin-top: 4px; }
.vbody p { color: var(--muted); font-size: 15px; flex: 1; }
.vbody .more, .ncard .more { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 550; font-size: 14.5px; }
.vbody .more svg, .ncard .more svg { width: 14px; height: 14px; }

/* ---------- News ---------- */
.news-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.news-toolbar .filter-bar { margin-bottom: 0; }
.news-search { position: relative; min-width: 260px; flex: 0 1 320px; }
.news-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); }
.news-search .input { padding-left: 38px; }
.news-meta { font-family: var(--mono); font-size: 12.5px; color: var(--dim); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.news-meta .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.ngrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ngrid.compact { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .ngrid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .ngrid, .ngrid.compact { grid-template-columns: 1fr; } }
.ncard { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; transition: background .2s; min-width: 0; }
.ncard:hover { background: #0c0c12; }
.ncard .nhead { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); font-family: var(--mono); }
.ncard .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-labs { background: var(--violet-2); } .dot-platforms { background: var(--cyan); } .dot-open { background: var(--amber); } .dot-industry { background: var(--pink); }
.ncard h3 { font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
.ncard h3 a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.ncard p { color: var(--muted); font-size: 14.5px; }
.news-empty { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.skeleton { height: 140px; background: linear-gradient(90deg, var(--bg) 0%, #101017 50%, var(--bg) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Newsletter ---------- */
.subscribe { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe .input { flex: 1 1 240px; }
.subscribe-card { border: 1px solid rgba(139, 92, 246, .35); border-radius: 20px; padding: clamp(24px, 4vw, 40px); background: radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .18), transparent 60%), var(--bg-2); }
.subscribe-card .form-status { margin-top: 12px; }
.fine { font-size: 13px; color: var(--dim); margin-top: 10px; }

/* ---------- Offer / starter kit ---------- */
.offer { position: relative; border: 1px solid rgba(181, 242, 61, .35); border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, rgba(181, 242, 61, .14), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 246, .2), transparent 55%), var(--bg-2); }
.offer-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 900px) { .offer-inner { grid-template-columns: 1fr; } }
.offer .price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.offer .price b { font-size: 2.6rem; letter-spacing: -0.04em; }
.offer .price s { color: var(--dim); font-size: 1.1rem; }
.kit-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; }
a.kit-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.kit-card h3 { font-size: 1.15rem; }
.kit-card p { color: var(--muted); font-size: 15px; flex: 1; }
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .kit-grid { grid-template-columns: 1fr; } }

/* ---------- Learn ---------- */
.path-card { background: var(--bg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.path-card ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: 15px; }
.path-card ol a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.path-card ol a:hover { text-decoration-color: var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.prose .diagram { margin-top: 24px; }
.prose .code pre { color: #d6d6e0; }
.prose .grid { margin-top: 24px; }
.prose .cell h3 { margin-top: 0; }
.keypoints { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; background: var(--bg-2); margin-top: 24px; }
.keypoints h2, .prose .keypoints h2 { font-size: 1rem; margin: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); font-weight: 500; }
.keypoints ul { margin-top: 14px; }
.next-read { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Policy generator ---------- */
.gen { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1000px) { .gen { grid-template-columns: 1fr; } }
.gen-form { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
@media (max-width: 1000px) { .gen-form { position: static; max-height: none; } }
.gen-form .tool-body { display: grid; gap: 22px; }
.gen-form .options { margin-top: 10px; gap: 8px; }
.gen-form .option { padding: 10px 12px; font-size: 14.5px; }
.gen-form legend { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.gen-form fieldset + fieldset { margin-top: 0; }
.gen-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc { background: #fbfbfd; color: #1a1a22; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); box-shadow: 0 40px 100px -40px rgba(139, 92, 246, .5); font-size: 15px; line-height: 1.65; }
.doc .doc-title { font-size: 1.9rem; letter-spacing: -0.03em; color: #0b0b10; }
.doc h3 { font-size: 1.15rem; margin-top: 28px; color: #0b0b10; letter-spacing: -0.01em; }
.doc p, .doc ul { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc .doc-sub { color: #5b5b6b; margin-top: 8px; }
.doc .doc-note { background: #fff7e0; border: 1px solid #f3dc9b; color: #6b5310; padding: 12px 14px; border-radius: 8px; font-size: 13.5px; margin-top: 18px; }
.doc .sig { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.doc .sig span { display: block; border-top: 1px solid #b9b9c6; padding-top: 6px; font-size: 13px; color: #5b5b6b; }
.doc a { color: #5b21b6; }
.doc-wrap { display: grid; gap: 14px; }
.doc-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }

@media print {
  body { background: #fff; }
  .announce, .site-header, .site-footer, .page-hero, .no-print, .gen-form, .doc-toolbar, .skip-link { display: none !important; }
  .section, .frame, .framed { border: 0 !important; padding: 0 !important; max-width: none !important; }
  .gen { display: block; }
  .doc { box-shadow: none; padding: 0; border-radius: 0; font-size: 11.5pt; }
  .doc h3 { break-after: avoid; }
}

/* ---------- Partners ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.gap-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
.ngrid .news-empty { grid-column: 1 / -1; border: 0; border-radius: 0; background: var(--bg); }
.ngrid .skeleton { padding: 0; }
.prose ul.ticks { padding-left: 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 5px; color: #e4e4ee; }
.prose .code code { background: none; padding: 0; font-size: inherit; }
.prose table.data { min-width: 560px; }
.nav-ctas { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1200px) { .nav-ctas { flex-direction: column; align-items: stretch; } }
.footer-news { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 20px 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-news-title { font-size: 1.15rem; }
.footer-news p { font-size: 14.5px; margin-top: 6px; }
.footer-form .form-status { margin-top: 10px; }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; } }
.page-hero .hero-meta { justify-content: flex-start; }

/* ---------- Redaction tool ---------- */
.rd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .rd { grid-template-columns: minmax(0, 1fr); } }
.rd-col { display: grid; gap: 20px; min-width: 0; }
.rd-text { min-height: 300px; font-size: 14.5px; }
.rd-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rd-types .option { padding: 10px 12px; font-size: 14px; }
.option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.tool-head .rd-copy, .tool-head #rd-copy-restored { margin-left: auto; }
.rd-out { white-space: pre-wrap; word-break: break-word; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px; font-size: 14.5px; line-height: 1.7; min-height: 160px; color: #d8d8e2; }
.rd-restored { min-height: 120px; }
.rd-summary { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
mark.ph { color: inherit; font-family: var(--mono); font-size: .9em; padding: 1px 5px; border-radius: 5px; background: rgba(139, 92, 246, .2); border: 1px solid rgba(139, 92, 246, .45); }
mark.ph-email, mark.ph-url, .ph-badge.ph-email, .ph-badge.ph-url { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .4); color: #a5f3fc; }
mark.ph-phone, mark.ph-address, .ph-badge.ph-phone, .ph-badge.ph-address { background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .4); color: #fde68a; }
mark.ph-ssn, mark.ph-card, mark.ph-account, mark.ph-dob, mark.ph-ip, .ph-badge.ph-ssn, .ph-badge.ph-card, .ph-badge.ph-account, .ph-badge.ph-dob, .ph-badge.ph-ip { background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .4); color: #fbcfe8; }
mark.ph-org, mark.ph-location, .ph-badge.ph-org, .ph-badge.ph-location { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .35); color: #bbf7d0; }
.ph-badge.ph-name { background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .4); color: #ddd6fe; }
.rd-key summary { cursor: pointer; font-size: 14.5px; font-weight: 550; }
.rd-key .table-wrap { margin-top: 12px; }
.rd-map { min-width: 0; font-size: 14px; }
.rd-map td { word-break: break-word; }

/* ---------- AI enhancement box (shared) ---------- */
.ai-box { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .06); }
.ai-box.is-on { border-style: solid; border-color: rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .05); }
.ai-box-text { display: grid; gap: 4px; font-size: 14px; color: var(--muted); flex: 1 1 260px; min-width: 0; }
.ai-box-text strong { color: var(--text); font-size: 14.5px; }
.ai-progress { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.ai-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--violet)); transition: width .2s; }

/* ---------- Policy gap checker ---------- */
.pc { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .pc { grid-template-columns: minmax(0, 1fr); } }
.pc-text { min-height: 360px; font-size: 14px; }
.pc-score { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pc-score b { font-size: clamp(2.8rem, 6vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; }
.pc-legend { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-list { display: grid; gap: 10px; }
.pc-item { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 14px 16px; display: grid; gap: 6px; }
.pc-item.is-missing { border-color: rgba(244, 114, 182, .3); }
.pc-item.is-partial { border-color: rgba(251, 191, 36, .3); }
.pc-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pc-head h3 { font-size: 1rem; }
.pc-item p { color: var(--muted); font-size: 14.5px; }
.pc-quote { font-size: 13.5px; color: var(--dim); border-left: 2px solid var(--line-2); padding-left: 10px; }
.pc-item .more { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 550; color: var(--text); }
.pc-item .more svg { width: 14px; height: 14px; }
.ai-progress[hidden] { display: none; }
.tool legend.label { font-size: 14.5px; font-weight: 550; letter-spacing: 0; line-height: 1.4; margin-bottom: 10px; }
.ticks li a, .fine a { color: var(--violet-2); text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .4); text-underline-offset: 3px; }
.ticks li a:hover, .fine a:hover { text-decoration-color: currentColor; }

/* ---------- Ask Whuey (site assistant) ---------- */
.whuey-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23b5f23d'/%3E%3Cstop offset='.55' stop-color='%2322d3ee'/%3E%3Cstop offset='1' stop-color='%238b5cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='20' cy='20' r='20' fill='url(%23g)'/%3E%3Ccircle cx='14' cy='17' r='2.7' fill='%230d1203'/%3E%3Ccircle cx='26' cy='17' r='2.7' fill='%230d1203'/%3E%3Cpath d='M13 24.5q7 6.5 14 0' stroke='%230d1203' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / cover no-repeat;
}
.whuey-launcher {
  position: fixed; z-index: 70;
  right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(181, 242, 61, .45); background: rgba(17, 17, 24, .92); color: var(--text);
  font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 14px 40px -12px rgba(139, 92, 246, .7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .15s, border-color .15s;
}
.whuey-launcher:hover { transform: translateY(-2px); border-color: var(--lime); }
.whuey-launcher.is-open .whuey-launcher-text::after { content: " ×"; color: var(--muted); }
.whuey-panel {
  position: fixed; z-index: 70; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 40px)); height: min(600px, calc(100dvh - 120px));
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(139, 92, 246, .15);
}
.whuey-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(139, 92, 246, .12), transparent); }
.whuey-head .whuey-avatar { width: 36px; height: 36px; }
.whuey-titles { display: grid; gap: 2px; min-width: 0; flex: 1; }
.whuey-titles strong { font-size: 16px; }
.whuey-titles span { font-size: 12.5px; color: var(--dim); }
.whuey-close { border: 1px solid var(--line-2); background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1; cursor: pointer; }
.whuey-close:hover { color: var(--text); }
.whuey-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.whuey-msg { display: flex; flex-direction: column; gap: 6px; max-width: 92%; }
.whuey-user { align-self: flex-end; align-items: flex-end; }
.whuey-bubble { padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.whuey-assistant .whuey-bubble { background: var(--panel-2); border: 1px solid var(--line); border-top-left-radius: 4px; }
.whuey-user .whuey-bubble { background: rgba(181, 242, 61, .12); border: 1px solid rgba(181, 242, 61, .3); border-top-right-radius: 4px; white-space: pre-wrap; }
.whuey-bubble p + p, .whuey-bubble p + ul, .whuey-bubble ul + p { margin-top: 8px; }
.whuey-bubble ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.whuey-bubble a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 2px; }
.whuey-cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 1px; border-radius: 5px; font-size: 11px; font-weight: 700; text-decoration: none !important; background: rgba(139, 92, 246, .22); color: #ddd6fe !important; vertical-align: 1px; }
.is-error .whuey-bubble { border-color: rgba(244, 114, 182, .4); color: #fbcfe8; }
.whuey-typing .whuey-bubble { color: var(--dim); font-style: italic; }
.whuey-note { font-size: 12px; color: var(--amber); max-width: 280px; text-align: right; }
.whuey-sources { display: grid; gap: 4px; font-size: 12.5px; padding-left: 4px; }
.whuey-sources span { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--dim); }
.whuey-sources a { color: var(--muted); text-decoration: none; }
.whuey-sources a:hover { color: var(--text); text-decoration: underline; }
.whuey-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.whuey-suggest .chip { font: inherit; font-size: 13px; padding: 7px 11px; cursor: pointer; }
.whuey-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 12px 6px; border-top: 1px solid var(--line); }
.whuey-form .input { resize: none; font-size: 14.5px; padding: 10px 12px; min-height: 44px; }
.whuey-foot { font-size: 11.5px; color: var(--dim); padding: 0 14px 12px; }
@media (max-width: 520px) {
  .whuey-launcher { padding-right: 14px; }
  .whuey-launcher.is-open { display: none; }
  .whuey-panel { left: 0; right: 0; bottom: 0; width: 100%; height: min(86dvh, 640px); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media print { .whuey-launcher, .whuey-panel { display: none !important; } }
.chip .whuey-avatar-sm { width: 20px; height: 20px; }
button.chip { font: inherit; font-size: 15px; cursor: pointer; }

/* ---------- Pricing & industry tags ---------- */
.price-big { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price-big b { font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; font-weight: 700; }
.price-big span { color: var(--muted); font-size: 15px; }
.price-cell.is-market { background: var(--bg-2); }
.price-cell.is-market b { color: var(--dim); }
.cell .price-big { margin-top: 18px; }
.industry-tags { gap: 10px; align-content: flex-start; }
.industry-tags .badge { font-size: 14px; padding: 9px 13px; }
ul.warns li::before {
  background: rgba(251, 191, 36, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.01'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: rgba(251, 191, 36, .3);
}
body.nav-open .whuey-launcher { display: none; }
.av-7 { background: linear-gradient(135deg, #b5f23d, #22d3ee 55%, #8b5cf6); color: #0d1203; }
.role-feature { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: radial-gradient(80% 140% at 0% 0%, rgba(181, 242, 61, .08), transparent 60%), var(--bg); }
.role-feature .avatar { width: 64px; height: 64px; font-size: 16px; border-radius: 16px; }
.role-feature h3 { margin-top: 12px; font-size: 1.35rem; }
.role-feature p { max-width: 760px; }
@media (max-width: 640px) { .role-feature { grid-template-columns: 1fr; } }
.role .avatar.av-7 { color: #0d1203; }

/* ---------- Booking ---------- */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.bk-steps { display: grid; gap: 20px; min-width: 0; }
.bk-summary { position: sticky; top: 96px; min-width: 0; }
@media (max-width: 960px) { .bk { grid-template-columns: 1fr; } .bk-summary { position: static; } }
.bk .tool-head { justify-content: space-between; flex-wrap: wrap; }
.bk .tool-body { padding: clamp(18px, 3vw, 28px); }
.bk-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .bk-platforms { grid-template-columns: 1fr; } }
.bk-platform { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s; }
.bk-platform:hover { background: var(--panel-2); }
.bk-platform input { position: absolute; opacity: 0; pointer-events: none; }
.bk-platform:has(input:checked) { border-color: var(--lime); background: rgba(181, 242, 61, .05); }
.bk-platform:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.bk-platform strong { display: block; }
.bk-platform .dim { display: block; font-size: 13.5px; }
.bk-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; font-weight: 700; color: #fff; }
.bk-teams { background: #5b5fc7; }
.bk-zoom { background: #2d8cff; }
.bk-time[aria-pressed="true"] .bk-summary .btn { width: 100%; justify-content: center; }
.bk-summary .btn[disabled] { opacity: .6; cursor: progress; }
.bk-done:focus { outline: none; }

/* ---------- Prototype to production ---------- */
.launch-tagline { margin-top: 40px; text-align: center; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }

/* ---------- Problem statement & problem → solution rows ---------- */
.eyebrow.pink { color: var(--pink); }
.problem-statement { max-width: 860px; }
.problem-statement .h2 { margin-top: 16px; }
.problem-statement .lede { margin-top: 20px; }
.problem-answer { margin-top: 20px; padding: 18px 22px; border-left: 3px solid var(--lime); background: rgba(181, 242, 61, .05); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 1.08rem; }
.problem-answer strong { color: var(--text); }
.problem-statement + .prob { margin-top: 40px; }
.prob { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.prob-head, .prob-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.prob-head { padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.prob-list { list-style: none; margin: 0; padding: 0; }
.prob-row { padding: 20px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.prob-row:last-child { border-bottom: 0; }
.prob-row:hover { background: #0b0b10; }
.prob-q, .prob-a { display: flex; gap: 12px; align-items: flex-start; }
.prob-q > .i, .prob-a > .i { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.prob-q strong { display: block; font-size: 1.05rem; line-height: 1.4; }
.prob-q p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.prob-a p { color: var(--text); font-size: 15.5px; }
.prob-a .link { display: inline-block; margin-top: 6px; font-size: 14px; }
.prob-arrow { display: grid; place-items: center; height: 28px; color: var(--dim); }
.prob-arrow .i { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .prob-head { display: none; }
  .prob-row { grid-template-columns: 1fr; gap: 10px; }
  .prob-arrow { display: none; }
  .prob-a { padding: 12px 14px; border-radius: 10px; background: rgba(181, 242, 61, .04); border: 1px solid rgba(181, 242, 61, .14); }
}

/* ---------- Use cases ---------- */
.uc-note { margin: -8px 0 24px; font-size: 14.5px; }
.uc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: 1fr; } }
.uc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.uc:target { border-color: rgba(181, 242, 61, .5); }
.uc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uc h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.uc-label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.uc-problem { padding: 14px 16px; border-radius: 12px; background: rgba(244, 114, 182, .05); border: 1px solid rgba(244, 114, 182, .16); }
.uc-problem .uc-label { color: var(--pink); }
.uc-problem p { color: var(--text); font-size: 15px; }
.uc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .uc-cols { grid-template-columns: 1fr; } }
.uc-cols .ticks li { font-size: 14.5px; }
.uc-result { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.uc-result .uc-label { color: var(--lime); }
.uc-mini { display: block; color: inherit; text-decoration: none; }
.uc-mini-tag { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.uc-mini h3 { margin-top: 6px; }
ul.ticks.shield-ticks li::before {
  background: rgba(34, 211, 238, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: rgba(34, 211, 238, .25);
}
.uc-head { order: -1; }

/* ---------- Tools, talent, resources ---------- */
.pillars { margin-top: 48px; }
.pillars-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.cell p .link { color: var(--violet-2); }

/* ---------- Full life cycle ---------- */
.lc-intro { margin: -8px 0 28px; max-width: 760px; }
.lc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
@media (max-width: 1080px) { .lc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lc { grid-template-columns: 1fr; } }
.lc-stage { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); transition: border-color .2s; }
.lc-stage:hover { border-color: var(--line-2); }
/* Connector arrows between stages on wide screens */
@media (min-width: 1081px) {
  .lc-stage:not(:nth-child(4n))::after { content: ""; position: absolute; top: 38px; right: -13px; width: 10px; height: 10px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); }
}
.lc-top { display: flex; align-items: center; justify-content: space-between; }
.lc-num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.lc-stage h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.lc-stage > p { color: var(--muted); font-size: 14.5px; }
.lc-docs { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.lc-label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.lc-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lc-docs li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.lc-docs li .i { width: 15px; height: 15px; color: var(--dim); flex: none; }
.lc-loop { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.lc-loop .i { width: 20px; height: 20px; flex: none; }
.price-pre { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.price-pre + .price-big, .cell .price-pre + .price-big { margin-top: 4px; }

/* =========================================================
   Motion (home page). Transform/opacity only so it stays
   smooth on phones; everything stops for reduced motion.
   ========================================================= */

/* Hero entrance: each line rises in turn */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(1) { animation-delay: .05s; }
.hero-inner > :nth-child(2) { animation-delay: .15s; }
.hero-inner > :nth-child(3) { animation-delay: .3s; }
.hero-inner > :nth-child(4) { animation-delay: .45s; }
.hero-inner > :nth-child(5) { animation-delay: .6s; }

/* Shimmering gradient headline words */
@keyframes shine { to { background-position: 200% center; } }
.hero .grad-text, .pillars-title .grad-text, .launch-tagline .grad-text {
  background-size: 200% auto;
  background-image: linear-gradient(90deg, var(--lime), var(--cyan), var(--violet), var(--fuchsia), var(--amber), var(--cyan), var(--lime));
  animation: shine 8s linear infinite;
}
.hero .display .grad-text { animation: shine 8s linear infinite; }

/* Breathing glow and drifting blueprint grid */
@keyframes breathe { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.hero::after { animation: breathe 9s ease-in-out infinite; }
@keyframes drift { to { transform: translate(64px, 64px); } }
.hero::before { inset: -64px 0 0 -64px; animation: drift 24s linear infinite; }

/* Perspective floor grid flowing toward the viewer */
@keyframes floor { from { transform: perspective(600px) rotateX(62deg) translateY(-80px); } to { transform: perspective(600px) rotateX(62deg) translateY(0); } }
.stage::before { animation: floor 6s linear infinite; }
@keyframes glow { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.stage::after { animation: glow 7s ease-in-out infinite; }

/* Readiness report: trend bars grow when it scrolls into view */
.js .mock .trend i { transform: scaleY(.15); transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .mock.is-visible .trend i { transform: none; }
.js .mock .trend i:nth-child(2) { transition-delay: .05s; } .js .mock .trend i:nth-child(3) { transition-delay: .1s; }
.js .mock .trend i:nth-child(4) { transition-delay: .15s; } .js .mock .trend i:nth-child(5) { transition-delay: .2s; }
.js .mock .trend i:nth-child(6) { transition-delay: .25s; } .js .mock .trend i:nth-child(7) { transition-delay: .3s; }
.js .mock .trend i:nth-child(8) { transition-delay: .35s; }
@keyframes pulse-on { 0%, 100% { box-shadow: 0 0 6px rgba(167, 139, 250, .5); } 50% { box-shadow: 0 0 14px rgba(167, 139, 250, .95); } }
.mock.is-visible .trend i.on { animation: pulse-on 2.4s ease-in-out infinite; }

/* Industries ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .01); overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.ticker-title { flex: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--dim); max-width: 260px; }
.ticker-track { flex: 1; min-width: 0; display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-list { list-style: none; margin: 0; padding: 0 0 0 0; display: flex; flex: none; gap: 10px; padding-right: 10px; animation: ticker 50s linear infinite; }
.ticker-list li { flex: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 14px; white-space: nowrap; }
.ticker-track:hover .ticker-list { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .ticker-inner { flex-direction: column; align-items: stretch; gap: 12px; } .ticker-title { max-width: none; } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { mask-image: none; -webkit-mask-image: none; }
  .ticker-list { flex-wrap: wrap; flex: 1; animation: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
}

/* Problem rows cascade in */
.js .prob.reveal { transform: none; }
.js .prob.reveal .prob-row { opacity: 0; transform: translateX(-12px); transition: opacity .6s ease, transform .6s ease; }
.js .prob.reveal.is-visible .prob-row { opacity: 1; transform: none; }
.js .prob .prob-row:nth-child(2) { transition-delay: .08s; } .js .prob .prob-row:nth-child(3) { transition-delay: .16s; }
.js .prob .prob-row:nth-child(4) { transition-delay: .24s; } .js .prob .prob-row:nth-child(5) { transition-delay: .32s; }
.js .prob .prob-row:nth-child(6) { transition-delay: .4s; } .js .prob .prob-row:nth-child(7) { transition-delay: .48s; }
.js .prob .prob-row:nth-child(8) { transition-delay: .56s; }

/* Life cycle: stages arrive in order, then a highlight travels through them */
.js .lc.reveal { transform: none; }
.js .lc.reveal .lc-stage { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease, border-color .2s; }
.js .lc.reveal.is-visible .lc-stage { opacity: 1; transform: none; }
@keyframes lc-active {
  0%, 14%, 100% { border-color: var(--line); box-shadow: none; }
  2%, 11% { border-color: rgba(181, 242, 61, .6); box-shadow: 0 0 0 1px rgba(181, 242, 61, .18), 0 18px 40px -22px rgba(181, 242, 61, .5); }
}
.lc.is-visible .lc-stage { animation: lc-active 12s ease-in-out infinite; }
.js .lc.reveal .lc-stage:nth-child(1) { transition-delay: 0s; }
.lc.is-visible .lc-stage:nth-child(1) { animation-delay: 0.6s; }
.js .lc.reveal .lc-stage:nth-child(2) { transition-delay: .07s; }
.lc.is-visible .lc-stage:nth-child(2) { animation-delay: 2.1s; }
.js .lc.reveal .lc-stage:nth-child(3) { transition-delay: .14s; }
.lc.is-visible .lc-stage:nth-child(3) { animation-delay: 3.6s; }
.js .lc.reveal .lc-stage:nth-child(4) { transition-delay: .21s; }
.lc.is-visible .lc-stage:nth-child(4) { animation-delay: 5.1s; }
.js .lc.reveal .lc-stage:nth-child(5) { transition-delay: .28s; }
.lc.is-visible .lc-stage:nth-child(5) { animation-delay: 6.6s; }
.js .lc.reveal .lc-stage:nth-child(6) { transition-delay: .35s; }
.lc.is-visible .lc-stage:nth-child(6) { animation-delay: 8.1s; }
.js .lc.reveal .lc-stage:nth-child(7) { transition-delay: .42s; }
.lc.is-visible .lc-stage:nth-child(7) { animation-delay: 9.6s; }
.js .lc.reveal .lc-stage:nth-child(8) { transition-delay: .49s; }
.lc.is-visible .lc-stage:nth-child(8) { animation-delay: 11.1s; }
@keyframes nudge { 0%, 100% { transform: translateX(0) rotate(45deg); opacity: .5; } 50% { transform: translateX(4px) rotate(45deg); opacity: 1; } }
@media (min-width: 1081px) { .lc.is-visible .lc-stage:not(:nth-child(4n))::after { animation: nudge 2s ease-in-out infinite; } }

/* Blinking caret in the code panel */
@keyframes blink { 50% { opacity: 0; } }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: text-bottom; background: var(--lime); animation: blink 1.1s steps(1) infinite; }

/* Lift on hover */
.cell, .uc-mini, .lc-stage { transition: background .2s, transform .25s ease, border-color .2s; }
@media (hover: hover) {
  a.cell:hover, .uc-mini:hover, .lc-stage:hover { transform: translateY(-3px); }
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
  .btn-primary:hover::after { animation: sweep .8s ease; }
}
@keyframes sweep { from { left: -60%; opacity: 1; } to { left: 120%; opacity: 1; } }
.lc.is-visible .lc-stage:hover, .prob.is-visible .prob-row:hover { transition-delay: 0s; }

/* ---------- Quick wins ---------- */
.qw-section { position: relative; isolation: isolate; }
.qw-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 15% 0%, rgba(181, 242, 61, .08), transparent 70%), radial-gradient(50% 40% at 90% 100%, rgba(139, 92, 246, .1), transparent 70%); }
.qw-intro { margin: -8px 0 28px; max-width: 780px; }
.qw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .qw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .qw-grid { grid-template-columns: 1fr; } }
.qw-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); color: inherit; text-decoration: none; transition: transform .25s ease, border-color .2s, box-shadow .25s; }
.qw-card:hover { border-color: rgba(181, 242, 61, .45); box-shadow: 0 24px 50px -30px rgba(181, 242, 61, .45); }
@media (hover: hover) { .qw-card:hover { transform: translateY(-4px); } }
.qw-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; }
.qw-card p { color: var(--muted); font-size: 15px; }
.qw-featured { border-color: rgba(181, 242, 61, .55); background: linear-gradient(180deg, rgba(181, 242, 61, .08), var(--bg-2) 70%); }
.qw-featured::after { content: "Most popular"; position: absolute; top: -11px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.qw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qw-entry { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.qw-free { background: rgba(181, 242, 61, .14); color: var(--lime); border: 1px solid rgba(181, 242, 61, .35); }
.qw-fixed { background: rgba(167, 139, 250, .14); color: var(--violet-2); border: 1px solid rgba(167, 139, 250, .35); }
.qw-cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: 15px; }
.qw-cta .i { width: 16px; height: 16px; transition: transform .2s; }
.qw-card:hover .qw-cta .i { transform: translateX(4px); }
.js .qw-grid.reveal { transform: none; }
.js .qw-grid.reveal .qw-card { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease, border-color .2s, box-shadow .25s; }
.js .qw-grid.reveal.is-visible .qw-card { opacity: 1; transform: none; }
.js .qw-grid.reveal .qw-card:nth-child(2) { transition-delay: .08s; } .js .qw-grid.reveal .qw-card:nth-child(3) { transition-delay: .16s; }
.js .qw-grid.reveal .qw-card:nth-child(4) { transition-delay: .24s; } .js .qw-grid.reveal .qw-card:nth-child(5) { transition-delay: .32s; }
.js .qw-grid.reveal .qw-card:nth-child(6) { transition-delay: .4s; }
.qw-grid.is-visible .qw-card:hover { transition-delay: 0s; }
@keyframes qw-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(181, 242, 61, 0); } 50% { box-shadow: 0 0 0 4px rgba(181, 242, 61, .12), 0 24px 50px -30px rgba(181, 242, 61, .5); } }
.qw-grid.is-visible .qw-featured { animation: qw-glow 3.2s ease-in-out infinite 1s; }

/* Quick wins page offers */
.qw-offer h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.03em; margin-top: 18px; }
.qw-pain { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(244, 114, 182, .05); border: 1px solid rgba(244, 114, 182, .16); color: var(--text); font-size: 15.5px; }
.qw-offer .lede { margin-top: 14px; }
.qw-offer:first-child { border-top: 0; }
.qw-start { margin-top: 14px; padding: 24px; border: 1px solid rgba(181, 242, 61, .35); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(181, 242, 61, .07), var(--bg-2)); }
.qw-start h3 { font-size: 1.2rem; }
.qw-start p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.qw-start .btn { margin-top: 16px; }
.qw-offer { scroll-margin-top: 90px; }

/* Announcement bar */
@media (max-width: 640px) { .announce-more { display: none; } }

/* Header "Quick wins" button: the most visible item in the navigation */
.btn-hot { position: relative; color: var(--lime); border: 1px solid rgba(181, 242, 61, .6); background: rgba(181, 242, 61, .1); animation: hot-glow 2.8s ease-in-out infinite; }
.btn-hot:hover, .btn-hot[aria-current="page"] { background: rgba(181, 242, 61, .18); border-color: var(--lime); color: var(--lime); }
.btn-hot .i { width: 16px; height: 16px; }
.hot-tag { margin-left: 2px; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
@keyframes hot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(181, 242, 61, 0); } 50% { box-shadow: 0 0 0 4px rgba(181, 242, 61, .14), 0 0 22px rgba(181, 242, 61, .35); } }
/* In the mobile menu, the quick wins button comes first */
@media (max-width: 1200px) {
  .nav-ctas { order: -1; }
  .nav .btn-hot { padding: 14px 18px; font-size: 17px; }
}

/* ---------- Careers ---------- */
.roles-intro { margin: -8px 0 28px; max-width: 780px; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
.role { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); scroll-margin-top: 100px; transition: border-color .2s; }
.role:hover, .role:target { border-color: var(--line-2); }
.role-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.role h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.role-summary { color: var(--muted); font-size: 15.5px; }
.role-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .role-cols { grid-template-columns: 1fr; } }
.role-cols .ticks li { font-size: 14.5px; }
.role-cta { margin-top: auto; align-self: flex-start; }
.culture .cell h3 { font-size: 1.35rem; }
.eyebrow.amber { color: var(--amber); }

/* ---------- Hero "your back." piano keys ----------
   Each letter is a key: a ripple runs left to right, pressing each one down,
   lighting it, and glowing its key bar, then the run repeats after a pause. */
.piano { display: inline-block; white-space: nowrap; }
.pk { position: relative; display: inline-block; transform-origin: 50% 0; animation: pk-press 4.2s cubic-bezier(.3, .7, .3, 1) infinite; animation-delay: calc(1.1s + var(--i) * .11s); }
.pk::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -.06em; height: .07em; border-radius: 3px; background: currentColor; opacity: .22; animation: pk-key 4.2s cubic-bezier(.3, .7, .3, 1) infinite; animation-delay: inherit; }
.pk::before { content: attr(data-l); }
.pk-space { width: .26em; }
.pk-space::after { display: none; }
.k1 { --i: 0; color: #b5f23d; } .k2 { --i: 1; color: #8de57f; } .k3 { --i: 2; color: #4fdcc0; } .k4 { --i: 3; color: #22d3ee; }
.pk-space { --i: 4; }
.k5 { --i: 5; color: #5b8cf6; } .k6 { --i: 6; color: #8b5cf6; } .k7 { --i: 7; color: #d946ef; }
.k8 { --i: 8; color: #f472b6; } .k9 { --i: 9; color: #fbbf24; }
@keyframes pk-press {
  0%, 16%, 100% { transform: none; text-shadow: none; filter: none; }
  4% { transform: translateY(.07em) scaleY(.94); text-shadow: 0 0 .35em currentColor; filter: brightness(1.25); }
  9% { transform: translateY(-.02em); text-shadow: 0 0 .2em currentColor; }
}
@keyframes pk-key {
  0%, 16%, 100% { opacity: .22; transform: none; box-shadow: none; }
  4% { opacity: 1; transform: scaleX(1.15); box-shadow: 0 0 .3em currentColor; }
}

/* Readiness check: next steps */
.result-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 680px) { .result-next { grid-template-columns: 1fr; } }
.result-next-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg); }
.result-next-card.is-primary { border-color: rgba(181, 242, 61, .45); background: linear-gradient(180deg, rgba(181, 242, 61, .07), var(--bg)); }
.result-next-card h3 { font-size: 1.15rem; }
.result-next-card p { color: var(--muted); font-size: 14.5px; }
.result-next-card .btn { margin-top: auto; align-self: flex-start; }
.result-next-card p + .btn { margin-top: 10px; }

/* Readiness feedback summary */
.result-heading { font-size: 1.15rem; margin-top: 32px; margin-bottom: 12px; letter-spacing: -0.01em; }
.result-heading + .result-list { margin-top: 0; }
.result-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .result-summary { grid-template-columns: 1fr; } }
.result-col { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.result-col.is-good { border-color: rgba(74, 222, 128, .3); }
.result-col.is-good .lc-label { color: var(--green); }
.result-col.is-gap { border-color: rgba(244, 114, 182, .3); }
.result-col.is-gap .lc-label { color: var(--pink); }
.result-col p { color: var(--muted); font-size: 14.5px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.result-help { display: grid; gap: 10px; }
.result-rec { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(167, 139, 250, .35); background: linear-gradient(180deg, rgba(139, 92, 246, .1), var(--bg)); }
.result-rec .lc-label { color: var(--violet-2); }
.result-rec h4 { font-size: 1.05rem; }
.result-rec p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.result-help-item { display: grid; gap: 4px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.result-help-item:hover { border-color: var(--line-2); background: #0b0b10; }
.result-help-item strong { display: flex; align-items: center; gap: 8px; }
.result-help-item strong::after { content: "→"; color: var(--lime); transition: transform .2s; }
.result-help-item:hover strong::after { transform: translateX(3px); }
.result-help-item span { color: var(--muted); font-size: 14.5px; }

/* Home page: take the assessment */
a.mock-new { text-decoration: none; transition: color .2s; }
a.mock-new:hover { color: var(--lime); }
.assess-cta { max-width: 980px; margin: 28px auto 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 28px; border: 1px solid rgba(181, 242, 61, .4); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(181, 242, 61, .08), rgba(139, 92, 246, .08)); }
.assess-copy .h3 { margin-top: 10px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.assess-copy p { margin-top: 8px; max-width: 600px; }
.assess-cta > .btn { flex: none; }
@media (max-width: 820px) { .assess-cta { flex-direction: column; align-items: stretch; } .assess-cta > .btn { width: 100%; } }
.assess-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.assess-steps li { display: inline-flex; align-items: center; gap: 8px; }
.assess-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(181, 242, 61, .15); color: var(--lime); font-weight: 700; font-size: 12px; }
.assess-steps-lg { margin-top: 28px; font-size: 15px; color: var(--text); }

/* Call request form */
.bk-platforms-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .bk-platforms-3 { grid-template-columns: 1fr; } }
.bk-either { background: linear-gradient(135deg, #5b5fc7, #2d8cff); }
.bk-times-pref { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
@media (max-width: 720px) { .bk-times-pref { grid-template-columns: 1fr; } }
.bk-times-pref .dim { display: block; font-size: 13px; }
.bk-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bk-next li { display: flex; gap: 12px; align-items: flex-start; }
.bk-next li > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(181, 242, 61, .15); color: var(--lime); font-weight: 700; font-size: 13px; }
.bk-next strong { display: block; font-size: 15px; }
.bk-next p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* "and not your pockets." after the piano keys */
.hero-tail { color: var(--muted); }
.bk-times-pref .option { flex-wrap: wrap; row-gap: 2px; }
.bk-times-pref .option .dim { flex-basis: 100%; padding-left: 28px; }
