/* Longstride design system v5: flat white, hairline borders, tight type, one accent.
   Colours and fonts are CSS variables (brand-data.js sets the brand values at runtime). */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --ink: #0B1220; --muted: #5E6675; --line: #E7E9EE;
  --accent: #2563EB; --accent2: #14B8A6; --on-accent: #FFFFFF;
  --bg-2: #F6F7F9; --line-2: #D7DBE2; --ink-2: #283142; --dark: #0A0F1A; --dark-2: #121A28; --dark-line: #222C3C; --dark-muted: #8A94A6;
  --font-display: 'Geist', system-ui, sans-serif; --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace; --font-accent: 'Geist', system-ui, sans-serif;
  --display-weight: 560; --display-tracking: -0.035em; --display-case: none; --display-scale: 1;

  /* compatibility aliases for older components: no blur, no translucency */
  --glass: var(--surface); --glass-strong: var(--surface); --glass-border: var(--line);
  --glass-edge: 0 0 0 0 transparent; --glass-blur: none;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow-lg: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .14);
  --ink-soft: var(--ink-2);

  --radius-sm: 6px; --radius: 10px; --radius-lg: 14px; --max: 1200px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms; --dur-ui: 180ms; --dur-hover: 140ms;

  --crit: #E5484D; --high: #F76B15; --med: #D9A017; --low: #3E7BFA; --pass: #12A594;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: var(--display-case); line-height: 1.06; margin: 0; text-wrap: balance; color: var(--ink); }
/* Two-tone headlines: the second phrase steps back in grey. Replaces italic serif and gradient text. */
.serif, .grad { font: inherit; letter-spacing: inherit; color: var(--muted); background: none; -webkit-text-fill-color: currentColor; padding: 0; }
.eyebrow { font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.lead-text { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }
code, .mono { font-family: var(--font-mono); }

/* the animated aurora is retired: flat backgrounds only */
.aurora { display: none; }

/* ---------- surfaces ---------- */
.glass, .panel { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); }
.panel { padding: 24px; }
.glass-strong { background: var(--surface); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; font: 500 14.5px/1 var(--font-body); letter-spacing: -0.005em; height: 40px; padding: 0 18px; border-radius: 999px; color: var(--on-accent); background: var(--accent); box-shadow: none;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .label { display: inline-flex; align-items: center; gap: 8px; }
.btn .arrow { transition: transform var(--dur-ui) var(--ease-out); }
.btn.ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.dark { color: #fff; background: var(--ink); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn.ghost:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
  .btn.dark:hover { background: color-mix(in srgb, var(--ink) 82%, #fff); }
}

/* ---------- announcement bar + nav ---------- */
.topbar { background: var(--dark); color: #D9DEE7; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 12px; height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, #fff 10%, transparent); transition: background-color var(--dur-hover) ease; }
@media (hover: hover) and (pointer: fine) { .topbar a:hover { background: color-mix(in srgb, #fff 18%, transparent); } }
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .shell { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 64px; padding: 0 32px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 17px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.logo .mark { width: 24px; height: 24px; flex: none; }
.logo .logo-sub { font-weight: 400; color: var(--muted); margin-left: -4px; }
footer .logo .logo-sub { color: var(--dark-muted); }
.nav nav { display: flex; gap: 2px; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; transition: color var(--dur-hover) ease, background-color var(--dur-hover) ease; }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { color: var(--ink); background: var(--bg-2); } }
.nav .actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 0; text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; text-decoration: none; color: var(--ink-2); }
.announce b { font: 500 11px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); padding: 6px 8px; border-radius: 999px; }
.hero h1 { font-size: calc(clamp(44px, 6.2vw, 78px) * var(--display-scale)); line-height: 1.04; margin: 24px auto 20px; max-width: 15ch; }
.hero .lead-text { margin: 0 auto 32px; max-width: 54ch; }
.scanbar { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; max-width: 540px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
.scanbar .ico { width: 18px; height: 18px; margin-left: 14px; color: var(--muted); flex: none; }
.scanbar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: 450 15px var(--font-mono); padding: 10px 8px; }
.scanbar input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.scanbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.assure { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.assure span { display: inline-flex; align-items: center; gap: 6px; }
.assure svg { width: 14px; height: 14px; color: var(--pass); }

/* live result */
.result { max-width: 560px; margin: 16px auto 0; text-align: left; padding: 20px; display: none; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.result.show { display: block; }
@starting-style { .result.show { opacity: 0; transform: translateY(8px); } }
.result .top { display: flex; align-items: center; gap: 16px; }
.grade { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font: 600 26px var(--font-display); flex: none; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.score-big { font-size: 30px; font-variant-numeric: tabular-nums; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sev { font: 600 10px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; padding: 5px 7px; border-radius: 5px; align-self: start; color: #fff; }
.sev.critical { background: var(--crit); } .sev.high { background: var(--high); } .sev.medium { background: var(--med); } .sev.low { background: var(--low); } .sev.info { background: color-mix(in srgb, var(--muted) 80%, transparent); } .sev.pass { background: var(--pass); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .6s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.mt { margin-top: 14px; }

/* ---------- product frame (homepage + module pages) ---------- */
.ptabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 1080px; margin: 56px auto 0; }
.ptab { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 500 14.5px var(--font-body); color: var(--ink-2); transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease, color var(--dur-hover) ease; }
.ptab svg { width: 17px; height: 17px; color: var(--muted); }
.ptab .mono { font-size: 12px; color: var(--muted); }
.ptab[aria-selected=true] { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.ptab[aria-selected=true] svg { color: var(--accent); }
.ptab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ptab:hover { background: var(--bg-2); } }
.frame { max-width: 1080px; margin: 14px auto 0; padding: 10px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 14%, var(--bg-2)); }
.app { border-radius: 10px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); overflow: hidden; text-align: left; box-shadow: 0 24px 60px -30px rgba(11, 18, 32, .35); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.app-top .crumbs { display: flex; gap: 8px; align-items: center; }
.app-top .crumbs b { color: var(--ink); font-weight: 500; }
.app-top .live { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--font-mono); color: var(--pass); }
.app-top .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--pass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pass) 20%, transparent); }
.app-body { display: grid; grid-template-columns: 1fr 300px; min-height: 400px; }
.app-main { padding: 20px 22px; }
.app-main h4 { margin: 0; font: 600 20px var(--font-display); letter-spacing: -0.03em; }
.app-sub { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.app-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.app-tabs span { padding: 8px 0 10px; } .app-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.app-tabs .n { font: 500 11px var(--font-mono); color: var(--muted); background: var(--bg-2); border-radius: 4px; padding: 2px 5px; margin-left: 4px; }
.rows { display: grid; }
.rowi { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rowi:last-child { border-bottom: 0; }
.rowi .t b { font-weight: 500; } .rowi .t small { display: block; font: 12px var(--font-mono); color: var(--muted); margin-top: 2px; }
.rowi .r { font: 500 12px var(--font-mono); color: var(--muted); white-space: nowrap; }
.rowi .r.ok { color: var(--pass); } .rowi .r.warn { color: var(--high); } .rowi .r.bad { color: var(--crit); } .rowi .r.acc { color: var(--accent); }
.app-aside { border-left: 1px solid var(--line); background: var(--bg-2); padding: 20px; display: grid; gap: 14px; align-content: start; }
.app-aside .eyebrow { margin-bottom: -4px; }
.meter { display: grid; gap: 6px; font-size: 13px; }
.meter .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; } .meter .bar i { display: block; height: 100%; background: var(--accent); }
.meter .bar i.p92 { width: 92%; } .meter .bar i.p78 { width: 78%; } .meter .bar i.p64 { width: 64%; background: var(--high); } .meter .bar i.p40 { width: 40%; background: var(--crit); } .meter .bar i.p100 { width: 100%; background: var(--pass); }
.meter .lbl { display: flex; justify-content: space-between; } .meter .lbl span:last-child { font-family: var(--font-mono); color: var(--muted); }
.logline { font: 12px/1.5 var(--font-mono); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.logline .k { color: var(--accent); } .logline .ok { color: var(--pass); } .logline .bad { color: var(--crit); }
.diff { font: 12px/1.7 var(--font-mono); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 12px; }
.diff div { padding: 0 12px; white-space: pre; overflow: hidden; text-overflow: ellipsis; } .diff .del { background: #FDECEC; color: #9B1C1C; } .diff .add { background: #E7F7EF; color: #0B6B4B; } .diff .ctx { color: var(--muted); }
.ppanel[hidden] { display: none; }

/* legacy hero preview (kept for module pages that still use it) */
.preview { position: relative; max-width: 1040px; margin: 56px auto 0; }
.window { border-radius: 18px; padding: 10px; background: color-mix(in srgb, var(--accent) 14%, var(--bg-2)); border: 0; box-shadow: none; }
.window-inner { border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr 300px; min-height: 420px; overflow: hidden; text-align: left; }
.w-side { padding: 18px 14px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; font-size: 13.5px; }
.w-side .logo { font-size: 15px; margin: 0 6px 16px; } .w-side .logo .mark { width: 20px; height: 20px; }
.w-side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: var(--muted); text-decoration: none; }
.w-side a.on { background: var(--bg-2); color: var(--ink); font-weight: 500; }
.w-side svg { width: 16px; height: 16px; }
.w-main { padding: 22px 24px; }
.w-main h4 { margin: 0 0 4px; font: 600 18px var(--font-display); letter-spacing: -0.03em; }
.w-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.w-row .dom { font-family: var(--font-mono); font-size: 13px; }
.w-row .bar { flex: 1; max-width: 160px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.w-row .bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.w-row .bar i.w92 { width: 92%; } .w-row .bar i.w78 { width: 78%; } .w-row .bar i.w64 { width: 64%; background: var(--high); } .w-row .bar i.w88 { width: 88%; }
.w-row .num { font: 600 14px var(--font-mono); font-variant-numeric: tabular-nums; width: 30px; text-align: right; }
.w-aside { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; background: var(--bg-2); }
.ring-lg { width: 120px; height: 120px; margin: 4px auto 0; }
.ring-lg .bg { stroke: var(--line); } .ring-lg .fg { stroke: var(--accent); }
.ring-lg text { font: 600 32px var(--font-display); letter-spacing: -0.04em; fill: var(--ink); font-variant-numeric: tabular-nums; }
.mini-find { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; }

/* ---------- proof grid (frameworks) ---------- */
.trust { padding: 64px 0 0; text-align: center; }
.trust p { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.trust ul { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 1080px; }
.trust li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 88px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); font: 600 15px var(--font-display); letter-spacing: -0.02em; color: var(--ink-2); box-shadow: none; }
.trust li small { font: 500 11px var(--font-mono); letter-spacing: .02em; color: var(--muted); }
.trust li svg { display: none; }

/* ---------- sections ---------- */
section { padding: 112px 0; }
/* back-to-back plain sections share one gap instead of doubling it */
#main > section:not(.dark):not(.alt) + section:not(.dark):not(.alt) { padding-top: 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--dark); color: #E8ECF2; }
section.dark h2, section.dark h3 { color: #fff; } section.dark .lead-text, section.dark .muted { color: var(--dark-muted); } section.dark .serif, section.dark .grad { color: #6F7A8E; } section.dark .eyebrow { color: var(--dark-muted); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { font-size: calc(clamp(32px, 3.6vw, 46px) * var(--display-scale)); margin: 14px 0 16px; }
.sec-head .lead-text { margin: 0 auto; }
.sec-head.left { text-align: left; margin-left: 0; } .sec-head.left .lead-text { margin: 0; }

/* audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud { padding: 32px; border-radius: var(--radius-lg); display: grid; gap: 14px; align-content: start; }
.aud h3 { font-size: 26px; }
.aud ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.aud li { display: flex; gap: 10px; } .aud li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.aud .btn { justify-self: start; margin-top: 8px; }
.aud.dark { background: var(--dark); color: #E8ECF2; border-color: var(--dark); }
.aud.dark h3 { color: #fff; } .aud.dark ul { color: #B7C0CE; } .aud.dark li svg { color: #7FA6FF; } .aud.dark .eyebrow { color: var(--dark-muted); }
.aud.dark .btn.ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px #3A465A; }

/* tiles + bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { padding: 28px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; position: relative; overflow: hidden; border-radius: var(--radius-lg); transition: border-color var(--dur-ui) ease; }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
.tile h3 { font-size: 20px; letter-spacing: -0.03em; margin-top: 10px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; max-width: 48ch; }
.tile .tag { margin-top: auto; align-self: flex-start; font: 500 11.5px var(--font-mono); color: var(--ink-2); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); }
.icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); flex: none; }
.icon svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: var(--line-2); } }
.viz { margin-top: 14px; display: grid; gap: 6px; }
.viz .ln { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font: 500 12.5px var(--font-mono); background: var(--bg-2); border: 1px solid var(--line); }
.ok { color: var(--pass); } .bad { color: var(--crit); } .warn { color: var(--high); }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.bubble.user { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble .flag { display: block; margin-top: 6px; font: 600 10.5px var(--font-mono); color: var(--crit); text-transform: uppercase; letter-spacing: .05em; }

/* chips (feature lists in product rows) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips span { font: 500 13px var(--font-body); color: var(--ink-2); padding: 7px 11px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); }
section.dark .chips span { color: #C9D1DD; border-color: var(--dark-line); background: var(--dark-2); }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.tlink .arrow { transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tlink:hover .arrow { transform: translateX(3px); } }
section.dark .tlink { color: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.step { text-align: left; padding: 24px; position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.step .n { width: 32px; height: 32px; margin: 0 0 18px; border-radius: 8px; display: grid; place-items: center; font: 500 13px var(--font-mono); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); box-shadow: none; }
.step h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -0.025em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* stats: big numbers in a row, hairline dividers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 4px 0; text-align: left; border: 0; border-radius: 0; background: none; box-shadow: none; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .big { font: var(--display-weight) clamp(36px, 3.8vw, 48px)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.stat cite { display: block; font: 11.5px var(--font-mono); color: var(--muted); margin-top: 8px; font-style: normal; }

/* pricing */
.billing-wrap { text-align: center; }
.billing { display: inline-flex; position: relative; padding: 3px; border-radius: 999px; margin: 0 auto 36px; border: 1px solid var(--line); background: var(--bg-2); box-shadow: none; }
.billing button { all: unset; position: relative; z-index: 1; cursor: pointer; padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--muted); border-radius: 999px; transition: color var(--dur-ui) ease; }
.billing button[aria-pressed=true] { color: var(--ink); }
.billing button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.billing .save { font: 600 10.5px var(--font-mono); color: var(--pass); margin-left: 6px; }
.billing .thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 0 0 1px var(--line); transition: transform 240ms var(--ease-out), width 240ms var(--ease-out); }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; text-align: left; position: relative; border-radius: var(--radius-lg); }
.plan h3 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.plan .for { font-size: 14px; color: var(--muted); margin: -6px 0 0; }
.plan .price { font: 560 44px/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.plan .price small { font: 400 14px var(--font-body); letter-spacing: 0; color: var(--muted); }
.plan .billed { font-size: 12.5px; color: var(--muted); margin-top: -6px; min-height: 18px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; font-size: 14.5px; color: var(--ink-2); display: grid; gap: 10px; flex: 1; align-content: start; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; } .plan li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.plan.hot { border: 1px solid var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent); padding-top: 52px; }
.plan.hot::before { display: none; }
.plan .badge { position: absolute; top: 0; left: 0; right: 0; height: 34px; display: flex; align-items: center; justify-content: center; font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }
.plan.ent { background: var(--dark); color: #E8ECF2; border-color: var(--dark); }
.plan.ent h3 { color: var(--dark-muted); } .plan.ent .price { color: #fff; }
.plan.ent .for, .plan.ent .billed, .plan.ent .price small { color: var(--dark-muted); } .plan.ent ul { color: #C3CCD8; border-color: var(--dark-line); } .plan.ent li svg { color: #7FA6FF; }
.plan.ent .btn { background: #fff; color: var(--ink); }
.addons { margin-top: 12px; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 14px; color: var(--muted); }
.addons b { color: var(--ink); font-weight: 600; }

/* faq: hairline list */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; background: none; box-shadow: none; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; font-size: 17px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 22px/1 var(--font-body); color: var(--muted); transition: transform var(--dur-ui) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq details[open] p { animation: fade-in 200ms var(--ease-out); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } }

/* final cta */
.cta { text-align: center; padding: 88px 24px; border-radius: 20px; position: relative; overflow: hidden; background: var(--dark); border: 0; color: #E8ECF2; box-shadow: none; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 120%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); pointer-events: none; }
.cta h2 { font-size: calc(clamp(32px, 4vw, 52px) * var(--display-scale)); margin: 14px auto 16px; max-width: 18ch; position: relative; color: #fff; }
.cta .serif, .cta .grad { color: #7D889B; }
.cta .eyebrow { color: var(--dark-muted); position: relative; }
.cta .lead-text { margin: 0 auto 30px; position: relative; color: var(--dark-muted); }
.cta .hero-actions { position: relative; }
.cta .btn.ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px #3A465A; }

/* footer: dark */
footer { padding: 72px 0 40px; font-size: 14px; color: var(--dark-muted); background: var(--dark); margin-top: 112px; }
footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
footer .logo { color: #fff; }
footer h4 { margin: 0 0 14px; font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer a { text-decoration: none; transition: color var(--dur-hover) ease; }
@media (hover: hover) and (pointer: fine) { footer a:hover { color: #fff; } }
footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 13px; }

/* ---------- forms / app shared ---------- */
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font: 500 13px var(--font-body); color: var(--ink-2); }
.input { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font: 14.5px var(--font-body); outline: 0; transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; -webkit-tap-highlight-color: transparent; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.error { color: var(--crit); font-size: 14px; min-height: 20px; }
.code { font: 12.5px var(--font-mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; word-break: break-all; }
.hidden { display: none !important; }

/* ---------- entrance + scroll reveal (marketing only, once) ---------- */
.reveal { opacity: 0; animation: fade 500ms var(--ease-out) forwards; }
.reveal.lead { transform: translateY(12px); animation-name: rise; animation-duration: 600ms; }
.reveal.support { transform: translateY(8px); animation-name: rise; }
.d0 { animation-delay: 0ms; } .d1 { animation-delay: 50ms; } .d2 { animation-delay: 120ms; } .d3 { animation-delay: 180ms; } .d4 { animation-delay: 230ms; } .d5 { animation-delay: 280ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
[data-inview] { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
[data-inview].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.lead, .reveal.support { transform: none; animation-name: fade; animation-duration: 200ms; }
  [data-inview] { transform: none; transition: opacity 200ms ease; }
}

/* ---------- toasts ---------- */
.toaster { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 300; display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 420px; background: var(--toast-bg, var(--ink)); color: var(--toast-fg, #fff); padding: 11px 15px; border-radius: 10px; font-size: 14px; box-shadow: 0 16px 40px -14px rgba(0,0,0,.4);
  transition: transform 400ms ease, opacity 400ms ease; }
@starting-style { .toast { transform: translateY(100%); opacity: 0; } }
.toast[data-leaving] { transform: translateY(8px); opacity: 0; transition-duration: 200ms; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); flex: none; }
.toast.err .dot { background: var(--crit); }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity 200ms ease; } @starting-style { .toast { transform: none; } } .toast[data-leaving] { transform: none; } }
.swap-in { animation: unblur 220ms var(--ease-out); }
@keyframes unblur { from { filter: blur(2px); opacity: .5; } }
.stagger > * { opacity: 0; transform: translateY(6px); animation: rise 300ms var(--ease-out) forwards; }
.stagger > *:nth-child(1) { animation-delay: 40ms; } .stagger > *:nth-child(2) { animation-delay: 95ms; } .stagger > *:nth-child(3) { animation-delay: 140ms; }
.stagger > *:nth-child(4) { animation-delay: 175ms; } .stagger > *:nth-child(n+5) { animation-delay: 200ms; }
@media (prefers-reduced-motion: reduce) { .stagger > * { transform: none; animation-name: fade; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .app-body { grid-template-columns: 1fr; } .app-aside { border-left: 0; border-top: 1px solid var(--line); }
  .window-inner { grid-template-columns: 1fr 260px; } .w-side { display: none; }
  .bento .tile.w2, .bento .tile.w4 { grid-column: span 3; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .ptabs { grid-template-columns: repeat(3, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav .shell { grid-template-columns: 1fr auto; padding: 0 16px; } .nav nav { display: none; }
  .split, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .bento .tile.w2, .bento .tile.w3, .bento .tile.w4 { grid-column: auto; }
  .window-inner { grid-template-columns: 1fr; } .w-aside { border-left: 0; border-top: 1px solid var(--line); }
  .ptabs { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 56px; } .phero { padding-top: 64px; }
  .app-top .live { display: none; }
  .rowi { grid-template-columns: 54px 1fr; } .rowi .r { grid-column: 2; }
  section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: auto; padding: 8px 16px; flex-wrap: wrap; text-align: center; }
  .nav .actions .ghost { display: none; }
  .scanbar { flex-wrap: wrap; border-radius: 16px; } .scanbar input { flex-basis: calc(100% - 50px); } .scanbar .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr; }
  .aud, .tile, .plan { padding: 22px; }
  .frame { padding: 6px; border-radius: 12px; }
}

/* small helpers (no inline styles: the CSP forbids them) */
section.tight { padding-top: 0; }
.w-sub { font-size: 13px; margin-bottom: 10px; }
.aud-sub { margin: 0; }
.aud.dark .ent-sub { color: var(--dark-muted); }
.tag.inline { display: inline-block; vertical-align: middle; margin: 0 0 0 8px; }
.foot-tag { margin: 14px 0 0; max-width: 34ch; }

/* ---------- pricing v6: tabbed, per-user plans (shared by home + /pricing/) ---------- */
.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; }
.px-hero { padding-top: 64px; }
.px { text-align: center; }
.px-h1 { font: 560 clamp(48px, 7vw, 80px)/1 var(--font-display); letter-spacing: -0.045em; margin: 0 0 32px; }
.px-tabs { display: inline-flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(11,18,32,.04); margin-bottom: 40px; }
.px-tabs button { all: unset; cursor: pointer; padding: 12px 26px; border-radius: 999px; font: 500 15px var(--font-body); color: var(--ink-2); transition: background var(--dur-ui) ease, color var(--dur-ui) ease; }
.px-tabs button:hover { background: var(--bg-2); }
.px-tabs button[aria-selected=true] { background: var(--ink); color: #fff; }
.px-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.px-period { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 56px; font-size: 16px; color: var(--muted); }
.px-period span { transition: color var(--dur-ui) ease; } .px-period .on { color: var(--ink); font-weight: 600; }
.px-period em { font: 600 11px var(--font-mono); font-style: normal; color: var(--pass); margin-left: 4px; text-transform: uppercase; letter-spacing: .04em; }
.px-switch { all: unset; cursor: pointer; width: 50px; height: 28px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.px-switch span { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); transition: transform 200ms var(--ease-out); }
.px-switch[aria-checked=true] span { transform: translateX(-22px); }
.px-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.px-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 40px; text-align: left; }
.px-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: left; }
.px-card.hot { border: 2px solid var(--accent); border-top-left-radius: 0; border-top-right-radius: 0; }
.px-pop { position: absolute; left: -2px; right: -2px; bottom: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; font: 500 14px var(--font-body); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.px-pop svg { width: 14px; height: 14px; }
.px-pill { align-self: flex-start; display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); font: 500 13px var(--font-body); color: var(--ink-2); margin-bottom: 22px; }
.px-pill.new { background: var(--ink); color: #fff; border-color: var(--ink); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.px-price { display: flex; align-items: baseline; gap: 8px; }
.px-amt { font: 560 46px/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.px-price small { font-size: 15px; color: var(--muted); }
.px-sub { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 20px; }
.px-annual:not(:empty)::before { content: ' · '; }
.px-seats { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.px-select { appearance: none; flex: 1; max-width: 260px; padding: 10px 40px 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font: 500 14.5px var(--font-body); color: var(--ink); cursor: pointer; }
.px-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.px-i { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1.4px solid currentColor; border-radius: 50%; font: 600 10.5px/1 var(--font-mono); color: var(--muted); cursor: help; vertical-align: 1px; flex: none; }
.px-tag { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); min-height: 44px; }
.px-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; width: 100%; }
.px-cta { justify-content: center; width: 100%; box-sizing: border-box; }
.px-note { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.px-card h4 { font: 600 16px var(--font-display); letter-spacing: -0.015em; margin: 0 0 14px; }
.px-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14.5px; color: var(--ink-2); flex: 1; align-content: start; }
.px-card li { display: flex; gap: 10px; align-items: flex-start; } .px-card li svg { width: 16px; height: 16px; color: var(--ink); flex: none; margin-top: 3px; }
.px-inc { margin: 0; font-size: 15px; color: var(--ink-2); } .px-inc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.px-row2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; text-align: left; }
.px-mini h3 { font: 560 34px/1.05 var(--font-display); letter-spacing: -0.035em; margin: 0 0 12px; }
.px-mini p { color: var(--muted); font-size: 15px; margin: 0 0 22px; flex: 1; }
.px-mini .btn { align-self: flex-start; }
.px-max { background: var(--dark); border-color: var(--dark); color: #E8ECF2; } .px-max h3 { color: #fff; } .px-max p { color: var(--dark-muted); }
.px-max .px-pill.new { background: #fff; color: var(--ink); border-color: #fff; } .px-max .btn { background: #fff; color: var(--ink); }
.px-foot { margin: 28px auto 0; max-width: 640px; font-size: 13.5px; color: var(--muted); }
.px-pentest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 40px auto 0; text-align: left; }
.px-credits h3 { font: 560 26px/1.1 var(--font-display); letter-spacing: -0.03em; margin: 0 0 8px; } .px-credits > p { color: var(--muted); margin: 0 0 18px; }
.px-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.px-table th, .px-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; color: var(--ink-2); }
.px-table td { text-align: right; font: 500 14px var(--font-mono); color: var(--ink); } .px-table td::after { content: ' credits'; color: var(--muted); font-family: var(--font-body); }
.px-fine { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.px-ent { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; padding: 40px; border-radius: var(--radius-lg); background: var(--dark); color: #E8ECF2; text-align: left; }
.px-ent h3 { font: 560 40px/1.05 var(--font-display); letter-spacing: -0.04em; color: #fff; margin: 0 0 14px; } .px-ent p { color: var(--dark-muted); margin: 0; }
.px-ent .px-pill { background: transparent; color: #C3CCD8; border-color: var(--dark-line); }
.px-ent-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } .px-ent-cta .btn { background: #fff; color: var(--ink); } .px-ent-cta .btn.ghost { background: transparent; color: #fff; border-color: var(--dark-line); }
.px-ent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; color: #C3CCD8; font-size: 15px; } .px-ent li { display: flex; gap: 10px; } .px-ent li svg { width: 16px; height: 16px; color: #7FA6FF; flex: none; margin-top: 3px; }
.px-modal { width: min(560px, calc(100vw - 32px)); padding: 48px 56px 40px; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 24px 80px rgba(11,18,32,.25); }
.px-modal::backdrop { background: rgba(11,18,32,.45); backdrop-filter: blur(2px); }
.px-modal h3 { font: 560 34px/1.1 var(--font-display); letter-spacing: -0.035em; margin: 0 0 14px; }
.px-modal .px-mplan { display: block; margin-top: 8px; font: 500 16px var(--font-body); letter-spacing: 0; color: var(--muted); }
.px-msum { margin: 0; color: var(--ink-2); font-size: 16px; }
.px-modal hr { border: 0; border-top: 1px solid var(--line); margin: 26px auto; width: 70%; }
.px-mbtns { display: grid; gap: 14px; max-width: 360px; margin: 0 auto; } .px-mbtns .btn { justify-content: center; padding: 15px 20px; font-size: 16px; }
.px-mfoot { margin: 0; font-size: 15px; } .px-mfoot a { color: var(--accent); text-decoration: underline; }
.px-x { all: unset; cursor: pointer; position: absolute; top: 16px; right: 20px; font-size: 26px; line-height: 1; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.px-x:hover { background: var(--bg-2); color: var(--ink); } .px-x:focus-visible { outline: 2px solid var(--accent); }
@media (max-width: 980px) {
  .px-grid, .px-row2 { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .px-grid { gap: 64px; } .px-grid > .px-card:not(.hot):first-child { margin-top: 0; }
  .px-pentest, .px-ent { grid-template-columns: 1fr; } .px-pentest { gap: 64px; }
}
@media (max-width: 560px) {
  .px-tabs { display: flex; width: 100%; box-sizing: border-box; } .px-tabs button { flex: 1; padding: 10px 6px; font-size: 13.5px; text-align: center; }
  .px-period { gap: 10px; font-size: 14.5px; margin-bottom: 40px; }
  .px-ent { padding: 28px 22px; gap: 28px; } .px-ent h3 { font-size: 32px; }
  .px-modal { padding: 40px 22px 28px; } .px-modal h3 { font-size: 28px; }
}

/* ---------- footer v6 ---------- */
footer { padding-top: 80px; }
.foot-top { display: grid; grid-template-columns: minmax(260px, 1.15fr) 3fr; gap: 56px; }
.foot-brand .foot-tag { color: var(--dark-muted); max-width: 36ch; font-size: 14.5px; line-height: 1.55; }
.foot-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.foot-ctas .btn { background: #fff; color: var(--ink); }
.foot-ctas .btn.ghost { background: transparent; color: #fff; border-color: var(--dark-line); }
.foot-contact { margin-top: 26px !important; gap: 8px !important; font-size: 13.5px; }
.foot-contact li { display: flex; gap: 10px; } .foot-contact span { width: 64px; flex: none; font: 500 11px/1.9 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: #6B7486; }
footer .cols.cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
footer .legal { align-items: center; margin-top: 28px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-fine { margin: 14px 0 0; font-size: 12.5px; color: #6B7486; }

/* "A company of Wandering Giants": the shared group card used across every Wandering Giants brand.
   Longstride's own type, lines and footer colours; only the loop palette is fixed (it is Wandering Giants' own). */
:root { --wg-loop: #F08A4B, #E2689A, #6F8FF0, #5B3DF5, #FF6FB5, #E4573D, #FF8A3D, #FFD60A, #0A7CC2, #1238FF, #F08A4B; }
.wg-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 64px; padding: 22px 28px;
  border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--dark-line); color: var(--dark-muted); text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease; }
.wg-card:hover { border-color: rgba(214,208,255,.32); background: rgba(255,255,255,.055); }
.wg-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wg-id { display: flex; align-items: center; gap: 16px; }
.wg-mark { width: 48px; height: 48px; flex: none; border-radius: 13px; box-shadow: 0 0 0 1px rgba(244,243,255,.16); }
.wg-names { line-height: 1.15; }
.wg-kicker { display: block; font: 500 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); }
.wg-name { display: block; margin-top: 4px; font: 560 24px/1.1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.wg-line { font-size: 14.5px; line-height: 1.45; transition: color .25s ease; }
.wg-card:hover .wg-line { color: #fff; }
.wg-stream { font-weight: 600; background: linear-gradient(90deg, var(--wg-loop)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wg-loop 6s linear infinite; }
@keyframes wg-stride { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14%) rotate(3deg); } }
.wg-step { transform-box: fill-box; transform-origin: 50% 100%; animation: wg-stride 1.8s ease-in-out infinite; }
.wg-step-b { animation-delay: -.9s; }
.wg-card:hover .wg-step { animation-duration: .9s; } .wg-card:hover .wg-step-b { animation-delay: -.45s; }
@keyframes wg-loop { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.wg-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; pointer-events: none; background: linear-gradient(90deg, var(--wg-loop)); background-size: 200% 100%; animation: wg-loop 6s linear infinite; }
.wg-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; background: linear-gradient(90deg, var(--wg-loop)); background-size: 200% 100%;
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 50%, transparent 70%); mask-image: linear-gradient(105deg, transparent 30%, #000 50%, transparent 70%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: wg-loop 6s linear infinite, wg-sweep 5s ease-in-out infinite; }
@keyframes wg-sweep { 0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 60%, 100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
.wg-arrow { display: inline-block; transition: transform .25s ease; } .wg-card:hover .wg-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .wg-step, .wg-card::before, .wg-card::after, .wg-stream { animation: none; } .wg-card::after { display: none; } }
@media (max-width: 1080px) { .foot-top { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 820px) { footer .cols.cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .wg-card { flex-direction: column; align-items: flex-start; padding: 20px; } .wg-mark { width: 44px; height: 44px; } .wg-name { font-size: 20px; }
  footer .legal { flex-direction: column; align-items: flex-start; }
}

.px-seats-empty { height: 42px; }
@media (max-width: 1240px) and (min-width: 981px) { .px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; } }

/* ---------- pricing: Longstride's own details (overrides the v6 block above) ---------- */
.px-h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; margin: 14px auto 16px; max-width: 16ch; }
.px-lede { margin: 0 auto 36px; max-width: 52ch; color: var(--muted); font-size: 17px; }
.px-tabs { gap: 2px; padding: 4px; border-radius: 12px; background: var(--bg-2); box-shadow: none; margin-bottom: 28px; }
.px-tabs button { padding: 10px 20px; border-radius: 9px; font: 500 12.5px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.px-tabs button:hover { background: transparent; color: var(--ink); }
.px-tabs button[aria-selected=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 0 0 1px var(--line); }
.px-period { gap: 0; padding: 3px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 40px; font-size: 14px; }
.px-period button { all: unset; cursor: pointer; padding: 7px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: background var(--dur-ui) ease, color var(--dur-ui) ease; }
.px-period button[aria-pressed=true] { background: var(--ink); color: #fff; }
.px-period button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.px-period em { color: var(--pass); } .px-period button[aria-pressed=true] em { color: #7EE0CF; }
.px-grid { padding-top: 0; }
.px-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; min-height: 24px; }
.px-pill { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; font: 500 12.5px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.px-pill::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); }
.px-card.hot .px-pill::before, .px-max .px-pill::before { background: var(--accent); }
.px-pill.new::before { display: none; }
.px-chosen { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.px-card.hot { border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 18px 40px -24px color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, var(--surface)) 0, var(--surface) 160px); overflow: hidden; }
.px-card.hot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.px-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.px-specs div { text-align: left; } .px-specs div + div { border-left: 1px solid var(--line); padding-left: 10px; }
.px-specs dt { font: 500 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.px-specs dd { margin: 4px 0 0; font: 560 20px/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.px-max .px-pill, .px-ent .px-pill { color: #fff; } .px-ent .px-pill { border: 0; }
.px-max .px-pill.new { padding: 4px 10px; border-radius: 999px; }
@media (max-width: 980px) { .px-grid { gap: 20px; } .px-pentest { gap: 20px; } }
@media (max-width: 560px) { .px-tabs button { font-size: 11px; padding: 10px 4px; letter-spacing: .03em; } }

/* ---------- mobile comfort: thumb-sized targets, no input zoom, readable labels, tappable tooltips ---------- */
.px-i { position: relative; }
.px-i.open::after, .px-i:focus-visible::after { content: attr(aria-label); position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(260px, 70vw);
  padding: 9px 11px; border-radius: 8px; background: var(--ink); color: #fff; font: 400 13px/1.45 var(--font-body); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; box-shadow: 0 10px 30px -10px rgba(11,18,32,.4); }
.px-card li .px-i.open::after, .px-inc .px-i.open::after { left: auto; right: -8px; transform: none; }
@media (max-width: 820px) {
  input, select, textarea, .input, .px-select, .scanbar input { font-size: 16px; }
  .topbar a { display: inline-flex; align-items: center; min-height: 44px; }
  .logo { min-height: 44px; display: inline-flex; align-items: center; }
  .btn.sm { min-height: 44px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
  .tlink { display: inline-flex; align-items: center; min-height: 44px; }
  footer ul { gap: 0; } footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
  .legal-links { gap: 0 20px; } .legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-contact li { align-items: center; } .foot-contact a { min-height: 40px; display: inline-flex; align-items: center; }
  .wg-card { min-height: 44px; }
  .px-i { width: 22px; height: 22px; font-size: 12px; }
  .px-i::before { content: ""; position: absolute; inset: -11px; }
  .sev, .pill-early, .px-specs dt { font-size: 11px; }
  .meter .lbl, .rowi, .app-body { font-size: 13px; }
  .lab-back { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 400px) {
  .shell .logo .logo-sub { display: none; }
  .shell .actions { gap: 6px; }
  .shell .actions .btn.sm { padding-left: 12px; padding-right: 12px; font-size: 13px; }
}
@media (max-width: 340px) { .shell .actions > .btn.dark.sm { display: none; } }
@media (max-width: 820px) { .legal-links a { min-width: 44px; justify-content: center; } footer ul a { min-width: 44px; } }

/* ---------- Longstride assistant (Intercom-style chat) ---------- */
.lsa { position: fixed; right: 20px; bottom: 20px; z-index: 2147482000; font-family: var(--font-body); }
.lsa-launch { all: unset; cursor: pointer; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #2563EB, #7C3AED); box-shadow: 0 12px 30px rgba(37,99,235,.35), 0 2px 6px rgba(11,18,32,.18); transition: transform .18s ease; }
.lsa-launch:hover { transform: scale(1.05); } .lsa-launch:focus-visible { outline: 3px solid #93C5FD; outline-offset: 3px; }
.lsa-launch svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .15s ease, transform .2s ease; }
.lsa-launch .i-x { opacity: 0; transform: rotate(-45deg); } .lsa.open .lsa-launch .i-chat { opacity: 0; transform: rotate(45deg); } .lsa.open .lsa-launch .i-x { opacity: 1; transform: none; }
.lsa-panel { position: absolute; right: 0; bottom: 72px; width: 380px; height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; overflow: hidden;
  background: #fff; color: #0B1220; border-radius: 18px; box-shadow: 0 24px 70px rgba(11,18,32,.28), 0 0 0 1px rgba(11,18,32,.06); animation: lsa-in .18s ease-out; }
.lsa-panel[hidden] { display: none; }
@keyframes lsa-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.lsa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; color: #fff; background: linear-gradient(135deg, #0B1220, #1E2A5A 60%, #3B2A7A); }
.lsa-head b { display: block; font-size: 15px; } .lsa-head span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #C7D2FE; margin-top: 2px; }
.lsa-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.lsa-ava { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(255,255,255,.12); }
.lsa-ava svg { width: 20px; height: 20px; }
.lsa-close { all: unset; cursor: pointer; margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 24px; line-height: 1; color: #E0E7FF; }
.lsa-close:hover { background: rgba(255,255,255,.12); }
.lsa-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F6F7F9; }
.lsa-b { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.lsa-b.bot { align-self: flex-start; background: #fff; border: 1px solid #E7E9EE; border-bottom-left-radius: 4px; }
.lsa-b.user { align-self: flex-end; color: #fff; background: #2563EB; border-bottom-right-radius: 4px; }
.lsa-b a { color: #2563EB; font-weight: 500; } .lsa-b code { font: 12.5px var(--font-mono); background: #EEF1F5; padding: 1px 5px; border-radius: 4px; }
.lsa-b .li { display: block; padding-left: 14px; position: relative; } .lsa-b .li::before { content: "•"; position: absolute; left: 2px; color: #7C3AED; }
.lsa-b.typing { display: flex; gap: 4px; padding: 13px 14px; } .lsa-b.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA3B2; animation: lsa-dot 1s infinite ease-in-out; }
.lsa-b.typing i:nth-child(2) { animation-delay: .15s; } .lsa-b.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lsa-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lsa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: #F6F7F9; }
.lsa-chips[hidden] { display: none; }
.lsa-chips button { all: unset; cursor: pointer; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #1D4ED8; background: #fff; border: 1px solid #BFDBFE; }
.lsa-chips button:hover { background: #EFF6FF; } .lsa-chips button:focus-visible { outline: 2px solid #2563EB; }
.lsa-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #E7E9EE; background: #fff; }
.lsa-form textarea { flex: 1; resize: none; border: 1px solid #E7E9EE; border-radius: 12px; padding: 10px 12px; font: 14.5px/1.4 var(--font-body); color: #0B1220; outline: none; max-height: 120px; }
.lsa-form textarea:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.lsa-send { all: unset; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; color: #fff; background: #2563EB; }
.lsa-send svg { width: 18px; height: 18px; } .lsa-send:focus-visible { outline: 2px solid #93C5FD; outline-offset: 2px; }
.lsa-foot { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: #8A93A3; background: #fff; text-align: center; }
.lsa-cta { all: unset; cursor: pointer; align-self: flex-start; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff; background: #0B1220; }
.lsa-cta:disabled { opacity: .6; }
.lsa-hand { align-self: stretch; display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #E7E9EE; }
.lsa-hand b { font-size: 14.5px; } .lsa-hand span { font-size: 13px; color: #5E6675; }
.lsa-hand input, .lsa-hand textarea { border: 1px solid #E7E9EE; border-radius: 10px; padding: 9px 11px; font: 14px var(--font-body); color: #0B1220; }
.lsa-hand .lsa-hp { position: absolute; left: -10000px; width: 1px; height: 1px; }
.lsa-err { margin: 0; font-size: 13px; color: #E5484D; } .lsa-err:empty { display: none; }
.lsa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 520px) {
  .lsa { right: 14px; bottom: 14px; }
  .lsa.open { inset: 0; right: 0; bottom: 0; }
  .lsa.open .lsa-launch { display: none; }
  .lsa-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; bottom: 0; }
  .lsa-form textarea, .lsa-hand input, .lsa-hand textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .lsa-panel, .lsa-b.typing i, .lsa-launch, .lsa-launch svg { animation: none; transition: none; } }
@media print { .lsa { display: none; } }
/* assistant: isolate from page-level element styles */
.lsa, .lsa * { box-sizing: border-box; }
.lsa-panel, .lsa-head, .lsa-msgs, .lsa-form, .lsa-chips { margin: 0; }
.lsa-panel { padding: 0; }
.lsa-head { position: static; height: auto; flex: none; }
.lsa-form, .lsa-chips, .lsa-foot { flex: none; }
/* assistant refinement: solid colours, interruptible transition growing from the launcher, press feedback */
.lsa-launch { background: var(--accent, #2563EB); box-shadow: 0 8px 24px rgba(11,18,32,.18); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .lsa-launch:hover { transform: scale(1.03); } }
.lsa-launch:active { transform: scale(0.95); }
.lsa-head { background: #0B1220; }
.lsa-panel { animation: none; transform-origin: bottom right; transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
  @starting-style { opacity: 0; transform: scale(0.96) translateY(6px); } }
.lsa-chips button, .lsa-send, .lsa-cta, .lsa-close { transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease; }
.lsa-chips button:active, .lsa-send:active, .lsa-cta:active { transform: scale(0.97); }
.lsa-b .li::before { color: var(--muted, #5E6675); }
@media (prefers-reduced-motion: reduce) { .lsa-panel { transition: opacity 150ms ease; @starting-style { transform: none; } } .lsa-launch:active, .lsa-launch:hover { transform: none; } }
