/* Neurvance public website: light, business-facing design system.
   Loaded by the About/home page, Policies, Newsletter and Characters pages.
   Mindmap, Cube, Bridgeboard, Website Builder and Login keep their own styles.
   CSP is style-src 'self', so pages carry no inline styles and fonts are
   system fonts. */
:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --bg-muted: #f0f0f2;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #0b0b0f;
  --text-muted: #52525b;
  --text-subtle: #71717a;
  --ink: #0b0b0f;
  --ink-hover: #2a2a31;
  --brand-red: #ff2d2d;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 15, 0.05);
  --shadow: 0 1px 2px rgba(11, 11, 15, 0.04), 0 8px 24px rgba(11, 11, 15, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 11, 15, 0.04), 0 24px 48px rgba(11, 11, 15, 0.1);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%230b0b0f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-red);
}

h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

code,
.mono {
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------- buttons and links */
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-hover);
}

.btn-secondary {
  border-color: var(--border-strong);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #a1a1aa;
  background: var(--bg-subtle);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #e4e4e7;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 150ms ease;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.link-quiet {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.link-quiet:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a,
.header-signin {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.header-signin:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Small-screen menu: a <details> element, closed on link click by site.js. */
.mobile-nav {
  position: relative;
  display: none;
}

.mobile-nav summary {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 16px;
  height: 1.5px;
  display: block;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 150ms ease, background-color 150ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 5px;
}

.mobile-nav[open] .menu-icon {
  background: transparent;
}

.mobile-nav[open] .menu-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.mobile-nav[open] .menu-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-panel a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

.mobile-nav-panel a:hover {
  background: var(--bg-muted);
}

.mobile-nav-panel .mobile-nav-signin {
  margin-top: 6px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 6px 6px;
  padding-top: 14px;
}

/* ---------------------------------------------------------------- sections */
.section {
  padding: 96px 0;
}

.section-subtle {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}

.section-head-split .section-lead {
  margin-top: 0;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 40px;
}

/* ---------------------------------------------------------------- home: hero */
.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 78% 30%, #000 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  max-width: 640px;
}

.hero .lead {
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  padding: 0 0 40px 24px;
}

.ui-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.ui-window-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.ui-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.ui-window-bar p {
  margin-left: 10px;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 500;
}

.ui-window-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.ui-panel,
.ui-tile {
  border: 1px solid var(--border);
  border-radius: 10px;
}

.ui-panel {
  padding: 18px 18px 16px;
}

.ui-label {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.ui-row strong {
  font-size: 18px;
  font-weight: 600;
}

.ui-row b {
  font-size: 28px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ui-progress {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-muted);
}

.ui-progress i {
  width: 70%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--ink);
}

.ui-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 10px;
  color: var(--text-subtle);
  font-size: 12px;
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ui-tile {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.ui-tile strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-tile span {
  color: var(--text-subtle);
  font-size: 12.5px;
  line-height: 1.4;
}

.ui-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.ui-chip-mark {
  width: 34px;
  height: 34px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ui-chip small {
  display: block;
  color: var(--text-subtle);
  font-size: 11.5px;
  line-height: 1.3;
}

.ui-chip strong {
  font-size: 14px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- home: facts */
.facts {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  display: grid;
  gap: 2px;
  padding: 24px;
  border-left: 1px solid var(--border);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.fact span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- home: products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.product-visual {
  aspect-ratio: 16 / 7;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-subtle);
  background-image: radial-gradient(#d4d4d8 1px, transparent 1px);
  background-size: 16px 16px;
}

.product-visual svg {
  width: 100%;
  height: 100%;
}

.pv-line {
  fill: none;
  stroke: #a1a1aa;
  stroke-width: 1.5;
}

.pv-dash {
  stroke-dasharray: 4 6;
}

.pv-strong {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.pv-face {
  fill: rgba(11, 11, 15, 0.05);
}

.pv-box {
  fill: #fff;
  stroke: var(--border-strong);
}

.pv-box-strong {
  stroke: var(--ink);
}

.pv-box-ink {
  fill: var(--ink);
  stroke: var(--ink);
}

.pv-dot {
  fill: var(--border-strong);
}

.pv-arrow {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-bar {
  fill: var(--bg-muted);
}

.pv-bar-ink {
  fill: var(--ink);
}

.pv-red {
  fill: var(--brand-red);
}

.pv-text {
  fill: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
}

.pv-text-muted {
  fill: var(--text-subtle);
  font-family: var(--font);
  font-size: 11px;
}

.pv-text-mono {
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.pv-text-invert {
  fill: #fff;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-name {
  font-size: 15px;
  font-weight: 650;
}

.tag {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.tag-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}

.product-body h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.product-body > p {
  color: var(--text-muted);
  font-size: 15.5px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg-muted) var(--check) center / 11px no-repeat;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 28px;
}

/* ---------------------------------------------------------------- home: how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.step p {
  color: var(--text-muted);
  font-size: 15.5px;
}

.step code {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 0.86em;
}

/* ---------------------------------------------------------------- home: data protection */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.trust-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--ink);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  margin: 2px 0 8px;
  font-size: 18px;
}

.trust-card p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ---------------------------------------------------------------- home: report */
.section-report {
  padding: 0 0 96px;
}

.report-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

.report-card h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.report-card p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 10px;
  color: var(--text-muted);
}

.report-card .btn {
  flex: none;
}

/* ---------------------------------------------------------------- home: contact */
.contact {
  padding: 96px 0;
  background: var(--ink);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 64px;
  align-items: center;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.contact .lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.contact :focus-visible {
  outline-color: #fff;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  font-size: 14px;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.56);
}

.contact-list dd {
  color: #fff;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: #fff;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 14px;
  color: var(--text-muted);
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- inner page hero */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.page-hero h1 {
  font-size: clamp(36px, 4.4vw, 52px);
}

.page-hero .lead {
  margin-top: 16px;
}

.page-meta {
  margin-top: 20px;
  color: var(--text-subtle);
  font-size: 14px;
}

/* ---------------------------------------------------------------- policies */
.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  display: grid;
  gap: 2px;
  font-size: 14px;
}

.toc-heading {
  margin-bottom: 8px;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc-group {
  margin: 14px 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.policy-toc a {
  margin-left: -10px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}

.policy-toc a:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.policy-content {
  min-width: 0;
  display: grid;
  gap: 56px;
}

.policy-group-head {
  margin-bottom: 20px;
}

.policy-group-head .eyebrow {
  margin-bottom: 10px;
}

.policy-group-head h2 {
  font-size: 26px;
}

.policy-group-head p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 8px;
  color: var(--text-muted);
}

.policy-docs {
  display: grid;
  gap: 16px;
}

.policy-doc {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.policy-doc-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.doc-icon {
  width: 38px;
  height: 46px;
  display: grid;
  flex: none;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.policy-doc h3 {
  font-size: 19px;
}

.policy-date {
  margin-top: 2px;
  color: var(--text-subtle);
  font-size: 13.5px;
}

.policy-doc > p {
  max-width: 72ch;
  color: var(--text-muted);
  font-size: 15.5px;
}

.policy-doc > p + p {
  margin-top: 12px;
}

.policy-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.policy-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.policy-contact .eyebrow {
  margin-bottom: 10px;
}

.policy-contact h2 {
  font-size: 22px;
}

.policy-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------------------------------------------------------------- newsletter */
.newsletter-hero {
  padding: 80px 0 96px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}

.newsletter-copy h1 {
  font-size: clamp(36px, 4.6vw, 56px);
}

.newsletter-copy .lead {
  margin-top: 20px;
}

.feature-list {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.feature-list li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li::before {
  content: "";
  width: 19px;
  height: 19px;
  grid-row: 1 / span 2;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bg-muted) var(--check) center / 11px no-repeat;
}

.feature-list strong {
  font-size: 16px;
  font-weight: 600;
}

.feature-list span {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 15px;
}

.signup-card {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.signup-card .eyebrow {
  margin-bottom: 10px;
}

.signup-card h2 {
  font-size: 24px;
}

.signup-card > p:not(.eyebrow):not(.fine-print) {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
}

.steps-mini {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  counter-reset: signup-step;
}

.steps-mini li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  counter-increment: signup-step;
}

.steps-mini li::before {
  content: counter(signup-step);
  width: 26px;
  height: 26px;
  display: grid;
  flex: none;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.fine-print {
  margin-top: 12px;
  color: var(--text-subtle);
  font-size: 13px;
  text-align: center;
}

/* ---------------------------------------------------------------- characters */
.character-stage-art img[hidden],
.character-image-fallback[hidden],
.character-details-content[hidden],
.character-picker-wrap[hidden] {
  display: none !important;
}

.characters-page {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 40px auto 96px;
  padding: 0 var(--gutter);
}

.characters-shell {
  min-height: min(760px, calc(100svh - 160px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.35fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.character-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 34px 42px 38px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 68% 38%, #fff, transparent 32%),
    linear-gradient(125deg, #f0f0f2 0%, #fafafa 56%, #ececef 100%);
}

.character-stage::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 42px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  pointer-events: none;
}

.character-stage .eyebrow {
  margin-bottom: 0;
}

.character-stage-count {
  position: absolute;
  top: 34px;
  right: 72px;
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.character-stage-art {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.character-stage-art img {
  width: min(100%, 660px);
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 22px rgba(11, 11, 15, 0.14));
  animation: character-arrival 460ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.character-image-fallback {
  width: min(100%, 390px);
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-subtle);
  text-align: center;
}

.character-image-fallback span {
  color: var(--text-subtle);
  font-size: 56px;
  line-height: 1;
}

.character-image-fallback p {
  max-width: 210px;
  font-size: 14px;
  line-height: 1.5;
}

.character-stage-copy {
  display: grid;
  gap: 8px;
  align-self: end;
}

.character-stage-label,
.character-picker-label {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.character-stage h1 {
  max-width: 720px;
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1;
}

.character-details {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: #fff;
}

.character-details-heading,
.character-details-content,
.character-picker-wrap {
  padding: 30px;
}

.character-details-heading {
  border-bottom: 1px solid var(--border);
}

.character-details-heading .eyebrow {
  margin-bottom: 0;
}

.character-status {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.character-details-content {
  display: grid;
  align-content: start;
  gap: 18px;
}

.character-details h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.05;
}

.character-bio {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.character-specs {
  display: grid;
  margin: 4px 0 0;
  border-top: 1px solid var(--border);
}

.character-specs div {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.character-specs dt {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.character-specs dd {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.character-buy-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.character-buy-button:hover {
  background: var(--ink-hover);
}

.character-buy-button span {
  font-size: 18px;
  line-height: 1;
}

.character-picker-wrap {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.character-picker {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--border);
}

.character-picker-item {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background-color 150ms ease;
}

.character-picker-item:hover,
.character-picker-item:focus-visible,
.character-picker-item[aria-pressed="true"] {
  background: var(--bg-muted);
}

.character-picker-number {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.character-picker-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes character-arrival {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------------------------------------------------------------- cookie banner
   cookie-consent.css is shared with the login page, so the light look is
   applied here, scoped to the public pages. */
body.site .nv-cookie-overlay {
  background: rgba(11, 11, 15, 0.45);
  color: var(--text);
  font-family: var(--font);
}

body.site .nv-cookie-dialog {
  border-color: var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

body.site .nv-cookie-kicker {
  color: var(--text-subtle);
  font-weight: 600;
  letter-spacing: 0.08em;
}

body.site .nv-cookie-title {
  color: var(--text);
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.site .nv-cookie-copy,
body.site .nv-cookie-option span {
  color: var(--text-muted);
}

body.site .nv-cookie-preferences {
  border-color: var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

body.site .nv-cookie-option {
  border-top-color: var(--border);
}

body.site .nv-cookie-option strong {
  color: var(--text);
}

body.site .nv-cookie-option input {
  accent-color: var(--ink);
}

body.site .nv-cookie-always-on {
  background: var(--bg-muted);
  color: var(--text);
  font-weight: 600;
}

body.site .nv-cookie-button {
  border-color: var(--border-strong);
  font-weight: 600;
}

body.site .nv-cookie-button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body.site .nv-cookie-button-secondary {
  background: #fff;
  color: var(--text);
}

body.site .nv-cookie-button:hover,
body.site .nv-cookie-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 11, 15, 0.12);
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 960px) {
  .section,
  .contact {
    padding: 72px 0;
  }

  .section-report {
    padding: 0 0 72px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid,
  .contact-grid,
  .newsletter-grid,
  .section-head-split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .report-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .policy-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  .toc-heading,
  .toc-group {
    width: 100%;
    margin: 0;
  }

  .toc-group {
    margin-top: 6px;
  }

  .policy-toc a {
    margin-left: 0;
    border: 1px solid var(--border);
  }

  .signup-card {
    position: static;
  }

  .characters-shell {
    grid-template-columns: 1fr;
  }

  .character-details {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .character-details-content {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
    align-items: start;
  }

  .character-details h2,
  .character-bio {
    grid-column: 1;
  }

  .character-specs,
  .character-buy-button {
    grid-column: 2;
  }

  .character-specs {
    grid-row: 1 / span 2;
  }

  .character-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 60px;
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-signin {
    display: none;
  }

  .header-actions .btn {
    padding: 0 12px;
  }

  .section,
  .contact {
    padding: 64px 0;
  }

  .section-report {
    padding: 0 0 64px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .lead,
  .section-lead {
    font-size: 17px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-visual {
    padding-left: 0;
  }

  .ui-window-body {
    padding: 14px;
  }

  .ui-grid {
    grid-template-columns: 1fr;
  }

  .ui-chip {
    left: 12px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(odd) {
    padding: 16px 0;
    border-left: 0;
  }

  .fact + .fact {
    border-top: 1px solid var(--border);
  }

  .product-body,
  .step,
  .trust-card,
  .policy-doc {
    padding: 22px;
  }

  .product-visual {
    aspect-ratio: 16 / 9;
  }

  .trust-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .report-card,
  .contact-card,
  .policy-contact,
  .signup-card {
    padding: 24px;
  }

  .report-card .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .newsletter-hero {
    padding: 48px 0 64px;
  }

  .characters-page {
    margin: 24px auto 64px;
  }

  .character-stage {
    min-height: 540px;
    padding: 26px 22px;
  }

  .character-stage::after {
    top: 26px;
    right: 22px;
  }

  .character-stage-count {
    top: 60px;
    left: 22px;
    right: auto;
  }

  .character-stage-art {
    margin-top: 12px;
  }

  .character-details-heading,
  .character-details-content,
  .character-picker-wrap {
    padding: 22px;
  }

  .character-details-content {
    grid-template-columns: 1fr;
  }

  .character-details h2,
  .character-bio,
  .character-specs,
  .character-buy-button {
    grid-column: auto;
  }

  .character-specs {
    grid-row: auto;
  }

  .character-picker {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
