/* Open Node Consulting, design tokens come from src/_data/site.json (theme),
   injected as CSS custom properties by the base layout. The fallbacks below
   are the shipped defaults. */

:root {
  --ink: #1b2830;
  --ink-deep: #141e24;
  --accent: #7fd4c1;
  --cloud: #f0f4f6;
  --mist: #f4f6f7;
  --slate: #5a6d78;
  --sage: #7fa79b;
  --muted: #7d8d96;
  --faint: #9aa9b2;
  --paper: #fff;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 60px);
  --shell: 1280px;
  --band: clamp(56px, 8vw, 80px);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.skip:focus {
  left: 0;
}

/* ---------- layout primitives ---------- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--band);
}

.band--ink {
  background: var(--ink);
  color: var(--cloud);
}
.band--deep {
  background: var(--ink-deep);
  color: var(--cloud);
}
.band--mist {
  background: var(--mist);
}
.band--paper {
  background: var(--paper);
}
.band--rule {
  border-bottom: 1px solid rgba(27, 40, 48, 0.08);
}

/* Dotted field used behind dark hero sections. */
.dotfield {
  position: relative;
  overflow: hidden;
}
.dotfield::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 18%, transparent) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: 0.5;
  pointer-events: none;
}
.dotfield > * {
  position: relative;
}

.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}
.eyebrow--accent {
  color: var(--accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--ink);
}
.btn--accent:hover {
  background: color-mix(in srgb, var(--accent) 85%, #fff);
}

.btn--ink {
  background: var(--ink);
  color: var(--accent);
}
.btn--ink:hover {
  background: var(--ink-deep);
}

.btn--ghost {
  color: var(--cloud);
  border-color: rgba(240, 244, 246, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(240, 244, 246, 0.55);
}

.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}
.btn--lg {
  padding: 18px 34px;
  font-size: 16px;
}

/* ---------- header ---------- */

.masthead {
  background: var(--ink);
  color: var(--cloud);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--cloud);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.brand__word {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cloud);
}
.brand__wordimg {
  height: 20px;
  object-fit: contain;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.masthead__nav a:not(.btn) {
  font-size: 14px;
  color: rgba(240, 244, 246, 0.7);
  text-decoration: none;
}
.masthead__nav a:not(.btn):hover {
  color: var(--cloud);
}

.navtoggle {
  display: none;
  background: none;
  border: 1px solid rgba(240, 244, 246, 0.25);
  border-radius: 10px;
  color: var(--cloud);
  padding: 9px 14px;
  font: 600 14px var(--body);
  cursor: pointer;
}

@media (max-width: 860px) {
  .navtoggle {
    display: block;
  }
  .masthead__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ink-deep);
    padding: 16px var(--gutter) 24px;
    z-index: 40;
  }
  .masthead__nav.is-open {
    display: flex;
  }
  .masthead__nav a:not(.btn) {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(240, 244, 246, 0.08);
  }
  .masthead__nav .btn {
    margin-top: 12px;
  }
  .masthead__inner {
    position: relative;
  }
  .brand__mark {
    width: 38px;
    height: 38px;
  }
  .brand__word {
    font-size: 21px;
  }
}

/* header variant used on the funnel landing page: no nav, just a note */
.masthead--focus .masthead__inner {
  padding-block: 18px;
  border-bottom: 1px solid rgba(240, 244, 246, 0.1);
}
.masthead__note {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 244, 246, 0.5);
}

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: var(--cloud);
  padding-block: clamp(56px, 9vw, 92px);
}
.hero__eyebrow {
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--cloud);
  max-width: 17ch;
}
.hero__sub {
  margin-top: 32px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(240, 244, 246, 0.72);
  max-width: 58ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* split hero (funnel page) */
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero--split h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1;
  max-width: none;
}
.hero--split .hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 48ch;
  margin-top: 26px;
}
@media (max-width: 900px) {
  .hero--split .hero__grid {
    grid-template-columns: 1fr;
  }
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 440px;
  list-style: none;
  padding: 0;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: rgba(240, 244, 246, 0.85);
}
.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
  margin-top: 9px;
}

/* ---------- outcomes ---------- */

.sectionhead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.sectionhead h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 0;
}
.sectionhead--split {
  justify-content: space-between;
  margin-bottom: 40px;
}
.sectionhead__kicker {
  font-size: 15px;
  color: var(--slate);
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(27, 40, 48, 0.12);
}
.outcomes > * {
  padding: 32px 34px 8px;
  border-right: 1px solid rgba(27, 40, 48, 0.12);
}
.outcomes > *:first-child {
  padding-left: 0;
}
.outcomes > *:last-child {
  padding-right: 0;
  border-right: 0;
}
.outcomes__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 20px;
}
.outcomes h3 {
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.outcomes p {
  color: var(--slate);
  line-height: 1.65;
}
@media (max-width: 860px) {
  .outcomes {
    grid-template-columns: 1fr;
  }
  .outcomes > * {
    padding: 26px 0 22px !important;
    border-right: 0;
    border-bottom: 1px solid rgba(27, 40, 48, 0.12);
  }
  .outcomes > *:last-child {
    border-bottom: 0;
  }
}

/* ---------- service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--paper);
  border: 1px solid rgba(27, 40, 48, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card__what {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
}
.card__benefit {
  margin-top: auto;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}
.card--featured {
  background: var(--ink);
  border-color: var(--ink);
}
.card--featured h3 {
  color: var(--cloud);
}
.card--featured .card__what {
  color: rgba(240, 244, 246, 0.7);
}
.card--featured .card__benefit {
  color: var(--cloud);
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.process__step {
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}
.process__label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.process p {
  line-height: 1.65;
}

/* ---------- closing CTA ---------- */

.closer {
  text-align: center;
}
.closer h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--cloud);
  max-width: 20ch;
  margin: 0 auto;
}
.closer p {
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(240, 244, 246, 0.7);
  max-width: 52ch;
}
.closer .btn {
  margin-top: 34px;
}

.closer--paper h2 {
  color: var(--ink);
  max-width: 22ch;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
}
.closer--paper p {
  color: var(--slate);
  max-width: 56ch;
}

/* ---------- funnel step strip ---------- */

.funnelstrip {
  background: var(--ink-deep);
  padding-block: 36px;
}
.funnelstrip__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.funnelstrip__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.funnelstrip__step:last-child {
  flex: none;
}
.funnelstrip__line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.funnelstrip__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 244, 246, 0.35);
  flex: none;
}
.funnelstrip__rule {
  height: 1px;
  flex: 1;
  background: rgba(240, 244, 246, 0.2);
}
.funnelstrip__label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 244, 246, 0.55);
}
.funnelstrip__step.is-done .funnelstrip__dot,
.funnelstrip__step.is-current .funnelstrip__dot {
  background: var(--accent);
  border-color: var(--accent);
}
.funnelstrip__step.is-current .funnelstrip__label {
  color: var(--accent);
}
@media (max-width: 760px) {
  .funnelstrip__row {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .funnelstrip__step,
  .funnelstrip__step:last-child {
    flex: 0 0 calc(50% - 10px);
  }
  .funnelstrip__rule {
    display: none;
  }
}

/* ---------- forms ---------- */

.formcard {
  background: var(--mist);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  /* The card sits inside the dark hero, which sets light text, reset to ink
     so headings and any future copy stay readable on the light card. */
  color: var(--ink);
}
.formcard--flat {
  background: var(--paper);
  border: 1px solid rgba(27, 40, 48, 0.1);
  border-radius: 18px;
  box-shadow: none;
}
.formcard__step {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.formcard h2 {
  font-size: clamp(22px, 2.6vw, 26px);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.formcard__fine {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.field__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field__hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  font: 15px var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(27, 40, 48, 0.16);
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 50px;
}
textarea {
  min-height: 92px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
}

/* pill radio group */
.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pills input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pills label {
  font-size: 14px;
  color: var(--slate);
  border: 1px solid rgba(27, 40, 48, 0.16);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pills label:hover {
  border-color: var(--ink);
}
.pills input:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.pills input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.honey {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- authority / media split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.split--narrowfirst {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}
@media (max-width: 900px) {
  .split,
  .split--narrowfirst {
    grid-template-columns: 1fr;
  }
}

.split h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.split__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 44ch;
  margin-bottom: 26px;
}

.media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px solid rgba(27, 40, 48, 0.18);
  background: repeating-linear-gradient(135deg, rgba(27, 40, 48, 0.07) 0 8px, transparent 8px 16px);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.media img,
.media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: calc(var(--radius) - 1px);
}
.media__caption {
  font-family: var(--display);
  font-size: 11px;
  color: var(--slate);
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 6px;
}

.numlist {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(27, 40, 48, 0.12);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: num;
}
.numlist li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 40, 48, 0.12);
  font-size: 16px;
  line-height: 1.55;
  counter-increment: num;
}
.numlist li::before {
  content: "0" counter(num);
  font-family: var(--display);
  font-size: 12px;
  color: var(--sage);
  padding-top: 3px;
  flex: none;
}
.numlist--onink {
  border-top: 0;
}
.numlist--onink li {
  border-bottom: 0;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(240, 244, 246, 0.82);
}
.numlist--onink li::before {
  color: var(--accent);
  padding-top: 4px;
}

/* ---------- booking ---------- */

.booking h2 {
  color: var(--cloud);
}
.booking__body {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(240, 244, 246, 0.72);
  max-width: 36ch;
}
.bookingframe {
  background: var(--mist);
  border-radius: 18px;
  padding: 18px;
  min-height: 560px;
}
.bookingframe iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 12px;
}
.bookingframe__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  text-align: center;
  padding: 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid rgba(27, 40, 48, 0.12);
  max-width: 760px;
}
.faq details {
  border-bottom: 1px solid rgba(27, 40, 48, 0.12);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 30px 20px 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 22px;
  color: var(--sage);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "-";
}
.faq p {
  padding: 0 0 22px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------- prose (legal pages) ---------- */

.prose {
  max-width: 68ch;
}
.prose h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}
.prose__meta {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 30px;
}
.prose p {
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink-deep);
  color: rgba(240, 244, 246, 0.5);
  padding-block: 26px;
  font-size: 13px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:hover {
  color: var(--cloud);
}
.footer__links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer__tagline {
  color: rgba(240, 244, 246, 0.38);
  max-width: 46ch;
}

/* ---------- notices ---------- */

.notice {
  background: color-mix(in srgb, var(--accent) 18%, #fff);
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  margin-bottom: 20px;
}
.notice--error {
  background: #fdecec;
  border-color: #e5a3a3;
}

.centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.centered h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 18px;
}
.centered p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.7;
}
.centered .btn {
  margin-top: 30px;
}

/* ---------- human check ---------- */

.field--check {
  margin-top: 4px;
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
  cursor: pointer;
}
.checkline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--ink);
  cursor: pointer;
}

/* ---------- thanks page next step ---------- */

.nextstep {
  margin-top: 38px;
  padding: 30px;
  border: 1px solid rgba(27, 40, 48, 0.12);
  border-radius: var(--radius);
  background: var(--mist);
}
.nextstep h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  margin-bottom: 10px;
}
.nextstep p {
  color: var(--slate);
  margin-bottom: 22px;
}
.nextstep .btn {
  margin-top: 0;
}
.thanks__back {
  margin-top: 26px;
  font-size: 15px;
}
.thanks__back a {
  color: var(--slate);
}

/* ---------- numbered steps ---------- */

.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.steps__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}
.steps__num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.steps h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.steps p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
}

.numlist--wide {
  max-width: 820px;
}

/* ---------- privacy prompt ---------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--ink-deep);
  color: rgba(240, 244, 246, 0.85);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.consent[hidden] {
  display: none;
}
.consent__text {
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.55;
}
.consent__text a {
  color: var(--accent);
}
.consent__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.consent__decline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cloud);
}
.consent__decline:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- service groups ---------- */

.groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.group {
  padding-top: 24px;
  border-top: 3px solid var(--accent);
}
.group__title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.group__summary {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 26px;
  max-width: 34ch;
}
.group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.group__list li {
  padding: 16px 0;
  border-top: 1px solid rgba(27, 40, 48, 0.12);
}
.group__list li:last-child {
  border-bottom: 1px solid rgba(27, 40, 48, 0.12);
}
.group__name {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 5px;
}
.group__detail {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
}

/* Optional emphasis for one category, off by default. */
.group--featured {
  background: var(--ink);
  border-top-color: var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 26px 8px;
  margin-top: -24px;
  padding-top: 24px;
}
.group--featured .group__title,
.group--featured .group__name {
  color: var(--cloud);
}
.group--featured .group__summary,
.group--featured .group__detail {
  color: rgba(240, 244, 246, 0.72);
}
.group--featured .group__list li {
  border-color: rgba(240, 244, 246, 0.16);
}

/* ---------- scorecard quiz ---------- */

.shell--narrow {
  max-width: 780px;
}

.quiz__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 40, 48, 0.12);
  overflow: hidden;
}
.quiz__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}
.quiz__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 22px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.quiz__part {
  color: var(--sage);
}
.quiz h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  margin-bottom: 12px;
}
.quiz__prompt {
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 62ch;
}
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz__option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(27, 40, 48, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  font: 15px/1.5 var(--body);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.quiz__option:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.quiz__option.is-on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}
.quiz__score {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font: 700 13px/26px var(--display);
  text-align: center;
}
.quiz__nav {
  margin-top: 22px;
}
.quiz__back {
  background: rgba(27, 40, 48, 0.08);
  color: var(--ink);
}
.quiz__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--slate);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- result ---------- */

.result__score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.result__score b {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.result__score span {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.result__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 62ch;
  margin-bottom: 34px;
}
.result__parts h3,
.result__capture h3 {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.result__part {
  margin-bottom: 16px;
}
.result__partHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 15px;
}
.result__partHead b {
  font-family: var(--display);
}
.result__insight {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--slate);
  line-height: 1.65;
  max-width: 62ch;
}
.result__cta {
  margin: 34px 0;
}
.result__capture {
  margin-top: 34px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(27, 40, 48, 0.12);
  border-radius: var(--radius);
}
.result__capture p {
  color: var(--slate);
  margin-bottom: 20px;
  max-width: 56ch;
}

.result__weakest {
  margin-top: 28px;
  padding: 22px 24px;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}
.result__weakest h3 {
  margin-bottom: 8px;
}
.result__weakest p {
  color: var(--ink);
  line-height: 1.65;
}
