/* Jacob Futures. Tokens come straight from the brand kit PNGs. */
:root {
  --bg: #02060e;
  --bg-2: #050d21;
  --tile: #0a1f4a;
  --blue: #5b9cf6;
  --blue-deep: #1e3b6a;
  --ice: #d6e6ff;
  --text: #aebad0;
  --muted: #7d8aa3;
  --hair: rgba(91, 156, 246, 0.2);
  --grey-line: #4a5468;
  --paper: #f4f6fa;
  --ink: #050812;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow {
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 20px;
}
.h2 {
  font: italic 400 clamp(40px, 5.6vw, 78px)/1.02 var(--serif);
  color: var(--ice);
  letter-spacing: -0.005em;
  max-width: 18ch;
}
.h2.wide { max-width: 24ch; }
.h3 { font: 800 clamp(20px, 2vw, 24px)/1.2 var(--sans); color: var(--ice); letter-spacing: -0.01em; }
.hl {
  color: inherit;
  background: linear-gradient(transparent 48%, rgba(46, 86, 150, 0.4) 48%, rgba(46, 86, 150, 0.4) 90%, transparent 90%);
  padding: 0 0.08em;
  margin: 0 -0.08em;
}
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--text); }
.lead strong, strong { color: var(--ice); font-weight: 500; }
.mono { font: 500 13px/1.5 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.outline {
  font: 800 clamp(120px, 20vw, 280px)/0.85 var(--sans);
  letter-spacing: 0.01em;
  color: var(--blue);
  filter: url(#ol) drop-shadow(0 0 10px rgba(91, 156, 246, 0.3));
}

/* Atmosphere: glow, halftone corners, vignette, chart line */
.atmos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%); }
.atmos::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 58%, rgba(14, 52, 122, 0.7), rgba(8, 28, 70, 0.45) 45%, transparent 75%),
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(10, 31, 74, 0.5), transparent 70%);
}
.atmos::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(120, 165, 235, 0.38) 1.1px, transparent 1.6px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 45% 65% at 0% 0%, #000, transparent 75%), radial-gradient(ellipse 45% 65% at 100% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 45% 65% at 0% 0%, #000, transparent 75%), radial-gradient(ellipse 45% 65% at 100% 100%, #000, transparent 75%);
  opacity: 0.55;
}
.atmos .vig { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 80% at 50% 55%, transparent 45%, rgba(1, 4, 9, 0.85) 100%); }
.chart { position: absolute; left: 0; right: 0; width: 100%; height: auto; pointer-events: none; }
.chart polyline {
  fill: none; stroke: #3a6fc6; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(61, 120, 214, 0.5));
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .chart polyline { stroke-dashoffset: 1; animation: draw 2.6s 0.3s cubic-bezier(0.3, 0.6, 0.2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Navigation: glass capsule */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; }
.nav {
  position: relative;
  display: flex; align-items: center; gap: 28px;
  width: min(100%, 1040px);
  padding: 8px 10px 8px 12px;
  background: rgba(8, 20, 46, 0.62);
  border: 1px solid var(--hair);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 0 40px rgba(24, 70, 160, 0.2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ice); line-height: 1; }
.brand .b1 { font: 800 18px/1 var(--sans); letter-spacing: -0.02em; }
.brand .b2 { font: italic 400 24px/1 var(--serif); margin-left: 3px; }
.brand img { border-radius: 10px; }
.menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu a:not(.btn-nav) {
  display: block; padding: 10px 14px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--ice); opacity: 0.78; transition: opacity 0.2s, background 0.2s;
}
.menu a:not(.btn-nav):hover, .menu a[aria-current] { opacity: 1; background: rgba(91, 156, 246, 0.14); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--hair); color: var(--ice); font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 16px; border-radius: 999px; cursor: pointer; }

/* Buttons and tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  background: #5a93e6; color: var(--ink);
  font: 800 17px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 16px rgba(91, 156, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { background: #6a9fec; box-shadow: 0 0 22px rgba(91, 156, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ice); border-color: rgba(214, 230, 255, 0.35); box-shadow: none; }
.btn-ghost:hover { background: rgba(91, 156, 246, 0.12); border-color: var(--blue); box-shadow: none; }
.btn-dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-dark:hover { background: #0d1a3a; box-shadow: 0 0 30px rgba(5, 8, 18, 0.35); }
[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  padding: 11px 22px; border: 1.5px solid var(--grey-line); border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--ice);
}
.tag.blue { border-color: var(--blue); color: var(--blue); }

/* Sections */
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section + .section::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--hair), transparent); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.alt { background: linear-gradient(180deg, transparent, rgba(8, 24, 60, 0.55) 30%, rgba(8, 24, 60, 0.55) 70%, transparent); }

/* Hero (home) */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 140px 0 clamp(150px, 24vh, 260px); text-align: center; overflow: hidden; }
.hero .chart { bottom: 0; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.stack { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: clamp(12px, 3vw, 40px); }
.watermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0;
  font: 800 clamp(60px, 19vw, 380px)/0.8 var(--sans); letter-spacing: -0.035em; white-space: nowrap;
  color: var(--blue); opacity: 0.32; filter: url(#ol-thin); user-select: none;
}
/* The block sits behind the lower part of the letters, from just inside the J to just past the b, as in the brand banner. Sizes are in em so it scales with the word. */
.display .hl { display: inline-block; line-height: 1; padding: 0 0.058em 0 0.033em; margin: 0 -0.058em 0 -0.033em; background: linear-gradient(rgba(46, 86, 150, 0.5), rgba(46, 86, 150, 0.5)) 0.004em 0.433em / 1.942em 0.521em no-repeat; }
.stack > *:not(.watermark) { position: relative; z-index: 1; }
.stack .eyebrow { margin-bottom: 6px; }
.display { font: italic 400 clamp(96px, 17vw, 240px)/0.95 var(--serif); color: var(--ice); text-shadow: 0 0 50px rgba(60, 120, 230, 0.2); letter-spacing: -0.01em; }
.role { font: 500 13px/1 var(--mono); letter-spacing: 0.5em; text-transform: uppercase; color: var(--blue); margin: 14px 0 0; }
.hero .lead { margin: clamp(32px, 6vw, 64px) auto 0; max-width: 40ch; text-align: center; color: var(--ice); opacity: 0.92; }
.hero .actions, .hero .tags { justify-content: center; }
.hero .tags { margin-top: 44px; }

/* Page hero (inner pages) */
.phero { position: relative; padding: clamp(140px, 20vh, 200px) 0 clamp(96px, 10vw, 140px); overflow: hidden; }
.phero .chart { bottom: -2%; opacity: 0.9; }
.phero .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); }
.phero .outline { flex: none; }
.phero h1 { font: italic 400 clamp(46px, 6.6vw, 96px)/1 var(--serif); color: var(--ice); max-width: 16ch; }
.phero .lead { margin-top: 24px; max-width: 52ch; }

/* Cards */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card {
  position: relative; padding: 30px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(21, 50, 106, 0.4), rgba(3, 9, 22, 0.72));
  border: 1px solid var(--hair);
  box-shadow: 0 0 50px rgba(20, 60, 140, 0.1);
}
.card p:last-child { margin-bottom: 0; }
.card .h3 { margin-bottom: 12px; }
.card .mono { display: block; margin-bottom: 18px; }
.tile {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--tile); color: var(--ice); font: 800 20px/1 var(--sans);
  box-shadow: inset 0 0 0 1px rgba(91, 156, 246, 0.25);
}

/* Role cards (home) */
.role-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.role-card .h3 { margin-bottom: 6px; }
.role-card p { font-size: 16px; color: var(--text); }
.role-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(160deg, rgba(91, 156, 246, 0.16), rgba(10, 31, 74, 0.5)); }
@media (min-width: 1000px) { .role-cta { grid-column: span 2; } }

/* Role rows (7 Roles page) */
.role-row { display: grid; grid-template-columns: clamp(110px, 14vw, 190px) 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--hair); }
.role-row:last-child { border-bottom: 1px solid var(--hair); }
.role-row p { margin: 0; }
.role-row .mono { display: block; margin-bottom: 10px; color: var(--muted); }
.role-row .h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
@media (max-width: 800px) { .role-row { grid-template-columns: 90px 1fr; } .role-row > :last-child { grid-column: 2; } }

/* Steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; border-radius: 16px; border-top: 2px solid var(--blue); background: linear-gradient(180deg, rgba(21, 50, 106, 0.35), transparent); }
.step p { font-size: 16px; margin: 8px 0 0; }
.note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); max-width: 62ch; color: var(--ice); }

/* Lists */
.check li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--hair); }
.check li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 8px rgba(91, 156, 246, 0.4); }
.check.no li::before { background: transparent; border: 1.5px solid var(--muted); box-shadow: none; }
.facts { display: grid; gap: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ice); text-align: right; font-weight: 500; }
dl.facts { margin: 0; }
.price { font: 800 clamp(44px, 6vw, 80px)/1 var(--sans); white-space: nowrap; letter-spacing: -0.04em; color: var(--ink); margin: 6px 0 4px; }
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Timeline (30-day review) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(91, 156, 246, 0.25)); }
.tl { position: relative; padding-top: 40px; }
.tl::before { content: ''; position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); }
.tl.win::before { background: var(--blue); box-shadow: 0 0 14px 2px rgba(91, 156, 246, 0.45); }
.tl .mono { display: block; margin-bottom: 8px; }
.tl p { font-size: 15.5px; margin: 0; color: var(--text); }
.tl.win .mono { color: var(--ice); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .timeline::before { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), rgba(91, 156, 246, 0.25)); }
  .tl { padding-top: 0; }
  .tl::before { left: -40px; top: 2px; }
}

/* Embeds */
.frame { position: relative; border-radius: 18px; background: rgba(8, 20, 46, 0.7); border: 1px solid var(--hair); padding: clamp(14px, 2vw, 24px); min-height: 320px; }
.frame::before, .frame::after { content: ''; position: absolute; top: -3px; width: 38px; height: 28px; border-top: 4px solid var(--blue); filter: drop-shadow(0 0 5px rgba(91, 156, 246, 0.35)); }
.frame::before { left: -3px; border-left: 4px solid var(--blue); border-top-left-radius: 14px; }
.frame::after { right: -3px; border-right: 4px solid var(--blue); border-top-right-radius: 14px; }
.frame iframe { width: 100%; min-height: 540px; border: 0; background: transparent; }
.ph { display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 280px; text-align: center; color: var(--muted); }
.ph .mono { color: var(--blue); }
.ph p { margin: 0; max-width: 40ch; font-size: 15px; }
.vsl { aspect-ratio: 16 / 9; padding: 0; overflow: hidden; display: grid; }
.vsl iframe { min-height: 0; height: 100%; }
.vsl button.play { all: unset; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(14, 52, 122, 0.8), rgba(2, 6, 14, 0.95)); width: 100%; height: 100%; }
.vsl .ring { width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; box-shadow: 0 0 40px rgba(91, 156, 246, 0.5); transition: transform 0.2s; }
.vsl .ring::after { content: ''; margin-left: 6px; border-left: 20px solid var(--ice); border-block: 12px solid transparent; }
.vsl button.play:hover .ring { transform: scale(1.06); }
.vsl button.play:focus-visible { outline: 2px solid var(--blue); outline-offset: -6px; }

/* FAQ */
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 800 clamp(18px, 2vw, 22px)/1.3 var(--sans); color: var(--ice); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 500 24px/1 var(--mono); color: var(--blue); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; max-width: 70ch; }
.weeks { width: 100%; border-collapse: collapse; margin-top: 8px; }
.weeks th, .weeks td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--hair); font-size: 16px; }
.weeks th { font: 500 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.weeks td:first-child { font-family: var(--mono); color: var(--blue); width: 90px; }

/* Footer */
.footer { position: relative; padding: 80px 0 48px; border-top: 1px solid var(--hair); background: linear-gradient(180deg, rgba(5, 13, 33, 0.7), var(--bg)); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand p { margin: 20px 0 0; font-size: 16px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .eyebrow { font-size: 12px; margin-bottom: 8px; }
.footer-col a { text-decoration: none; color: var(--ice); opacity: 0.8; font-size: 16px; width: fit-content; }
.footer-col a:hover { opacity: 1; color: var(--blue); }
.fine { font-size: 14px; color: var(--muted); margin-top: 28px; max-width: 90ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Prose pages */
.prose h2 { font: 800 clamp(24px, 3vw, 32px)/1.2 var(--sans); color: var(--ice); margin: 56px 0 16px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; }
.prose li { padding: 6px 0 6px 22px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* Small screens */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; margin: 0;
    background: rgba(5, 12, 30, 0.96); border: 1px solid var(--hair); border-radius: 18px; display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn-nav) { padding: 16px; }
  .nav { gap: 12px; }
  .nav-wrap { position: fixed; }
  .phero .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .phero .outline { font-size: clamp(96px, 28vw, 160px); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand span { font-size: 16px; }
  .tag { padding: 10px 16px; letter-spacing: 0.22em; font-size: 11px; }
  .btn { padding: 15px 24px; }
  .actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .chart polyline { animation: none; stroke-dashoffset: 0; }
  .btn { transition: none; }
}

/* Funnel (sales) pages: stripped nav */
.nav-funnel { justify-content: space-between; width: min(100%, 760px); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-block: 1px solid var(--hair); }
.stat { padding: 32px 24px; border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 800 clamp(44px, 5vw, 68px)/1 var(--sans); letter-spacing: -0.03em; color: var(--ice); }
.stat span { display: block; margin-top: 10px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }

/* Programme track */
.track { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.phase { position: relative; overflow: hidden; padding: 28px; border-radius: 20px; border: 1px solid var(--hair); background: linear-gradient(170deg, rgba(21, 50, 106, 0.55), rgba(3, 9, 22, 0.85)); }
.phase::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 156, 246, 0.22), transparent 70%); }
.phase .mono { display: block; margin-bottom: 10px; }
.phase p { font-size: 16px; }
.phase .ev { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .w6 { grid-column: span 6; }
.bento .card { display: flex; flex-direction: column; gap: 14px; }
.bento .card p { font-size: 16px; margin: 0; }
.bento .hero-card { background: linear-gradient(150deg, rgba(91, 156, 246, 0.22), rgba(10, 31, 74, 0.7) 60%); border-color: rgba(91, 156, 246, 0.4); }
@media (max-width: 900px) { .bento > *, .bento .w3, .bento .w4, .bento .w6 { grid-column: span 6; } }

/* Pricing */
.pcards { display: grid; gap: 24px; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
@media (max-width: 860px) { .pcards { grid-template-columns: 1fr; } }
.pcard { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--hair); background: linear-gradient(170deg, rgba(21, 50, 106, 0.5), rgba(3, 9, 22, 0.85)); display: flex; flex-direction: column; }
.pcard .amt { font: 800 clamp(52px, 7vw, 88px)/1 var(--sans); letter-spacing: -0.04em; color: var(--ice); margin: 12px 0 6px; white-space: nowrap; }
.pcard .save { align-self: flex-start; margin-bottom: 4px; padding: 7px 14px; border-radius: 999px; background: var(--tile); color: var(--ice); font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; }
.pcard ul { margin: 18px 0 0; }
.pcard li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.pcard li span:last-child { color: var(--ice); font-weight: 500; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
.pcard p.sm { margin-bottom: 20px; }

/* Competency levels */
.level { position: relative; display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--hair); }
.level:last-child { border-bottom: 1px solid var(--hair); }
.level .tile { width: 64px; height: 64px; font-size: 24px; }
.level p { margin: 6px 0 0; font-size: 16.5px; }
.badge { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--grey-line); font: 500 11px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.badge.free { border-color: rgba(91, 156, 246, 0.6); color: var(--ice); background: rgba(91, 156, 246, 0.12); }
@media (max-width: 700px) { .level { grid-template-columns: 64px 1fr; } .level .badge { grid-column: 2; justify-self: start; } }

/* Role rows: richer */
.role-row { grid-template-columns: clamp(100px, 12vw, 170px) 1.3fr 1fr; }
.role-row .mono.l { margin: 18px 0 6px; color: var(--blue); }
.role-row .qs li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--hair); position: relative; font-size: 16px; }
.role-row .qs li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

/* Video embed cards */
.vgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.vgrid .vsl { min-height: 0; }
.vgrid .ph { min-height: 0; }
.story { display: grid; grid-template-columns: 90px 1fr; gap: 20px 32px; padding: 32px 0; border-top: 1px solid var(--hair); }
.story:last-child { border-bottom: 1px solid var(--hair); }
.story h3 { margin-bottom: 10px; }
.story p { margin: 0 0 0.8em; }

/* Gradient numerals (small sizes, no outline artefacts) */
.num { font: 800 64px/1 var(--sans); letter-spacing: 0; display: block; color: #6fa4f0; }
.step .num { font-size: 56px; margin-bottom: 14px; }
.phase .num { font-size: 60px; margin-bottom: 14px; position: relative; z-index: 1; }
.role-row .num { font-size: clamp(72px, 9vw, 120px); }
.story .num { font-size: 56px; }

/* Panels: dark glass, replaces the white cards */
.paper { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: linear-gradient(160deg, rgba(91, 156, 246, 0.2), rgba(10, 31, 74, 0.7) 55%, rgba(3, 9, 22, 0.8)); border: 1px solid rgba(91, 156, 246, 0.38); box-shadow: 0 0 60px rgba(30, 80, 190, 0.18); }
.paper .h3, .paper strong { color: var(--ice); }
.pcard.feat { background: linear-gradient(160deg, rgba(91, 156, 246, 0.26), rgba(10, 31, 74, 0.75) 60%); border-color: rgba(91, 156, 246, 0.5); box-shadow: 0 0 60px rgba(30, 80, 190, 0.22); }

/* Nav pill */
.btn-nav { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(91, 156, 246, 0.55); background: rgba(91, 156, 246, 0.12); color: var(--ice); font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.btn-nav::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 5px rgba(91, 156, 246, 0.7); }
.btn-nav:hover { background: rgba(91, 156, 246, 0.26); }
.menu .btn-nav { justify-content: center; }
.nav-funnel .brand { margin-right: auto; }
.nav-funnel .menu-btn { display: block; margin-left: 0; }
.nav-funnel .menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; left: auto; width: 260px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; margin: 0; background: rgba(5, 12, 30, 0.96); border: 1px solid var(--hair); border-radius: 18px; }
.nav-funnel .menu.open { display: flex; }
.nav-funnel .menu a:not(.btn-nav) { padding: 14px 16px; }
@media (max-width: 860px) { .menu .btn-nav { margin-top: 6px; } .nav-funnel .menu { left: 0; width: auto; } .menu { left: 0; right: 0; } }

/* Hero lead chips */
.hero .lead strong { display: block; font: 800 clamp(24px, 3vw, 34px)/1.2 var(--sans); color: var(--ice); letter-spacing: -0.01em; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero .chips { justify-content: center; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(91, 156, 246, 0.45); font: 500 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }

/* Offer card (home) */
.offer { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 26px; text-decoration: none; background: linear-gradient(150deg, rgba(91, 156, 246, 0.26), rgba(10, 31, 74, 0.75) 55%, rgba(3, 9, 22, 0.85)); border: 1px solid rgba(91, 156, 246, 0.45); box-shadow: 0 0 70px rgba(30, 80, 190, 0.2); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.offer:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 0 90px rgba(30, 80, 190, 0.32); }
.offer .mono { display: block; margin-bottom: 16px; }
.offer p { color: var(--text); }
.offer .btn { margin-top: 12px; }
.offer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-facts li { padding: 20px; border-radius: 16px; background: rgba(2, 6, 14, 0.45); border: 1px solid var(--hair); }
.offer-facts b { display: block; font: 800 clamp(30px, 3.4vw, 44px)/1 var(--sans); letter-spacing: -0.03em; color: var(--ice); }
.offer-facts span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* Weak-link bars */
.bars { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 300px; padding: 28px 24px 0; border-radius: 22px; border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(21, 50, 106, 0.3), transparent); }
.bars::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: calc((100% - 28px) * 0.30); border-top: 1px dashed rgba(91, 156, 246, 0.7); }
.bar.min::before { content: 'Your limit'; position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 999px; background: var(--tile); border: 1px solid rgba(91, 156, 246, 0.5); font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); white-space: nowrap; z-index: 1; }
.bar { position: relative; flex: 1; height: var(--h); border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(91, 156, 246, 0.55), rgba(91, 156, 246, 0.12)); }
.bar.low { background: linear-gradient(180deg, rgba(214, 230, 255, 0.5), rgba(91, 156, 246, 0.15)); box-shadow: 0 0 14px rgba(91, 156, 246, 0.2); }
.bar span { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: 500 12px/1 var(--mono); color: var(--ice); }

/* Profiles */
.profile { padding: 26px; border-radius: 18px; border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(21, 50, 106, 0.4), rgba(3, 9, 22, 0.72)); }
.profile .mono { display: block; margin-bottom: 12px; }
.profile p { margin: 0; font-size: 16.5px; }

/* Rates */
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
.rate { position: relative; padding: 20px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(2, 6, 14, 0.4); display: flex; flex-direction: column; gap: 4px; }
.rate b { font: 800 clamp(38px, 4.4vw, 56px)/1 var(--sans); letter-spacing: -0.03em; color: var(--ice); }
.rate s { font: 500 22px/1 var(--sans); color: var(--muted); }
.rate > span:not(.mono) { color: var(--muted); font-size: 14px; }
.rate.grad { border-color: var(--blue); background: rgba(91, 156, 246, 0.14); }
.rate .save { align-self: flex-start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(91, 156, 246, 0.22); color: var(--ice); font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; }
.rate .mono { margin: 0; }

/* Diagnostic call chips */
.cover { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 48px; }
.cover li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--hair); background: rgba(10, 31, 74, 0.35); font-size: 16px; color: var(--ice); }
.cover li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }

/* Footer fit */
.footer { padding: 56px 0 36px; }
.footer-top { grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; align-items: start; }
.fine { margin-top: 18px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.offer h2 + p { margin-top: 20px; }

/* Ladder, meet, sticky CTA */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.rung { min-height: var(--h); padding: 24px; border-radius: 18px; border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(21, 50, 106, 0.5), rgba(3, 9, 22, 0.8)); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.rung.top { border-color: rgba(91, 156, 246, 0.55); background: linear-gradient(180deg, rgba(91, 156, 246, 0.28), rgba(10, 31, 74, 0.8)); }
.rung p { margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr; } .rung { min-height: 0 !important; } }
.meet { display: flex; gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo { flex: none; width: clamp(200px, 28vw, 340px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 1px solid var(--hair); box-shadow: 0 0 60px rgba(30, 80, 190, 0.2); }
.phero .photo { width: clamp(160px, 20vw, 260px); }
@media (max-width: 760px) { .meet { flex-direction: column; align-items: flex-start; } }
.sticky-cta { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(8, 20, 46, 0.86); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform 0.3s; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }
.sticky-cta.on { transform: translate(-50%, 0); }
@media (max-width: 480px) { .sticky-cta span { display: none; } .sticky-cta { padding: 8px; } }

/* Sales-page header, funnel step indicator, footer site links */
.nav-sales { width: min(100%, 900px); }
.nav-sales .brand { margin-right: auto; }
.nav-sales .menu { margin-left: 0; }
.nav > .btn-nav { margin-left: 8px; }
.step-ind { margin-left: auto; padding: 10px 16px; border: 1px solid var(--hair); border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; }
.foot-links a { font: 500 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
html { scroll-padding-top: 96px; }
.pcard .actions { margin-top: 24px; }
a.card { text-decoration: none; display: block; transition: border-color 0.2s, transform 0.2s; }
a.card:hover { border-color: var(--blue); transform: translateY(-2px); }
@media (max-width: 860px) { .nav-sales .menu { display: none; } }
.pcard .check { margin-top: 18px; } .pcard .check li { display: block; padding: 12px 0 12px 30px; border-top: 0; border-bottom: 1px solid var(--hair); }

.hero .chips { max-width: 1000px; margin-inline: auto; gap: 8px; }
.chips li { white-space: nowrap; }
.hero .chips li { padding: 8px 12px; letter-spacing: 0.12em; font-size: 11px; }
.hero .chips { width: min(100%, 980px); }
.hero .chips { width: min(100%, 1100px); } .hero .chips li { padding: 8px 10px; letter-spacing: 0.08em; }
.hero .chips { gap: 6px; } .hero .chips li { padding: 8px 9px; letter-spacing: 0.06em; font-size: 10.5px; }

/* Audit fixes */
.brand .b1 { font-size: 19px; }
.brand .b2 { font-size: 20px; margin-left: 4px; }
.footer .brand .b1 { font-size: 21px; }
.footer .brand .b2 { font-size: 22px; }
.split > *, .vsl, .grid > *, .pcards > * { min-width: 0; }
.ph p, .vsl .mono { max-width: 100%; overflow-wrap: anywhere; }
.chips li { white-space: normal; max-width: 100%; }
.hero .chips li { white-space: nowrap; }
/* Cards that hold a button keep the button on one baseline across a row */
.card:has(> .actions), .pcard { display: flex; flex-direction: column; }
.card > .actions { margin-top: auto; padding-top: 28px; }
.card > p:not(:last-child) { margin-bottom: 1em; }
.frame.vsl { min-height: 0; width: 100%; }
h1, h2, .h3 { text-wrap: balance; } p, li { text-wrap: pretty; }
.pcard > .actions { margin-top: auto; padding-top: 28px; }

/* Ambient glow behind the whole page, so no section reads as a flat black void and no texture ends on a hard edge */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 40% at 90% 15%, rgba(14, 52, 122, 0.32), transparent 70%), radial-gradient(ellipse 50% 45% at 5% 85%, rgba(14, 52, 122, 0.26), transparent 70%); }
/* Short left column follows the scroll beside a tall right column */
@media (min-width: 861px) { .split > .frame { position: sticky; top: 110px; align-self: start; } }

.ico { flex: none; display: block; width: 56px; height: 56px; border-radius: 14px; }
.card > .ico, .profile > .ico { margin-bottom: 18px; }
.role-card .ico, .bento .card > .ico { margin: 0; }

/* Icons: kit glyphs recoloured to one tone, set inside the same tile as the rest of the UI */
.ico { padding: 13px; box-sizing: border-box; object-fit: contain; background: rgba(21, 50, 106, 0.45); border: 1px solid rgba(91, 156, 246, 0.28); opacity: 1; }

/* Assessment: widget gets most of the width */
.split.wide-embed { grid-template-columns: 0.55fr 1.45fr; }
.frame.big { min-height: 760px; }
.frame.big iframe { min-height: 740px; }
@media (max-width: 860px) { .split.wide-embed { grid-template-columns: 1fr; } }

/* Cookie choices */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(5, 12, 30, 0.96); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.consent p { flex: 1 1 320px; margin: 0; font-size: 14.5px; line-height: 1.5; }
.consent a { color: var(--blue); }
.consent div { display: flex; gap: 10px; }
.consent button { padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(214, 230, 255, 0.35); background: transparent; color: var(--ice); font: 800 14px/1 var(--sans); cursor: pointer; }
.consent button[data-c='yes'] { background: #5a93e6; border-color: transparent; color: var(--ink); }
.foot-btn { all: unset; cursor: pointer; text-decoration: none; color: var(--ice); opacity: 0.8; font-size: 16px; width: fit-content; }
.foot-btn:hover { opacity: 1; color: var(--blue); }
.foot-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.fine .foot-btn { font-size: inherit; color: var(--blue); opacity: 1; }
.prose h3 { font: 800 19px/1.3 var(--sans); color: var(--ice); margin: 32px 0 10px; }
.prose a { color: var(--blue); }

/* On-site assessment */
.quiz { max-width: 860px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid rgba(91, 156, 246, 0.32); background: linear-gradient(160deg, rgba(21, 50, 106, 0.4), rgba(3, 9, 22, 0.8)); box-shadow: 0 0 60px rgba(30, 80, 190, 0.14); scroll-margin-top: 100px; }
.qhead { display: grid; gap: 12px; margin-bottom: 28px; }
.qbar { height: 8px; border-radius: 6px; background: rgba(91, 156, 246, 0.14); overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; transition: width 0.4s ease; }
.qtitle { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.qsub { margin: 0 0 24px; color: var(--text); }
.qitem { margin: 0 0 22px; padding: 0; border: 0; min-inline-size: 0; }
.qitem legend { padding: 0; margin-bottom: 12px; color: var(--ice); font-weight: 500; font-size: 18px; line-height: 1.4; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale label { position: relative; cursor: pointer; }
.scale input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.scale span { display: grid; gap: 2px; justify-items: center; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--hair); background: rgba(10, 31, 74, 0.35); color: var(--text); transition: border-color 0.15s, background 0.15s; }
.scale b { font: 800 20px/1 var(--sans); color: var(--ice); }
.scale small { font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.scale label:hover span { border-color: rgba(91, 156, 246, 0.6); }
.scale input:checked + span { border-color: var(--blue); background: rgba(91, 156, 246, 0.22); color: var(--ice); }
.scale input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.qnav .btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }
.qform { display: grid; gap: 16px; max-width: 520px; }
.qform label { display: grid; gap: 6px; color: var(--ice); font-weight: 500; }
.qform input:not([type=checkbox]) { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(2, 6, 14, 0.6); color: var(--ice); font: 400 17px/1.2 var(--sans); }
.qform input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.qcheck { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; }
.qcheck input { margin-top: 5px; width: 18px; height: 18px; accent-color: #5a93e6; flex: none; }
.qform .err { color: #f09a9a; margin: 0; min-height: 1.2em; }
.qres { display: grid; gap: 14px; }
.qrow { padding: 20px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(10, 31, 74, 0.3); }
.qrow.weak { border-color: rgba(91, 156, 246, 0.55); background: rgba(91, 156, 246, 0.12); }
.qrh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.qrh b { color: var(--ice); font-size: 19px; margin-right: auto; }
.qrh .tag { padding: 6px 12px; font-size: 11px; letter-spacing: 0.16em; }
.qrow p { margin: 12px 0 8px; font-size: 16px; }
.qrow a { color: var(--blue); font-size: 15px; }
.qviz { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 24px; margin: 8px 0 24px; padding: 24px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(10, 31, 74, 0.3); }
.qring { display: grid; justify-items: center; gap: 8px; }
.qring .ring { width: 150px; height: 150px; }
.qviz .radar { width: 100%; max-width: 420px; height: auto; justify-self: center; overflow: visible; }
.qlimit { margin-bottom: 24px; padding: 22px; border-radius: 16px; border: 1px solid rgba(91, 156, 246, 0.45); background: rgba(91, 156, 246, 0.1); }
.qlimit ol { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: p; }
.qlimit li { counter-increment: p; display: flex; align-items: center; gap: 12px; color: var(--ice); }
.qlimit li::before { content: counter(p); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #0a0e17; font: 800 14px/1 var(--sans); }
.qlimit li span { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--muted); }
.qlimit p:last-child { margin: 0; }
.qrow .qrisk b { color: #e5a35c; }
.qrow .qstr b { color: var(--blue); }
.qrow .qrisk b, .qrow .qstr b { display: block; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 640px) { .qviz { grid-template-columns: 1fr; padding: 16px; } }
@media (max-width: 560px) { .scale small { font-size: 9px; letter-spacing: 0.02em; } .scale b { font-size: 17px; } }

/* On-site application */
.qform.wide { max-width: 680px; }
.qform textarea { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(2, 6, 14, 0.6); color: var(--ice); font: 400 17px/1.5 var(--sans); resize: vertical; }
.qform textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.qform .hint { color: var(--muted); font: 500 13px/1.4 var(--mono); }
.qform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.opts { display: grid; gap: 8px; }
.opts.row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.qform .opts label { position: relative; display: block; cursor: pointer; font-weight: 400; }
.opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opts span { display: block; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--hair); background: rgba(10, 31, 74, 0.3); color: var(--text); transition: border-color 0.2s, background 0.2s; }
.opts label:hover span { border-color: rgba(91, 156, 246, 0.6); }
.opts input:checked + span { border-color: var(--blue); background: rgba(91, 156, 246, 0.22); color: var(--ice); }
.opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* A section whose video grid is empty (no video set yet) would leave a blank band. */
.section:has(> .wrap > .vgrid:not(:has(*))) { display: none; }
.btn-sm { white-space: nowrap; }

/* Phone: country code with flag and picker, then the number */
.qitem .sl, .phone .sl { display: block; margin-bottom: 6px; color: var(--ice); font-weight: 500; }
.phone .sl { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.phone { display: grid; grid-template-columns: minmax(112px, 140px) minmax(0, 1fr); gap: 12px; }
.qform .phone .num { width: 100%; min-width: 0; }
.cc { position: relative; display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--hair); background: rgba(2, 6, 14, 0.6); }
.cc:focus-within, .phone .num:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cc-btn { display: flex; align-items: center; gap: 6px; padding: 0 8px 0 14px; align-self: stretch; background: none; border: 0; color: var(--ice); font-size: 20px; cursor: pointer; }
.cc-btn i { font-style: normal; font-size: 12px; color: var(--muted); }
.cc .plus { color: var(--muted); font: 400 17px/1 var(--sans); }
.qform .cc input[name=cc] { border: 0; background: none; padding: 14px 8px 14px 4px; width: 100%; min-width: 0; outline: none; }
.cc-list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(340px, 86vw); max-height: 300px; overflow: auto; padding: 8px; border-radius: 14px; border: 1px solid rgba(91, 156, 246, 0.4); background: #0b1220; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.cc-list[hidden] { display: none; }
.qform .cc-list .cc-q { width: 100%; margin-bottom: 6px; padding: 10px 12px; font-size: 15px; }
.cc-list ul { margin: 0; padding: 0; list-style: none; }
.cc-list li button { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 400 15px/1.2 var(--sans); text-align: left; cursor: pointer; }
.cc-list li button:hover, .cc-list li button:focus-visible { background: rgba(91, 156, 246, 0.18); color: var(--ice); outline: none; }
.cc-list li b { color: var(--muted); font: 500 13px/1 var(--mono); }
@media (max-width: 420px) { .phone { grid-template-columns: 132px minmax(0, 1fr); gap: 10px; } .cc-btn { padding: 0 4px 0 10px; gap: 4px; } .cc .plus { margin-left: -2px; } }

/* While a Tally form loads, its frame shows a short description and a direct link. */
.frame .ph ~ iframe { height: 0; min-height: 0; visibility: hidden; }

/* Navigation never wraps a label onto two lines. */
.menu a, .btn-nav { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1000px) { .menu a:not(.btn-nav) { padding: 10px 8px; letter-spacing: 0.12em; } .btn-nav { padding: 11px 14px; } }

/* Short labels and sub-headings break evenly instead of leaving one word on a line. */
.chips li, .tag, .mono, .prose h3, .prose h2, h4 { text-wrap: balance; }

/* Phones and tablets: every link and button is at least 44px to tap, and the cookie banner takes less of the screen. */
@media (max-width: 860px) {
  .menu-btn, .btn-nav { min-height: 44px; }
  .menu-btn { min-width: 64px; }
  .footer-col { gap: 0; }
  .footer-col a, .foot-btn, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .foot-links { gap: 0 24px; margin-bottom: 20px; }
  .fine a, .fine .foot-btn { padding: 10px 3px; margin: -10px -3px; }
}
@media (max-width: 480px) {
  .consent { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; gap: 12px; }
  .consent p { font-size: 13.5px; flex-basis: 100%; }
  .consent div { width: 100%; }
  .consent button { flex: 1; min-height: 44px; }
}

.qform .err:empty { display: none; }
