:root {
  --night: #001d2a;
  --night-2: #04131c;
  --gold: #c59d5f;
  --gold-soft: #d7b780;
  --ivory: #f3efe6;
  --paper: #faf7ef;
  --paper-2: #fffdf8;
  --ink: #1f2224;
  --steel: #2b2b2b;
  --muted: #6f706c;
  --line: rgba(197, 157, 95, .24);
  --hairline: rgba(0, 29, 42, .12);
  --shadow: 0 18px 45px rgba(0, 20, 30, .12);
  --content: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes cdmSoftRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cdmSoftScale {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cdmQuestionIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cdmSweep {
  from {
    transform: translateX(-130%) skewX(-14deg);
  }
  to {
    transform: translateX(130%) skewX(-14deg);
  }
}

@keyframes cdmCompassGlow {
  0%, 100% {
    opacity: .18;
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
  50% {
    opacity: .28;
    transform: translateY(-50%) rotate(2deg) scale(1.025);
  }
}

@keyframes cdmHeaderEnter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cdmHeroRing {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: .82;
  }
  50% {
    transform: translateY(-50%) scale(1.035);
    opacity: 1;
  }
}

@keyframes cdmHeroMarkGlow {
  0%, 100% {
    opacity: .6;
    filter:
      drop-shadow(0 28px 70px rgba(0, 0, 0, .34))
      drop-shadow(0 0 24px rgba(197, 157, 95, .14));
  }
  50% {
    opacity: .74;
    filter:
      drop-shadow(0 34px 82px rgba(0, 0, 0, .38))
      drop-shadow(0 0 38px rgba(215, 183, 128, .28));
  }
}

@keyframes cdmGoldBreath {
  0%, 100% {
    box-shadow: 0 0 0 rgba(197, 157, 95, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(197, 157, 95, .11), 0 18px 44px rgba(197, 157, 95, .18);
  }
}

@keyframes cdmDockEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cdmSelectedPulse {
  0%, 100% {
    box-shadow: inset 4px 0 0 var(--gold), 0 14px 32px rgba(0, 20, 30, .08);
  }
  50% {
    box-shadow: inset 4px 0 0 var(--gold), 0 18px 42px rgba(197, 157, 95, .18);
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px max(clamp(18px, 4vw, 56px), calc((100vw - var(--content)) / 2));
  color: var(--ivory);
  background: rgba(0, 29, 42, .96);
  border-bottom: 1px solid rgba(197, 157, 95, .24);
  backdrop-filter: blur(16px);
  animation: cdmHeaderEnter .5s ease both;
}

.site-header.compact {
  position: static;
  display: flex;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(.96rem, 2vw, 1.12rem);
  letter-spacing: .1em;
  font-weight: 500;
  text-transform: uppercase;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
  transition: transform .32s ease, filter .32s ease;
}

.brand:hover .brand-symbol {
  transform: rotate(11deg) scale(1.07);
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, .24))
    drop-shadow(0 0 18px rgba(215, 183, 128, .28));
}

.main-nav,
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  color: rgba(243, 239, 230, .74);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
}

.main-nav a,
.nav-link {
  position: relative;
  isolation: isolate;
  padding: 8px 0;
  transition: color .22s ease, transform .22s ease, text-shadow .22s ease;
}

.main-nav a::before,
.nav-link::before {
  content: "";
  position: absolute;
  inset: -7px -10px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .22s ease, transform .22s ease;
}

.main-nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: left .24s ease, right .24s ease, opacity .24s ease;
}

.main-nav a:hover,
.nav-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(215, 183, 128, .25);
}

.main-nav a:hover::before,
.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.main-nav a:hover::after,
.nav-link:hover::after {
  left: 0;
  right: 0;
  opacity: 1;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  margin-left: auto;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: rgba(243, 239, 230, .86);
  border: 1px solid rgba(197, 157, 95, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.community-badge:hover {
  border-color: rgba(215, 183, 128, .7);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.header-cta {
  min-height: 38px;
  padding: 9px 14px;
  color: #09151b;
  background: var(--gold);
  border-color: rgba(255, 255, 255, .16);
  white-space: nowrap;
  animation: cdmGoldBreath 4.2s ease-in-out infinite;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 76px));
  overflow: hidden;
  color: var(--ivory);
  background:
    linear-gradient(110deg, rgba(0, 29, 42, 1) 0%, rgba(0, 24, 35, .98) 48%, rgba(4, 19, 28, 1) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 16, 24, .72) 0%, rgba(0, 16, 24, .18) 62%, rgba(0, 16, 24, .1) 100%),
    repeating-linear-gradient(90deg, rgba(243, 239, 230, .035) 0 1px, transparent 1px 96px);
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(46px, 5vw, 66px) 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 0;
  animation: cdmSoftRise .7s ease both;
}

.hero h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(3.55rem, 5vw, 4.55rem);
  line-height: .96;
  letter-spacing: -.025em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:last-child {
  color: var(--gold-soft);
}

.hero-visual {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: start center;
  padding-top: 4px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -28px 2% 16px;
  border: 1px solid rgba(215, 183, 128, .1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 34%, rgba(197, 157, 95, .12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 56%);
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  width: min(510px, 43vw);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 183, 128, .34);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(197, 157, 95, .035),
    0 0 0 54px rgba(197, 157, 95, .025),
    inset 0 0 70px rgba(197, 157, 95, .08);
  animation: cdmHeroRing 7s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 20px rgba(215, 183, 128, .5);
  transform: translateX(-50%);
}

.hero-orbit::after {
  top: auto;
  bottom: -5px;
  width: 9px;
  height: 9px;
  opacity: .56;
}

.hero-mark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(470px, 40vw);
  opacity: .66;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 30px 68px rgba(0, 0, 0, .34))
    drop-shadow(0 0 18px rgba(197, 157, 95, .12));
  transition: transform .42s ease, opacity .42s ease;
  animation: cdmHeroMarkGlow 6.5s ease-in-out infinite;
}

.hero:hover .hero-mark {
  transform: translate(-50%, -50%) scale(1.018);
}

.hero-result-preview {
  position: relative;
  z-index: 3;
  width: min(404px, 92%);
  padding: 24px;
  overflow: hidden;
  color: var(--ivory);
  border: 1px solid rgba(215, 183, 128, .42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 183, 128, .2), transparent 38%),
    linear-gradient(145deg, rgba(6, 35, 47, .94), rgba(0, 20, 30, .92));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  animation: cdmSoftScale .62s .22s ease both;
}

.hero-result-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.hero-preview-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(243, 239, 230, .72);
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-preview-kicker img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-preview-profile {
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(215, 183, 128, .24);
}

.hero-preview-profile > p {
  margin: 0 0 4px;
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-preview-profile > strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.hero-preview-profile > span {
  display: block;
  margin-top: 10px;
  color: rgba(243, 239, 230, .72);
  font-size: .86rem;
}

.hero-preview-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0;
}

.hero-preview-details div {
  display: grid;
  gap: 5px;
}

.hero-preview-details span {
  color: rgba(243, 239, 230, .5);
  font-size: .66rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-preview-details strong {
  color: rgba(243, 239, 230, .82);
  font-size: .78rem;
  line-height: 1.35;
}

.hero-preview-deliverables {
  margin: 0 -24px -24px;
  padding: 13px 24px;
  color: rgba(243, 239, 230, .72);
  border-top: 1px solid rgba(215, 183, 128, .2);
  background: rgba(197, 157, 95, .08);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-bar {
  position: relative;
  z-index: 4;
  width: min(var(--content), calc(100% - 40px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(197, 157, 95, .3);
  border-radius: 6px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 20px 52px rgba(0, 20, 30, .14);
}

.trust-bar div {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px 24px;
  border-right: 1px solid rgba(0, 29, 42, .09);
}

.trust-bar div:last-child {
  border-right: 0;
}

.trust-bar strong {
  color: var(--night);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.trust-bar span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 680;
}

.hero-logo {
  width: min(155px, 46vw);
  margin-bottom: 18px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  font-weight: 400;
}

.hero h1,
.hero .lead,
.hero .actions {
  animation: cdmSoftRise .68s ease both;
}

.hero .lead {
  animation-delay: .08s;
}

.hero .actions {
  animation-delay: .16s;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  font-weight: 400;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}

.lead {
  max-width: 660px;
  color: rgba(243, 239, 230, .86);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 20, 30, 0);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .28) 42%, transparent 58%);
  transform: translateX(-125%);
  transition: transform .62s ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 20, 30, .22);
}

.button:hover::before {
  transform: translateX(125%);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 20, 30, .14);
}

.button.primary {
  color: #09151b;
  background: var(--gold);
  border-color: rgba(255, 255, 255, .12);
  animation: cdmGoldBreath 4.8s ease-in-out infinite;
}

.button.primary:hover {
  background: var(--gold-soft);
  box-shadow: 0 18px 42px rgba(197, 157, 95, .28);
}

.button.secondary {
  color: var(--ivory);
  background: var(--night);
  border-color: var(--line);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: rgba(215, 183, 128, .72);
}

.button.ghost {
  color: inherit;
  background: transparent;
  border-color: rgba(197, 157, 95, .38);
}

.fine-print {
  color: rgba(243, 239, 230, .7);
  font-size: .86rem;
}

.mobile-trust-strip {
  display: none;
}

.section {
  padding: clamp(68px, 9vw, 112px) max(clamp(20px, 5vw, 72px), calc((100vw - var(--content)) / 2));
}

.intent-panel {
  width: min(var(--content), calc(100% - 40px));
  margin: clamp(24px, 5vw, 46px) auto 0;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(0, 29, 42, .1);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 16px 42px rgba(0, 20, 30, .08);
}

.intent-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.intent-heading p:not(.section-label) {
  max-width: 680px;
  color: var(--muted);
}

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

.intent-grid a {
  display: grid;
  position: relative;
  overflow: hidden;
  gap: 8px;
  min-height: 142px;
  padding: 18px 54px 18px 18px;
  border: 1px solid rgba(0, 29, 42, .1);
  border-radius: 5px;
  background: #fffdfa;
  box-shadow: 0 0 0 rgba(0, 20, 30, 0);
  transition: border-color .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.intent-grid a::after {
  content: attr(data-index);
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 15px;
  color: rgba(197, 157, 95, .38);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.intent-grid a::before,
.profile-card::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 0 34%, rgba(215, 183, 128, .16) 45%, transparent 58% 100%);
  transform: translateX(-125%) skewX(-12deg);
  transition: transform .72s ease;
  pointer-events: none;
}

.intent-grid a > *,
.profile-card > *,
.result-card > * {
  position: relative;
  z-index: 1;
}

.intent-grid a:hover {
  border-color: rgba(197, 157, 95, .5);
  background: var(--paper-2);
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(0, 20, 30, .14);
}

.intent-grid a:hover::before,
.profile-card:hover::before,
.result-card:hover::before {
  transform: translateX(125%) skewX(-12deg);
}

.intent-grid span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.intent-grid strong {
  align-self: end;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.16;
  font-weight: 500;
}

.quiz-mobile-intro {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.section-ruled {
  border-top: 1px solid rgba(0, 29, 42, .08);
}

.approach,
.why {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .7fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.section-copy h2 {
  max-width: 760px;
}

.section-copy h2 span {
  display: block;
}

.approach {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(60px, 7vw, 88px);
}

.approach .section-copy h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.85rem, 4.6vw, 4rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.carnet-miniature {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 28px 0 4px;
}

.carnet-miniature-stage {
  position: relative;
  isolation: isolate;
  height: clamp(232px, 24vw, 286px);
}

.carnet-miniature-page,
.carnet-miniature-cover {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(0, 29, 42, .14);
  background: #f3efe6;
  transition: transform .38s cubic-bezier(.2, .75, .25, 1), box-shadow .38s ease;
}

.carnet-miniature-page {
  z-index: 1;
  top: 14px;
  left: clamp(132px, 17vw, 198px);
  width: clamp(146px, 17vw, 190px);
  aspect-ratio: 595 / 842;
  box-shadow: 0 18px 42px rgba(0, 29, 42, .15);
  transform: rotate(4deg);
}

.carnet-miniature-cover {
  z-index: 2;
  top: 0;
  left: clamp(6px, 3vw, 30px);
  width: clamp(158px, 18vw, 204px);
  aspect-ratio: 1027 / 1280;
  border-color: rgba(215, 183, 128, .48);
  box-shadow:
    5px 6px 0 #fffdf8,
    7px 8px 0 rgba(0, 29, 42, .12),
    0 24px 48px rgba(0, 29, 42, .24);
  transform: rotate(-2.2deg);
}

.carnet-miniature-page img,
.carnet-miniature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carnet-miniature-cover::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 9px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18));
  pointer-events: none;
}

.carnet-miniature-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: clamp(2px, 2vw, 26px);
  padding: 8px 11px 7px;
  color: var(--night);
  border: 1px solid rgba(0, 29, 42, .12);
  background: rgba(243, 239, 230, .95);
  box-shadow: 0 8px 20px rgba(0, 29, 42, .12);
  font-size: .59rem;
  font-weight: 780;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.carnet-miniature:hover .carnet-miniature-cover {
  box-shadow:
    5px 8px 0 #fffdf8,
    7px 10px 0 rgba(0, 29, 42, .12),
    0 28px 54px rgba(0, 29, 42, .28);
  transform: rotate(-1deg) translateY(-6px);
}

.carnet-miniature:hover .carnet-miniature-page {
  transform: rotate(5deg) translateX(8px);
}

.text-stack,
.split-content {
  color: #353838;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.82;
}

.approach .text-stack {
  padding: 10px 0 10px 30px;
  border-left: 2px solid var(--gold);
}

.text-stack-intro {
  margin-bottom: 12px;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.carnet-benefits {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 29, 42, .12);
  list-style: none;
}

.carnet-benefits li {
  position: relative;
  padding: 12px 0 12px 24px;
  color: var(--night);
  border-bottom: 1px solid rgba(0, 29, 42, .09);
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.4;
}

.carnet-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.carnet-closing {
  position: relative;
  margin: 22px 0 0;
  padding-top: 18px;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.35;
}

.carnet-closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 1px;
  background: var(--gold);
}

@media (min-width: 921px) {
  .carnet-miniature-stage {
    height: 310px;
  }

  .carnet-miniature-cover {
    left: 18px;
    width: 224px;
  }

  .carnet-miniature-page {
    left: 220px;
    width: 205px;
  }

  .carnet-miniature-badge {
    left: 390px;
    right: auto;
    top: 20px;
  }
}

.why {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 84% 16%, rgba(197, 157, 95, .12), transparent 28%),
    linear-gradient(135deg, var(--night), #061720);
  border-color: rgba(197, 157, 95, .2);
}

.why .split-content {
  color: rgba(243, 239, 230, .82);
}

.method-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
}

.method-intro h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.75rem, 4.8vw, 4.2rem);
  line-height: .96;
  letter-spacing: -.025em;
}

.method-intro > p {
  margin: 0 0 4px;
  padding-left: 24px;
  color: rgba(243, 239, 230, .72);
  border-left: 1px solid rgba(215, 183, 128, .5);
  font-size: 1rem;
  line-height: 1.7;
}

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(38px, 5vw, 62px);
  border-top: 1px solid rgba(215, 183, 128, .24);
  border-bottom: 1px solid rgba(215, 183, 128, .18);
  background: rgba(255, 255, 255, .025);
}

.method-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(16.666% + 22px);
  right: calc(16.666% + 22px);
  top: 50px;
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 157, 95, .24), var(--gold), rgba(197, 157, 95, .24));
}

.method-steps article {
  position: relative;
  z-index: 1;
  min-height: 242px;
  padding: 92px clamp(22px, 3vw, 38px) 32px;
  border: 0;
  border-right: 1px solid rgba(215, 183, 128, .16);
  background: transparent;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.method-steps article:last-child {
  border-right: 0;
}

.method-steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 183, 128, .34);
  background: radial-gradient(circle at 50% 0%, rgba(197, 157, 95, .13), rgba(255, 255, 255, .045));
}

.method-steps span {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--night);
  border: 4px solid var(--night);
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(215, 183, 128, .5), 0 0 26px rgba(197, 157, 95, .2);
  font-family: var(--serif);
  font-size: .88rem;
  transform: translateX(-50%);
}

.method-steps strong {
  display: block;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.method-steps p {
  max-width: 27ch;
  margin: 14px auto 0;
  color: rgba(243, 239, 230, .68);
  font-size: .9rem;
  line-height: 1.62;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.profile-card,
.result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(255, 253, 248, .72);
  box-shadow: none;
}

.profile-card {
  min-height: 164px;
  padding: 22px 52px 22px 22px;
  border-top: 2px solid var(--gold);
  transition: border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.profile-card::after {
  content: attr(data-profile);
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  color: rgba(197, 157, 95, .42);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.profile-card:hover {
  background: var(--paper-2);
  border-color: rgba(197, 157, 95, .5);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 20, 30, .13);
}

.profile-card p,
.result-card p {
  color: var(--muted);
}

.discernment {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 54px);
  color: var(--ivory);
  background: linear-gradient(135deg, var(--night), var(--night-2));
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.discernment p:not(.section-label) {
  max-width: 650px;
  color: rgba(243, 239, 230, .76);
}

.community {
  display: block;
  scroll-margin-top: 88px;
}

.community-intro {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.community-copy h2 {
  margin-bottom: 0;
  text-wrap: balance;
}

.community-context {
  max-width: 590px;
  justify-self: end;
  padding-top: 0;
}

.community-membership {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.community-facebook-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--night);
  border: 1px solid rgba(197, 157, 95, .7);
  border-radius: 50%;
}

.community-facebook-mark .community-facebook-icon {
  width: 18px;
  height: 18px;
}

.community-lead {
  margin: 0;
}

.community-complement {
  max-width: 52ch;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  border-left: 2px solid var(--gold);
}

.community-context .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.community-facebook-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.community-member-count {
  display: grid;
  gap: 8px;
  margin: 0;
}

.community-member-count strong {
  color: var(--night);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.community-member-count span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px max(clamp(20px, 5vw, 72px), calc((100vw - var(--content)) / 2));
  color: rgba(243, 239, 230, .62);
  background: var(--night);
  border-top: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: rgba(243, 239, 230, .72);
  font-family: var(--serif);
  font-size: .88rem;
  line-height: 1;
  letter-spacing: .03em;
  text-decoration: none;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(197, 157, 95, .2));
}

.footer-brand:hover {
  color: var(--ivory);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a,
.footer-link-button {
  color: rgba(243, 239, 230, .72);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-link-button:hover {
  color: var(--ivory);
}

.quiz-page,
.result-page,
.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(197, 157, 95, .18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(215, 183, 128, .12), transparent 28%),
    linear-gradient(135deg, var(--night) 0%, #071016 58%, #061720 100%);
}

.quiz-shell,
.result-shell,
.thanks-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 7vw, 82px) 0;
}

.quiz-panel,
.thanks-card,
.result-hero,
.community-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 247, 239, .96);
  box-shadow: var(--shadow);
}

.quiz-panel {
  width: min(780px, 100%);
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 46px);
  overflow: hidden;
  scroll-margin-top: 88px;
}

.quiz-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .9rem;
}

.progress-track {
  height: 6px;
  margin: 18px 0 42px;
  overflow: hidden;
  background: rgba(0, 29, 42, .1);
  border-radius: 999px;
}

#quiz-progress {
  position: relative;
  overflow: hidden;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 18px rgba(197, 157, 95, .28);
  transition: width .34s ease;
}

#quiz-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent);
  animation: cdmSweep 1.8s ease-in-out infinite;
}

#quiz-content,
.quiz-content-animate {
  animation: cdmQuestionIn .28s ease both;
}

.quiz-question {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
}

.answer-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.answer-option {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(0, 29, 42, .14);
  border-radius: 6px;
  background: #fffdfa;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 20, 30, 0);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.quiz-content-animate .answer-option {
  animation: cdmQuestionIn .24s ease both;
  animation-delay: calc(var(--answer-index, 0) * 45ms);
}

.answer-option:hover {
  border-color: rgba(197, 157, 95, .46);
  background: var(--paper-2);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 20, 30, .11);
}

.answer-option.selected,
.answer-option:has(input:checked) {
  border-color: rgba(197, 157, 95, .78);
  background: #fff8e9;
  box-shadow: inset 4px 0 0 var(--gold), 0 14px 32px rgba(0, 20, 30, .08);
  transform: translateY(-1px);
  animation: cdmSelectedPulse .34s ease-out 1;
}

.answer-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.answer-option strong {
  display: block;
  margin-bottom: 0;
}

.answer-option span {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.answer-option strong {
  min-width: 0;
  overflow-wrap: break-word;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
}

.quiz-actions [hidden] {
  display: none !important;
}

.result-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 62px);
  color: var(--ivory);
  background:
    radial-gradient(circle at 82% 22%, rgba(215, 183, 128, .18), transparent 0 24%, rgba(215, 183, 128, .07) 25%, transparent 42%),
    linear-gradient(135deg, rgba(0, 29, 42, .98), rgba(4, 19, 28, .96) 62%, rgba(0, 29, 42, .98));
  box-shadow: 0 28px 70px rgba(0, 20, 30, .2);
  animation: cdmSoftScale .58s ease both;
}

.result-hero::before {
  content: "";
  position: absolute;
  right: clamp(-90px, -6vw, -38px);
  top: 50%;
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 183, 128, .28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(215, 183, 128, .22) 49.5% 50.5%, transparent 50.6%),
    linear-gradient(0deg, transparent 49.4%, rgba(215, 183, 128, .2) 49.5% 50.5%, transparent 50.6%),
    radial-gradient(circle, rgba(215, 183, 128, .3) 0 3%, transparent 3.5% 18%, rgba(215, 183, 128, .12) 18.5% 19.5%, transparent 20% 100%);
  opacity: .22;
  pointer-events: none;
  animation: cdmCompassGlow 7s ease-in-out infinite;
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .06) 47%, transparent 53% 100%),
    repeating-linear-gradient(90deg, rgba(243, 239, 230, .035) 0 1px, transparent 1px 92px);
  opacity: .5;
  pointer-events: none;
}

.result-hero > * {
  position: relative;
  z-index: 1;
}

.result-boussole {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 157, 95, .32);
  color: rgba(243, 239, 230, .82);
  background: rgba(0, 0, 0, .14);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: cdmSoftRise .42s ease both;
}

.result-boussole img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.result-hero h1,
.result-hero .lead {
  animation: cdmSoftRise .52s ease both;
}

.result-hero .lead {
  animation-delay: .08s;
}

.result-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.result-pair div {
  padding: 18px;
  border: 1px solid rgba(197, 157, 95, .3);
  background: rgba(0, 0, 0, .16);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
  animation: cdmSoftRise .5s ease both;
}

.result-pair div:nth-child(2) {
  animation-delay: .08s;
}

.result-pair div:hover {
  border-color: rgba(215, 183, 128, .58);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

.result-pair span {
  display: block;
  color: rgba(243, 239, 230, .62);
  font-size: .85rem;
}

.result-pair strong {
  font-size: 1.3rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.result-card {
  padding: 24px;
  border-color: rgba(197, 157, 95, .25);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .99), rgba(244, 237, 224, .97));
  box-shadow: 0 14px 34px rgba(0, 20, 30, .08);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.result-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.result-card:hover {
  border-color: rgba(197, 157, 95, .5);
  background: var(--paper-2);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 20, 30, .12);
}

.result-card.wide {
  grid-column: 1 / -1;
}

.result-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.result-card ul {
  margin: 0;
  padding-left: 20px;
}

.result-card li {
  margin-bottom: 9px;
}

.result-card li::marker {
  color: var(--gold);
}

.community-cta,
.carnet-cta,
.share-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 44px);
}

.community-cta h2,
.carnet-cta h2,
.share-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.share-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 247, 239, .96);
  box-shadow: var(--shadow);
}

.share-cta p:not(.section-label) {
  max-width: 620px;
  color: var(--muted);
}

.share-action {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.share-status {
  min-height: 1.4em;
  color: var(--gold);
  font-weight: 700;
}

.carnet-cta {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  color: var(--ivory);
  background:
    radial-gradient(circle at 88% 22%, rgba(197, 157, 95, .16), transparent 28%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.carnet-cta p:not(.section-label) {
  max-width: 760px;
  color: rgba(243, 239, 230, .78);
}

.carnet-form {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
}

.carnet-form label {
  color: rgba(243, 239, 230, .82);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
}

.email-row input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--ivory);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(197, 157, 95, .32);
  border-radius: 4px;
  font: inherit;
  outline: none;
}

.email-row input::placeholder {
  color: rgba(243, 239, 230, .46);
}

.email-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 157, 95, .16);
}

.form-note {
  margin: 0;
  color: rgba(243, 239, 230, .62);
  font-size: .9rem;
}

.privacy-note {
  margin: -2px 0 0;
  color: rgba(243, 239, 230, .55);
  font-size: .82rem;
}

.privacy-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-page .check-row,
.contact-page .check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.result-page .check-row input,
.contact-page .check-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.result-page .check-row a,
.contact-page .check-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.carnet-form .check-row {
  color: rgba(243, 239, 230, .76);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.carnet-form .check-row a {
  color: var(--gold-soft);
}

.support-section,
.independence-panel,
.professional-contact {
  margin-top: 18px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.support-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.support-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.professional-contact-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.support-heading > p:not(.section-label),
.professional-contact-copy > p:not(.section-label) {
  max-width: 720px;
  color: var(--muted);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
}

.result-page .lead-form,
.support-community,
.support-confirmation {
  padding: 24px;
  border: 1px solid rgba(0, 29, 42, .12);
  border-radius: 8px;
}

.lead-form {
  display: grid;
  gap: 12px;
  background: var(--paper);
}

.result-page .lead-form h3,
.contact-page .lead-form h2,
.support-community h3,
.support-confirmation h3 {
  margin-bottom: 6px;
  font-size: 1.28rem;
}

.result-page .lead-form > label:not(.check-row),
.result-page .field-grid label,
.contact-page .lead-form > label:not(.check-row),
.contact-page .field-grid label {
  display: grid;
  gap: 7px;
  color: var(--night);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-page .field-grid,
.contact-page .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-page .lead-form input:not([type="checkbox"]),
.result-page .lead-form select,
.result-page .lead-form textarea,
.contact-page .lead-form input:not([type="checkbox"]),
.contact-page .lead-form select,
.contact-page .lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid rgba(0, 29, 42, .2);
  border-radius: 4px;
  font: inherit;
  outline: none;
}

.result-page .lead-form textarea,
.contact-page .lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.result-page .lead-form input::placeholder,
.result-page .lead-form textarea::placeholder,
.contact-page .lead-form input::placeholder,
.contact-page .lead-form textarea::placeholder {
  color: rgba(31, 34, 36, .5);
}

.result-page .lead-form input:focus,
.result-page .lead-form select:focus,
.result-page .lead-form textarea:focus,
.contact-page .lead-form input:focus,
.contact-page .lead-form select:focus,
.contact-page .lead-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 157, 95, .16);
}

.result-page .lead-form .button,
.contact-page .lead-form .button {
  justify-self: start;
}

.result-page .lead-form .form-note,
.contact-page .lead-form .form-note {
  min-height: 1.4em;
  color: var(--muted);
}

.result-page .lead-form input.hp-field,
.contact-page .lead-form input.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-community {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ivory);
  background:
    radial-gradient(circle at 86% 12%, rgba(197, 157, 95, .16), transparent 34%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.support-community p:not(.section-label) {
  color: rgba(243, 239, 230, .74);
}

.support-community .button {
  margin-top: auto;
  color: var(--ivory);
}

.support-confirmation {
  width: min(760px, 100%);
  color: var(--night);
  background: var(--paper);
}

.support-confirmation[hidden],
.support-layout[hidden],
.result-page .lead-form[hidden] {
  display: none;
}

.professional-principles .result-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.professional-principles .result-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.independence-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
  color: var(--ivory);
  background:
    radial-gradient(circle at 88% 20%, rgba(197, 157, 95, .14), transparent 32%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.independence-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
}

.independence-panel > p {
  margin-bottom: 0;
  color: rgba(243, 239, 230, .76);
}

.professional-contact {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 680px);
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
}

.professional-form {
  width: 100%;
  max-width: 680px;
}

.professional-confirmation {
  align-self: start;
}

.form-note.error {
  color: #f0c58c;
}

.email-verification-panel {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(197, 157, 95, .22);
  border-radius: 8px;
}

.email-verification-panel[hidden],
.carnet-form[hidden] {
  display: none;
}

.email-verification-panel h3,
.email-verification-panel p {
  margin: 0;
}

.email-verification-panel h3 {
  color: var(--ivory);
  font-size: 1.28rem;
}

.contact-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.contact-page .lead-form {
  padding: 24px;
  border: 1px solid rgba(0, 29, 42, .12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 20, 30, .08);
}

.contact-page .form-intro {
  margin-bottom: 2px;
  color: var(--muted);
}

.verification-step-label {
  width: fit-content;
  padding: 7px 10px;
  color: var(--gold-soft);
  background: rgba(197, 157, 95, .08);
  border: 1px solid rgba(197, 157, 95, .26);
  border-radius: 4px;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.verification-instruction {
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
}

.verification-address {
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  color: var(--ivory);
  background: rgba(0, 20, 30, .3);
  border-left: 2px solid rgba(197, 157, 95, .8);
  overflow-wrap: anywhere;
  font-weight: 700;
}

.verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.community-secondary {
  justify-self: start;
  width: fit-content;
  min-height: auto;
  padding: 6px 0 2px;
  color: rgba(243, 239, 230, .68);
  background: transparent;
  border: 0;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks-shell {
  display: grid;
  place-items: center;
}

.thanks-card {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
}

.privacy-card {
  text-align: left;
}

.legal-card {
  width: min(600px, 100%);
  padding: clamp(18px, 3vw, 28px);
  border-color: rgba(0, 29, 42, .08);
  box-shadow: 0 12px 30px rgba(0, 20, 30, .08);
}

.legal-card h1 {
  margin-bottom: 14px;
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
  line-height: 1.14;
}

.legal-card h2 {
  margin: 11px 0 3px;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(197, 157, 95, .78);
}

.legal-card p {
  margin-bottom: 5px;
  color: rgba(31, 34, 36, .82);
  font-size: .78rem;
  line-height: 1.42;
}

.legal-page .thanks-shell {
  width: min(720px, calc(100% - 32px));
  padding: clamp(18px, 3.5vw, 34px) 0;
}

.legal-page .thanks-card .button {
  min-height: 34px;
  margin-top: 6px;
  padding: 8px 12px;
  font-size: .68rem;
}

.merci-page .thanks-card {
  position: relative;
  overflow: hidden;
  width: min(720px, 100%);
  text-align: left;
  color: var(--ivory);
  background:
    radial-gradient(circle at 82% 12%, rgba(197, 157, 95, .16), transparent 30%),
    linear-gradient(135deg, var(--night), var(--night-2));
  animation: cdmSoftScale .58s ease both;
}

.merci-page .thanks-card::before {
  content: "";
  position: absolute;
  right: clamp(-70px, -5vw, -34px);
  top: clamp(-62px, -5vw, -28px);
  width: clamp(190px, 25vw, 280px);
  aspect-ratio: 1;
  background: url("../img/symbol-gold-transparent.png") center/contain no-repeat;
  opacity: .18;
  filter: drop-shadow(0 0 36px rgba(215, 183, 128, .2));
  pointer-events: none;
}

.merci-page .thanks-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .055) 48%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(243, 239, 230, .028) 0 1px, transparent 1px 92px);
  opacity: .55;
  pointer-events: none;
}

.merci-page .thanks-card > * {
  position: relative;
  z-index: 1;
}

.merci-page .thanks-card p {
  max-width: 560px;
  color: rgba(243, 239, 230, .78);
}

.merci-page .thanks-card h1 {
  color: var(--ivory);
}

.merci-page .thanks-card .button.ghost {
  color: var(--ivory);
}

.merci-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(197, 157, 95, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .14);
  animation: cdmSoftRise .52s ease both;
}

.merci-brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(215, 183, 128, .38);
  border-radius: 999px;
  background: rgba(0, 0, 0, .16);
}

.merci-brand-symbol img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(215, 183, 128, .2));
  transition: transform .32s ease;
}

.merci-brand:hover .merci-brand-symbol img {
  transform: rotate(12deg) scale(1.08);
}

.merci-brand span {
  display: block;
  color: rgba(243, 239, 230, .9);
  font-family: var(--serif);
  font-size: .96rem;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.merci-brand strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: .66rem;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.merci-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.thanks-logo {
  width: min(320px, 78vw);
  margin: 0 auto 28px;
}

.thanks-card .button {
  margin: 6px;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  display: grid;
  gap: 8px;
  width: min(500px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  margin: 0;
  padding: 12px 14px;
  overflow-y: auto;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--night), var(--night-2));
  border: 1px solid rgba(197, 157, 95, .48);
  border-radius: 10px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .42);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(243, 239, 230, .78);
  font-size: .84rem;
  line-height: 1.35;
}

.cookie-policy-link {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner strong {
  display: block;
  margin: 0 0 3px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

.cookie-actions .button {
  min-height: 34px;
  padding: 6px 9px;
  font-size: .71rem;
  border-radius: 5px;
}

.cookie-actions [data-cookie-customize] {
  grid-column: 1 / -1;
  min-height: 30px;
  padding-block: 5px;
}

.cookie-choice {
  color: var(--ivory);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(197, 157, 95, .58);
}

.cookie-choice:hover,
.cookie-choice:focus-visible {
  color: var(--night);
  background: var(--gold-soft);
}

.cookie-preferences {
  display: grid;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid rgba(197, 157, 95, .25);
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-purpose {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}

.cookie-purpose strong {
  margin-bottom: 3px;
  font-size: .74rem;
}

.cookie-purpose span {
  color: rgba(243, 239, 230, .68);
  font-size: .8rem;
  line-height: 1.4;
}

.cookie-switch {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ivory);
  cursor: pointer;
}

.cookie-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.cookie-switch input:disabled {
  cursor: not-allowed;
}

.cookie-preferences > .button {
  justify-self: start;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .68s ease, transform .68s cubic-bezier(.2, .8, .2, 1);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 920px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 72px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-visual {
    width: min(620px, 100%);
    min-height: 500px;
    margin: 0 auto;
  }

  .hero-orbit {
    width: min(500px, 72vw);
  }

  .hero-mark {
    width: min(460px, 67vw);
  }

  .method-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-intro > p {
    max-width: 560px;
  }

  .main-nav {
    display: none;
  }

  .approach,
  .why,
  .discernment,
  .community-cta,
  .carnet-cta,
  .share-cta {
    grid-template-columns: 1fr;
  }

  .support-layout,
  .independence-panel,
  .professional-contact {
    grid-template-columns: 1fr;
  }

  .contact-forms {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
  }

  .community-intro {
    grid-template-columns: 1fr;
  }

  .community-intro {
    gap: 28px;
    align-items: start;
  }

  .community-context {
    max-width: 620px;
    justify-self: start;
    padding-top: 0;
  }

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

  .cookie-banner {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .discernment {
    margin-inline: 16px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 82px;
  }

  body.quiz-page {
    padding-bottom: 0;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    padding-inline: 14px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
    letter-spacing: .08em;
  }

  .brand span {
    font-size: .82rem;
    line-height: 1.08;
    max-width: 112px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 7px;
    grid-column: 2;
  }

  .site-header:not(.compact) .community-badge {
    display: none;
  }

  .site-header.compact .community-badge {
    min-height: 32px;
    padding: 6px 9px;
    font-size: .66rem;
    letter-spacing: .02em;
  }

  .header-cta,
  .nav-link {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(197, 157, 95, .34);
    border-radius: 4px;
    font-size: .68rem;
    letter-spacing: .04em;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    width: 100%;
    gap: 0;
    padding: 0 0 48px;
  }

  .hero-content {
    width: auto;
    margin-inline: 20px;
    padding: 36px 0 20px;
  }

  .hero-visual {
    width: 100%;
    min-height: 350px;
    margin: 0;
  }

  .hero-visual::before {
    inset: -10px 14px 8px;
  }

  .hero-orbit {
    width: min(320px, 82vw);
    box-shadow:
      0 0 0 16px rgba(197, 157, 95, .035),
      0 0 0 34px rgba(197, 157, 95, .022),
      inset 0 0 54px rgba(197, 157, 95, .08);
  }

  .hero-result-preview {
    position: relative;
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 20px;
  }

  .hero-preview-kicker {
    margin-bottom: 14px;
  }

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

  .hero-preview-deliverables {
    margin: 0 -20px -20px;
    padding-inline: 20px;
  }

  .trust-bar {
    width: calc(100% - 28px);
    margin-top: -22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-bar div {
    min-height: 76px;
    padding: 13px 16px;
  }

  .trust-bar div:nth-child(1),
  .trust-bar div:nth-child(2) {
    border-bottom: 1px solid rgba(0, 29, 42, .09);
  }

  .trust-bar div:nth-child(2) {
    border-right: 0;
  }

  .trust-bar strong {
    font-size: 1.48rem;
  }

  .trust-bar span {
    font-size: .7rem;
    line-height: 1.35;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9.2vw, 2.3rem);
    line-height: .98;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero .lead {
    max-width: 31ch;
    font-size: .98rem;
    line-height: 1.64;
  }

  .hero-mark {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(300px, 76vw);
    opacity: .42;
    transform: translate(-50%, -50%);
  }

  .button {
    width: 100%;
    padding-inline: 16px;
    font-size: .82rem;
  }

  .site-header .button {
    width: auto;
  }

  .actions {
    gap: 12px;
    margin-top: 26px;
  }

  .actions .fine-print {
    display: none;
  }

  .mobile-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
  }

  .mobile-trust-strip span {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 8px 6px;
    border: 1px solid rgba(197, 157, 95, .3);
    color: rgba(243, 239, 230, .84);
    background: rgba(255, 255, 255, .06);
    border-radius: 4px;
    font-size: .76rem;
    font-weight: 760;
    text-align: center;
  }

  .section {
    padding-block: 62px;
  }

  .community {
    display: flex;
    flex-direction: column;
  }

  .community-intro,
  .community-context {
    display: contents;
  }

  .community-copy {
    order: 1;
  }

  .community-membership {
    order: 2;
    margin-top: 26px;
    margin-bottom: 0;
  }

  .community-lead {
    order: 3;
    margin-top: 24px;
  }

  .community-complement {
    order: 4;
  }

  .community-context .button {
    order: 5;
    margin-top: 28px;
  }

  .intent-panel {
    width: calc(100% - 28px);
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: 6px;
  }

  .intent-heading {
    margin-bottom: 18px;
  }

  .intent-heading h2 {
    font-size: 1.9rem;
  }

  .intent-grid,
  .profile-grid,
  .result-grid,
  .result-pair {
    grid-template-columns: 1fr;
  }

  .method-steps {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .method-steps::before {
    left: 31px;
    right: auto;
    top: 48px;
    bottom: 48px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(197, 157, 95, .24), var(--gold), rgba(197, 157, 95, .24));
  }

  .method-steps article {
    min-height: 0;
    padding: 28px 20px 28px 78px;
    border-right: 0;
    border-bottom: 1px solid rgba(215, 183, 128, .16);
  }

  .method-steps span {
    left: 10px;
    top: 26px;
    transform: none;
  }

  .method-steps strong,
  .method-steps p {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }

  .method-intro h2,
  .approach .section-copy h2 {
    font-size: 2.55rem;
  }

  .method-intro > p,
  .approach .text-stack {
    padding-left: 18px;
  }

  .intent-grid a {
    min-height: 104px;
    padding: 16px 50px 16px 16px;
  }

  .result-shell {
    width: 100%;
    padding-inline: 16px;
  }

  .result-hero {
    padding: 28px 18px;
    border-radius: 8px;
  }

  .result-hero::before {
    right: -118px;
    width: 280px;
    opacity: .16;
  }

  .result-hero h1 {
    font-size: 2.38rem;
    line-height: 1.08;
  }

  .result-boussole {
    max-width: 100%;
    font-size: .64rem;
    letter-spacing: .08em;
  }

  .result-pair div,
  .result-card {
    border-radius: 6px;
  }

  .share-cta {
    border-radius: 8px;
  }

  .merci-page .thanks-card {
    width: calc(100vw - 32px);
    padding: 28px 18px;
  }

  .merci-page .thanks-card::before {
    right: -70px;
    top: -54px;
    width: 188px;
    opacity: .14;
  }

  .merci-brand {
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
    padding: 9px 10px;
    border-radius: 10px;
  }

  .merci-brand-symbol {
    width: 40px;
    height: 40px;
  }

  .merci-brand-symbol img {
    width: 31px;
    height: 31px;
  }

  .merci-brand span {
    font-size: .82rem;
  }

  .merci-brand strong {
    font-size: .58rem;
    letter-spacing: .12em;
  }

  .merci-actions {
    display: grid;
    gap: 8px;
  }

  .intent-grid strong {
    font-size: 1.18rem;
  }

  h2 {
    font-size: 2.04rem;
    line-height: 1.12;
  }

  .text-stack,
  .split-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  .quiz-panel {
    width: calc(100vw - 32px);
    max-width: 360px;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
    padding: 22px;
    scroll-margin-top: 12px;
  }

  .quiz-shell {
    width: 100%;
    padding: 28px 16px 36px;
  }

  .quiz-mobile-intro {
    display: none;
    width: min(360px, 100%);
    margin: 0 auto 14px;
    padding: 18px;
    color: var(--ivory);
    border: 1px solid rgba(197, 157, 95, .24);
    border-radius: 8px;
    background: rgba(0, 29, 42, .82);
  }

  .quiz-mobile-intro h2 {
    margin-bottom: 8px;
    font-size: 1.46rem;
    line-height: 1.12;
  }

  .quiz-mobile-intro p:not(.section-label) {
    margin-bottom: 0;
    color: rgba(243, 239, 230, .74);
    font-size: .92rem;
    line-height: 1.5;
  }

  .quiz-question {
    margin-bottom: 18px;
    font-size: 1.78rem;
    overflow-wrap: anywhere;
  }

  .progress-track {
    margin: 14px 0 24px;
  }

  .answer-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .answer-option {
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 14px 13px;
  }

  .quiz-actions {
    flex-direction: column-reverse;
    margin-top: 22px;
  }

  .email-row {
    grid-template-columns: 1fr;
  }

  .result-page .field-grid,
  .contact-page .field-grid {
    grid-template-columns: 1fr;
  }

  .support-section,
  .independence-panel,
  .professional-contact {
    padding: 22px 18px;
  }

  .result-page .lead-form,
  .contact-page .lead-form,
  .support-community,
  .support-confirmation {
    padding: 20px 16px;
  }

  .verification-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    gap: 8px;
    padding: 10px 12px;
  }

  .cookie-banner.with-mobile-nav {
    bottom: 92px;
    max-height: calc(100vh - 108px);
  }

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

  .cookie-actions [data-cookie-customize] {
    grid-column: 1 / -1;
  }

  .cookie-banner strong {
    font-size: .76rem;
  }

  .cookie-banner p {
    font-size: .8rem;
    line-height: 1.3;
  }

  .cookie-actions .button {
    min-height: 34px;
    padding: 6px 8px;
    font-size: .68rem;
  }

  .cookie-actions [data-cookie-customize] {
    min-height: 28px;
    padding-block: 4px;
  }

  .cookie-purpose {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 9px 10px;
  }

  .cookie-purpose > div {
    min-width: 0;
  }

  .cookie-preferences {
    gap: 8px;
    padding-top: 10px;
  }

  .site-footer {
    gap: 12px;
    padding: 20px 18px 102px;
  }

  .footer-brand {
    font-size: .82rem;
  }

  .footer-brand img {
    width: 24px;
    height: 24px;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 11px;
  }

  .footer-links a,
  .footer-link-button {
    font-size: .75rem;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(197, 157, 95, .28);
    border-radius: 8px;
    background: rgba(0, 29, 42, .96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
    animation: cdmDockEnter .42s ease both;
    transition: opacity .24s ease, transform .24s ease;
  }

  .hero-focus .mobile-bottom-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
    animation: none;
  }

  .quiz-page .mobile-bottom-nav {
    display: none;
  }

  .mobile-bottom-nav a {
    min-height: 44px;
    display: grid;
    place-items: center;
    color: rgba(243, 239, 230, .74);
    border-radius: 5px;
    font-size: .72rem;
    font-weight: 780;
    letter-spacing: .02em;
    transition: color .18s ease, background .18s ease, transform .18s ease;
  }

  .mobile-bottom-nav a:hover {
    color: var(--ivory);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
  }

  .mobile-bottom-nav a.active {
    color: #09151b;
    background: var(--gold);
  }
}

@media (min-width: 621px) and (max-height: 850px) {
  .quiz-shell {
    padding: 24px 0 32px;
  }

  .quiz-panel {
    min-height: 0;
    padding: 24px 36px;
  }

  .progress-track {
    margin: 12px 0 22px;
  }

  .quiz-question {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .answer-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .answer-option {
    padding: 13px 16px;
  }

  .quiz-actions {
    margin-top: 18px;
  }
}

@media (max-width: 380px) {
  .site-header.compact .community-badge {
    display: none;
  }

  .brand span {
    max-width: 104px;
    font-size: .78rem;
  }

  .header-cta,
  .nav-link {
    padding-inline: 9px;
    font-size: .64rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}
