/* Page sections, top to bottom. */

.section {
  padding-top: clamp(80px, 10vw, 128px);
}

/* ---------- Nav ---------- */

.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding-top: 12px;
}

.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 10px 0 16px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--clay-foreground);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.nav__brand img {
  border-radius: 12px;
  box-shadow: var(--shadow-orb);
}

.nav__links {
  display: none;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-control);
  color: var(--clay-foreground);
  font-weight: 700;
  text-decoration: none;
  transition:
    background var(--t-fast) ease,
    color var(--t-fast) ease;
}

.nav__links a:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--clay-accent);
}

.nav__cta {
  margin-left: auto;
}

.nav__toggle {
  padding: 0 12px;
}

/* Mobile dropdown */
.nav__links.is-open {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.nav__links.is-open a {
  min-height: 52px;
  width: 100%;
}

@media (min-width: 640px) {
  .nav__bar {
    height: 80px;
    padding: 0 14px 0 24px;
    border-radius: 40px;
  }
}

@media (min-width: 900px) {
  .nav__links,
  .nav__links.is-open {
    position: static;
    display: flex;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__toggle {
    display: none;
  }
}

/* Help menu: a labelled group inside the phone menu, a popover on desktop */
.nav__help {
  position: relative;
}

.nav__help-btn {
  display: none;
}

.nav__menu {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__menu-label {
  padding: 12px 16px 2px;
  color: var(--clay-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__links .nav__menu a {
  gap: 12px;
}

.nav__menu svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--clay-accent);
}

.nav__links a[aria-current="page"] {
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
  color: var(--clay-accent);
}

@media (min-width: 900px) {
  .nav__help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px 0 16px;
    border: 0;
    border-radius: var(--r-control);
    background: none;
    color: var(--clay-foreground);
    font: 700 1rem var(--font-body);
    cursor: pointer;
    transition:
      background var(--t-fast) ease,
      color var(--t-fast) ease;
  }

  .nav__help-btn:hover,
  .nav__help.is-current .nav__help-btn,
  .nav__help-btn[aria-expanded="true"] {
    background: rgba(124, 58, 237, 0.1);
    color: var(--clay-accent);
  }

  .nav__help-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-med) var(--ease-bounce);
  }

  .nav__help-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    width: 240px;
    margin-left: -120px; /* centred under the button without fighting the open/close transform */
    padding: 10px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top center;
    transition:
      opacity var(--t-fast) ease,
      transform var(--t-med) var(--ease-bounce),
      visibility 0s linear var(--t-med);
  }

  .nav__help.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity var(--t-fast) ease,
      transform var(--t-med) var(--ease-bounce),
      visibility 0s;
  }

  .nav__menu-label {
    display: none;
  }

  .nav__links .nav__menu a {
    width: 100%;
    min-height: 48px;
  }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 56px;
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
}

.hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero__title {
  font-size: clamp(3rem, 7vw + 0.5rem, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero__title .text-gradient {
  display: inline-block;
  padding-bottom: 0.08em;
}

.hero__lede {
  max-width: 34rem;
  color: var(--clay-muted);
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}

@media (min-width: 560px) {
  .hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

/* Interactive stage */

.stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.stage__card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-deep);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.stage__status {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
  font-size: 0.9375rem;
  font-weight: 700;
}

.stage__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay-muted);
  transition: background var(--t-med) ease;
}

.stage.is-locked .stage__dot {
  background: var(--clay-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.stage__blob-well {
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 70%, rgba(124, 58, 237, 0.12), transparent 60%),
    var(--clay-well);
  box-shadow: var(--shadow-pressed);
}

.stage__blob-well .blob {
  max-width: 300px;
  margin-top: -24px;
  margin-bottom: -12px;
}

.stage__meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.meter {
  display: grid;
  justify-items: center;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--clay-card-solid);
  box-shadow: var(--shadow-card);
}

.meter__num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.meter__label {
  color: var(--clay-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage__lock {
  width: 100%;
  --btn-h: 64px;
  font-size: 1.25rem;
}

.stage.is-locked .stage__lock {
  background: var(--grad-pink);
  box-shadow:
    12px 12px 24px rgba(219, 39, 119, 0.28),
    -8px -8px 16px rgba(255, 255, 255, 0.4),
    inset 4px 4px 8px rgba(255, 255, 255, 0.4),
    inset -4px -4px 8px rgba(0, 0, 0, 0.1);
}

.stage__controls {
  display: grid;
  gap: 14px;
}

.hue {
  display: grid;
  gap: 8px;
}

.hue__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-muted);
}

/* Rainbow track that previews each hue of the blob */
.hue__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(
    90deg,
    hsl(5 70% 58%),
    hsl(65 70% 55%),
    hsl(125 60% 50%),
    hsl(185 65% 50%),
    hsl(245 65% 62%),
    hsl(305 60% 60%),
    hsl(365 70% 58%)
  );
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.15),
    inset -4px -4px 8px rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hue__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow:
    6px 6px 12px rgba(160, 150, 180, 0.45),
    -3px -3px 8px rgba(255, 255, 255, 0.9),
    inset -3px -3px 6px rgba(160, 150, 180, 0.25);
  transition: transform var(--t-fast) var(--ease-bounce);
}

.hue__range::-moz-range-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow:
    6px 6px 12px rgba(160, 150, 180, 0.45),
    inset -3px -3px 6px rgba(160, 150, 180, 0.25);
}

.hue__range:active::-webkit-slider-thumb {
  transform: scale(0.9);
}

.acc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.acc__opt {
  min-height: 48px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--clay-card-solid);
  box-shadow: var(--shadow-button-soft);
  color: var(--clay-foreground);
  font: 800 1rem var(--font-display);
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease-bounce),
    box-shadow var(--t-fast) ease;
}

.acc__opt:hover {
  transform: translateY(-3px);
}

.acc__opt:active,
.acc__opt[aria-checked="true"] {
  transform: none;
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
  color: var(--clay-accent);
}

.stage__hint {
  color: var(--clay-muted);
  font-size: 0.875rem;
  text-align: center;
}

.stage__deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.stage__deco--a {
  top: -28px;
  right: -8px;
  width: 64px;
  animation: clay-float-slow 12s ease-in-out infinite;
}

.stage__deco--b {
  bottom: 120px;
  left: -28px;
  width: 44px;
  animation: clay-float-delayed 10s ease-in-out infinite 2s;
}

.stage__deco--orb {
  z-index: -1;
  top: 40%;
  right: -40px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--grad-pink);
  box-shadow: var(--shadow-orb);
  animation: clay-float 8s ease-in-out infinite 1s;
}

/* Sparkle drop-shadow is purple, so they read on the light well */
.stage .blob__sparkles img {
  filter: drop-shadow(0 0 1px rgba(124, 58, 237, 0.6)) drop-shadow(0 3px 6px rgba(124, 58, 237, 0.35));
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }

  .stage {
    justify-self: end;
  }
}

@media (max-width: 480px) {
  .stage__card {
    padding: 18px;
    border-radius: 40px;
  }

  .stage__deco--orb {
    display: none;
  }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
  padding-top: clamp(72px, 9vw, 112px);
}

.stat {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.stat p {
  max-width: 13rem;
  color: var(--clay-muted);
}

.stat strong {
  color: var(--clay-foreground);
  font-weight: 700;
}

.stat__orb {
  display: grid;
  place-items: center;
  width: clamp(104px, 18vw, 136px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-orb);
  animation: clay-breathe 6s ease-in-out infinite;
  transition: transform var(--t-med) var(--ease-bounce);
}

.stat:nth-child(2) .stat__orb { animation-delay: 1.5s; }
.stat:nth-child(3) .stat__orb { animation-delay: 3s; }
.stat:nth-child(4) .stat__orb { animation-delay: 4.5s; }

.stat__orb:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}

.stat__orb span {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step .card__inner,
.step {
  display: grid;
  align-content: start;
  gap: 14px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: var(--shadow-orb);
  transition: transform var(--t-med) var(--ease-bounce);
}

.step:hover .step__num {
  transform: scale(1.1) rotate(-6deg);
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  /* A gentle stagger so the row reads left-to-right like a path */
  .step:nth-child(2) { margin-top: 32px; }
  .step:nth-child(3) { margin-top: 64px; }
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  gap: 24px;
}

.bento .card__inner {
  gap: 14px;
}

.bento .orb-icon {
  margin-bottom: 6px;
}

.bento__hero {
  transition:
    transform var(--t-slow) var(--ease-soft),
    box-shadow var(--t-slow) var(--ease-soft);
}

.bento__hero:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.join {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.join .btn {
  flex: none;
  --btn-h: 64px;
}

.join__msg {
  min-height: 1.5em;
  font-size: 0.9375rem;
  font-weight: 700;
}

.card p.join__msg {
  color: var(--clay-accent);
}

/* Leaderboard "peeks" out of the bottom of the hero card */
.board {
  margin: auto -8px -48px;
  padding: 20px 20px 56px;
  border-radius: var(--r-md);
  background: var(--clay-card-solid);
  box-shadow: var(--shadow-card);
}

.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.125rem;
  font-weight: 900;
}

.board__head .badge {
  font-size: 0.6875rem;
}

.board__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r-control);
  background: var(--clay-canvas);
}

.board__list li:nth-child(2) {
  background: rgba(124, 58, 237, 0.1);
}

.board__rank {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font: 900 1rem var(--font-display);
  box-shadow: var(--shadow-orb);
}

.board__rank--flat {
  background: var(--clay-well);
  color: var(--clay-muted);
  box-shadow: var(--shadow-pressed);
}

.board__name {
  flex: 1;
  font-weight: 700;
}

.board__pts {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.bento__wide-inner {
  gap: 20px;
}

.sparkle-meter {
  display: grid;
  gap: 16px;
  align-content: center;
}

.sparkle-meter__track {
  height: 28px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
}

.sparkle-meter__fill {
  width: 72%;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--grad-amber);
  box-shadow:
    inset 3px 3px 6px rgba(255, 255, 255, 0.45),
    inset -3px -3px 6px rgba(0, 0, 0, 0.1);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-soft) 300ms;
}

.is-visible .sparkle-meter__fill {
  transform: scaleX(1);
}

.sparkle-meter__icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.sparkle-meter__icons img {
  width: 44px;
  filter: drop-shadow(0 0 1px rgba(217, 119, 6, 0.8)) drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4));
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
}

.sparkle-meter__icons img:nth-child(2) { width: 56px; animation-delay: 0.4s; }
.sparkle-meter__icons img:nth-child(3) { animation-delay: 0.8s; }

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__hero {
    grid-row: span 2;
  }
}

@media (min-width: 1040px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento__hero {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
  }

  .bento__hero h3 {
    font-size: 2rem;
  }

  .bento__wide {
    grid-column: span 3;
  }

  .bento__wide-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 32px;
  }

  .join {
    max-width: 480px;
  }

  .board {
    max-width: 520px;
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .join {
    flex-direction: column;
  }
}

/* ---------- Ways to win ---------- */

.win__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.win-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  overflow: visible;
  text-align: center;
  transition: transform var(--t-slow) var(--ease-bounce), box-shadow var(--t-slow) ease;
}

.win-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-card-hover);
}

.win-card .orb-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
}

.win-card h3 {
  font-size: 2rem;
  font-weight: 900;
}

.win-card__eg {
  font-weight: 800;
}

.card p.win-card__eg {
  color: var(--clay-accent);
}

.win-card--featured {
  padding-top: 44px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    20px 24px 44px rgba(124, 58, 237, 0.22),
    -10px -10px 24px rgba(255, 255, 255, 0.9),
    inset 6px 6px 12px rgba(139, 92, 246, 0.05),
    inset -6px -6px 12px rgba(255, 255, 255, 1);
}

.win-card__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.win__note {
  max-width: 36rem;
  margin: 40px auto 0;
  color: var(--clay-muted);
  font-size: 0.9375rem;
  text-align: center;
}

@media (min-width: 820px) {
  .win__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .win-card--featured {
    transform: scale(1.08);
    z-index: 1;
  }

  .win-card--featured:hover {
    transform: scale(1.1) translateY(-6px);
  }
}

/* ---------- Blob split ---------- */

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

.split__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.split__copy .section-lede {
  max-width: 34rem;
}

/* Abstract 3D composition: nested clay shapes framing three blobs */
.clay-comp {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.clay-comp__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-deep);
}

.clay-comp__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
}

.clay-comp__pill {
  position: absolute;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-orb);
}

.clay-comp__pill--a {
  top: 4%;
  right: 6%;
  width: 22%;
  height: 11%;
  background: var(--grad-sky);
  transform: rotate(-24deg);
  animation: clay-float-slow 12s ease-in-out infinite;
}

.clay-comp__pill--b {
  bottom: 8%;
  left: 2%;
  width: 16%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  background: var(--grad-amber);
  animation: clay-float 8s ease-in-out infinite 2s;
}

.clay-comp__blobs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 104%;
  margin-top: -4%;
}

.clay-comp__blobs .blob:nth-child(1) {
  transform: translateY(-18%);
}

.clay-comp__blobs .blob:nth-child(2) {
  transform: translateY(12%) scale(1.15);
  z-index: 1;
}

.clay-comp__blobs .blob:nth-child(3) {
  transform: translateY(-6%);
}

.privacy {
  width: 100%;
  margin-top: 12px;
}

.privacy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.privacy__icon {
  width: 26px;
  height: 26px;
  color: var(--clay-accent);
}

.privacy__list {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.privacy__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  font-weight: 700;
}

.privacy__list li + li {
  border-top: 2px solid rgba(99, 95, 105, 0.08);
}

.privacy__note {
  font-size: 0.9375rem;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---------- FAQ ---------- */

.faq__list {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  border-radius: var(--r-md);
  background: var(--clay-card-bg);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition:
    box-shadow var(--t-med) ease,
    background var(--t-med) ease,
    transform var(--t-med) var(--ease-soft);
}

.faq__item:not([open]):hover {
  transform: translateY(-4px);
}

.faq__item[open] {
  background: var(--clay-well);
  box-shadow: var(--shadow-pressed);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 24px;
  font-size: 1.125rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--clay-card-solid);
  color: var(--clay-accent);
  box-shadow: var(--shadow-button-soft);
  transition: transform var(--t-med) var(--ease-bounce);
}

.faq__item[open] summary svg {
  transform: rotate(180deg);
}

.faq__item p {
  padding: 0 24px 24px;
  color: var(--clay-muted);
  max-width: 44rem;
}

/* ---------- Final CTA ---------- */

.cta {
  padding-bottom: 32px;
}

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: clamp(40px, 6vw, var(--r-hero));
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(135deg, #8b5cf6 0%, #7c3aed 45%, #db2777 110%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow:
    24px 30px 60px rgba(124, 58, 237, 0.35),
    -20px -20px 50px rgba(255, 255, 255, 0.85),
    inset 10px 10px 24px rgba(255, 255, 255, 0.25),
    inset -12px -12px 24px rgba(0, 0, 0, 0.14);
}

.cta__icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow:
    12px 14px 28px rgba(51, 47, 58, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: clay-float 8s ease-in-out infinite;
}

.cta__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cta__lede {
  max-width: 32rem;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  opacity: 0.95;
}

.cta__btn {
  margin-top: 8px;
  color: var(--clay-accent);
  box-shadow:
    12px 14px 28px rgba(51, 47, 58, 0.25),
    -6px -6px 14px rgba(255, 255, 255, 0.25),
    inset 4px 4px 8px rgba(255, 255, 255, 0.9),
    inset -4px -4px 8px rgba(124, 58, 237, 0.15);
}

.cta__spark {
  position: absolute;
  opacity: 0.9;
  pointer-events: none;
}

.cta__spark--a {
  top: 12%;
  left: 8%;
  width: 56px;
  animation: clay-float-slow 12s ease-in-out infinite;
}

.cta__spark--b {
  right: 10%;
  bottom: 14%;
  width: 40px;
  animation: clay-float-delayed 10s ease-in-out infinite 2s;
}

@media (max-width: 560px) {
  .cta__btn {
    width: 100%;
    padding: 0 20px;
    font-size: 1.0625rem;
  }

  .cta__spark--a {
    width: 36px;
  }
}

/* ---------- Footer ---------- */

.footer {
  padding-top: 32px;
  padding-bottom: 40px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--clay-card-bg);
  box-shadow: var(--shadow-card);
}

.footer .nav__brand {
  font-size: 1.25rem;
}

.footer .nav__brand img {
  border-radius: 10px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-control);
  color: var(--clay-foreground);
  font-weight: 700;
  text-decoration: none;
}

.footer__links a:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--clay-accent);
}

.footer__copy {
  color: var(--clay-muted);
  font-size: 0.9375rem;
}

/* ---------- Links back into docs from the landing page ---------- */

.faq__more {
  margin-top: 32px;
  text-align: center;
  color: var(--clay-muted);
}

.faq__more a,
.privacy__note a {
  font-weight: 700;
  text-underline-offset: 3px;
}
