:root {
  --ink: #2f1742;
  --ink-soft: #684f77;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --pink: #ec3f98;
  --pink-deep: #c42678;
  --purple: #7543d8;
  --purple-deep: #4c2b93;
  --royal: #3f51c6;
  --aqua: #45d7cf;
  --aqua-deep: #159c9b;
  --yellow: #ffd55f;
  --coral: #f56f65;
  --white: #ffffff;
  --sans: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --body: "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 4px solid var(--aqua-deep);
  outline-offset: 4px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: var(--cream);
}

.labs-alert {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 48px;
  padding: 10px 24px;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: linear-gradient(100deg, #30206f 0%, #6540b7 45%, #3f56c7 100%);
  cursor: pointer;
  text-align: center;
}

.labs-alert::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 34%, rgba(255, 255, 255, 0.16) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: alert-glimmer 7s ease-in-out infinite;
}

.labs-alert span,
.labs-alert strong,
.labs-alert b {
  position: relative;
  z-index: 1;
}

.labs-alert span {
  color: #ffdf76;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.labs-alert strong {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.labs-alert b {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 790px;
  flex-direction: column;
  align-items: center;
  padding: 66px 24px 135px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.96), transparent 31rem),
    linear-gradient(155deg, #fffaf1 0%, #fff1e2 54%, #f6f1ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -5%;
  bottom: -112px;
  left: -5%;
  height: 205px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(105deg, #532d9b, #4d45bc 60%, #3d58c6);
  transform: rotate(-1.4deg);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.62;
  animation: glow-breathe 8s ease-in-out infinite;
}

.hero-glow-one {
  top: 110px;
  left: -170px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(236, 63, 152, 0.2), rgba(236, 63, 152, 0));
}

.hero-glow-two {
  right: -160px;
  bottom: 115px;
  width: 410px;
  height: 410px;
  background: radial-gradient(circle, rgba(69, 215, 207, 0.25), rgba(69, 215, 207, 0));
  animation-delay: -4s;
}

.quiet-stars i {
  position: absolute;
  z-index: -1;
  width: 13px;
  height: 13px;
  opacity: 0.42;
  background: var(--purple);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  animation: quiet-twinkle 3.5s ease-in-out infinite alternate;
}

.quiet-stars i:nth-child(1) { top: 22%; left: 15%; }
.quiet-stars i:nth-child(2) { top: 31%; right: 14%; width: 9px; height: 9px; animation-delay: -1.2s; }
.quiet-stars i:nth-child(3) { top: 67%; left: 22%; width: 8px; height: 8px; background: var(--pink); animation-delay: -2.2s; }
.quiet-stars i:nth-child(4) { top: 64%; right: 20%; background: var(--aqua-deep); animation-delay: -0.8s; }
.quiet-stars i:nth-child(5) { top: 15%; right: 31%; width: 7px; height: 7px; background: #d9a715; animation-delay: -1.9s; }

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(680px, 86vw);
  height: auto;
  margin: 14px auto 18px;
  filter: drop-shadow(0 18px 18px rgba(74, 28, 89, 0.14));
  animation: logo-arrive 0.65s cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
}

.actions,
.feature-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.button,
.feature-actions button,
.feature-actions a,
.bbs-toggle {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button-main {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 6px 7px 0 var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 7px 0 var(--yellow);
}

.button:hover,
.feature-actions button:hover,
.feature-actions a:hover,
.bbs-toggle:hover {
  filter: saturate(1.06);
  transform: translate(3px, 3px);
}

.button-main:hover {
  box-shadow: 3px 4px 0 var(--ink);
}

.button-light:hover {
  box-shadow: 3px 4px 0 var(--yellow);
}

.button:active,
.feature-actions button:active,
.feature-actions a:active,
.bbs-toggle:active,
.result-actions button:active,
.result-actions a:active,
.reveal-button:not(:disabled):active {
  box-shadow: 0 0 0 transparent !important;
  transform: translate(6px, 7px) !important;
}

.mode-note {
  position: relative;
  z-index: 2;
  margin: 25px 0 0;
  color: #745d7f;
  font-size: 13px;
  font-weight: 800;
}

.try-section {
  position: relative;
  z-index: 2;
  padding: 116px 24px 130px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 213, 95, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 82%, rgba(69, 215, 207, 0.17), transparent 26rem),
    linear-gradient(135deg, #532b99 0%, #493ba9 55%, #3d50bb 100%);
}

.section-heading,
.labs-intro {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading > p,
.eyebrow,
.final-section > p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.try-heading > p {
  color: var(--yellow);
}

.section-heading h2,
.labs-intro h2,
.ways-copy > h2,
.bbs-copy h2,
.final-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.try-heading > span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 19px;
  font-weight: 700;
}

.twist-box {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  min-height: 365px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px);
  border: 3px solid var(--ink);
  border-radius: 26px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(47, 23, 66, 0.7), 0 30px 70px rgba(29, 13, 71, 0.2);
}

.twist-box.is-seasonal {
  box-shadow: 10px 12px 0 #d49e28, 0 30px 70px rgba(29, 13, 71, 0.2);
}

.seasonal-form-tag {
  margin: -16px auto 24px;
  color: #77511a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.twist-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.twist-field {
  min-width: 0;
  padding: 16px 17px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 5px 0 var(--ink);
  transform: rotate(-0.6deg);
}

.twist-field:nth-child(2) { transform: rotate(0.6deg); }
.twist-field:nth-child(3) { transform: rotate(-0.35deg); }
.twist-field-pink { background: #ffabd2; }
.twist-field-aqua { background: #95e7e2; }
.twist-field-yellow { background: #ffe597; }

.twist-field > span {
  display: block;
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.twist-field input {
  width: 100%;
  height: 55px;
  padding: 0 15px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  background: #fffdf8;
  font-size: 16px;
  font-weight: 850;
}

.twist-field input::placeholder {
  color: rgba(47, 23, 66, 0.48);
}

.twist-field input:focus {
  outline: 4px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.reveal-button {
  display: flex;
  min-width: 245px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 31px auto 0;
  padding: 14px 25px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 6px 7px 0 var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.reveal-button:not(:disabled):hover {
  box-shadow: 3px 4px 0 var(--ink);
  transform: translate(3px, 3px);
}

.reveal-button:disabled {
  opacity: 0.43;
  cursor: not-allowed;
}

.twist-hint {
  margin: 13px 0 0;
  color: #7e6589;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.twist-result {
  display: grid;
  min-height: 255px;
  place-items: center;
  text-align: center;
}

.twist-result-label {
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.twist-story {
  max-width: 910px;
  margin: 0 auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.6vw, 35px);
  font-weight: 700;
  line-height: 1.55;
}

.twist-story mark {
  padding: 0 0.16em 0.08em;
  border-radius: 5px;
  color: var(--ink);
  background: linear-gradient(transparent 45%, rgba(255, 213, 95, 0.9) 45%);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.result-actions button,
.result-actions a {
  min-height: 45px;
  padding: 11px 17px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.result-actions button {
  background: #fff;
  box-shadow: 4px 5px 0 var(--purple);
}

.result-actions a {
  color: #fff;
  background: var(--pink);
  box-shadow: 4px 5px 0 var(--ink);
}

.result-actions button:hover,
.result-actions a:hover {
  filter: saturate(1.06);
  transform: translate(2px, 2px);
}

.result-actions button:hover { box-shadow: 2px 3px 0 var(--purple); }
.result-actions a:hover { box-shadow: 2px 3px 0 var(--ink); }

.naughty-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 132px;
  margin: 19px auto 1px;
  place-items: center;
}

.thinking-dots {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.thinking-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 2px 2px 0 var(--pink);
  animation: naughty-think 0.62s ease-in-out infinite alternate;
}

.thinking-dots i:nth-child(2) { animation-delay: 0.14s; }
.thinking-dots i:nth-child(3) { animation-delay: 0.28s; }

.naughty-reaction {
  position: relative;
  isolation: isolate;
  display: flex;
  box-sizing: border-box;
  width: min(680px, calc(100% - 34px));
  min-height: 122px;
  align-items: center;
  justify-content: center;
  padding: 27px 70px;
  color: var(--ink);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 950;
  line-height: 1.4;
  text-align: center;
  transform-origin: 50% 65%;
  animation: naughty-arrive 0.72s cubic-bezier(0.18, 0.9, 0.24, 1.28) both, naughty-float 3.2s 0.8s ease-in-out infinite;
}

.naughty-cloud {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(5px 6px 0 var(--pink));
}

.naughty-cloud path {
  fill: #faebd7;
  stroke: #4169e1;
  stroke-width: 3.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.reaction-star {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  background: #ffd447;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(1px 1px 0 #b7791f);
  animation: naughty-twinkle 0.72s ease-in-out infinite alternate;
}

.reaction-star-one { top: 25px; left: 48px; }
.reaction-star-two { right: 48px; bottom: 24px; animation-delay: 0.2s; }

.how-ribbon {
  position: relative;
  z-index: 5;
  display: flex;
  width: calc(100% + 30px);
  min-height: 82px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.4vw, 31px);
  margin: -10px -15px 0;
  padding: 20px 28px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 11px 0 rgba(47, 23, 66, 0.08);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 950;
  transform: rotate(0.7deg);
}

.how-ribbon b {
  color: var(--pink-deep);
}

.labs-section {
  position: relative;
  padding: 126px max(24px, calc(50vw - 610px)) 134px;
  background:
    radial-gradient(circle at 84% 10%, rgba(117, 67, 216, 0.1), transparent 25rem),
    linear-gradient(180deg, #fffaf1 0%, #fff6e9 100%);
}

.labs-intro {
  max-width: 860px;
  margin-bottom: 52px;
}

.eyebrow {
  color: var(--pink-deep);
}

.labs-intro h2 {
  color: var(--ink);
}

.labs-intro > p:last-child {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.seasonal-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 26px;
  color: #fff;
  background: #412584;
  box-shadow: 10px 12px 0 var(--yellow), 0 28px 65px rgba(66, 33, 77, 0.16);
}

.seasonal-copy {
  padding: clamp(38px, 6vw, 72px);
  background:
    radial-gradient(circle at 6% 8%, rgba(255, 213, 95, 0.12), transparent 17rem),
    linear-gradient(145deg, #40217d 0%, #5a2b86 100%);
}

.feature-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 5px rgba(69, 215, 207, 0.12);
}

.seasonal-copy h3 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(39px, 5.2vw, 65px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.seasonal-copy > p:last-of-type {
  max-width: 700px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.67;
}

.feature-actions {
  justify-content: flex-start;
  margin-top: 31px;
}

.feature-actions button,
.feature-actions a {
  cursor: pointer;
}

.feature-actions button {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 6px 0 #1c103b;
}

.feature-actions a {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 5px 6px 0 #e6bd45;
}

.feature-actions button:hover { box-shadow: 2px 3px 0 #1c103b; }
.feature-actions a:hover { box-shadow: 2px 3px 0 #e6bd45; }

.seasonal-poster {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  overflow: hidden;
  color: #ffeaa0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 217, 104, 0.13), transparent 16rem),
    linear-gradient(155deg, #123f45 0%, #1f5552 100%);
  text-align: center;
}

.seasonal-poster::before,
.seasonal-poster::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 234, 160, 0.16);
  border-radius: 50%;
}

.seasonal-poster::before { top: -120px; right: -80px; }
.seasonal-poster::after { bottom: -130px; left: -90px; }

.seasonal-poster > span {
  margin-bottom: 18px;
  color: #8fede4;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.seasonal-poster strong {
  font-size: clamp(50px, 6vw, 76px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.seasonal-poster p {
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.seasonal-poster i {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 234, 160, 0.35);
  color: #ffeaa0;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ways-section {
  position: relative;
  display: block;
  min-height: 0;
  padding: 76px 24px 84px;
  background:
    radial-gradient(circle at 12% 64%, rgba(69, 215, 207, 0.2), transparent 25rem),
    radial-gradient(circle at 88% 22%, rgba(236, 63, 152, 0.12), transparent 23rem),
    #f2fffc;
}

.ways-copy {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.ways-copy > h2 {
  max-width: none;
  color: var(--ink);
  text-align: center;
}

.ways-copy > .eyebrow {
  text-align: center;
}

.ways-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 38px auto 0;
}

.way-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  min-height: 108px;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 20px 28px 20px 20px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  color: var(--ink);
  box-shadow: 6px 7px 0 var(--ink);
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.way-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 26px;
  font-weight: 950;
}

.way-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.way-card p {
  margin: 5px 0 0;
  color: rgba(47, 23, 66, 0.75);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.way-card-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.way-card:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.way-solo { background: #ffb2d7; transform: rotate(-0.6deg); }
.way-multi { background: #91e7e1; transform: rotate(0.6deg); }

@media (hover: hover) {
  .way-solo:hover {
    animation: way-wobble-solo 0.48s ease-in-out;
  }

  .way-multi:hover {
    animation: way-wobble-multi 0.48s ease-in-out;
  }
}

@media (max-width: 760px) {
  .ways-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.bbs-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 115px);
  padding: 120px max(24px, calc(50vw - 610px));
  color: #fff;
  background:
    radial-gradient(circle at 12% 9%, rgba(117, 67, 216, 0.34), transparent 32rem),
    radial-gradient(circle at 88% 90%, rgba(69, 215, 207, 0.12), transparent 28rem),
    #17152f;
}

.bbs-copy .eyebrow {
  color: #8ce7df;
}

.bbs-copy h2 {
  max-width: 720px;
  font-size: clamp(42px, 5.3vw, 68px);
}

.bbs-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.bbs-toggle {
  gap: 22px;
  margin-top: 31px;
  border-color: #f0c959;
  color: #271942;
  background: #f6d365;
  box-shadow: 5px 6px 0 #6e3cc0;
  cursor: pointer;
}

.bbs-toggle:hover {
  box-shadow: 2px 3px 0 #6e3cc0;
}

.bbs-toggle span {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: #4d2e90;
  font-size: 18px;
  line-height: 1;
}

.bbs-details {
  display: grid;
  max-height: 0;
  gap: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
}

.bbs-details.is-open {
  max-height: 450px;
  margin-top: 30px;
  opacity: 1;
}

.bbs-details div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.bbs-details strong {
  color: #f8d66f;
  font-size: 13px;
}

.bbs-details span {
  color: rgba(255, 255, 255, 0.69);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.bbs-screen-frame {
  position: relative;
  overflow: hidden;
  width: min(720px, 100%);
  margin: 0 auto;
  border: 2px solid #63e2dc;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 30px 80px rgba(3, 3, 14, 0.42), 8px 9px 0 rgba(117, 67, 216, 0.62);
  transform: rotate(0.35deg);
}

.bbs-screen {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.bbs-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bbs-confetti i {
  position: absolute;
  top: -8%;
  left: 8%;
  width: 6px;
  height: 6px;
  background: #ffff58;
  box-shadow: 0 0 5px rgba(255, 255, 88, 0.7);
  animation: bbs-confetti-fall 5.4s linear infinite;
}

.bbs-confetti i:nth-child(2) { left: 17%; width: 4px; height: 8px; background: #5fe8e4; animation-delay: -3.7s; animation-duration: 6.2s; }
.bbs-confetti i:nth-child(3) { left: 26%; background: #f157ee; animation-delay: -1.6s; animation-duration: 4.8s; }
.bbs-confetti i:nth-child(4) { left: 35%; width: 8px; height: 4px; background: #62ff5a; animation-delay: -4.3s; }
.bbs-confetti i:nth-child(5) { left: 44%; background: #fff; animation-delay: -2.4s; animation-duration: 6.5s; }
.bbs-confetti i:nth-child(6) { left: 53%; width: 4px; height: 9px; background: #ff6f65; animation-delay: -0.9s; }
.bbs-confetti i:nth-child(7) { left: 62%; background: #5fe8e4; animation-delay: -5.1s; animation-duration: 6.8s; }
.bbs-confetti i:nth-child(8) { left: 70%; width: 8px; height: 4px; background: #ffff58; animation-delay: -2.9s; }
.bbs-confetti i:nth-child(9) { left: 78%; background: #f157ee; animation-delay: -4.8s; animation-duration: 5.9s; }
.bbs-confetti i:nth-child(10) { left: 86%; width: 4px; height: 9px; background: #62ff5a; animation-delay: -1.2s; }
.bbs-confetti i:nth-child(11) { left: 92%; background: #fff; animation-delay: -3.3s; animation-duration: 6.4s; }
.bbs-confetti i:nth-child(12) { left: 4%; width: 8px; height: 4px; background: #ff6f65; animation-delay: -4.5s; animation-duration: 5.1s; }

@keyframes bbs-confetti-fall {
  0% { top: -8%; opacity: 0; transform: rotate(0deg); }
  8% { opacity: 0.95; }
  90% { opacity: 0.9; }
  100% { top: 106%; opacity: 0; transform: rotate(620deg); }
}

.final-section {
  position: relative;
  display: flex;
  min-height: 505px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 108px 24px 100px;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.12), transparent 26rem),
    linear-gradient(135deg, #e8488f 0%, #7a4cdb 60%, #4059c7 100%);
  text-align: center;
}

.final-section > p {
  color: #fff5c5;
}

.final-section h2 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(47px, 6.2vw, 82px);
  text-shadow: 4px 5px rgba(47, 23, 66, 0.2);
}

.final-pop {
  position: absolute;
  padding: 12px 17px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 21px;
  font-weight: 950;
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.final-pop:hover { box-shadow: 2px 3px 0 var(--ink); }
.final-pop:active { box-shadow: none; }

.final-pop-one { top: 18%; left: 9%; transform: rotate(-13deg); }
.final-pop-two { right: 10%; bottom: 19%; background: var(--aqua); transform: rotate(11deg); }
.final-pop-three { top: 13%; right: 28%; color: #fff; background: var(--purple-deep); transform: rotate(7deg); }

.final-labs-note {
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 28px;
  padding: 35px 24px;
  color: #705a7b;
  background: var(--cream);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  grid-area: 1 / 2 / 3;
  align-items: center;
  gap: 21px;
  color: var(--ink);
  font-weight: 900;
}

.site-footer nav a:hover {
  color: var(--pink-deep);
}

/* Inner pages */
.inner-site {
  min-height: 100vh;
  background: var(--cream);
}

.inner-header {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(24px, calc(50vw - 610px));
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 248, 237, 0.97);
}

.inner-brand {
  display: block;
  flex: 0 0 auto;
}

.inner-brand img {
  width: 218px;
  height: auto;
}

.inner-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 13px;
  font-weight: 950;
}

.inner-header nav a:not(.inner-play-link) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: #fff;
  box-shadow: 4px 5px 0 var(--yellow);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.inner-header nav a:not(.inner-play-link):hover {
  color: var(--ink);
  box-shadow: 2px 3px 0 var(--yellow);
  transform: translate(2px, 2px);
}

.inner-header nav a:not(.inner-play-link):active {
  box-shadow: none;
  transform: translate(4px, 5px);
}

.inner-play-link {
  padding: 11px 17px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 4px 5px 0 var(--ink);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.inner-play-link:hover {
  box-shadow: 2px 3px 0 var(--ink);
  transform: translate(2px, 2px);
}

.inner-play-link:active {
  box-shadow: none;
  transform: translate(4px, 5px);
}

.inner-footer {
  border-top: 2px solid var(--ink);
}

.inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: 610px;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: 92px max(24px, calc(50vw - 610px));
  overflow: hidden;
}

.inner-hero-copy h1,
.legal-hero h1,
.not-found-stage h1 {
  margin: 0;
  font-size: clamp(49px, 6.5vw, 84px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.inner-hero-copy > p:not(.eyebrow),
.centered-inner-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.58;
}

.inner-actions {
  justify-content: flex-start;
}

.inner-section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.inner-section-heading h2,
.door-download-copy h2,
.door-screen-copy h2,
.inner-cta h2,
.support-prep h2 {
  margin: 0;
  font-size: clamp(39px, 5vw, 62px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.inner-section-heading > p:last-child {
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.inner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 78px max(24px, calc(50vw - 610px));
  color: #fff;
  background: linear-gradient(115deg, #4b2b92, #3f55c7);
}

.inner-cta .eyebrow {
  color: var(--yellow);
}

.inner-cta h2 {
  max-width: 720px;
  color: #fff;
}

.inner-cta .actions {
  flex: 0 0 auto;
  margin-top: 0;
}

/* BBS Door page */
.bbs-door-hero {
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(117, 67, 216, 0.35), transparent 31rem),
    radial-gradient(circle at 87% 85%, rgba(69, 215, 207, 0.14), transparent 26rem),
    #17152f;
}

.bbs-door-hero .eyebrow {
  color: #8ce7df;
}

.bbs-door-hero .inner-hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.73);
}

.door-badge {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  width: min(390px, 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 3px solid #6ee0d7;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, #6537b4, #283d8d);
  box-shadow: 13px 15px 0 #f0c959;
  text-align: center;
  transform: rotate(2deg);
}

.door-badge span,
.door-badge i {
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.door-badge span { color: #8ff1e8; }
.door-badge i { color: #ffe083; }

.door-badge strong {
  margin: 18px 0;
  font-size: clamp(57px, 7vw, 86px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.75;
}

.door-download-section,
.door-path-section,
.support-options,
.play-steps-section {
  padding: 112px max(24px, calc(50vw - 610px));
}

.door-download-section {
  background:
    radial-gradient(circle at 88% 20%, rgba(236, 63, 152, 0.1), transparent 25rem),
    var(--cream);
}

.door-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(42px, 7vw, 92px);
  padding: clamp(32px, 5vw, 65px);
  border: 3px solid var(--ink);
  border-radius: 25px;
  background: var(--paper);
  box-shadow: 10px 12px 0 var(--yellow);
}

.door-download-copy .eyebrow {
  color: var(--pink-deep);
}

.door-download-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.door-download-disabled {
  width: auto;
  margin-top: 30px;
  opacity: 0.62;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.door-download-disabled:disabled:hover,
.door-download-disabled:disabled:active {
  box-shadow: 6px 7px 0 var(--ink) !important;
  transform: none !important;
}

.door-download-copy .door-file-note {
  max-width: 700px;
  margin-top: 17px;
  padding: 14px 16px;
  border-left: 5px solid var(--pink);
  border-radius: 0 9px 9px 0;
  color: #684f77;
  background: #fff0f7;
  font-size: 13px;
  line-height: 1.5;
}

.door-package-facts {
  margin: 0;
  padding: 5px 0;
}

.door-package-facts div {
  padding: 19px 0;
  border-bottom: 1px solid #dbcfe1;
}

.door-package-facts div:last-child {
  border-bottom: 0;
}

.door-package-facts dt {
  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.door-package-facts dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.door-screen-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 105px);
  padding: 112px max(24px, calc(50vw - 610px));
  color: #fff;
  background: #17152f;
}

.door-screen-copy .eyebrow {
  color: #8ce7df;
}

.door-screen-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.71);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.door-check-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.door-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
}

.door-check-list span {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  place-items: center;
  color: #17152f;
  background: var(--aqua);
  font-size: 13px;
  font-weight: 950;
}

.door-page-screen {
  transform: rotate(0.5deg);
}

.door-path-section {
  background: #f2fffc;
}

.door-path-grid,
.play-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.door-path-grid li,
.play-steps-grid li {
  min-width: 0;
  padding: 28px 24px 30px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 5px 6px 0 var(--ink);
}

.door-path-grid li > span,
.play-steps-grid li > span,
.mode-card > span {
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--purple-deep);
  font-size: 18px;
  font-weight: 950;
}

.door-path-grid h3,
.play-steps-grid h3,
.mode-card h3,
.support-card h3 {
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 950;
}

.door-path-grid p,
.play-steps-grid p,
.mode-card p,
.support-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* How to play */
.simple-inner-hero {
  display: flex;
  min-height: 540px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 32%, rgba(69, 215, 207, 0.21), transparent 25rem),
    radial-gradient(circle at 83% 28%, rgba(236, 63, 152, 0.15), transparent 25rem),
    linear-gradient(155deg, #fffaf1, #f7f3ff);
  text-align: center;
}

.centered-inner-copy {
  max-width: 920px;
  margin: 0 auto;
}

.centered-inner-copy > p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.centered-inner-copy .inner-actions {
  justify-content: center;
}

.play-steps-section {
  color: #fff;
  background: linear-gradient(135deg, #532b99, #3d50bb);
}

.play-steps-section .eyebrow {
  color: var(--yellow);
}

.play-steps-grid {
  grid-template-columns: repeat(5, 1fr);
}

.play-steps-grid li {
  color: var(--ink);
}

.play-steps-grid li:nth-child(2) { background: #ffb2d7; }
.play-steps-grid li:nth-child(3) { background: #a1ebe6; }
.play-steps-grid li:nth-child(4) { background: #ffe597; }
.play-steps-grid li:nth-child(5) { background: #f5c2e0; }

.mode-section {
  padding: 112px max(24px, calc(50vw - 610px));
  background: #f2fffc;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1030px;
  margin: 0 auto;
}

.mode-card {
  padding: 40px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 8px 0 var(--ink);
}

.mode-card-solo { background: #ffb2d7; transform: rotate(-0.45deg); }
.mode-card-multi { background: #91e7e1; transform: rotate(0.45deg); }

/* Support */
.support-hero {
  min-height: 430px;
}

.support-options {
  background: #f2fffc;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 6px 7px 0 var(--ink);
}

.support-card-main {
  background: #ffb2d7;
}

.support-mark {
  display: grid;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--purple-deep);
  font-size: 18px;
  font-weight: 950;
}

.support-card .button {
  width: 100%;
  margin-top: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.support-card p {
  margin-bottom: 28px;
}

.support-prep {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 95px max(24px, calc(50vw - 610px));
  color: #fff;
  background: #17152f;
}

.support-prep .eyebrow {
  color: var(--aqua);
}

.support-prep ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-prep li {
  padding: 16px 20px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

/* Legal */
.legal-hero {
  padding: 88px max(24px, calc(50vw - 540px)) 80px;
  color: #fff;
  background: linear-gradient(135deg, #4d2c93, #4055c6);
}

.privacy-legal-hero {
  background: linear-gradient(135deg, #176764, #4055c6);
}

.legal-hero > p {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  color: #fff;
}

.legal-hero > span {
  display: block;
  max-width: 840px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.legal-document {
  max-width: 1080px;
  margin: 0 auto;
  padding: 78px 24px 105px;
  color: #533f5f;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.legal-document > p:first-child {
  margin: 0 0 45px;
  padding: 23px 26px;
  border: 2px solid #d8cae0;
  border-radius: 15px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
}

.legal-document section {
  padding: 31px 0 34px;
  border-top: 1px solid #ddcfe2;
}

.legal-document h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal-document p {
  margin: 14px 0 0;
}

.legal-document ul {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding-left: 25px;
}

.legal-document a {
  color: var(--pink-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* 404 */
.not-found-stage {
  position: relative;
  display: flex;
  min-height: 665px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 105px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.15), transparent 27rem),
    linear-gradient(135deg, #e8488f, #7543d8 58%, #4059c7);
  color: #fff;
  text-align: center;
}

.not-found-stage .eyebrow {
  color: #fff3a7;
}

.not-found-stage h1 {
  max-width: 930px;
  color: #fff;
  text-shadow: 4px 5px rgba(47, 23, 66, 0.2);
}

.not-found-stage > p:not(.eyebrow) {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--body);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.not-found-stage .inner-actions {
  justify-content: center;
}

.not-found-pop {
  position: absolute;
  padding: 13px 19px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.not-found-pop-one { top: 17%; left: 8%; transform: rotate(-11deg); }
.not-found-pop-two { right: 9%; bottom: 18%; background: var(--aqua); transform: rotate(9deg); }

.bbs-route-note {
  max-width: 620px !important;
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.54) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@keyframes alert-glimmer {
  0%, 72% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(120%); }
}

@keyframes logo-arrive {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(0.98); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 0.72; }
}

@keyframes quiet-twinkle {
  from { opacity: 0.2; transform: scale(0.76) rotate(0deg); }
  to { opacity: 0.56; transform: scale(1.14) rotate(12deg); }
}

@keyframes way-wobble-solo {
  0%, 100% { transform: rotate(-0.6deg) translateY(0); }
  25% { transform: rotate(1deg) translateY(-3px); }
  50% { transform: rotate(-1.4deg) translateY(-2px); }
  75% { transform: rotate(0.45deg) translateY(-3px); }
}

@keyframes way-wobble-multi {
  0%, 100% { transform: rotate(0.6deg) translateY(0); }
  25% { transform: rotate(-1deg) translateY(-3px); }
  50% { transform: rotate(1.4deg) translateY(-2px); }
  75% { transform: rotate(-0.45deg) translateY(-3px); }
}

@keyframes naughty-think {
  from { opacity: 0.35; transform: translateY(3px) scale(0.82); }
  to { opacity: 1; transform: translateY(-4px) scale(1.08); }
}

@keyframes naughty-arrive {
  0% { opacity: 0; transform: translateY(18px) scale(0.42) rotate(-5deg); }
  55% { opacity: 1; transform: translateY(-4px) scale(1.09) rotate(2deg); }
  76% { transform: translateY(2px) scale(0.96) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes naughty-float {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-4px) rotate(0.35deg); }
}

@keyframes naughty-twinkle {
  from { opacity: 0.4; scale: 0.7; }
  to { opacity: 1; scale: 1.16; }
}

@media (max-width: 980px) {
  .inner-header {
    align-items: flex-start;
  }

  .inner-header nav {
    flex-wrap: wrap;
    row-gap: 13px;
  }

  .inner-hero,
  .door-download-card,
  .door-screen-section,
  .support-prep {
    grid-template-columns: 1fr;
  }

  .door-badge {
    width: min(340px, 78vw);
  }

  .door-screen-copy {
    max-width: 760px;
  }

  .door-path-grid,
  .play-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
  }

  .support-card .button {
    width: auto;
  }

  .inner-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .twist-fields {
    grid-template-columns: 1fr;
  }

  .twist-field {
    transform: none !important;
  }

  .seasonal-feature {
    grid-template-columns: 1fr;
  }

  .seasonal-poster {
    min-height: 390px;
  }

  .ways-section { padding-top: 68px; padding-bottom: 74px; }

  .bbs-section {
    grid-template-columns: 1fr;
  }

  .bbs-screen-frame {
    width: min(680px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 660px) {
  .inner-header {
    min-height: auto;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 13px 14px 17px;
  }

  .inner-brand img {
    width: 184px;
  }

  .inner-header nav {
    width: 100%;
    justify-content: center;
    gap: 10px 15px;
    font-size: 11px;
  }

  .inner-play-link {
    padding: 8px 12px;
    border-radius: 9px;
    box-shadow: 3px 4px 0 var(--ink);
  }

  .inner-hero {
    min-height: auto;
    gap: 54px;
    padding: 72px 18px 85px;
  }

  .inner-hero-copy h1,
  .legal-hero h1,
  .not-found-stage h1 {
    font-size: clamp(42px, 13vw, 61px);
  }

  .inner-hero-copy > p:not(.eyebrow),
  .centered-inner-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .inner-hero .actions,
  .inner-cta .actions,
  .not-found-stage .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .door-badge {
    width: min(295px, 80vw);
    box-shadow: 8px 9px 0 #f0c959;
  }

  .door-download-section,
  .door-screen-section,
  .door-path-section,
  .support-options,
  .play-steps-section,
  .mode-section {
    padding: 82px 17px;
  }

  .door-download-card {
    gap: 36px;
    padding: 30px 20px 33px;
    border-radius: 19px;
    box-shadow: 7px 8px 0 var(--yellow);
  }

  .door-download-disabled {
    width: 100%;
    min-height: 68px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .door-path-grid,
  .play-steps-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    padding: 30px 25px;
    transform: none;
  }

  .support-card {
    padding: 29px 23px;
  }

  .support-card .button {
    width: 100%;
  }

  .support-prep {
    gap: 39px;
    padding: 80px 18px;
  }

  .inner-cta {
    padding: 70px 18px;
  }

  .legal-hero {
    padding: 72px 19px 68px;
  }

  .legal-hero > span {
    font-size: 16px;
  }

  .legal-document {
    padding: 54px 18px 82px;
    font-size: 15px;
  }

  .legal-document > p:first-child {
    padding: 20px;
  }

  .not-found-stage {
    min-height: 620px;
    padding: 95px 18px;
  }

  .not-found-stage > p:not(.eyebrow) {
    font-size: 17px;
  }

  .not-found-pop {
    font-size: 13px;
  }

  .not-found-pop-one { top: 5%; left: 6%; }
  .not-found-pop-two { right: 6%; bottom: 5%; }

  .labs-alert {
    min-height: 62px;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
  }

  .labs-alert span { font-size: 9px; }
  .labs-alert strong { font-size: 13px; }
  .labs-alert b { display: none; }

  .hero {
    min-height: 735px;
    padding: 45px 18px 125px;
  }

  .hero-logo {
    width: min(560px, 96vw);
    margin-top: 22px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .quiet-stars i:nth-child(3),
  .quiet-stars i:nth-child(5) {
    display: none;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: min(360px, 100%);
  }

  .mode-note {
    max-width: 340px;
    line-height: 1.45;
  }

  .try-section {
    padding: 88px 16px 104px;
  }

  .try-heading {
    margin-bottom: 30px;
  }

  .twist-box {
    padding: 22px 17px 27px;
    border-radius: 20px;
    box-shadow: 7px 8px 0 rgba(47, 23, 66, 0.7), 0 25px 60px rgba(29, 13, 71, 0.17);
  }

  .twist-box.is-seasonal {
    box-shadow: 7px 8px 0 #d49e28, 0 25px 60px rgba(29, 13, 71, 0.17);
  }

  .seasonal-form-tag {
    margin-top: 0;
  }

  .twist-fields {
    gap: 13px;
  }

  .twist-field {
    padding: 13px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .reveal-button {
    width: 100%;
    min-width: 0;
  }

  .twist-story {
    font-size: 23px;
  }

  .naughty-stage {
    min-height: 132px;
    margin-top: 16px;
  }

  .naughty-reaction {
    width: calc(100% - 8px);
    min-height: 118px;
    padding: 27px 43px;
  }

  .reaction-star {
    width: 15px;
    height: 15px;
  }

  .reaction-star-one { top: 25px; left: 27px; }
  .reaction-star-two { right: 27px; bottom: 25px; }

  .how-ribbon {
    gap: 9px 12px;
    padding: 17px 18px;
    font-size: 12px;
  }

  .labs-section {
    padding: 95px 16px 105px;
  }

  .labs-intro > p:last-child {
    font-size: 16px;
  }

  .seasonal-feature {
    border-radius: 20px;
    box-shadow: 7px 8px 0 var(--yellow);
  }

  .seasonal-copy {
    padding: 38px 24px 43px;
  }

  .feature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-actions button,
  .feature-actions a {
    width: 100%;
  }

  .seasonal-poster {
    min-height: 340px;
  }

  .ways-section {
    min-height: auto;
    padding: 62px 17px 68px;
  }

  .way-card {
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    min-height: 104px;
    gap: 14px;
    padding: 17px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .way-card > span {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .way-card-arrow {
    width: 36px;
    height: 36px;
  }

  .way-card h3 { font-size: 21px; }
  .way-card p { font-size: 13px; }

  .bbs-section {
    gap: 55px;
    padding: 92px 18px 98px;
  }

  .bbs-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .bbs-toggle {
    width: 100%;
    justify-content: center;
  }

  .bbs-details div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bbs-screen-frame {
    transform: none;
    box-shadow: 6px 7px 0 rgba(69, 215, 207, 0.35);
  }

  .final-section {
    min-height: 535px;
    padding: 120px 18px 105px;
  }

  .final-pop {
    font-size: 15px;
  }

  .final-pop-one { top: 7%; left: 7%; }
  .final-pop-two { right: 7%; bottom: 6%; }
  .final-pop-three { top: 7%; right: 7%; }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer nav {
    grid-area: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Version 1.2 refinements */
.seasonal-feature {
  grid-template-columns: 1fr;
}

.seasonal-copy {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seasonal-feature.has-feature-image {
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
}

.seasonal-image {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: #25174f;
}

.seasonal-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.inner-header nav .inner-nav-link,
.inner-header nav .inner-play-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.inner-header nav .inner-nav-link {
  color: var(--ink);
  background: #fff;
  box-shadow: 4px 5px 0 var(--yellow);
}

.inner-header nav .inner-nav-link:hover {
  color: var(--pink-deep);
  box-shadow: 2px 3px 0 var(--yellow);
  transform: translate(2px, 2px);
}

.inner-header nav .inner-nav-link:active,
.inner-header nav .inner-play-link:active {
  box-shadow: none;
  transform: translate(4px, 5px);
}

.bbs-simple-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: 650px;
}

.bbs-simple-hero .door-page-screen {
  width: 100%;
}

.bbs-simple-download {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin: 90px auto;
  padding: clamp(30px, 5vw, 56px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 9px 10px 0 var(--yellow);
}

.bbs-simple-download h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.bbs-simple-download > div:first-child > p:last-child {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-weight: 700;
  line-height: 1.65;
}

.bbs-simple-action {
  flex: 0 0 min(340px, 100%);
  text-align: center;
}

.bbs-simple-action .bbs-door-version {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: #c9f4ef;
  box-shadow: 3px 4px 0 var(--yellow);
  font-family: var(--body);
  line-height: 1;
}

.bbs-door-version span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bbs-door-version strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 950;
}

.bbs-simple-action .door-download-disabled {
  width: 100%;
  margin: 0;
}

.bbs-simple-action p,
.bbs-simple-help {
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.bbs-simple-action strong { overflow-wrap: anywhere; }

.bbs-simple-help {
  margin: -34px auto 78px;
  padding: 0 20px;
  text-align: center;
}

.bbs-simple-help a {
  color: var(--purple-deep);
  font-weight: 900;
  text-decoration: underline;
}

/* Support page mirrors the established taletwisters.games support screen. */
.support-exact-site {
  min-height: 100vh;
  overflow-x: hidden;
  color: #321345;
  background:
    radial-gradient(circle at 8% 18%, rgba(69, 216, 208, 0.34), transparent 24rem),
    radial-gradient(circle at 92% 9%, rgba(239, 63, 157, 0.24), transparent 25rem),
    linear-gradient(180deg, #fffaf1, #fff7e9);
}

.support-exact-header {
  display: flex;
  width: min(1180px, calc(100% - 44px));
  min-height: 124px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.support-exact-header img { width: 270px; height: auto; }

.support-exact-header nav {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 900;
}

.support-exact-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 2px solid #321345;
  border-radius: 999px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.support-nav-link {
  background: #fff;
  box-shadow: 4px 4px 0 #ffd75e;
}

.support-play-link {
  color: #fff;
  background: #ef3f9d;
  box-shadow: 4px 4px 0 #321345;
}

.support-exact-header nav a:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #321345;
}

.support-exact-main {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 24px 0 92px;
}

.support-exact-intro {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.support-exact-intro .eyebrow {
  margin: 0 0 10px;
  color: #ca267d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-exact-intro h1 {
  margin: 0;
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.support-intro-copy {
  margin: 18px auto 0;
  color: #654875;
  font-family: var(--body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.5;
}

.support-exact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: start;
  gap: 30px;
}

.support-form-card,
.support-side-card {
  border: 3px solid #321345;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 9px 10px 0 #321345;
}

.support-form-card { padding: clamp(28px, 5vw, 54px); }

.support-form-card h2,
.support-side-card h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.1;
}

.support-form-card form { display: grid; gap: 20px; }
.support-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-form-card label { display: grid; gap: 8px; }
.support-form-card label > span { font-size: 13px; font-weight: 900; }

.support-form-card input,
.support-form-card select,
.support-form-card textarea {
  width: 100%;
  border: 2px solid #321345;
  border-radius: 12px;
  color: #321345;
  background: #fff;
  font-family: var(--body);
  font-size: 16px;
}

.support-form-card input,
.support-form-card select { min-height: 52px; padding: 11px 14px; }
.support-form-card textarea { min-height: 190px; padding: 14px; resize: vertical; }

.support-field-help {
  margin: -3px 0 0;
  color: #7a6684;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.4;
}

.support-form-card button {
  width: fit-content;
  min-height: 55px;
  padding: 14px 23px;
  border: 3px solid #321345;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ef3f9d, #8145e8);
  box-shadow: 6px 7px 0 #321345;
  font-weight: 950;
  cursor: pointer;
}

.support-form-card button:hover { transform: translate(3px, 3px); box-shadow: 3px 4px 0 #321345; }

.support-privacy-note {
  margin: 0;
  color: #705a7b;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.5;
}

.support-privacy-note a { color: #5c2ab8; font-weight: 900; text-decoration: underline; }

.support-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.support-exact-aside { display: grid; gap: 25px; }
.support-side-card { position: relative; padding: 30px; }

.support-side-card p {
  margin: 12px 0 20px;
  color: #654875;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.support-discord-card { padding-top: 74px; background: #b8f0ec; }

.support-reaction {
  position: absolute;
  top: 21px;
  right: 24px;
  padding: 8px 12px;
  border: 2px solid #321345;
  border-radius: 50%;
  background: #ffd75e;
  box-shadow: 4px 4px 0 #321345;
  font-size: 15px;
  font-weight: 950;
  transform: rotate(8deg);
}

.support-exact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 24px 42px;
  color: #705a7b;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
}

.support-exact-footer p { margin: 3px 0; }
.support-exact-footer p:first-child { color: #321345; font-weight: 900; }
.support-exact-footer nav { display: flex; gap: 20px; color: #321345; font-weight: 900; }

@media (max-width: 980px) {
  .seasonal-feature.has-feature-image { grid-template-columns: 1fr; }
  .seasonal-image { min-height: 340px; }
  .bbs-simple-hero { grid-template-columns: 1fr; }
  .bbs-simple-download { align-items: stretch; flex-direction: column; }
  .bbs-simple-action { flex-basis: auto; }
}

@media (max-width: 900px) {
  .support-exact-layout { grid-template-columns: 1fr; }
  .support-exact-aside { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  .inner-header nav .inner-nav-link,
  .inner-header nav .inner-play-link { min-height: 38px; padding: 7px 10px; border-radius: 9px; }
  .seasonal-copy { min-height: 0; }
  .seasonal-image { min-height: 260px; }
  .bbs-simple-download { width: calc(100% - 34px); gap: 30px; margin: 70px auto; padding: 28px 21px; }
  .bbs-simple-help { margin-top: -22px; }

  .support-exact-header {
    width: calc(100% - 24px);
    min-height: 112px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 11px;
    padding: 13px 0 18px;
  }

  .support-exact-header img { width: 180px; }
  .support-exact-header nav { gap: 8px; font-size: 11px; }
  .support-exact-header nav a { min-height: 38px; padding: 8px 12px; }
  .support-exact-main { width: calc(100% - 24px); padding-top: 12px; }
  .support-exact-intro { margin-bottom: 30px; }
  .support-field-row,
  .support-exact-aside { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; gap: 24px; }
  .support-form-card { padding: 27px 20px 34px; border-radius: 20px; box-shadow: 6px 7px 0 #321345; }
  .support-form-card button { width: 100%; }
  .support-exact-footer { flex-direction: column; text-align: center; }
}

/* Approved Terms and Privacy presentation */
.approved-policy-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(69, 215, 207, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 13%, rgba(236, 63, 152, 0.14), transparent 28rem),
    var(--cream);
}

.approved-policy-page .inner-header {
  border-bottom: 0;
  background: rgba(255, 248, 237, 0.92);
}

.approved-policy-page .inner-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(47, 23, 66, 0.16);
  background: rgba(255, 253, 248, 0.78);
}

.policy-banner {
  margin: 26px max(24px, calc(50vw - 590px)) 0;
  padding: clamp(44px, 7vw, 78px);
  border: 3px solid var(--ink);
  border-radius: 27px;
  color: #fff;
  background: linear-gradient(135deg, #4d2c93, #4055c6);
  box-shadow: 10px 11px 0 var(--yellow);
}

.policy-banner-aqua {
  background: linear-gradient(135deg, #176764, #4055c6);
}

.policy-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.policy-banner > p:not(.policy-eyebrow) {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.87);
  font-family: var(--body);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.58;
}

.policy-banner > span {
  display: block;
  margin-top: 25px;
  color: var(--yellow);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 900;
}

.policy-eyebrow {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-relationship {
  max-width: 1180px;
  margin: 42px auto 0;
  padding: 24px 27px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: #fff0a9;
  box-shadow: 5px 6px 0 var(--ink);
  font-family: var(--body);
  line-height: 1.58;
}

.policy-relationship strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
}

.policy-relationship p { margin: 8px 0 0; color: #594562; font-weight: 700; }
.policy-relationship a { color: #6530b7; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

.policy-layout {
  display: grid;
  max-width: 1180px;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: clamp(35px, 6vw, 78px);
  margin: 58px auto 0;
  padding: 0 24px;
}

.policy-index {
  position: sticky;
  top: 24px;
  padding: 24px 22px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 5px 6px 0 var(--yellow);
}

.policy-index > p {
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-index ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 21px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.policy-index a:hover { color: var(--pink-deep); text-decoration: underline; }

.policy-copy {
  min-width: 0;
  color: #594562;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.78;
}

.policy-copy section {
  scroll-margin-top: 24px;
  padding: 31px 0 34px;
  border-top: 1px solid #decfe3;
}

.policy-copy section:first-child { padding-top: 0; border-top: 0; }

.policy-copy h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.policy-copy h3 {
  margin: 25px 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 950;
}

.policy-copy p { margin: 14px 0 0; }
.policy-copy ul { display: grid; gap: 9px; margin: 18px 0 0; padding-left: 24px; }
.policy-copy a { color: #6530b7; font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.policy-copy address { margin-top: 16px; color: var(--ink); font-style: normal; line-height: 1.65; }

@media (max-width: 900px) {
  .policy-relationship { width: calc(100% - 48px); }
  .policy-layout { grid-template-columns: 1fr; gap: 37px; }
  .policy-index { position: static; }
  .policy-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
}

@media (max-width: 660px) {
  .policy-banner {
    margin: 14px 12px 0;
    padding: 41px 23px 44px;
    border-radius: 21px;
    box-shadow: 6px 7px 0 var(--yellow);
  }

  .policy-banner h1 { font-size: clamp(43px, 14vw, 60px); }
  .policy-banner > p:not(.policy-eyebrow) { font-size: 16px; }
  .policy-relationship { width: calc(100% - 24px); margin-top: 31px; padding: 21px 19px; }
  .policy-layout { gap: 32px; margin-top: 39px; padding: 0 17px; }
  .policy-index { padding: 21px 19px; }
  .policy-index ol { grid-template-columns: 1fr; }
  .policy-copy { font-size: 15px; line-height: 1.72; }
  .policy-copy section { padding: 27px 0 30px; }
}
