:root {
  --bone: #eef0f4;
  --paper: #e6e9ef;
  --ink: #0d1526;
  --graphite: #454b5c;
  --silver: #b6bcc7;
  --hair: rgba(13, 21, 38, 0.14);
  --royal: #2b428f;
  --royal-deep: #1c2f6b;
  --royal-pale: #a9b8e6;
  --burgundy: #56061d;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }

em { font-style: italic; color: var(--royal); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--royal);
  color: var(--bone);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(43, 66, 143, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(238, 240, 244, 0.16);
}
.site-header__inner {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: 0.95rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding-block: 0.25rem; border-bottom: 1px solid transparent; color: var(--bone); }
.nav a:not(.btn):hover { border-bottom-color: var(--bone); }
.site-header .btn--small { background: var(--bone); color: var(--royal); }
.site-header .btn--small:hover { background: #fff; color: var(--royal); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--royal);
  color: var(--bone);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--royal-deep); color: #fff; transform: translateY(-2px); }
.btn span { transition: transform 0.25s ease; }
.btn:hover span { transform: translateX(4px); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: var(--silver); color: var(--ink); }

/* Hero */
.hero {
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 8.3vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 28ch;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--graphite);
}
.hero__copy > p:nth-of-type(2) { margin-top: 2rem; }

.hero__quiz-bubble {
  margin-top: 1.1rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(43, 66, 143, 0.07);
  border: 1px solid rgba(43, 66, 143, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__quiz-bubble p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite);
}
.hero__quiz-bubble .btn--small { white-space: nowrap; }

.hero__art {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  justify-self: end;
}
.hero__logo {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(2, 46, 76, 0.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hair);
}
.ring--inner { inset: 5%; }
.ring--outer { inset: -6%; }
.orbit {
  position: absolute;
  animation: spin 48s linear infinite;
}
.orbit--outer { inset: -6%; }
.orbit--inner { inset: 5%; animation-duration: 30s; animation-direction: reverse; }
.orbit__dot {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--royal);
}
.orbit__dot--burgundy {
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(86, 6, 29, 0.12);
}
.orbit__tag {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 12px;
  margin-top: -11px;
}
.orbit__label {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  color: var(--royal);
  animation: spin 48s linear infinite reverse;
}
.orbit__label--burgundy {
  color: var(--burgundy);
  animation-duration: 30s;
  animation-direction: normal;
}

/* Clients */
.clients { border-block: 1px solid var(--hair); padding-block: 1.75rem 1.5rem; }
.clients__label {
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-inline-end: clamp(2.5rem, 6vw, 4.5rem);
}
.clients__item {
  display: flex;
  align-items: center;
  height: clamp(26px, 4vw, 36px);
}
.clients__item img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.clients__item img:hover { filter: grayscale(0); opacity: 1; }
.clients__item--lg { height: clamp(34px, 5.4vw, 48px); }
.clients__item--xl { height: clamp(39px, 6.2vw, 55px); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Services */
.services { padding-block: clamp(4rem, 9vw, 8rem); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tag {
  border: 1px solid var(--royal);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.section-head__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.section-head__prompt {
  font-size: 0.85rem;
  color: var(--graphite);
  margin-left: 0.25rem;
}
.tag--link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--royal);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tag--link span { transition: transform 0.2s ease; }
.tag--link:hover { background: var(--royal); color: var(--bone); }
.tag--link:hover span { transform: translateX(3px); }
/* Services accordion (pure CSS, radio-driven, no JS) */
.accordion {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  height: clamp(380px, 42vw, 460px);
}
.accordion__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.accordion__panel {
  position: relative;
  flex: 0 1 68px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  padding: 1.5rem 1.15rem;
  transition: flex-grow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.5s ease, color 0.5s ease;
}
.accordion__panel:hover { background: var(--silver); }
.accordion__radio:checked + .accordion__panel {
  flex: 8 1 0;
  background: var(--royal);
  color: var(--bone);
}
.accordion__radio:checked + .accordion__panel--burgundy { background: var(--burgundy); }
.accordion__radio:focus-visible + .accordion__panel { outline: 3px solid var(--royal); outline-offset: 2px; }
.accordion__icon {
  align-self: flex-end;
  flex-shrink: 0;
  width: 46px;
  height: 34px;
  object-fit: contain;
  object-position: top right;
  transition: filter 0.3s ease;
}
.accordion__radio:checked + .accordion__panel .accordion__icon {
  filter: brightness(0) invert(1);
}
.accordion__vert {
  margin-top: auto;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 1.5rem;
  white-space: nowrap;
}
.accordion__radio:checked + .accordion__panel .accordion__vert { display: none; }
.accordion__content { display: none; margin-top: auto; padding-top: 1.5rem; }
.accordion__radio:checked + .accordion__panel .accordion__content { display: block; }
.accordion__bar {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  vertical-align: -0.1em;
  margin-right: 0.6rem;
  opacity: 0.7;
}
.accordion__content h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.75rem;
  display: inline;
}
.accordion__content p { max-width: 40ch; color: inherit; opacity: 0.85; line-height: 1.55; margin-top: 0.75rem; }
.accordion__content p.accordion__cta { margin-top: 1.25rem; opacity: 1; }

/* Statement */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--royal);
  color: var(--bone);
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}
.statement__inner { position: relative; z-index: 1; }
.statement h2 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
}
.statement em { color: var(--royal-pale); }
.statement p { margin-top: 2.25rem; }
.statement__disc {
  position: absolute;
  right: -12vw;
  top: 50%;
  width: min(48vw, 560px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, #d7dae2 0%, #b1b7c9 22%, #6b7391 58%, #2c3455 100%);
  opacity: 0.9;
}

/* Testimonials */
.testimonials { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.marquee__track--testimonials { animation-duration: 65s; }
.marquee__group--testimonials { align-items: stretch; gap: 1.25rem; padding-inline-end: 1.25rem; }
.t-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-shrink: 0;
  width: clamp(280px, 30vw, 340px);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
}
.t-card__draft {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
  border: 1px dashed var(--royal);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.t-card__stars {
  color: var(--royal);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}
.t-card__quote {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}
.t-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hair);
  font-size: 0.85rem;
  color: var(--graphite);
}
.t-card__footer p { margin: 0; line-height: 1.4; }
.t-card__footer strong { color: var(--ink); font-weight: 600; }
.t-card__footer img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.75;
}

/* About */
.about { padding-block: clamp(4rem, 9vw, 8rem); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__body p { max-width: 52ch; }
.about__body p + p { margin-top: 1.25rem; }
.founder {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hair);
}
.founder__mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--royal);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}
.founder__text { margin: 0; line-height: 1.35; }
.founder__text strong { font-weight: 600; }

/* Connect */
.connect {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--hair);
  background: var(--paper);
}
.connect__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.connect h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.connect__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
}
.connect__quiz-bubble { margin-top: 0; }

/* Tablet / small-laptop: the heading + CTA no longer fit on one row here,
   so stack and center them instead of leaving them wrap-and-left-align
   with dead space beside them. */
@media (max-width: 1100px) {
  .connect__inner { flex-direction: column; align-items: center; text-align: center; }
  .connect__cta { align-items: center; }
}

/* Footer */
.site-footer { font-size: 0.9rem; color: var(--graphite); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
}

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(1turn); } }
.rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.3s; }

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

/* Small screens */
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { justify-self: center; max-width: min(78vw, 420px); }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .accordion { flex-direction: column; height: auto; gap: 0.7rem; }
  .accordion__panel {
    flex: 0 0 auto;
    min-height: 60px;
    flex-direction: row;
    align-items: center;
    padding: 0.9rem 1.15rem;
  }
  .accordion__icon { order: 2; margin-left: 0.75rem; }
  .accordion__vert {
    writing-mode: horizontal-tb;
    transform: none;
    margin-top: 0;
    order: 1;
    font-size: 1.05rem;
    white-space: normal;
  }
  .accordion__radio:checked + .accordion__panel {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    min-height: 280px;
    padding: 1.5rem 1.25rem;
  }
  .accordion__radio:checked + .accordion__panel .accordion__icon { align-self: flex-end; margin-left: 0; order: 0; }
  .accordion__radio:checked + .accordion__panel .accordion__content { margin-top: 1.25rem; }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .statement__disc { right: -30vw; width: 70vw; opacity: 0.55; }
  .btn { padding: 0.9rem 1.35rem; }

  /* Mobile readability pass */
  .hero { padding-block: 2.25rem 2.5rem; }
  .hero__grid { gap: 1.75rem; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }
  .hero__sub { font-size: 1.05rem; line-height: 1.55; max-width: 34ch; }
  .hero__art { max-width: min(60vw, 270px); margin-top: 0.5rem; }
  .orbit__tag { display: none; }

  h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); letter-spacing: -0.015em; }
  .statement h2 { font-size: clamp(2rem, 9.5vw, 2.5rem); line-height: 1.12; }
  .statement { padding-block: 3rem; }
  .statement__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .statement h2 { max-width: none; }
  .connect h2 { font-size: clamp(2.2rem, 10vw, 2.8rem); }

  .services, .about, .testimonials { padding-block: 3rem; }
  .clients { padding-block: 1.4rem 1.1rem; text-align: center; }
  .clients__label, .clients__row { justify-content: center; }

  .section-head { flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
  .section-head__tags { justify-content: center; }
  .testimonials .wrap.section-head, .testimonials h2 { text-align: center; align-items: center; }

  .about h2 { text-align: center; }
  .about__body p { font-size: 1.02rem; line-height: 1.6; text-align: left; }
  .founder { margin-top: 1.75rem; padding-top: 1.4rem; justify-content: center; }

  .connect__inner { flex-direction: column; align-items: center; text-align: center; }
  .connect__cta { align-items: center; }

  /* Quiz bubble: rounded card instead of a stretched pill */
  .hero__quiz-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    border-radius: 20px;
    padding: 1.25rem;
    gap: 1rem;
  }
  .hero__quiz-bubble p {
    font-size: 0.95rem;
    max-width: 28ch;
  }
  .hero__quiz-bubble .btn--small {
    width: 100%;
    justify-content: center;
  }
}

/* Quiz */
.quiz-wrap { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); min-height: 70vh; }
.quiz-shell { max-width: 680px; }
.quiz-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--hair);
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.quiz-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--royal);
  transition: width 0.4s ease;
}
.quiz-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 24px;
  padding: clamp(1.75rem, 5vw, 3rem);
}
.quiz-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 1rem;
}
.quiz-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quiz-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.quiz-lede { margin-top: 1rem; color: var(--graphite); max-width: 52ch; line-height: 1.6; }
.quiz-card > .btn { margin-top: 1.75rem; }

.quiz-options { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.7rem; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.quiz-option:hover { border-color: var(--royal); transform: translateX(2px); }
.quiz-option.is-selected { background: var(--royal); border-color: var(--royal); color: var(--bone); }
.quiz-option__letter {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}
.quiz-back {
  margin-top: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--graphite);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-card--results h2 { display: block; }
.quiz-tier__max { font-size: 0.55em; opacity: 0.6; }
.quiz-bars { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.quiz-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.quiz-bar__track { height: 8px; border-radius: 999px; background: var(--hair); overflow: hidden; }
.quiz-bar__fill { height: 100%; border-radius: 999px; background: var(--royal); transition: width 0.6s ease; }

.quiz-reco {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: 16px;
  background: var(--bone);
  border: 1px dashed var(--royal);
}
.quiz-reco__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 0.4rem;
}
.quiz-reco__text { color: var(--ink); line-height: 1.55; }

.quiz-form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.quiz-field { display: flex; flex-direction: column; gap: 0.4rem; }
.quiz-field span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.quiz-field input {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--bone);
  color: var(--ink);
}
.quiz-field input:focus-visible { outline: 2px solid var(--royal); outline-offset: 1px; }
.quiz-form > .btn { margin-top: 0.5rem; align-self: flex-start; }

.quiz-fallback { margin-top: 1rem; font-weight: 600; }
.quiz-fallback a { color: var(--royal); }

@media (max-width: 560px) {
  .quiz-card { padding: 1.5rem 1.25rem; border-radius: 18px; }
  .quiz-form > .btn, .quiz-card > .btn { width: 100%; justify-content: center; }
}
.quiz-choices { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.quiz-lede--small { margin-top: 1.5rem; font-size: 0.9rem; }
@media (max-width: 560px) { .quiz-choices .btn { width: 100%; justify-content: center; } }
.quiz-consent { font-size: 0.8rem; line-height: 1.5; color: var(--graphite); }
.quiz-consent a { color: var(--royal); font-weight: 600; }
.quiz-progress[hidden] { display: none; }
