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

:root {
  --midnight: #100b3a;
  --navy: #0b164d;
  --royal: #2b176d;
  --plum: #43126d;
  --cyan: #25d9f5;
  --pink: #ff4ccf;
  --yellow: #ffd84a;
  --lavender: #b8a0e7;
  --ice: #f7f8ff;
  --ink: #21164f;
  --paper: #fbfaff;
  --font-fredoka: "Fredoka";
  --font-nunito: "Nunito Sans";
  --font-display: var(--font-fredoka);
  --font-body: var(--font-nunito);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body), Arial, sans-serif;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.skipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--midnight);
  background: white;
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skipLink:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 42%, rgba(37, 217, 245, 0.24), transparent 28%),
    radial-gradient(circle at 54% 48%, rgba(255, 76, 207, 0.2), transparent 32%),
    linear-gradient(130deg, #09082c 0%, var(--midnight) 48%, #091b54 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(116deg, transparent 48%, rgba(81, 73, 255, 0.12) 50%, transparent 52%),
    linear-gradient(70deg, transparent 46%, rgba(37, 217, 245, 0.08) 50%, transparent 54%);
  background-size: 520px 520px, 760px 760px;
}

.heroGlow {
  position: absolute;
  z-index: -1;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
}

.heroGlowPink {
  top: 18%;
  left: 38%;
  background: var(--pink);
}

.heroGlowBlue {
  top: 5%;
  right: -9%;
  background: #086cff;
}

.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 2px),
    radial-gradient(circle, #25d9f5 0 1px, transparent 2px),
    radial-gradient(circle, #ffb9ec 0 1.5px, transparent 2.5px);
  background-size: 89px 93px, 143px 151px, 231px 223px;
  background-position: 0 0, 28px 39px, 61px 77px;
}

.starsTwo {
  opacity: 0.3;
  transform: rotate(12deg) scale(1.15);
}

.siteHeader {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 72px, 1500px);
  height: 138px;
  margin: 0 auto;
}

.brand {
  display: block;
  width: clamp(220px, 23vw, 350px);
  filter: drop-shadow(0 12px 24px rgba(3, 2, 31, 0.32));
  transition: transform 220ms ease;
}

.brand:hover {
  transform: translateY(-2px) rotate(-0.5deg);
}

.brand img {
  display: block;
}

.desktopNav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.2vw, 52px);
}

.desktopNav a {
  position: relative;
  padding: 12px 0;
  text-decoration: none;
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.desktopNav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktopNav a:hover {
  color: var(--cyan);
}

.desktopNav a:hover::after,
.desktopNav a:focus-visible::after {
  transform: scaleX(1);
}

.mobileNav {
  display: none;
}

.heroInner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(520px, 1.28fr);
  align-items: center;
  width: min(100% - 72px, 1500px);
  min-height: calc(100svh - 196px);
  margin: -14px auto 0;
}

.heroCopy {
  position: relative;
  z-index: 5;
  padding: 42px 0 112px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 8px;
  color: var(--pink);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(4.4rem, 6.3vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-wrap: balance;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #d9faff 45%, #ffdaef 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.heroIntro {
  max-width: 520px;
  margin: 30px 0;
  color: #e4ddff;
  font-size: clamp(1.05rem, 1.35vw, 1.38rem);
  font-weight: 600;
  line-height: 1.48;
}

.primaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 315px;
  min-height: 66px;
  padding: 10px 13px 10px 28px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: white;
  background: linear-gradient(105deg, #e930a9, #ff4caa 48%, #f343d8);
  box-shadow:
    0 12px 32px rgba(255, 76, 207, 0.3),
    0 0 0 5px rgba(255, 76, 207, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-family: var(--font-display), sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.primaryButton span {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--plum);
  background: white;
  font-family: var(--font-body), sans-serif;
  transition: transform 200ms ease;
}

.primaryButton:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(255, 76, 207, 0.42),
    0 0 0 6px rgba(37, 217, 245, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.primaryButton:hover span {
  transform: translateX(3px);
}

.primaryButton:focus-visible,
.desktopNav a:focus-visible,
.mobileNav a:focus-visible,
.scrollCue:focus-visible,
.siteFooter a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.comingCue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0 28px;
  color: var(--lavender);
  font-family: var(--font-display), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.comingCue span {
  color: #8167d1;
  font-size: 0.8rem;
}

.heroStage {
  position: relative;
  align-self: stretch;
  min-height: 650px;
}

.stageHalo {
  position: absolute;
  top: 4%;
  right: -10%;
  bottom: 3%;
  left: -9%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 52% 56%, rgba(37, 217, 245, 0.2), transparent 38%),
    radial-gradient(ellipse at 47% 56%, rgba(255, 76, 207, 0.19), transparent 55%);
  filter: blur(26px);
}

.heroBears {
  position: absolute;
  z-index: 2;
  right: clamp(-190px, -8vw, -80px);
  bottom: 4%;
  width: min(69vw, 1040px);
  max-width: none;
  filter: drop-shadow(0 38px 28px rgba(3, 1, 25, 0.46));
  transform-origin: center bottom;
  animation: heroRise 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.spark {
  position: absolute;
  z-index: 4;
  color: white;
  text-shadow: 0 0 18px var(--cyan), 0 0 32px var(--pink);
  animation: twinkle 3.2s ease-in-out infinite;
}

.sparkOne {
  top: 25%;
  left: 9%;
  font-size: 2.2rem;
}

.sparkTwo {
  top: 17%;
  right: 14%;
  font-size: 1.3rem;
  animation-delay: 1.2s;
}

.sparkThree {
  right: 5%;
  bottom: 17%;
  font-size: 1.8rem;
  animation-delay: 2s;
}

.scrollCue {
  position: absolute;
  z-index: 8;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scrollCue span:last-child {
  color: var(--cyan);
  font-size: 1.2rem;
}

.section {
  padding: 120px max(36px, calc((100vw - 1360px) / 2));
}

.sectionHeading {
  max-width: 740px;
  margin: 0 auto 58px;
  text-align: center;
}

.kicker {
  color: #7b4dde;
}

.sectionHeading h2,
.buildCopy h2,
.teaserIntro h2,
.finalCta h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.sectionHeading > p:last-child,
.teaserIntro > p:last-child {
  max-width: 640px;
  margin: 24px auto 0;
  color: #695f85;
  font-size: 1.08rem;
  line-height: 1.7;
}

.collection {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 76, 207, 0.12), transparent 24%),
    radial-gradient(circle at 90% 22%, rgba(37, 217, 245, 0.13), transparent 25%),
    var(--paper);
}

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

.buddyCard {
  --card-accent: #ff4fae;
  --card-deep: #8d185f;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(46, 30, 107, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 37%, color-mix(in srgb, var(--card-accent) 40%, white), transparent 34%),
    linear-gradient(155deg, white 0%, color-mix(in srgb, var(--card-accent) 12%, white) 100%);
  box-shadow: 0 24px 70px rgba(40, 22, 88, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.buddyCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.buddyCard.funshine {
  --card-accent: #ffc72e;
  --card-deep: #9b6810;
}

.buddyCard.share {
  --card-accent: #a870e9;
  --card-deep: #5c388d;
}

.buddyNumber {
  position: absolute;
  top: 24px;
  right: 28px;
  color: color-mix(in srgb, var(--card-deep) 55%, white);
  font-family: var(--font-display), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.buddyGem {
  position: relative;
  display: grid;
  width: 220px;
  margin: 44px auto 26px;
  aspect-ratio: 0.9;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 46% 46% 42% 42%;
  background:
    linear-gradient(140deg, transparent 42%, rgba(255, 255, 255, 0.7) 43% 45%, transparent 46%),
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.45) 49% 51%, transparent 52%),
    linear-gradient(155deg, color-mix(in srgb, var(--card-accent) 44%, white), var(--card-accent));
  box-shadow:
    inset 18px 12px 26px rgba(255, 255, 255, 0.36),
    inset -16px -18px 30px color-mix(in srgb, var(--card-deep) 26%, transparent),
    0 24px 30px color-mix(in srgb, var(--card-accent) 23%, transparent);
  transform: rotate(-2deg);
}

.buddyGem::before,
.buddyGem::after {
  content: "";
  position: absolute;
  top: -25px;
  width: 75px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: inherit;
  box-shadow: inset 12px 10px 18px rgba(255, 255, 255, 0.3);
}

.buddyGem::before {
  left: -1px;
}

.buddyGem::after {
  right: -1px;
}

.buddyGem span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--card-deep);
  background: white;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.7), 0 12px 28px rgba(42, 22, 79, 0.14);
  font-size: 2.8rem;
}

.buddyDetails {
  position: relative;
  z-index: 2;
  padding: 0 12px 14px;
}

.buddyDetails > p:first-child {
  margin: 0 0 8px;
  color: var(--card-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.buddyDetails h3 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1;
}

.buddyDetails > p:last-child {
  margin: 15px 0 0;
  color: #675c80;
  line-height: 1.62;
}

.buildSection {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(390px, 1.08fr);
  align-items: center;
  gap: clamp(64px, 9vw, 150px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 14% 45%, rgba(255, 76, 207, 0.23), transparent 32%),
    radial-gradient(circle at 48% 86%, rgba(37, 217, 245, 0.15), transparent 25%),
    linear-gradient(130deg, #100b3a 0%, #271361 60%, #111b52 100%);
}

.buildVisual {
  position: relative;
}

.buildImageFrame {
  position: relative;
  height: 680px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background: #2c1c64;
  box-shadow: 0 40px 90px rgba(2, 1, 25, 0.43);
  transform: rotate(-2.5deg);
}

.buildImageFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.buildImageFrame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 76%;
}

.seriesStamp {
  position: absolute;
  right: -34px;
  bottom: 48px;
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  color: var(--midnight);
  background: var(--yellow);
  box-shadow: 0 14px 36px rgba(255, 216, 74, 0.28);
  font-family: var(--font-display), sans-serif;
  line-height: 0.7;
  transform: rotate(8deg);
}

.seriesStamp span {
  align-self: end;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seriesStamp strong {
  align-self: start;
  font-size: 3.5rem;
}

.buildCopy .kicker {
  color: var(--cyan);
}

.buildCopy h2 {
  max-width: 700px;
}

.buildLead {
  max-width: 650px;
  margin: 28px 0 44px;
  color: #cec3ef;
  font-size: 1.12rem;
  line-height: 1.72;
}

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

.steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.steps > li > span {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 5px;
  font-family: var(--font-display), sans-serif;
  font-size: 1.35rem;
}

.steps p {
  margin: 0;
  color: #bdb1df;
  line-height: 1.55;
}

.teaser {
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    linear-gradient(115deg, rgba(255, 76, 207, 0.16), rgba(37, 217, 245, 0.16), rgba(255, 216, 74, 0.18));
}

.teaserIntro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.teaserIntro .kicker {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

.teaserIntro > p:last-child {
  margin: 0;
}

.teaserRail {
  display: grid;
  grid-template-columns: repeat(5, minmax(175px, 1fr));
  gap: 14px;
}

.teaserCard {
  --range-a: #6cab36;
  --range-b: #a8d962;
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(150deg, var(--range-a), var(--range-b));
  box-shadow: 0 22px 50px color-mix(in srgb, var(--range-a) 18%, transparent);
  transition: transform 220ms ease;
}

.teaserCard:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

.teaserCard.potter {
  --range-a: #1e285f;
  --range-b: #433183;
}

.teaserCard.kitty {
  --range-a: #e85d9d;
  --range-b: #f3a8c9;
}

.teaserCard.spongebob {
  --range-a: #e8b900;
  --range-b: #ffe64b;
  color: #33275f;
}

.teaserCard.haribo {
  --range-a: #1450a0;
  --range-b: #2c78cb;
}

.soonLabel {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.monogram {
  display: grid;
  width: 105px;
  margin: 45px auto 35px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.1),
    0 20px 30px rgba(14, 8, 50, 0.14);
  font-family: var(--font-display), sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  transform: rotate(8deg);
}

.teaserCard h3 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: 1.45rem;
  text-align: center;
}

.cardSpark {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.4rem;
}

.finalCta {
  position: relative;
  overflow: hidden;
  padding: 126px 36px 136px;
  color: white;
  background:
    radial-gradient(circle at 50% 130%, rgba(255, 76, 207, 0.54), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(37, 217, 245, 0.17), transparent 26%),
    linear-gradient(135deg, #100b3a, #281163 58%, #101c58);
  text-align: center;
}

.finalCta::before,
.finalCta::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
}

.finalCta::before {
  top: -270px;
  left: -120px;
}

.finalCta::after {
  right: -90px;
  bottom: -300px;
}

.finalCtaStars {
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 1.1rem;
  letter-spacing: 0.65em;
}

.finalCta .kicker {
  color: var(--pink);
}

.finalCta h2 {
  max-width: 900px;
  margin: 0 auto 42px;
}

.lightButton {
  min-width: 280px;
  color: var(--midnight);
  border-color: white;
  background: white;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.lightButton span {
  color: white;
  background: linear-gradient(135deg, var(--pink), #9a4cff);
}

.siteFooter {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 56px;
  padding: 56px max(36px, calc((100vw - 1360px) / 2)) 30px;
  color: #c8bde9;
  background: #080622;
}

.footerBrand img {
  display: block;
  width: 180px;
}

.footerBrand p {
  margin: 8px 0 0;
  font-size: 0.78rem;
}

.siteFooter nav {
  display: flex;
  gap: 26px;
}

.siteFooter nav a {
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.siteFooter nav a:hover {
  color: var(--cyan);
}

.rmsMark {
  display: grid;
  justify-items: end;
}

.rmsMark span {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rmsMark strong {
  color: white;
  font-family: var(--font-display), sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.07em;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.72) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(18deg);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .siteHeader,
  .heroInner {
    width: min(100% - 48px, 980px);
  }

  .heroInner {
    grid-template-columns: minmax(340px, 0.88fr) minmax(440px, 1.12fr);
  }

  .hero h1 {
    font-size: clamp(4rem, 7vw, 5.5rem);
  }

  .heroBears {
    right: -130px;
    width: 730px;
  }

  .buddyGrid {
    gap: 16px;
  }

  .buddyCard {
    min-height: 470px;
  }

  .buddyGem {
    width: 175px;
  }

  .teaserRail {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
  }

  .teaserCard {
    scroll-snap-align: start;
  }
}

@media (max-width: 820px) {
  .siteHeader {
    width: calc(100% - 36px);
    height: 108px;
  }

  .brand {
    width: 210px;
  }

  .desktopNav {
    display: none;
  }

  .mobileNav {
    position: relative;
    display: block;
  }

  .mobileNav summary {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 13px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    place-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    list-style: none;
  }

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

  .mobileNav summary span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: white;
  }

  .mobileNav nav {
    position: absolute;
    top: 58px;
    right: 0;
    display: grid;
    width: 230px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(15, 10, 57, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
  }

  .mobileNav nav a {
    padding: 13px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-family: var(--font-display), sans-serif;
    font-weight: 600;
  }

  .mobileNav nav a:hover {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: auto;
  }

  .heroInner {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    min-height: auto;
    margin-top: 0;
  }

  .heroCopy {
    padding: 52px 0 0;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .hero h1 {
    max-width: 660px;
    margin: 0 auto;
    font-size: clamp(3.8rem, 13vw, 6rem);
    line-height: 0.86;
  }

  .heroIntro {
    margin: 26px auto;
  }

  .comingCue {
    justify-content: center;
    margin-left: 0;
  }

  .heroStage {
    min-height: 610px;
  }

  .heroBears {
    right: 50%;
    bottom: 2%;
    width: min(960px, 120vw);
    transform: translateX(50%);
    animation: none;
  }

  .scrollCue {
    display: none;
  }

  .section {
    padding: 90px 26px;
  }

  .buddyGrid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .buddyCard {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    align-items: center;
    min-height: 350px;
  }

  .buddyGem {
    width: min(205px, 90%);
    margin: 36px auto 20px;
  }

  .buildSection {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .buildVisual {
    max-width: 590px;
    margin: 0 auto;
  }

  .buildImageFrame {
    height: 560px;
  }

  .buildCopy {
    max-width: 680px;
    margin: 0 auto;
  }

  .teaserIntro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .teaserIntro .kicker {
    grid-column: auto;
    margin-bottom: -6px;
  }

  .teaserIntro > p:last-child {
    margin: 0;
  }

  .siteFooter {
    grid-template-columns: 1fr auto;
  }

  .siteFooter nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .copyright {
    grid-row: 3;
  }
}

@media (max-width: 560px) {
  .siteHeader {
    height: 90px;
  }

  .brand {
    width: 170px;
  }

  .heroCopy {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .heroIntro {
    max-width: 340px;
    font-size: 1rem;
  }

  .primaryButton {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding-left: 22px;
    font-size: 1.05rem;
  }

  .comingCue {
    font-size: 0.82rem;
  }

  .heroStage {
    min-height: 430px;
  }

  .heroBears {
    bottom: 5%;
    width: 135vw;
  }

  .sectionHeading {
    margin-bottom: 36px;
  }

  .sectionHeading h2,
  .buildCopy h2,
  .teaserIntro h2,
  .finalCta h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .buddyCard {
    display: block;
    min-height: 0;
    padding-top: 26px;
  }

  .buddyGem {
    width: 180px;
    margin-top: 52px;
  }

  .buddyDetails {
    padding-top: 8px;
  }

  .buildImageFrame {
    height: 450px;
    border-radius: 28px;
  }

  .seriesStamp {
    right: -12px;
    bottom: 32px;
    width: 104px;
  }

  .seriesStamp strong {
    font-size: 2.7rem;
  }

  .steps li {
    grid-template-columns: 52px 1fr;
    gap: 15px;
  }

  .steps > li > span {
    width: 46px;
  }

  .teaserRail {
    grid-template-columns: repeat(5, 78vw);
    margin-right: -26px;
  }

  .teaserCard {
    min-height: 290px;
  }

  .finalCta {
    padding: 96px 26px 105px;
  }

  .siteFooter {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 26px 28px;
  }

  .siteFooter nav {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    gap: 14px;
  }

  .rmsMark {
    justify-items: start;
  }

  .copyright {
    grid-column: auto;
    grid-row: auto;
  }
}

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

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