:root {
  --bg: #090303;
  --panel: #100909;
  --panel-soft: #171010;
  --ink: #fff8f4;
  --muted: rgba(255, 248, 244, 0.68);
  --quiet: rgba(255, 248, 244, 0.42);
  --line: rgba(255, 248, 244, 0.12);
  --red: #c8495b;
  --red-soft: rgba(200, 73, 91, 0.18);
  --red-faint: rgba(200, 73, 91, 0.08);
  --shadow: rgba(0, 0, 0, 0.38);
}

/* Homepage visual and temporary landing-page design validation */
.home-page [data-landing-visual] {
  justify-self: center;
}

.flashlight-reveal,
.screen-reveal {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
}

.flashlight-reveal::before,
.screen-reveal::before {
  position: absolute;
  inset: 9% 2% -4%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(118, 34, 54, 0.32);
  filter: blur(54px);
  content: "";
}

.flashlight-stage {
  --reveal-x: 50%;
  --reveal-y: 45%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 248, 244, 0.16);
  border-radius: 42% 42% 10px 10px / 12% 12% 10px 10px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 248, 244, 0.08), transparent 32%),
    #171012;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.58);
  color: inherit;
  cursor: none;
  touch-action: none;
}

.flashlight-stage:focus-visible {
  outline: 2px solid #ffd7dc;
  outline-offset: 5px;
}

.flashlight-people {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.flashlight-people::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, transparent 20%, rgba(7, 2, 3, 0.3) 69%, rgba(7, 2, 3, 0.82) 100%),
    linear-gradient(180deg, rgba(8, 3, 4, 0.08), rgba(8, 3, 4, 0.48));
  content: "";
}

.flashlight-person {
  position: absolute;
  bottom: -1%;
  width: 50%;
  height: 102%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.76) contrast(1.06) saturate(0.72);
}

.flashlight-woman {
  left: 0;
  object-position: right center;
}

.flashlight-man {
  right: 0;
  object-position: left center;
}

.flashlight-kink {
  z-index: 2;
  clip-path: circle(0 at var(--reveal-x) var(--reveal-y));
  transition: clip-path 160ms ease-out;
}

.flashlight-kink .flashlight-person {
  filter: brightness(1.02) contrast(1.08) saturate(0.9);
}

.flashlight-stage.is-revealing .flashlight-kink,
.flashlight-stage:focus-visible .flashlight-kink {
  clip-path: circle(clamp(92px, 22%, 132px) at var(--reveal-x) var(--reveal-y));
}

.flashlight-stage::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(
      circle clamp(92px, 22%, 132px) at var(--reveal-x) var(--reveal-y),
      rgba(255, 244, 224, 0.12) 0,
      rgba(255, 244, 224, 0.04) 84%,
      rgba(255, 238, 211, 0.56) 85%,
      rgba(255, 238, 211, 0.12) 87%,
      transparent 89%
    );
  content: "";
  opacity: 0;
  transition: opacity 160ms ease-out;
}

.flashlight-stage.is-revealing::after,
.flashlight-stage:focus-visible::after {
  opacity: 1;
}

.flashlight-hint {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 4;
  padding: 9px 12px;
  border: 1px solid rgba(255, 248, 244, 0.18);
  border-radius: 999px;
  background: rgba(8, 3, 4, 0.58);
  color: rgba(255, 248, 244, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 160ms ease-out;
}

.flashlight-stage.is-revealing .flashlight-hint {
  opacity: 0;
}

.screen-reveal {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 7px;
  align-items: center;
  perspective: 1100px;
  filter: drop-shadow(0 38px 50px rgba(0, 0, 0, 0.56));
}

.screen-panel {
  position: relative;
  overflow: hidden;
  height: 86%;
  border: 1px solid rgba(255, 248, 244, 0.16);
  background: #18090d;
  transform-origin: center;
}

.screen-panel-one {
  border-radius: 90px 8px 8px 12px / 50px 8px 8px 12px;
  transform: rotateY(15deg) translateX(10px) translateY(10px);
}

.screen-panel-two {
  z-index: 2;
  height: 96%;
  border-radius: 8px;
  transform: translateZ(25px);
}

.screen-panel-three {
  border-radius: 8px 90px 12px 8px / 8px 50px 12px 8px;
  transform: rotateY(-15deg) translateX(-10px) translateY(10px);
}

.screen-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) contrast(1.12) saturate(0.68);
}

.screen-panel-one video {
  object-position: 38% center;
}

.screen-panel-two video {
  object-position: 53% center;
}

.screen-panel-three video {
  object-position: 72% center;
}

.screen-panel::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 3, 5, 0.3), rgba(10, 3, 5, 0.3)),
    repeating-linear-gradient(90deg, rgba(255, 248, 244, 0.025) 0 3px, rgba(5, 2, 3, 0.08) 3px 7px);
  box-shadow: inset 0 0 70px rgba(4, 1, 2, 0.64);
  content: "";
}

.screen-reveal::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(5, 1, 2, 0.18) 56%, rgba(5, 1, 2, 0.86) 100%);
  content: "";
}

.screen-caption {
  position: absolute;
  right: 24px;
  bottom: 11%;
  z-index: 4;
  color: rgba(255, 248, 244, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .flashlight-reveal,
  .screen-reveal {
    width: min(76vw, 500px);
  }
}

@media (max-width: 580px) {
  .flashlight-reveal,
  .screen-reveal {
    width: min(88vw, 390px);
  }

  .flashlight-stage {
    cursor: pointer;
  }

  .flashlight-stage.is-revealing .flashlight-kink,
  .flashlight-stage:focus-visible .flashlight-kink {
    clip-path: circle(88px at var(--reveal-x) var(--reveal-y));
  }

  .flashlight-stage::after {
    background:
      radial-gradient(
        circle 88px at var(--reveal-x) var(--reveal-y),
        rgba(255, 244, 224, 0.12) 0,
        rgba(255, 244, 224, 0.04) 84%,
        rgba(255, 238, 211, 0.56) 85%,
        rgba(255, 238, 211, 0.12) 87%,
        transparent 89%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .flashlight-kink,
  .flashlight-stage::after,
  .flashlight-hint {
    transition: none !important;
  }
}

/* BDSM assessment */
.bdsm-page {
  --bdsm-blush: #e18b98;
  --bdsm-wine: #5d1b2a;
  --bdsm-line: rgba(255, 248, 244, 0.14);
  background:
    radial-gradient(circle at 76% 15%, rgba(200, 73, 91, 0.15), transparent 31rem),
    radial-gradient(circle at 18% 75%, rgba(255, 248, 244, 0.04), transparent 25rem),
    #090303;
}

.bdsm-page .page-shell {
  width: min(1640px, calc(100% - 48px));
}

.bdsm-page .primary-btn,
.bdsm-page .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bdsm-landing-hero {
  min-height: min(900px, calc(100vh - 56px));
}

.bdsm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: clamp(64px, 9vw, 132px) clamp(0px, 4vw, 68px) 48px;
}

.bdsm-hero-copy {
  max-width: 930px;
}

.bdsm-hero-copy h1,
.bdsm-explainer h2,
.bdsm-bridge h2,
.bdsm-faq h2,
.bdsm-results-page h1,
.bdsm-results-page h2,
.bdsm-results-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.bdsm-hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(4.3rem, 8.1vw, 8.4rem);
  line-height: 0.88;
}

.bdsm-lede {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.55;
}

.bdsm-hero-copy .hero-actions span {
  color: var(--quiet);
  font-size: 0.84rem;
  font-weight: 650;
}

.bdsm-flashlight-reveal {
  justify-self: center;
}

.bdsm-dimension-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(242, 161, 172, 0.24);
  border-top: 3px solid var(--bdsm-blush);
  padding: clamp(28px, 3.4vw, 48px);
  background:
    radial-gradient(circle at 50% 26%, rgba(224, 126, 142, 0.18), transparent 17rem),
    rgba(24, 11, 15, 0.76);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.bdsm-dimension-card > p {
  margin: 316px 0 12px;
  color: var(--bdsm-blush);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bdsm-dimension-card > strong {
  display: block;
  max-width: 380px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.bdsm-dimension-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.bdsm-orbit {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 244, 0.18);
  border-radius: 50%;
  transform: translateX(-50%);
}

.bdsm-orbit::before,
.bdsm-orbit::after {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(225, 139, 152, 0.22);
  border-radius: 50%;
  content: "";
}

.bdsm-orbit::after {
  inset: 40%;
  background: rgba(225, 139, 152, 0.11);
}

.bdsm-orbit span {
  position: absolute;
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 248, 244, 0.2);
  border-radius: 50%;
  color: #f1a3ae;
  background: #281117;
  font-size: 1.35rem;
}

.bdsm-orbit span:nth-child(1) { top: -22px; left: calc(50% - 23px); }
.bdsm-orbit span:nth-child(2) { top: 26%; right: -22px; }
.bdsm-orbit span:nth-child(3) { right: 10px; bottom: -6px; }
.bdsm-orbit span:nth-child(4) { bottom: -6px; left: 10px; }
.bdsm-orbit span:nth-child(5) { top: 26%; left: -22px; }

.bdsm-page .section {
  margin-top: 24px;
  padding: clamp(50px, 7vw, 104px) clamp(28px, 6vw, 92px);
}

.bdsm-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-block: 0 !important;
}

.bdsm-trust-strip article {
  min-height: 240px;
  padding: 52px clamp(24px, 4vw, 58px);
}

.bdsm-trust-strip article + article {
  border-left: 1px solid var(--line);
}

.bdsm-trust-strip span,
.bdsm-step-list > li > span {
  display: block;
  margin-bottom: 24px;
  color: var(--bdsm-blush);
  font-size: 0.76rem;
  font-weight: 800;
}

.bdsm-trust-strip strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.bdsm-trust-strip p,
.bdsm-explainer p,
.bdsm-bridge p,
.bdsm-faq p,
.bdsm-step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.bdsm-explainer,
.bdsm-bridge,
.bdsm-faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(380px, 1.16fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}

.bdsm-explainer h2,
.bdsm-bridge h2,
.bdsm-faq h2 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.bdsm-step-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.bdsm-step-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.bdsm-step-list strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.04rem;
}

.bdsm-step-list > li > span {
  margin: 3px 0 0;
}

.bdsm-bridge {
  align-items: center;
  border-top: 3px solid var(--bdsm-blush);
  background:
    radial-gradient(circle at 88% 20%, rgba(225, 139, 152, 0.18), transparent 26rem),
    var(--panel);
}

.bdsm-bridge .primary-btn {
  justify-self: start;
}

.bdsm-faq > div:last-child {
  border-top: 1px solid var(--line);
}

.bdsm-faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.bdsm-faq summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
}

.bdsm-faq details p {
  max-width: 680px;
  padding-top: 15px;
}

.bdsm-page .footer {
  padding-inline: 10px;
}

.bdsm-adult-sheet {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.bdsm-adult-sheet .section-label,
.bdsm-adult-sheet p {
  margin: 0;
}

.bdsm-adult-sheet p:not(.section-label) {
  color: var(--muted);
  line-height: 1.55;
}

.bdsm-quiz-page .app-panel {
  min-height: calc(100vh - 56px);
}

.bdsm-quiz-page .swipe-card-front[data-category="power"],
.bdsm-quiz-page .deck-card[data-category="power"] { --card-base: #742439; --card-deep: #270d15; --card-accent: #ea93a1; }
.bdsm-quiz-page .swipe-card-front[data-category="sensation"],
.bdsm-quiz-page .deck-card[data-category="sensation"] { --card-base: #8a303c; --card-deep: #321014; --card-accent: #efaaa5; }
.bdsm-quiz-page .swipe-card-front[data-category="restraint"],
.bdsm-quiz-page .deck-card[data-category="restraint"] { --card-base: #45222c; --card-deep: #160b0f; --card-accent: #cf7885; }
.bdsm-quiz-page .swipe-card-front[data-category="structure"],
.bdsm-quiz-page .deck-card[data-category="structure"] { --card-base: #5e2a3d; --card-deep: #211019; --card-accent: #d99aaa; }
.bdsm-quiz-page .swipe-card-front[data-category="play"],
.bdsm-quiz-page .deck-card[data-category="play"] { --card-base: #6f2f48; --card-deep: #26111b; --card-accent: #e3a0ae; }

.bdsm-card-symbol {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 218, 222, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 11rem);
  line-height: 1;
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.44);
}

.bdsm-quiz-page .is-tutorial .bdsm-card-symbol {
  display: none;
}

.bdsm-result-state {
  min-height: calc(100vh - 160px);
}

.bdsm-results-page .results-app {
  min-height: 100vh;
}

.bdsm-results-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.5fr);
}

.bdsm-results-page .results-intro h1 {
  font-size: clamp(4.6rem, 8vw, 8rem);
}

.bdsm-result-at-glance {
  display: grid;
  align-content: end;
  min-height: 270px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.bdsm-result-at-glance > span,
.bdsm-result-at-glance small {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
}

.bdsm-result-at-glance > strong {
  display: block;
  margin: 18px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
}

.bdsm-result-at-glance small {
  line-height: 1.5;
}

.bdsm-results-section {
  max-width: 1180px;
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 9vw, 120px) 0;
}

.bdsm-results-section > h2,
.bdsm-full-map > div:first-child h2,
.bdsm-meaning-grid h2,
.bdsm-labels h2,
.bdsm-safety-note h2 {
  max-width: 850px;
  margin: 0 0 30px;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 0.94;
}

.bdsm-top-signals {
  border-top: 1px solid var(--line);
}

.bdsm-top-signal {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.bdsm-top-signal > span,
.bdsm-top-signal > small {
  color: var(--bdsm-blush);
  font-size: 0.76rem;
  font-weight: 800;
}

.bdsm-top-signal strong {
  display: block;
  font-size: 1.12rem;
}

.bdsm-top-signal p,
.bdsm-full-map > div:first-child p,
.bdsm-labels p,
.bdsm-safety-note p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.bdsm-top-signal > small {
  color: var(--ink);
  font-size: 1.1rem;
}

.bdsm-full-map {
  display: grid;
  grid-template-columns: minmax(270px, 0.64fr) minmax(430px, 1.36fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.bdsm-signal-group {
  border-top: 1px solid var(--line);
  padding: 28px 0 18px;
}

.bdsm-signal-group > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.bdsm-signal-group > header > span {
  color: var(--bdsm-blush);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.bdsm-signal-group h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
}

.bdsm-signal-group header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.bdsm-signal-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(120px, 1fr) 48px;
  gap: 20px;
  align-items: center;
  padding: 12px 0 12px 58px;
}

.bdsm-signal-row > div:first-child {
  display: grid;
  gap: 3px;
}

.bdsm-signal-row small {
  color: var(--quiet);
}

.bdsm-signal-row .bar-track {
  height: 4px;
}

.bdsm-signal-row b {
  font-size: 0.88rem;
  text-align: right;
}

.bdsm-meaning-grid,
.bdsm-labels,
.bdsm-safety-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 8vw, 110px);
}

.bdsm-meaning-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 5vw, 70px);
}

.bdsm-meaning-grid ul,
.bdsm-meaning-grid ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.bdsm-labels,
.bdsm-safety-note {
  align-items: end;
}

.bdsm-label-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bdsm-label-list span {
  border: 1px solid rgba(225, 139, 152, 0.3);
  border-radius: 999px;
  padding: 10px 15px;
  color: rgba(255, 248, 244, 0.8);
  background: rgba(225, 139, 152, 0.08);
  font-size: 0.86rem;
  font-weight: 750;
}

.bdsm-result-bridge {
  max-width: 1180px;
  margin-top: 0 !important;
}

.bdsm-data-control {
  max-width: 760px;
  margin: 72px 0 12px;
  border-left: 2px solid var(--red);
  padding-left: 24px;
}

.bdsm-data-control h2 {
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .bdsm-hero-grid,
  .bdsm-explainer,
  .bdsm-bridge,
  .bdsm-faq,
  .bdsm-full-map,
  .bdsm-meaning-grid,
  .bdsm-labels,
  .bdsm-safety-note,
  .bdsm-results-hero {
    grid-template-columns: 1fr;
  }

  .bdsm-dimension-card {
    min-height: 520px;
  }

  .bdsm-meaning-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 52px;
    padding-left: 0;
  }

  .bdsm-result-at-glance {
    min-height: 0;
    padding-bottom: 30px;
  }
}

@media (max-width: 680px) {
  .bdsm-page .page-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .bdsm-landing-hero,
  .bdsm-quiz-page .app-panel {
    padding: 20px 16px;
  }

  .bdsm-page .nav-links,
  .bdsm-landing-hero .nav-cta {
    display: none;
  }

  .bdsm-hero-grid {
    min-height: 0;
    padding: 72px 0 28px;
  }

  .bdsm-hero-copy h1 {
    font-size: clamp(3.7rem, 18vw, 5.2rem);
  }

  .bdsm-hero-copy .primary-btn {
    width: 100%;
  }

  .bdsm-dimension-card {
    min-height: 490px;
    padding: 24px;
  }

  .bdsm-dimension-card > p {
    margin-top: 300px;
  }

  .bdsm-trust-strip {
    grid-template-columns: 1fr;
  }

  .bdsm-trust-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .bdsm-page .section {
    padding: 54px 22px;
  }

  .bdsm-explainer h2,
  .bdsm-bridge h2,
  .bdsm-faq h2,
  .bdsm-results-section > h2,
  .bdsm-full-map > div:first-child h2,
  .bdsm-meaning-grid h2,
  .bdsm-labels h2,
  .bdsm-safety-note h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .bdsm-quiz-page .quiz-focus {
    padding-top: 36px;
  }

  .bdsm-quiz-page .quiz-heading h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .bdsm-results-page .results-app {
    padding-inline: 18px;
  }

  .bdsm-results-page .results-intro h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .bdsm-top-signal {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .bdsm-top-signal > small {
    grid-column: 2;
  }

  .bdsm-signal-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 10px 14px;
    padding-left: 0;
  }

  .bdsm-signal-row .bar-track {
    grid-column: 1;
  }

  .bdsm-signal-row b {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .bdsm-result-bridge .primary-btn {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(200, 73, 91, 0.12), transparent 27rem),
    radial-gradient(circle at 16% 78%, rgba(255, 248, 244, 0.045), transparent 24rem),
    var(--bg);
}

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

button {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

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

.page-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero-panel,
.section,
.app-panel,
.content-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 244, 0.06), transparent 33%),
    linear-gradient(180deg, rgba(255, 248, 244, 0.025), transparent),
    var(--panel);
  box-shadow: 0 28px 90px var(--shadow);
}

.hero-panel::before,
.how-section::before,
.reveal-section::before {
  position: absolute;
  inset: auto -18% -36% auto;
  width: 54rem;
  height: 54rem;
  content: "";
  background: radial-gradient(circle, var(--red-faint), transparent 66%);
  pointer-events: none;
}

.hero-panel {
  min-height: calc(100vh - 56px);
  padding: 32px;
}

.app-panel,
.content-panel {
  min-height: calc(100vh - 56px);
  padding: 32px;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.card-topline,
.match-strip {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(132px, 11vw, 148px);
  height: auto;
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.quiet-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.quiet-link:hover {
  color: var(--ink);
}

.nav-cta,
.primary-btn,
.ghost-btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
}

.danger-btn {
  min-height: 48px;
  border: 1px solid rgba(200, 73, 91, 0.48);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--red-faint);
  cursor: pointer;
  font-weight: 700;
}

.danger-btn:hover,
.danger-btn:focus-visible {
  border-color: var(--red);
  background: var(--red-soft);
}

.danger-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.data-control {
  margin-top: 22px;
}

.data-control .helper-text {
  min-height: 1.5em;
  margin: 12px 0 0;
}

.nav-cta,
.primary-btn {
  background: var(--ink);
  color: #160c0d;
  font-weight: 700;
}

.nav-cta {
  padding: 12px 18px;
}

.ghost-btn {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 248, 244, 0.04);
  font-weight: 700;
}

.text-btn {
  border: 0;
  padding: 0;
  color: var(--quiet);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 170px);
  padding: 54px 3vw 18px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 248, 244, 0.035);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow {
  padding: 0 14px;
}

.pill {
  padding: 0 16px;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 6.55vw, 6.45rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  line-height: 1.45;
}

.hero-actions {
  gap: 18px;
  flex-wrap: wrap;
}

.eligibility-note {
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 0.8rem;
}

.primary-btn {
  padding: 16px 24px;
}

.quiet-link {
  color: var(--muted);
  font-weight: 700;
}

.quiz-card {
  width: min(100%, 440px);
  justify-self: end;
  border: 1px solid rgba(255, 248, 244, 0.14);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(255, 248, 244, 0.12), transparent 38%),
    rgba(255, 248, 244, 0.045);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.card-topline {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 46px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quiz-card h2 {
  margin-bottom: 28px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice-list button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  text-align: left;
  padding: 0 18px;
  transition: border-color 180ms ease, background 180ms ease;
}

.choice-list button:hover {
  border-color: rgba(200, 73, 91, 0.52);
  background: var(--red-soft);
}

.match-strip {
  gap: 10px;
  min-height: 50px;
  margin-top: 14px;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--muted);
  background: #090303;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 9px var(--red-soft);
}

.section {
  margin-top: 28px;
  padding: clamp(44px, 6vw, 92px);
}

.how-section {
  text-align: center;
  background:
    radial-gradient(circle at 78% 70%, rgba(200, 73, 91, 0.13), transparent 27rem),
    var(--panel);
}

.section h2 {
  margin-bottom: 42px;
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.step-row article {
  min-height: 230px;
  border-top: 1px solid var(--line);
  padding: 34px 24px 0;
}

.step-row span {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 248, 244, 0.3);
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 800;
}

.step-row h3,
.privacy-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.step-row p,
.privacy-grid p,
.reveal-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reveal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 700px;
  background:
    radial-gradient(circle at 72% 24%, rgba(200, 73, 91, 0.15), transparent 26rem),
    linear-gradient(110deg, rgba(255, 248, 244, 0.025), transparent 42%),
    var(--panel);
}

.reveal-copy {
  max-width: 560px;
}

.result-preview {
  width: min(100%, 720px);
  justify-self: end;
  border-top: 1px solid rgba(255, 248, 244, 0.22);
  border-bottom: 1px solid var(--line);
}

.result-preview-heading,
.result-preview-main,
.preview-signals {
  display: grid;
}

.result-preview-heading {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 17px 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-preview-heading small {
  color: #d67582;
  font-size: inherit;
}

.result-preview-main {
  grid-template-columns: minmax(210px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  min-height: 300px;
  border-top: 1px solid var(--line);
  padding: 42px 0 46px;
}

.result-preview-main > div:first-child {
  display: grid;
  align-content: end;
}

.result-preview-main > div:first-child strong {
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.82;
}

.result-preview-main > div:first-child span {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.preview-profile small,
.preview-signals span {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-profile strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
}

.preview-profile p {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.preview-signals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.preview-signals div {
  min-height: 100px;
  padding: 20px 18px 18px 0;
}

.preview-signals div + div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.preview-signals strong {
  display: block;
  margin-top: 9px;
  font-size: 1.45rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: start;
  background: var(--panel-soft);
}

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

.privacy-grid article {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(0, 0, 0, 0.16);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.65fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
  min-height: 430px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 780px;
  margin: 0;
}

.final-cta-action {
  padding-bottom: 10px;
}

.final-cta-action p {
  max-width: 420px;
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta-action .primary-btn {
  min-width: 220px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6px 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-logo {
  display: block;
  width: 118px;
  height: auto;
  opacity: 0.72;
}

.quiz-layout,
.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.9fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 170px);
  padding: 54px 3vw 18px;
}

.quiz-focus {
  display: grid;
  width: min(980px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) 0 18px;
  align-content: start;
}

.quiz-reassurance {
  width: min(100%, 410px);
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--quiet);
  font-size: 0.76rem;
  text-align: center;
  line-height: 1.5;
}

.quiz-personalize {
  display: grid;
  justify-items: center;
  gap: 24px;
  min-height: calc(100vh - 210px);
  padding: 24px clamp(0px, 3vw, 34px) 38px;
}

.gender-step {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.gender-step[hidden] {
  display: none;
}

.gender-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 520px);
}

.gender-card-art {
  min-height: 230px;
}

.gender-back {
  margin-top: -4px;
}

.pairing-copy {
  text-align: center;
}

.pairing-copy .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.pairing-copy h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.94;
}

.pairing-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
  width: min(100%, 800px);
}

.pairing-options button {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 244, 0.17);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #35171f;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.34);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transform: translateY(0) rotate(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pairing-options button:hover,
.pairing-options button:focus-visible {
  border-color: rgba(242, 161, 172, 0.62);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.44);
  transform: translateY(-7px);
}

.pairing-options button.is-selected {
  border-color: #f2a1ac;
  box-shadow: 0 32px 80px rgba(107, 23, 43, 0.5);
  transform: translateY(-9px) scale(1.018);
}

.pairing-card-art {
  position: relative;
  display: block;
  overflow: visible;
  border-radius: 7px 7px 0 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(238, 142, 156, 0.2), transparent 48%),
    linear-gradient(155deg, rgba(255, 248, 244, 0.06), transparent 52%),
    #211015;
}

.pairing-card-art::before {
  position: absolute;
  z-index: 2;
  inset: 17% 10% 8%;
  border: 1px solid rgba(242, 161, 172, 0.3);
  border-top: 0;
  border-radius: 48% 52% 46% 54%;
  background:
    linear-gradient(
      to right,
      rgba(242, 161, 172, 0.3) 0 28%,
      transparent 28% 72%,
      rgba(242, 161, 172, 0.3) 72% 100%
    ) top / 100% 1px no-repeat;
  content: "";
  transform: rotate(-5deg);
}

.pairing-card-art img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  mix-blend-mode: normal;
  filter:
    sepia(0.28)
    saturate(0.82)
    hue-rotate(315deg)
    brightness(0.48)
    contrast(1.24)
    drop-shadow(0 22px 18px rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.pairing-symbols {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  border: 1px solid rgba(255, 248, 244, 0.22);
  border-radius: 999px;
  padding: 5px 9px;
  color: #f1b1ba;
  background: rgba(25, 11, 15, 0.76);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.pairing-symbols.gender-symbol {
  top: 50%;
  left: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: clamp(5rem, 10vw, 7.5rem);
  font-weight: 400;
  transform: translate(-50%, -50%);
}

.pairing-card-copy {
  display: grid;
  gap: 4px;
  min-height: 88px;
  place-items: center;
  border-top: 1px solid rgba(255, 248, 244, 0.13);
  border-radius: 0 0 7px 7px;
  padding: 16px 12px;
  background: #74253a;
}

.pairing-card-copy strong {
  font-size: 0.96rem;
}

.pairing-card-copy small {
  max-width: 180px;
  color: rgba(255, 248, 244, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
}

.pairing-explainer {
  max-width: 650px;
  margin: 0;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

.eyebrow {
  display: block;
  width: fit-content;
  min-height: 0;
  margin-bottom: 14px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #d67582;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-state-panel {
  min-height: calc(100vh - 220px);
}

.quiz-experience {
  display: grid;
  justify-items: center;
  width: 100%;
}

.quiz-experience.is-entering-real-quiz .quiz-heading,
.quiz-experience.is-entering-real-quiz .progress-shell,
.quiz-experience.is-entering-real-quiz .question-prompt,
.quiz-experience.is-entering-real-quiz .swipe-stage,
.quiz-experience.is-entering-real-quiz .swipe-actions {
  animation: real-quiz-reveal 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.quiz-experience.is-preparing-real-quiz .quiz-heading,
.quiz-experience.is-preparing-real-quiz .progress-shell,
.quiz-experience.is-preparing-real-quiz .question-prompt,
.quiz-experience.is-preparing-real-quiz .swipe-stage,
.quiz-experience.is-preparing-real-quiz .swipe-actions {
  opacity: 0;
  transform: translateY(14px);
}

.quiz-experience.is-entering-real-quiz .progress-shell,
.quiz-experience.is-entering-real-quiz .question-prompt {
  animation-delay: 70ms;
}

.quiz-experience.is-entering-real-quiz .swipe-stage,
.quiz-experience.is-entering-real-quiz .swipe-actions {
  animation-delay: 120ms;
}

@keyframes real-quiz-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-heading {
  display: grid;
  grid-template-rows: minmax(68px, auto) minmax(44px, auto);
  align-items: center;
  width: min(680px, 100%);
  min-height: 112px;
  text-align: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.quiz-heading.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.quiz-heading.is-entering {
  opacity: 0;
  transform: translateY(6px);
  transition: none;
}

.quiz-heading h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.3rem;
  font-weight: 400;
  line-height: 1;
}

.quiz-heading p {
  max-width: 520px;
  margin: 0;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.quiz-sidebar,
.results-layout > div:first-child,
.content-copy {
  max-width: 720px;
}

.quiz-sidebar h1,
.results-layout h1,
.content-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
}

.quiz-sidebar p,
.results-layout p,
.content-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.progress-shell {
  width: min(680px, 100%);
  height: 4px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.12);
}

.progress-shell span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transform: scaleX(var(--progress-scale, 0));
  transform-origin: left center;
  transition: transform 240ms ease;
}

.question-prompt {
  width: min(680px, 100%);
  min-height: 27px;
  margin: 18px 0 0;
  color: rgba(255, 248, 244, 0.86);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.progress-copy,
.helper-text {
  color: var(--quiet);
  font-size: 0.92rem;
}

.question-card,
.results-card {
  width: min(100%, 520px);
  border: 1px solid rgba(255, 248, 244, 0.14);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(255, 248, 244, 0.1), transparent 38%),
    rgba(255, 248, 244, 0.045);
}

.swipe-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(760px, 100%);
  min-height: 620px;
  margin-top: 8px;
  padding: 34px 90px 62px;
}

.swipe-deck {
  position: relative;
  width: min(100%, 410px);
  min-height: 400px;
  aspect-ratio: 4 / 5;
  perspective: 1100px;
  isolation: isolate;
}

.swipe-card,
.deck-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 248, 244, 0.16);
  border-radius: 8px;
  user-select: none;
}

.deck-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 184px;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: var(--card-base, #55202a);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
  transition: transform 240ms ease, opacity 180ms ease;
}

.deck-card-second {
  z-index: 2;
  transform:
    translate3d(calc(-16px + var(--parallax-x, 0px)), calc(7px + var(--parallax-y, 0px)), -28px)
    rotate(-4deg);
}

.deck-card-third {
  z-index: 1;
  transform:
    translate3d(calc(18px + var(--parallax-x, 0px)), calc(-4px + var(--parallax-y, 0px)), -54px)
    rotate(6deg);
}

.deck-card-fourth {
  z-index: 0;
  opacity: 0.78;
  transform:
    translate3d(calc(-5px + var(--parallax-x, 0px)), calc(-14px + var(--parallax-y, 0px)), -82px)
    rotate(-2deg)
    scale(0.985);
}

.swipe-deck.is-advancing .deck-card-second {
  z-index: 3;
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.swipe-deck.is-advancing {
  pointer-events: none;
}

.swipe-deck.is-advancing .deck-card-third {
  transform: translate3d(-16px, 7px, -28px) rotate(-4deg);
}

.swipe-deck.is-advancing .deck-card-fourth {
  opacity: 1;
  transform: translate3d(18px, -4px, -54px) rotate(6deg);
}

.deck-card .question-copy strong {
  font-size: 2.25rem;
  line-height: 1.05;
}

.quiz-focus .swipe-card-front {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 184px;
  z-index: 3;
  overflow: hidden;
  padding: 0;
  touch-action: none;
  cursor: grab;
  transform-style: preserve-3d;
  transform:
    translate3d(var(--swipe-x, 0), var(--swipe-y, 0), 0)
    rotate(var(--swipe-rotate, 0))
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    scale(var(--swipe-scale, 1));
  transition: transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 280ms ease;
  background: var(--card-base, #712234);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.quiz-focus .swipe-card-front.is-dragging {
  cursor: grabbing;
  transition: none;
}

.quiz-focus .swipe-card-front.is-resetting,
.swipe-deck.is-resetting .deck-card {
  transition: none !important;
}

.quiz-focus .swipe-card-front.is-busy {
  cursor: wait;
}

.quiz-focus .swipe-card-front.is-exiting-yes {
  opacity: 0;
  transform: translate3d(130%, -2%, 0) rotate(15deg) scale(1.075);
}

.quiz-focus .swipe-card-front.is-exiting-no {
  opacity: 0;
  transform: translate3d(-130%, -2%, 0) rotate(-15deg) scale(1.075);
}

.quiz-focus .swipe-card-front.is-exiting-maybe {
  opacity: 0;
  transform: translate3d(0, 125%, 0) scale(1.06);
}

.swipe-card-front[data-category="touch"],
.swipe-card-front[data-category="watching"],
.deck-card[data-category="touch"],
.deck-card[data-category="watching"],
.swipe-card-front[data-category="dominance"],
.swipe-card-front[data-category="control"],
.deck-card[data-category="dominance"],
.deck-card[data-category="control"] {
  --card-base: #7a2436;
  --card-deep: #2c1018;
  --card-accent: #e88b95;
}

.swipe-card-front[data-category="submission"],
.swipe-card-front[data-category="intimacy"],
.deck-card[data-category="submission"],
.deck-card[data-category="intimacy"] {
  --card-base: #5f283b;
  --card-deep: #24111a;
  --card-accent: #d99aab;
}

.swipe-card-front[data-category="bondage"],
.swipe-card-front[data-category="watching"],
.deck-card[data-category="bondage"],
.deck-card[data-category="watching"] {
  --card-base: #46232c;
  --card-deep: #180e12;
  --card-accent: #ce7380;
}

.swipe-card-front[data-category="sensation"],
.swipe-card-front[data-category="open"],
.deck-card[data-category="sensation"],
.deck-card[data-category="open"] {
  --card-base: #8b303c;
  --card-deep: #351015;
  --card-accent: #f0a09d;
}

.swipe-card-front[data-category="toys"],
.swipe-card-front[data-category="roleplay"],
.swipe-card-front[data-category="extras"],
.deck-card[data-category="toys"],
.deck-card[data-category="roleplay"],
.deck-card[data-category="extras"] {
  --card-base: #673044;
  --card-deep: #26131c;
  --card-accent: #e0a0ad;
}

.card-art {
  position: relative;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  background:
    linear-gradient(145deg, rgba(255, 248, 244, 0.1), transparent 42%),
    var(--card-deep);
}

.card-art.has-image::before {
  position: absolute;
  z-index: 3;
  inset: 16% 13% 12%;
  border: 1px solid rgba(242, 161, 172, 0.3);
  border-top: 0;
  border-radius: 46% 54% 48% 52%;
  background:
    linear-gradient(
      to right,
      rgba(242, 161, 172, 0.3) 0 27%,
      transparent 27% 73%,
      rgba(242, 161, 172, 0.3) 73% 100%
    ) top / 100% 1px no-repeat;
  content: "";
  transform: rotate(-5deg);
}

.card-art::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 248, 244, 0.16);
}

.card-art img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  mix-blend-mode: normal;
  filter: brightness(0.56) contrast(1.14) saturate(0.82);
  pointer-events: none;
}

.card-art-placeholder {
  position: absolute;
  inset: 0;
  overflow: visible;
  transform: translateZ(32px);
}

.tutorial-arrow {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  place-items: center;
  color: #f4a0aa;
  font-family: Arial, sans-serif;
  font-size: clamp(7rem, 18vw, 11rem);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.swipe-card.is-tutorial .card-art-placeholder,
.deck-card.is-tutorial .card-art-placeholder {
  overflow: hidden;
  transform: none;
}

.swipe-card.is-tutorial .tutorial-arrow,
.deck-card.is-tutorial .tutorial-arrow {
  display: grid;
}

.swipe-card.is-tutorial .art-frame,
.swipe-card.is-tutorial .art-ribbon,
.swipe-card.is-tutorial .art-disc,
.deck-card.is-tutorial .art-frame,
.deck-card.is-tutorial .art-ribbon,
.deck-card.is-tutorial .art-disc {
  display: none;
}

.quiz-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.art-frame {
  position: absolute;
  inset: 15% 14% 13%;
  border: 1px solid rgba(255, 248, 244, 0.2);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.art-ribbon {
  position: absolute;
  z-index: 2;
  display: block;
  border: solid var(--card-accent);
  border-radius: 50%;
  filter: drop-shadow(0 24px 16px rgba(0, 0, 0, 0.38));
}

.art-ribbon-one {
  top: 20%;
  left: 11%;
  width: 74%;
  height: 48%;
  border-width: 28px 12px 36px 34px;
  border-right-color: transparent;
  transform: rotate(-18deg);
}

.art-ribbon-two {
  top: 30%;
  left: 31%;
  width: 48%;
  height: 58%;
  border-width: 14px 30px 28px 10px;
  border-left-color: transparent;
  opacity: 0.72;
  transform: rotate(24deg);
}

.art-disc {
  position: absolute;
  z-index: 1;
  top: 31%;
  left: 28%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 244, 0.28);
  border-radius: 50%;
  background: rgba(255, 248, 244, 0.08);
  box-shadow: inset -20px -16px 30px rgba(0, 0, 0, 0.2);
}

.question-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  padding: 24px 28px 27px;
  border-radius: 0 0 7px 7px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22)),
    var(--card-base);
}

.question-card .question-copy h2 {
  min-height: 0;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.05;
}

.outcome-cue {
  position: absolute;
  z-index: 8;
  border: 2px solid currentColor;
  border-radius: 4px;
  padding: 8px 12px 7px;
  color: #f2a1ac;
  background: rgba(19, 11, 13, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 100ms linear, transform 120ms ease;
}

.swipe-card-front.is-dragging .outcome-cue {
  transition: none;
}

.swipe-card-front.is-resetting .outcome-cue {
  transition: none !important;
}

.outcome-cue-no {
  top: 30px;
  right: 26px;
  opacity: var(--no-opacity, 0);
  transform: rotate(9deg) scale(var(--cue-scale, 0.82));
}

.outcome-cue-yes {
  top: 30px;
  left: 26px;
  color: #f3a7b1;
  opacity: var(--yes-opacity, 0);
  transform: rotate(-9deg) scale(var(--cue-scale, 0.82));
}

.outcome-cue-maybe {
  top: 28px;
  left: 50%;
  color: #f4c4ca;
  opacity: var(--maybe-opacity, 0);
  transform: translateX(-50%) scale(var(--cue-scale, 0.82));
}

.swipe-hint {
  width: min(100%, 410px);
  margin: -42px 0 4px;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.swipe-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
  width: min(100%, 410px);
  min-height: 66px;
}

.swipe-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 248, 244, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, background 160ms ease;
}

.swipe-action span {
  font-size: 1.05rem;
  line-height: 1.15;
}

.swipe-action strong {
  font-size: 0.68rem;
  line-height: 1.15;
}

.swipe-action:hover {
  transform: translateY(-2px);
}

.swipe-action:focus-visible {
  border-color: rgba(255, 248, 244, 0.4);
  color: var(--ink);
  transform: translateY(-2px);
}

.swipe-action-yes:focus-visible {
  border-color: rgba(200, 73, 91, 0.72);
  color: #f18493;
  background: var(--red-faint);
}

.swipe-action.is-selected {
  border-color: rgba(200, 73, 91, 0.72);
  color: #f18493;
  background: var(--red-faint);
}

.save-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 32px;
  width: min(100%, 410px);
  margin-top: 8px;
}

/* Keep feedback from moving the controls when a save begins or finishes. */
.quiz-experience .save-row[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.save-status {
  color: var(--quiet);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.share-link {
  width: min(100%, 620px);
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.86rem;
}

.share-link:focus {
  border-color: rgba(200, 73, 91, 0.7);
  outline: 2px solid var(--red-soft);
  outline-offset: 2px;
}

.state-panel {
  display: grid;
  align-content: center;
  width: min(760px, 100%);
  min-height: 420px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.state-panel .pill {
  justify-self: start;
}

.state-panel h1,
.state-panel h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.state-panel > p:not(.pill) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

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

.invite-state,
.compare-state {
  min-height: calc(100vh - 170px);
}

.quiz-focus .quiz-controls {
  margin-top: 14px;
}

.quiz-choices button.is-selected {
  border-color: rgba(200, 73, 91, 0.7);
  background: var(--red-soft);
}

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

.quiz-controls button {
  min-width: 118px;
}

.quiz-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-list article,
.paywall-note,
.partner-note,
.profile-result,
.compare-note,
.distribution-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.match-list span,
.paywall-note span,
.partner-note span,
.profile-result span,
.compare-note span,
.distribution-row span,
.distribution-row small {
  color: var(--quiet);
  font-size: 0.85rem;
  font-weight: 700;
}

.match-list strong,
.paywall-note strong,
.partner-note strong,
.profile-result strong,
.compare-note strong,
.distribution-row strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.paywall-note,
.partner-note {
  margin-top: 16px;
  border-color: rgba(200, 73, 91, 0.34);
}

.profile-result {
  margin-bottom: 14px;
}

.profile-result strong {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.result-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.result-signals article {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #110a0a;
}

.result-signals span,
.score-method {
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.result-signals strong {
  font-size: 1.35rem;
}

.score-method {
  margin: 12px 0 18px !important;
}

.distribution {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.distribution-row {
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.5fr) auto;
  align-items: center;
}

.distribution-row div:first-child {
  display: grid;
  gap: 4px;
}

.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.1);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.compare-note {
  margin-bottom: 14px;
  background: var(--red-faint);
}

.content-copy {
  padding: clamp(54px, 8vw, 110px) 3vw 24px;
}

.invite-copy {
  max-width: 980px;
  padding: clamp(54px, 8vw, 110px) 3vw 24px;
}

.invite-copy h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
}

.invite-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.invite-grid {
  margin-top: 34px;
  margin-bottom: 12px;
}

.content-copy article {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.content-copy h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.inline-btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 18px;
}

.shared-match-list {
  display: grid;
  gap: 10px;
}

.match-choice {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
}

.match-choice span {
  color: var(--quiet);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match-choice strong {
  line-height: 1.35;
}

.match-choice.is-selected {
  border-color: rgba(200, 73, 91, 0.7);
  background: var(--red-soft);
}

.match-choice.match-preview {
  cursor: default;
}

.opener-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid rgba(200, 73, 91, 0.34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.opener-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tone-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tone-row .text-btn.is-selected {
  color: var(--ink);
}

.opener-copy {
  justify-self: start;
}

.match-paywall {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid rgba(200, 73, 91, 0.42);
  border-radius: 8px;
  padding: 20px;
  background: var(--red-faint);
}

.match-paywall span,
.match-paywall small {
  color: var(--quiet);
  font-size: 0.82rem;
  font-weight: 750;
}

.match-paywall strong {
  font-size: 1.35rem;
  line-height: 1.25;
}

.match-paywall > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.match-paywall .primary-btn {
  justify-self: start;
  margin-top: 4px;
}

/* Editorial landing and result surfaces */
.section-label {
  margin: 0 0 18px;
  color: #d67582;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page {
  background:
    radial-gradient(circle at 77% 28%, rgba(200, 73, 91, 0.11), transparent 30rem),
    #090303;
}

.home-page .page-shell {
  width: min(1640px, calc(100% - 48px));
  padding-top: 0;
}

.home-page .hero-panel,
.home-page .section {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .hero-panel::before,
.home-page .how-section::before,
.home-page .reveal-section::before {
  display: none;
}

.home-page .hero-panel {
  min-height: min(900px, 88vh);
  padding: 30px 20px 0;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.72fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  min-height: min(790px, calc(88vh - 86px));
  padding: 54px clamp(0px, 4vw, 64px) 46px;
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;
}

.home-page h1,
.results-page h1,
.results-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.home-page .hero-copy h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4.8rem, 7.8vw, 8.4rem);
  line-height: 0.88;
}

.home-page .primary-btn,
.home-page .nav-cta,
.results-page .primary-btn {
  border-radius: 2px;
}

.hero-deck {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  perspective: 1200px;
}

.hero-deck-card {
  position: absolute;
  inset: 5% 4%;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 244, 0.17);
  border-radius: 8px;
  background: #4a202b;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.hero-deck-back {
  transform: translate(-28px, 8px) rotate(-7deg);
  background: #241318;
}

.hero-deck-middle {
  transform: translate(26px, -9px) rotate(7deg);
  background: #68283a;
}

.hero-deck-front {
  display: grid;
  grid-template-rows: 64% 36%;
  transform: translateZ(28px);
  background: #752539;
}

.hero-card-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 248, 244, 0.08), transparent 42%),
    #241117;
}

.hero-card-art::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 248, 244, 0.15);
}

.hero-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: brightness(0.64) contrast(1.12) saturate(0.82);
}

.hero-orbit {
  position: absolute;
  border: solid #e29aa9;
  border-radius: 50%;
  filter: drop-shadow(0 25px 18px rgba(0, 0, 0, 0.34));
}

.hero-orbit-one {
  top: 19%;
  left: 9%;
  width: 76%;
  height: 51%;
  border-width: 28px 12px 38px 34px;
  border-right-color: transparent;
  transform: rotate(-18deg);
}

.hero-orbit-two {
  top: 31%;
  left: 31%;
  width: 48%;
  height: 55%;
  border-width: 14px 30px 28px 10px;
  border-left-color: transparent;
  opacity: 0.68;
  transform: rotate(24deg);
}

.hero-orbit-core {
  position: absolute;
  top: 32%;
  left: 29%;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 244, 0.24);
  border-radius: 50%;
  background: rgba(255, 248, 244, 0.06);
}

.hero-card-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px 30px 30px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
}

.hero-card-copy span {
  color: rgba(255, 248, 244, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-card-copy strong {
  max-width: 330px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.hero-answer {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 248, 244, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-answer::before,
.hero-answer::after {
  width: 28px;
  height: 1px;
  content: "";
  background: rgba(255, 248, 244, 0.16);
}

.hero-answer-no::before,
.hero-answer-yes::after,
.hero-answer-maybe::after {
  display: none;
}

.hero-answer-no {
  top: 50%;
  left: -72px;
}

.hero-answer-yes {
  top: 50%;
  right: -70px;
}

.hero-answer-maybe {
  bottom: -36px;
  left: 50%;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-answer-maybe::before {
  width: 1px;
  height: 22px;
}

.home-page .section {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: clamp(76px, 9vw, 140px) clamp(20px, 6vw, 94px);
}

.home-page .how-section {
  text-align: left;
}

.home-page .how-section > h2 {
  max-width: 980px;
}

.home-page .step-row {
  gap: 0;
}

.home-page .step-row article {
  min-height: 250px;
  padding: 32px clamp(18px, 3vw, 42px) 0 0;
}

.home-page .step-row article + article {
  padding-left: clamp(18px, 3vw, 42px);
}

.home-page .reveal-section {
  min-height: 670px;
}

.home-page .privacy-section {
  background: transparent;
}

.home-page .final-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.home-page .privacy-grid {
  gap: 0;
}

.home-page .privacy-grid article {
  min-height: 190px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 28px 26px 0 0;
  background: transparent;
}

.home-page .privacy-grid article + article {
  padding-left: 26px;
}

.results-page {
  background: #090303;
}

.partner-result-page {
  overflow-x: clip;
  background: #090303;
}

.partner-result-page .page-shell {
  width: min(100%, 1180px);
  padding: 0 24px;
}

.partner-result-app {
  min-height: 100vh;
}

.partner-result-app .nav {
  padding-top: 30px;
}

.partner-result-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: calc(100vh - 100px);
  padding: 80px 0 120px;
  text-align: center;
}

.partner-result-copy {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.partner-result-copy .hero-actions {
  justify-content: center;
}

.partner-result-score {
  display: block;
  margin: 34px 0 40px;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 400;
  line-height: 0.72;
}

.partner-result-copy h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.partner-result-copy > p:not(.section-label) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.partner-result-copy .partner-sync-status {
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 0.9rem;
}

.partner-result-copy > .secondary-btn {
  margin: 0 auto 24px;
}

.results-page .page-shell {
  width: min(1540px, calc(100% - 48px));
  padding-top: 0;
}

.compare-page .page-shell {
  width: min(1540px, calc(100% - 48px));
  padding-top: 0;
}

.compare-page {
  --pink: #e87d8e;
}

.compare-page .results-app {
  min-height: 100vh;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 30px clamp(20px, 5vw, 80px) 90px;
  background: radial-gradient(circle at 78% 16%, rgba(200, 73, 91, 0.12), transparent 30rem);
  box-shadow: none;
}

.compare-content { display: grid; gap: clamp(70px, 8vw, 120px); }
.compare-hero { max-width: 1120px; padding: clamp(92px, 13vh, 150px) 0 70px; border-bottom: 1px solid var(--line); }
.compare-hero h1 { max-width: 1000px; margin: 0 0 28px; font-size: clamp(4.8rem, 9vw, 9rem); line-height: .86; }
.compare-hero > p:not(.section-label) { max-width: 650px; color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.38rem); line-height: 1.55; }
.compare-count { display: flex; align-items: baseline; gap: 12px; margin-top: 42px; }
.compare-count strong { color: var(--pink); font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; }
.compare-count span { color: var(--quiet); }
.compare-content[aria-busy="true"] .compare-count strong {
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}
.compare-count-spinner {
  align-self: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 248, 244, .18);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: sharedyes-spin 700ms linear infinite;
}
.compare-content[aria-busy="false"] .compare-count-spinner { display: none; }
.shared-map-section { display: grid; grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.shared-map-copy h2, .shared-list-heading h2 { margin: 0 0 20px; font-size: clamp(3rem, 6vw, 6rem); line-height: .92; }
.shared-map-copy > p:last-child, .shared-list-heading > p:last-child { max-width: 520px; color: var(--muted); font-size: 1.12rem; line-height: 1.55; }
.shared-radar-card { min-width: 0; padding: clamp(20px, 3vw, 42px); border: 1px solid var(--line); background: rgba(32, 15, 19, .48); }
.shared-interest-radar { width: 100%; max-height: 650px; overflow: visible; }
.shared-interest-radar .shared-radar-value {
  fill: url(#shared-radar-fill);
  stroke: var(--pink);
  filter: drop-shadow(0 0 12px rgba(232, 125, 142, .35));
}
.shared-list-section { max-width: 1280px; }
.shared-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.shared-list-heading > div { max-width: 840px; }
.compare-page .shared-match-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  gap: 14px;
  align-items: start;
}
.match-card-shell { position: relative; min-width: 0; }
.compare-page .match-choice {
  display: grid;
  grid-template-rows: 104px 82px;
  gap: 0;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: rgba(31, 15, 19, .65);
  text-align: left;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.match-choice-image { position: relative; min-height: 0; overflow: hidden; background: #1b0d11; }
.match-choice-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 3, 5, .38)); content: ""; }
.match-choice-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--match-image-position, center 28%); filter: brightness(.76) saturate(.88); transition: transform 360ms ease, filter 220ms ease; }
.match-choice-copy { display: grid; gap: 5px; min-height: 0; align-content: center; overflow: hidden; padding: 11px 12px 12px; }
.match-choice-copy span { color: var(--pink); }
.match-choice-copy > strong { display: -webkit-box; overflow: hidden; font-size: .88rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.match-info-button {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 248, 244, .52);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(9, 3, 4, .7);
  font: 700 .9rem/1 Georgia, serif;
  cursor: pointer;
}
.compare-page .match-choice:hover,
.compare-page .match-choice:focus-visible,
.match-card-shell.is-selected .match-choice {
  border-color: var(--pink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38), 0 0 0 1px rgba(232, 125, 142, .2);
  transform: translateY(-4px);
}
.compare-page .match-choice:hover img,
.match-card-shell.is-selected .match-choice img { filter: brightness(.9) saturate(1); transform: scale(1.025); }
.match-card-shell.is-selected::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #16070a;
  background: var(--pink);
  content: "✓";
  font-size: .82rem;
  font-weight: 900;
}
.shared-opener-cta { flex: 0 0 auto; }
.shared-opener-cta:disabled { cursor: not-allowed; opacity: .45; }
.compare-page .opener-panel { margin-top: 28px; border: 1px solid var(--line); border-radius: 0; padding: clamp(26px, 4vw, 46px); background: rgba(20, 10, 12, .8); }

.match-detail-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 28px;
  background: rgba(5, 1, 2, .84);
  backdrop-filter: blur(14px);
}
.match-detail-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(300px, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(960px, 100%);
  height: min(780px, calc(100dvh - 56px));
  max-height: min(780px, calc(100vh - 56px));
  overflow: hidden;
  border: 1px solid rgba(232, 125, 142, .48);
  border-radius: 10px;
  background: #160b0e;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
  animation: match-detail-enter 280ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes match-detail-enter {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.match-detail-image { min-height: 480px; overflow: hidden; background: #0c0608; }
.match-detail-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--match-detail-image-position, center 28%); }
.match-detail-copy {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(34px, 5vw, 68px);
  scrollbar-gutter: stable;
}
.match-detail-copy h2 { margin: 0; font-size: clamp(2.4rem, 4.4vw, 4.5rem); line-height: .94; }
.match-detail-copy > p:not(.section-label) { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.match-detail-prompts { display: grid; gap: 12px; margin: 0; padding-left: 1.2rem; color: var(--ink); line-height: 1.5; }
.match-detail-prompts li::marker { color: var(--pink); }
.match-detail-roles { display: grid; gap: 10px; }
.match-detail-role {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  line-height: 1.4;
}
.match-detail-role strong { color: var(--pink); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.match-detail-copy .primary-btn { justify-self: start; }
.match-detail-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 248, 244, .32);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(9, 3, 4, .72);
  font: 300 1.6rem/1 Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 820px) {
  .shared-map-section { grid-template-columns: 1fr; }
  .compare-page .shared-match-list { grid-template-columns: repeat(auto-fill, minmax(170px, 210px)); }
  .shared-list-heading { align-items: stretch; flex-direction: column; }
  .shared-opener-cta { align-self: start; }
  .compare-hero h1 { font-size: clamp(3.6rem, 16vw, 6.2rem); }
  .shared-radar-card { overflow-x: auto; }
  .shared-interest-radar { min-width: 620px; }
  .match-detail-dialog { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; max-height: none; }
  .match-detail-image { min-height: min(62vh, 520px); }
}

@media (max-width: 560px) {
  .compare-page .shared-match-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shared-opener-cta { align-self: stretch; }
  .match-detail-overlay { align-items: start; padding: 14px; }
  .match-detail-dialog { margin: 14px 0; }
  .match-detail-copy { padding: 30px 24px 34px; }
  .match-detail-image { min-height: 390px; }
}

.results-page .results-app {
  min-height: 100vh;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 30px clamp(20px, 5vw, 80px) 70px;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 73, 91, 0.1), transparent 28rem),
    transparent;
  box-shadow: none;
}

.results-breakdown-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.results-breakdown-heading h2,
.results-breakdown-heading .section-label {
  margin-bottom: 0;
}

.results-breakdown-heading .section-label {
  margin-bottom: 12px;
}

.results-breakdown-heading .primary-btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .results-breakdown-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .results-breakdown-heading .primary-btn {
    align-self: stretch;
  }
}

.results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.45fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: end;
  min-height: 520px;
  padding: clamp(72px, 9vh, 108px) 0 64px;
  border-bottom: 1px solid var(--line);
}

.results-intro {
  align-self: start;
  max-width: 900px;
}

.results-intro h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(4.6rem, 8vw, 8rem);
  line-height: 0.88;
}

.results-profile-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.result-access-error .results-hero {
  display: block;
  min-height: 0;
  max-width: 820px;
  padding-top: clamp(90px, 14vh, 150px);
  border-bottom: 0;
}

.result-access-error .results-intro h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.result-access-error .results-score,
.result-access-error .hero-actions,
.result-access-error [data-results-unlock],
.result-access-error [data-full-results] {
  display: none !important;
}

.results-score {
  display: grid;
  align-content: end;
  min-height: 270px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.results-score > span,
.results-score small {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
}

.results-score strong {
  display: block;
  margin: 18px 0 14px;
  font-size: clamp(5rem, 9vw, 8.8rem);
  font-weight: 400;
  line-height: 0.8;
}

.results-body {
  display: grid;
  gap: clamp(70px, 8vw, 110px);
  max-width: 1180px;
  padding: clamp(70px, 8vw, 108px) 0;
}

.results-overview,
.results-breakdown {
  min-width: 0;
}

.results-breakdown h2 {
  margin: 0 0 36px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.results-breakdown .results-breakdown-heading h2 {
  margin: 0;
}

.results-page .result-signals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.results-page .result-signals article {
  min-width: 0;
  padding: 22px 16px 24px 0;
  background: transparent;
}

.results-page .result-signals article + article {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.results-page .result-signals strong {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 500;
}

.results-page .score-method {
  max-width: 510px;
  margin: 10px 0 34px !important;
  font-weight: 500;
}

.results-page .compare-note {
  margin: 0 0 42px;
  border: 0;
  border-left: 2px solid var(--red);
  border-radius: 0;
  padding: 4px 0 4px 20px;
  background: transparent;
}

.results-page .match-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.results-page .match-list > .helper-text {
  margin: 22px 0 10px;
}

.results-page .match-list article {
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.results-page .distribution {
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.results-page .distribution-row {
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.results-page .distribution-summary {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(120px, 1fr) auto 18px;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.results-page .distribution-summary::-webkit-details-marker {
  display: none;
}

.results-page .distribution-summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

.results-page .distribution-category {
  display: grid;
  gap: 4px;
}

.results-page .distribution-chevron {
  width: 9px;
  height: 9px;
  border: solid rgba(255, 248, 244, 0.64);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.results-page .distribution-row[open] .distribution-chevron {
  border-color: var(--red);
  transform: rotate(225deg);
}

.results-page .distribution-kinks {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}

.results-page .distribution-kink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  margin-left: min(5vw, 56px);
  border-top: 1px solid rgba(255, 248, 244, 0.08);
  padding: 14px 18px 14px 0;
}

.results-page .distribution-kink > span {
  color: rgba(255, 248, 244, 0.82);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.4;
}

.results-page .distribution-kink > strong {
  color: var(--quiet);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.results-page .distribution-kink > strong[data-answer="yes"] {
  color: #e18793;
}

.results-page .distribution-kink > strong[data-answer="maybe"] {
  color: rgba(255, 248, 244, 0.72);
}

.results-page .bar-track {
  height: 3px;
  border-radius: 0;
}

.results-page .bar-track span {
  border-radius: 0;
}

.results-page .partner-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr) auto;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  margin: 0;
  border: solid var(--line);
  border-width: 1px 0;
  border-radius: 0;
  padding: 44px 0;
  background: transparent;
}

.results-summary-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
  margin-top: 34px;
}

.results-unlock {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  margin: 10px 0 72px;
  border: 1px solid rgba(242, 161, 172, 0.24);
  border-top: 3px solid #df7686;
  border-radius: 5px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 91, 109, 0.18), transparent 22rem),
    rgba(28, 14, 18, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.results-unlock h2,
.results-feedback h2 {
  margin: 4px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.02;
}

.results-unlock > div > p:last-child,
.results-feedback > div > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.results-unlock-form label,
.results-feedback label {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.results-email-row input,
.results-feedback textarea {
  width: 100%;
  border: 1px solid rgba(255, 248, 244, 0.22);
  border-radius: 3px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(8, 3, 4, 0.72);
  font: inherit;
}

.interest-radar-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 28px 0 48px;
  border: 1px solid rgba(242, 161, 172, 0.18);
  padding: clamp(20px, 4vw, 38px);
  background:
    radial-gradient(circle at 70% 45%, rgba(216, 91, 109, 0.13), transparent 26rem),
    rgba(255, 248, 244, 0.018);
}

.interest-radar-card > div {
  display: grid;
  gap: 10px;
}

.interest-radar-card > div strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 400;
}

.interest-radar-card > div span {
  color: var(--muted);
  line-height: 1.5;
}

.interest-radar {
  width: 100%;
  max-height: 560px;
  overflow: visible;
}

.radar-grid,
.radar-axis {
  fill: none;
  stroke: rgba(255, 248, 244, 0.12);
  stroke-width: 1;
}

.radar-value {
  fill: url(#radar-fill);
  stroke: #ec8d9a;
  stroke-width: 3;
  filter: url(#radar-glow);
}

.radar-label {
  fill: rgba(255, 248, 244, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.radar-label tspan {
  fill: #df7686;
  font-size: 12px;
}

.results-feedback {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(36px, 7vw, 100px);
  margin: 72px 0 20px;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}

.results-feedback form {
  display: grid;
  justify-items: start;
}

.results-feedback textarea {
  min-height: 150px;
  resize: vertical;
}

.results-feedback .secondary-btn {
  margin-top: 12px;
  min-height: 48px;
  border: 1px solid rgba(225, 135, 147, 0.72);
  border-radius: 999px;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(200, 73, 91, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.results-feedback .secondary-btn:hover,
.results-feedback .secondary-btn:focus-visible {
  border-color: #e18793;
  background: rgba(200, 73, 91, 0.28);
}

.results-feedback .secondary-btn:hover {
  transform: translateY(-1px);
}

.results-feedback .secondary-btn:focus-visible {
  outline: 2px solid rgba(255, 248, 244, 0.9);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .results-unlock,
  .results-feedback,
  .interest-radar-card {
    grid-template-columns: 1fr;
  }

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

  .results-email-row .primary-btn {
    width: 100%;
  }

  .interest-radar-card {
    padding-inline: 10px;
  }

  .radar-label {
    font-size: 12px;
  }
}

.results-page .partner-note div {
  display: grid;
  gap: 8px;
}

.results-page .partner-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.results-page .partner-note > div > span {
  color: #d67582;
  text-transform: uppercase;
}

.results-page .partner-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.has-modal {
  overflow: hidden;
}

.global-loading-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 3, 3, 0.82);
  backdrop-filter: blur(8px);
}

.global-loading-overlay[hidden] {
  display: none;
}

.global-loading-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--ink);
  text-align: center;
}

.global-loading-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255, 248, 244, 0.18);
  border-top-color: #ef8fa0;
  border-radius: 50%;
  animation: sharedyes-spin 700ms linear infinite;
}

@keyframes sharedyes-spin {
  to { transform: rotate(360deg); }
}

.exit-intent-sheet {
  max-width: 620px;
  text-align: center;
}

.exit-intent-sheet .section-label,
.exit-intent-sheet .invite-share-copy {
  margin-right: auto;
  margin-left: auto;
}

.invite-share-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 3, 4, 0.78);
  backdrop-filter: blur(10px);
}

.invite-share-sheet {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid rgba(242, 161, 172, 0.3);
  border-top: 3px solid #df7686;
  border-radius: 6px;
  padding: clamp(28px, 5vw, 44px);
  color: var(--ink);
  background: #1c0e12;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.66);
}

.invite-share-sheet h2 {
  max-width: 430px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.invite-share-copy {
  max-width: 480px;
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.55;
}

.invite-share-sheet label {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.invite-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.invite-link-row .share-link {
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 3px;
}

.invite-link-row .primary-btn {
  min-width: 112px;
  padding-inline: 18px;
}

.invite-share-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.invite-share-close span {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.invite-share-close:hover,
.invite-share-close:focus-visible {
  color: var(--ink);
}

.invite-feedback {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #e7a0aa;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

.invite-message {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.invite-page {
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 73, 91, 0.1), transparent 28rem),
    #090303;
}

.invite-page .page-shell {
  width: min(1540px, calc(100% - 48px));
  padding-top: 0;
}

.invite-page .invite-panel {
  min-height: 100vh;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 30px 20px 70px;
  background: transparent;
  box-shadow: none;
}

.invite-page .invite-copy {
  max-width: none;
  padding: clamp(90px, 12vh, 145px) clamp(0px, 5vw, 80px) 40px;
}

.invite-page .invite-copy h1 {
  max-width: 1040px;
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.88;
}

.invite-page .invite-copy > p:not(.section-label) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.invite-page .invite-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 74px 0 42px;
  border-top: 1px solid var(--line);
}

.invite-page .invite-grid article {
  min-height: 185px;
  border: 0;
  border-radius: 0;
  padding: 28px clamp(20px, 3vw, 42px) 20px 0;
  background: transparent;
}

.invite-page .invite-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 42px);
}

.invite-page .primary-btn {
  border-radius: 2px;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 22px, 760px);
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .reveal-section,
  .privacy-section,
  .final-cta,
  .quiz-layout,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .quiz-layout,
  .results-layout {
    min-height: auto;
    gap: 34px;
    padding: 70px 0 0;
  }

  .quiz-card,
  .question-card,
  .results-card {
    justify-self: stretch;
    width: 100%;
  }

  .quiz-heading h1 {
    font-size: 3.2rem;
  }

  .question-prompt {
    font-size: 1.1rem;
  }

  .deck-card .question-copy strong,
  .question-card .question-copy h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .quiz-stage {
    justify-content: stretch;
  }

  .step-row,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .reveal-section {
    min-height: auto;
  }

  .result-preview {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .quiz-personalize {
    gap: 26px;
    min-height: auto;
    padding: 34px 0 40px;
  }

  .pairing-copy h1 {
    max-width: 620px;
    font-size: clamp(2.9rem, 12vw, 4.5rem);
  }

  .pairing-options {
    gap: 9px;
  }

  .pairing-card-copy {
    min-height: 62px;
    padding: 11px 7px;
  }

  .pairing-card-copy strong {
    font-size: 0.76rem;
  }

  .pairing-card-copy small {
    display: none;
  }

  .pairing-symbols {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .pairing-explainer {
    max-width: 520px;
    padding: 0 12px;
  }

}

@media (max-width: 580px) {
  .page-shell {
    width: 100%;
    padding: 0;
  }

  .hero-panel,
  .section {
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .hero-panel {
    padding: 18px;
  }

  .app-panel,
  .content-panel {
    min-height: 100vh;
    padding: 18px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 4.8rem);
  }

  .section {
    margin-top: 0;
    padding: 52px 18px;
  }

  .section h2 {
    font-size: 2.7rem;
  }

  .choice-list button {
    min-height: 54px;
  }

  .quiz-focus {
    padding: 28px 0 12px;
  }

  .quiz-heading {
    grid-template-rows: minmax(92px, auto) minmax(46px, auto);
    min-height: 138px;
    text-align: center;
  }

  .quiz-heading h1 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .quiz-heading p {
    max-width: 300px;
    font-size: 0.78rem;
  }

  .progress-shell {
    margin-top: 16px;
  }

  .question-prompt {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .swipe-stage {
    min-height: 500px;
    margin-top: 6px;
    padding: 28px 12px 62px;
  }

  .quiz-sidebar h1,
  .results-layout h1,
  .content-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .swipe-deck {
    width: min(82vw, 320px);
    height: auto;
    min-height: 400px;
    aspect-ratio: 4 / 5;
  }

  .quiz-focus .swipe-card-front {
    padding: 0;
  }

  .question-copy {
    padding: 20px 20px 22px;
  }

  .question-card .question-copy h2 {
    font-size: 1.65rem;
    line-height: 1.12;
  }

  .deck-card .question-copy strong {
    font-size: 1.65rem;
    line-height: 1.12;
  }

  .art-ribbon-one {
    border-width: 22px 9px 28px 27px;
  }

  .art-ribbon-two {
    border-width: 11px 24px 22px 8px;
  }

  .outcome-cue-no {
    right: 16px;
  }

  .outcome-cue-yes {
    left: 16px;
  }

  .outcome-cue-maybe {
    top: 20px;
  }

  .swipe-hint {
    margin-top: -58px;
  }

  .swipe-actions {
    gap: 22px;
  }

  .swipe-actions,
  .save-row,
  .quiz-reassurance,
  .swipe-hint {
    width: min(82vw, 320px);
  }

  .save-row {
    font-size: 0.75rem;
  }

  .quiz-reassurance {
    max-width: 340px;
  }

  .result-signals {
    grid-template-columns: 1fr;
  }

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

  .footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-height: 840px) {
  .bdsm-quiz-page .quiz-focus {
    padding-top: 20px;
  }

  .bdsm-quiz-page .quiz-heading h1 {
    font-size: clamp(2.15rem, 5vw, 3.2rem);
  }

  .bdsm-quiz-page .progress-shell {
    margin-top: 12px;
  }

  .bdsm-quiz-page .question-prompt {
    margin-top: 10px;
    font-size: 1rem;
  }

  .bdsm-quiz-page .swipe-stage {
    min-height: 390px;
    margin-top: 0;
    padding: 16px 64px 36px;
  }

  .bdsm-quiz-page .swipe-deck {
    width: min(100%, 270px);
  }

  .bdsm-quiz-page .swipe-hint {
    margin-top: -34px;
  }

  .bdsm-quiz-page .quiz-reassurance {
    margin-top: 4px;
  }
}

@media (max-width: 580px) and (max-height: 840px) {
  .bdsm-quiz-page .swipe-stage {
    padding-inline: 12px;
  }

  .bdsm-quiz-page .swipe-deck {
    width: min(74vw, 270px);
  }
}

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

@media (max-width: 980px) {
  .home-page .page-shell,
  .results-page .page-shell {
    width: min(100% - 24px, 760px);
  }

  .home-page .hero-panel {
    min-height: auto;
    padding: 24px 10px 0;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 70px;
    min-height: auto;
    padding: 86px 20px 90px;
  }

  .home-page .hero-copy h1 {
    max-width: 680px;
  }

  .hero-deck {
    width: min(72vw, 430px);
  }

  .home-page .reveal-section,
  .home-page .privacy-section,
  .results-hero,
  .results-body,
  .results-page .partner-note,
  .invite-page .invite-grid {
    grid-template-columns: 1fr;
  }

  .results-page .results-app {
    padding: 24px 10px 60px;
  }

  .results-hero {
    gap: 56px;
    min-height: auto;
    padding: 100px 20px 64px;
  }

  .results-score {
    min-height: auto;
  }

  .results-body {
    gap: 80px;
    padding: 80px 20px;
  }

  .results-page .partner-note {
    margin: 0 20px;
    align-items: start;
  }

  .results-page .partner-note .primary-btn {
    justify-self: start;
  }

  .invite-page .page-shell {
    width: min(100% - 24px, 760px);
  }

  .invite-page .invite-panel {
    padding: 24px 10px 60px;
  }

  .invite-page .invite-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 580px) {
  .home-page .page-shell,
  .results-page .page-shell,
  .invite-page .page-shell {
    width: 100%;
  }

  .home-page .hero-panel,
  .results-page .results-app,
  .invite-page .invite-panel {
    padding: 18px;
  }

  .home-hero {
    gap: 58px;
    padding: 76px 0 82px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(4rem, 19vw, 5.6rem);
  }

  .hero-deck {
    width: min(78vw, 330px);
  }

  .hero-answer-no {
    left: -42px;
  }

  .hero-answer-yes {
    right: -40px;
  }

  .hero-answer-maybe {
    bottom: -30px;
  }

  .home-page .section {
    padding: 70px 18px;
  }

  .result-preview-main {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .preview-signals {
    grid-template-columns: 1fr;
  }

  .preview-signals div {
    min-height: 78px;
  }

  .preview-signals div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .final-cta {
    gap: 42px;
    min-height: 0;
  }

  .final-cta-action .primary-btn {
    width: 100%;
  }

  .home-page .step-row article,
  .home-page .step-row article + article,
  .home-page .privacy-grid article,
  .home-page .privacy-grid article + article {
    min-height: 0;
    padding: 28px 0 42px;
  }

  .home-page .reveal-section {
    gap: 26px;
  }

  .results-hero {
    gap: 48px;
    padding: 76px 0 54px;
  }

  .results-intro h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .results-score strong {
    font-size: clamp(4.8rem, 25vw, 7rem);
  }

  .results-body {
    gap: 70px;
    padding: 70px 0;
  }

  .results-summary-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .results-page .result-signals {
    grid-template-columns: 1fr;
  }

  .results-page .result-signals article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .results-page .match-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .results-page .distribution-summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 12px 16px;
  }

  .results-page .distribution-summary .bar-track {
    grid-column: 1;
  }

  .results-page .distribution-summary small {
    grid-column: 1;
  }

  .results-page .distribution-chevron {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .results-page .distribution-kink {
    margin-left: 0;
    padding-right: 0;
  }

  .results-page .partner-note {
    margin: 0;
  }

  .results-page .partner-note .primary-btn {
    width: 100%;
  }

  .invite-page .invite-copy {
    padding: 76px 0 36px;
  }

  .invite-page .invite-copy h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .invite-page .invite-grid {
    margin-top: 56px;
  }

  .invite-share-overlay {
    align-items: end;
    padding: 12px;
  }

  .invite-share-sheet {
    padding: 30px 20px 24px;
  }

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

  .invite-link-row .primary-btn {
    width: 100%;
  }
}
