@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
  --cream: #fff6eb;
  --cream-deep: #fbead9;
  --purple: #3d258f;
  --purple-mid: #6d3fd6;
  --purple-soft: #aa80e8;
  --pink: #ff6fa7;
  --pink-soft: #ffe0ea;
  --blue: #7dbbff;
  --yellow: #ffd45a;
  --green: #6cd17d;
  --ink: #24145f;
  --muted: #655c7c;
  --white: #ffffff;
  --display: "Fredoka", "Arial Rounded MT Bold", "SF Pro Rounded", sans-serif;
  --body: "Nunito", "Avenir Next", Avenir, sans-serif;
  --shadow: 0 18px 50px rgba(61, 37, 143, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--purple);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 24px;
  transition: padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
}

.nav-shell {
  width: min(1180px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(61, 37, 143, 0);
  border-radius: 22px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: rgba(61, 37, 143, 0.09);
  background: rgba(255, 246, 235, 0.9);
  box-shadow: 0 12px 38px rgba(61, 37, 143, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 35px;
  color: var(--purple);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
  font-size: 13px;
  font-weight: 800;
}

.nav-links > a:not(.nav-download) {
  position: relative;
  padding: 10px 0;
}

.nav-links > a:not(.nav-download)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 19px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple));
  box-shadow: 0 10px 24px rgba(61, 37, 143, 0.22);
  color: white;
}

.nav-download svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: var(--purple);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  border-radius: 2px;
  background: white;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 154px 24px 130px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 83% 19%,
      rgba(255, 212, 90, 0.22),
      transparent 18%
    ),
    radial-gradient(
      circle at 64% 39%,
      rgba(255, 111, 167, 0.12),
      transparent 22%
    ),
    var(--cream);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-left: 8px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow span {
  margin-right: 6px;
}

.hero h1 {
  margin: 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero-kicker {
  margin: 20px 0 8px;
  color: var(--pink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.hero-description {
  max-width: 460px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.store-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  min-width: 166px;
  height: 58px;
  padding: 8px 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--purple-mid);
  border-radius: 12px;
  background: white;
  color: var(--purple);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  box-shadow: 0 12px 24px rgba(61, 37, 143, 0.16);
  transform: translateY(-3px);
}

.store-badge svg {
  width: 28px;
  max-height: 32px;
  fill: currentColor;
}

.store-badge span {
  display: grid;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 800;
}

.store-badge strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.apple-badge:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple));
  color: white;
}

.trust-line,
.download-trust {
  margin: 13px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.72;
}

.trust-line svg,
.download-trust svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 500px;
}

.hero-art > img {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 5px;
  width: 430px;
  max-width: none;
  filter: drop-shadow(0 13px 14px rgba(61, 37, 103, 0.14));
}

.baby-shadow {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 32px;
  width: 370px;
  height: 34px;
  border-radius: 50%;
  background: rgba(67, 30, 119, 0.38);
  filter: blur(11px);
  transform: rotate(-4deg);
}

.doodle {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 31px;
  border-radius: 99px;
}

.doodle::before,
.doodle::after {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: inherit;
  content: "";
}

.doodle-pink {
  top: 76px;
  left: 105px;
  background: var(--pink);
  transform: rotate(-3deg);
}

.doodle-pink::before {
  left: -25px;
  top: 12px;
  transform: rotate(-37deg);
}

.doodle-blue {
  top: 58px;
  right: 6px;
  background: var(--blue);
  transform: rotate(30deg);
}

.doodle-blue::before {
  left: 21px;
  top: 10px;
  transform: rotate(34deg);
}

.doodle-blue::after {
  left: 38px;
  top: 30px;
  transform: rotate(72deg);
}

.doodle-star {
  position: absolute;
  z-index: 2;
  right: -18px;
  top: 190px;
  color: var(--yellow);
  font-size: 36px;
  transform: rotate(9deg);
}

.doodle-loop {
  position: absolute;
  z-index: 2;
  right: -38px;
  bottom: 132px;
  width: 150px;
  height: 100px;
  border: 9px solid var(--yellow);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.hero-swoop {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 250px;
  pointer-events: none;
}

.hero-swoop svg {
  width: 100%;
  height: 100%;
}

.feature-rail-wrap {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  background:
    linear-gradient(to bottom, transparent 0 74px, var(--cream) 74px),
    linear-gradient(90deg, #8d5ed5 0%, #c28ae6 58%, #a86cdb 100%);
}

.feature-rail {
  width: min(1080px, 100%);
  min-height: 150px;
  margin: -76px auto 0;
  padding: 24px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(61, 37, 143, 0.07);
  border-radius: 28px;
  background: rgba(255, 251, 244, 0.97);
  box-shadow: var(--shadow);
}

.feature-card {
  min-width: 0;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 13px;
}

.feature-card + .feature-card {
  border-left: 1px solid rgba(61, 37, 143, 0.12);
}

.feature-card h2 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.feature-icon {
  width: 52px;
  height: 52px;
  overflow: visible;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.feature-icon img {
  width: 72px;
  max-width: none;
  transform: none;
}

.feature-icon-green {
  background: transparent;
}

.feature-icon-pink {
  background: transparent;
}

.feature-icon-blue {
  background: transparent;
}

.feature-icon-yellow {
  background: transparent;
}

.product-section {
  padding: 72px 24px 58px;
  background: var(--cream);
}

.product-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 24px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.benefit-list {
  margin: 26px 0 24px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-list span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-mid);
  color: white;
  font-size: 12px;
}

.age-note {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.age-note strong {
  color: var(--pink);
}

.phone-stage {
  position: relative;
  min-height: 400px;
}

.phone {
  position: absolute;
  z-index: 2;
  width: 235px;
  max-width: none;
  filter: drop-shadow(0 22px 21px rgba(61, 37, 143, 0.18));
}

.phone-left {
  left: 35px;
  bottom: 0;
  transform: rotate(-5deg);
}

.phone-center {
  z-index: 4;
  left: 165px;
  bottom: 0;
  transform: rotate(2.5deg);
}

.phone-right {
  z-index: 3;
  right: 15px;
  bottom: -2px;
  transform: rotate(6deg);
}

.blob {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
}

.blob-pink {
  bottom: 58px;
  left: 42px;
  width: 138px;
  height: 106px;
  background: var(--pink);
  transform: rotate(-15deg);
}

.blob-purple {
  top: 72px;
  right: 36px;
  width: 86px;
  height: 68px;
  background: #c79ceb;
}

.blob-yellow {
  right: 38px;
  bottom: 46px;
  width: 92px;
  height: 124px;
  background: var(--yellow);
  transform: rotate(14deg);
}

.values-section {
  position: relative;
  padding: 0 24px 75px;
}

.anchor-target {
  position: absolute;
  top: -100px;
}

.values-panel {
  width: min(1080px, 100%);
  min-height: 210px;
  margin: 0 auto;
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 1.75fr repeat(4, 0.68fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(61, 37, 143, 0.05);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 14% 40%,
      rgba(170, 128, 232, 0.17),
      transparent 25%
    ),
    linear-gradient(115deg, #f4deff 0%, #ffe6ee 48%, #fff0f5 100%);
}

.value-intro {
  padding-right: 30px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(61, 37, 143, 0.12);
}

.value-intro img {
  width: 60px;
  transform: none;
}

.value-intro h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.05;
}

.value-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
}

.value-item {
  padding: 8px 4px;
  text-align: center;
}

.line-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  color: var(--pink);
}

.line-icon svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.value-item h3 {
  margin: 0;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.35;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 76px 24px 24px;
  background:
    radial-gradient(
      circle at 88% 50%,
      rgba(255, 255, 255, 0.15),
      transparent 17%
    ),
    linear-gradient(110deg, #4f2ba7 0%, #8852dc 65%, #6331ba 100%);
  color: white;
}

.download-section::before {
  position: absolute;
  top: -70px;
  right: -5%;
  left: -5%;
  height: 110px;
  border-radius: 50%;
  background: var(--cream);
  content: "";
}

.download-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.download-copy {
  max-width: 460px;
}

.download-copy h2 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: 34px;
}

.download-copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.store-row-light {
  margin: 0;
  flex-wrap: nowrap;
}

.store-row-light .store-badge {
  border-color: transparent;
  background: white;
  color: var(--purple);
}

.download-trust {
  width: fit-content;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.9);
}

.download-stars {
  position: absolute;
  right: 7%;
  top: 26px;
  color: white;
  font-size: 38px;
}

.site-footer {
  padding: 34px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--cream);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.brand-footer .brand-copy strong {
  color: var(--purple);
}

.brand-footer .brand-mark {
  width: 28px;
}

.brand-footer .brand-copy strong {
  font-size: 18px;
}

.footer-legal {
  display: flex;
  gap: 8px;
}

.footer-legal a:hover {
  color: var(--purple-mid);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-art > img {
    right: -4px;
    bottom: 54px;
    width: 460px;
  }

  .baby-shadow {
    right: 5px;
    bottom: 48px;
    width: 310px;
  }

  .feature-card {
    padding-inline: 13px;
    grid-template-columns: 48px 1fr;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
  }

  .feature-icon img {
    width: 64px;
  }

  .phone-stage {
    transform: scale(0.96);
    transform-origin: center;
  }

  .values-panel {
    padding-inline: 24px;
  }

  .value-intro {
    grid-template-columns: 68px 1fr;
  }

  .value-intro img {
    width: 58px;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-inline: 16px;
  }

  .nav-shell {
    min-height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(61, 37, 143, 0.1);
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a {
    padding: 13px 14px;
  }

  .nav-links > a:not(.nav-download)::after {
    display: none;
  }

  .nav-download {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 135px 20px 95px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .eyebrow,
  .hero-description,
  .store-row,
  .trust-line {
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 {
    max-width: 670px;
    margin: 0 auto;
  }

  .store-row {
    justify-content: center;
  }

  .hero-art {
    min-height: 440px;
  }

  .hero-art > img {
    right: 50%;
    bottom: 42px;
    width: 390px;
    transform: translateX(50%);
  }

  .baby-shadow {
    right: 50%;
    bottom: 36px;
    width: 290px;
    transform: translateX(50%) rotate(-4deg);
  }

  .feature-rail-wrap {
    padding-inline: 18px;
  }

  .feature-rail {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-rail::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    scroll-snap-align: start;
  }

  .product-inner {
    grid-template-columns: 1fr;
  }

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

  .benefit-list {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .phone-stage {
    width: min(670px, 100%);
    margin: 0 auto;
    transform: scale(0.95);
  }

  .values-panel {
    grid-template-columns: repeat(4, 1fr);
  }

  .value-intro {
    grid-column: 1 / -1;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(61, 37, 143, 0.12);
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 10px;
  }

  .nav-shell {
    padding-left: 13px;
    background: rgba(255, 246, 235, 0.88);
    backdrop-filter: blur(14px);
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-mark {
    width: 31px;
  }

  .hero {
    padding: 118px 18px 80px;
  }

  .hero h1 {
    font-size: clamp(48px, 15.5vw, 68px);
    line-height: 0.96;
  }

  .hero-kicker {
    font-size: 21px;
  }

  .hero-description {
    max-width: 410px;
    font-size: 15px;
  }

  .hero-art {
    min-height: 335px;
  }

  .hero-art > img {
    bottom: 30px;
    width: 320px;
  }

  .baby-shadow {
    bottom: 24px;
    width: 240px;
  }

  .doodle-pink {
    left: 30px;
  }

  .doodle-blue {
    right: 10px;
  }

  .store-badge {
    min-width: 148px;
    height: 54px;
    padding-inline: 13px;
  }

  .store-badge strong {
    font-size: 17px;
  }

  .feature-rail {
    margin-top: -55px;
  }

  .product-section {
    padding-top: 62px;
  }

  .product-copy h2 {
    font-size: 38px;
  }

  .phone-stage {
    width: 440px;
    min-height: 310px;
    left: 50%;
    margin-left: -220px;
    transform: scale(0.86);
    transform-origin: center top;
  }

  .phone-left {
    left: 25px;
  }

  .phone-center {
    left: 112px;
  }

  .phone-right {
    right: 24px;
  }

  .values-section {
    padding-inline: 16px;
  }

  .values-panel {
    padding: 26px 20px;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .value-intro {
    grid-template-columns: 72px 1fr;
  }

  .value-intro h2 {
    font-size: 19px;
  }

  .download-section {
    padding-inline: 18px;
  }

  .store-row-light {
    flex-wrap: wrap;
    justify-content: center;
  }

  .download-copy h2 {
    font-size: 29px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Legal pages (Privacy Policy / Terms of Service) */
.legal-hero {
  padding: 150px 24px 30px;
  text-align: center;
  background:
    radial-gradient(circle at 83% 19%, rgba(255, 212, 90, 0.18), transparent 18%),
    radial-gradient(circle at 20% 30%, rgba(255, 111, 167, 0.1), transparent 22%),
    var(--cream);
}

.legal-hero .eyebrow {
  margin: 0 auto 18px;
  justify-content: center;
}

.legal-hero h1 {
  margin: 0 auto;
  max-width: 640px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--purple);
}

.legal-updated {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 8px 24px 110px;
}

.legal-intro {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.legal-toc {
  margin: 0 0 44px;
  padding: 20px 24px;
  border: 1px solid rgba(61, 37, 143, 0.1);
  border-radius: 18px;
  background: var(--white);
}

.legal-toc p {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 24px;
}

.legal-toc li {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--ink);
}

.legal-toc a:hover {
  color: var(--purple-mid);
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--purple);
  scroll-margin-top: 100px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

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

.legal-content ul,
.legal-content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--purple-mid);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--purple);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--purple-mid);
  font-size: 13px;
  font-weight: 800;
}

.legal-back:hover {
  color: var(--purple);
}

@media (max-width: 640px) {
  .legal-toc ol {
    columns: 1;
  }
}
