/* ==========================================
   RocketToons pre-launch (free) page
   Plain CSS, no build step. Sizes follow the 1920px Figma frame
   ("RocketToons Pre-launch v2", 931:128).

   Scaling: each shell section is a size container; inside it
   --s = min(1px, 100cqw / 1920) is one Figma px, so calc(N * var(--s))
   is N Figma px at 1920 and shrinks with the screen. Copy uses
   max(<floor>, calc(N * var(--s))) so it never gets too small to read.
   Below 1024px the sections switch to a stacked phone layout
   (see "PHONES & TABLETS" at the end of the shell styles).

   The countdown + signup form ("seat") is shared by the hero and the
   signup section; its own unit is --k (= --s on desktop).
   ========================================== */

/* ============ SHOWCASE VIDEOS (js/videos.js) ============ */

/* Muted loops and click-to-play films fill their slot like the pictures they replace. */
.rt-loop { display: block; object-fit: cover; }
.rt-play, .rt-play button { cursor: pointer; }

/* Visually hidden (form labels) */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ============ 01 HERO (Figma 931:129, 1920 x 1800) ============ */

/* Sky: Figma's gradient runs over 2292px and the hero clips it at 1800px,
   so it is sized to 2292 / 1800 = 127.33% of the section. */
.hero {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background: #000 linear-gradient(180deg, #040428 0%, #0a0852 14%, #121ea0 30%, #0b50e1 48%, #3a8cff 68%, #a6cbff 85%, rgba(255, 255, 255, 0) 100%) 50% 0 / 100% 127.33% no-repeat;
}
.hero > * { --s: min(1px, 100cqw / 1920); }

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Stars (Figma "Stars (subtle, twinkle)", 1920 x 720; they twinkle inside the SVG) */
.hero__stars {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
}

/* Jellyfish drifting in the night sky */
.hero__jelly {
  position: absolute;
  max-width: none;
  object-fit: cover;
  animation: hero-bob 7s ease-in-out infinite;
}
.hero__jelly--left {
  left: calc(206 * var(--s));
  top: calc(314 * var(--s));
  width: calc(144.59 * var(--s));
  height: calc(134 * var(--s));
}
.hero__jelly--right {
  left: calc(1635 * var(--s));
  top: calc(420 * var(--s));
  width: calc(99 * var(--s));
  height: calc(84 * var(--s));
  animation-duration: 8.5s;
  animation-delay: -3s;
}

/* Hills: one picture used twice, as Figma does: a big faint copy behind ("Distant hills",
   45% opacity) and the full-width copy in front. Anchored to the hero's bottom edge. */
.hero__hills {
  position: absolute;
  max-width: none;
  height: auto;
}
.hero__hills--far {
  left: calc(-619.76 * var(--s));
  bottom: calc(-694.4 * var(--s));
  width: calc(2400.7 * var(--s));
  opacity: 0.45;
}
.hero__hills--near {
  left: 0;
  bottom: calc(-506.3 * var(--s));
  width: calc(1920.6 * var(--s));
}
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(210 * var(--s));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.8) 70%, #000 100%);
}

/* Content column */
.hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-height: calc(1800 * var(--s));
  padding: 0 16px calc(254 * var(--s));
}

.hero__head { display: flex; justify-content: center; }
.hero__logo {
  display: block;
  width: max(140px, calc(281.7 * var(--s)));
  height: auto;
  margin-top: calc(43.4 * var(--s));
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(14 * var(--s));
  text-align: center;
}

/* Glass eyebrow with the red LIVE tag */
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--s));
  margin: 0;
  padding: calc(8 * var(--s)) calc(22 * var(--s)) calc(8 * var(--s)) calc(8 * var(--s));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 38, 0.35), inset 0 -6px 12px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: max(13px, calc(21 * var(--s)));
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero__live-tag {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--s));
  padding: calc(6 * var(--s)) calc(14 * var(--s)) calc(6 * var(--s)) calc(12 * var(--s));
  border-radius: 999px;
  background: #ff3b5c;
  font-size: max(11px, calc(15 * var(--s)));
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero__live-dot {
  width: max(6px, calc(9 * var(--s)));
  height: max(6px, calc(9 * var(--s)));
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(14 * var(--s)) 0 0;
  line-height: 1;
}
.hero__title-1 {
  margin-bottom: calc(-6 * var(--s));
  font-size: max(56px, calc(112 * var(--s)));
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.hero__title-2 {
  font-family: "Rancho", cursive;
  font-size: max(60px, calc(124 * var(--s)));
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero__sub {
  width: min(100%, max(680px, calc(1000 * var(--s))));
  margin: calc(30 * var(--s)) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: max(17px, calc(25 * var(--s)));
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.hero__sub b { color: #fff; font-weight: 700; }

/* Video card + decorations. Positions of the cards, plane and clouds are relative to the
   950 x 543 card, so the cluster stays together at any width. */
.hero__stage {
  position: relative;
  width: calc(950 * var(--s));
  margin-top: calc(50 * var(--s));
}
.hero__video {
  position: relative;
  z-index: 10;
  padding: calc(12 * var(--s));
  border-radius: calc(34 * var(--s));
  background: #000;
  box-shadow: 0 40px 100px rgba(5, 26, 102, 0.35);
}
.hero__player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(24 * var(--s));
  background: #000;
}
.hero__play-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(56px, calc(92 * var(--s)));
  height: max(56px, calc(92 * var(--s)));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.hero__play img { width: 37%; height: auto; }
.hero__play-btn:hover .hero__play { transform: translate(-50%, -50%) scale(1.05); }

/* Carousel cards behind the video (same build as special/'s hero).
   The stage is the Figma "Mask group": 1762 x 875 at (79, 408), placed relative to the
   950 x 543 video card at (485, 590). Inside, 1cqw = 17.62 Figma px. */
.hero-cards {
  position: absolute;
  left: -42.74%;
  top: -33.52%;
  width: 185.47%;
  height: 161.14%;
  container-type: inline-size;
  pointer-events: none;
  /* Figma's mask (Ellipse 1): solid to 80.4% of its radius, fading out at the edge */
  -webkit-mask-image: radial-gradient(44.55% 44.55% at 50% 50%, #000 80.4%, transparent 100%);
          mask-image: radial-gradient(44.55% 44.55% at 50% 50%, #000 80.4%, transparent 100%);
}
.hero-cards__row {
  position: absolute;
  left: 0;
  width: 100%;
}
.hero-cards__row--1 { top: 32.8%; }  /* card tops 695 / 870 minus the stage's 408 */
.hero-cards__row--2 { top: 52.8%; }

/* Infinite row: the track holds its cards twice (the copy is added by js/animations.js),
   so sliding it by exactly half loops without a jump. */
.hero-cards__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.hero-cards__row--2 .hero-cards__track {
  animation-duration: 105s;
  animation-delay: -30s;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.hero-card {
  flex: none;
  box-sizing: border-box;
  width: 8.967cqw;             /* 158px */
  aspect-ratio: 1;
  margin-right: 1.249cqw;      /* 22px gap */
  padding: 0.434cqw;           /* 7.65px */
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.703cqw;     /* 30px */
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.795cqw 1.703cqw rgba(10, 51, 153, 0.22);
}
.hero-card > img,
.hero-card > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.362cqw;     /* 24px */
}

/* Paper plane (Figma "plane-right" with its dashed trail) and the two clouds */
.hero__deco {
  position: absolute;
  z-index: 20;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.hero__plane        { left: 120.95%; top: 52.85%;  width: 44.1%; }  /* 1634, 877, 419 wide */
.hero__cloud--left  { left: -51.05%; top: 79.74%;  width: 34.1%; }  /*    0, 1023, 324 wide */
.hero__cloud--right { left: 113.05%; top: 144.75%; width: 38%; }    /* 1559, 1376, 361 wide */

/* Clouds drift sideways, the plane bobs along its trail, jellyfish float */
.hero-drift { animation: hero-drift 14s ease-in-out infinite alternate; }
.hero-drift--slow { animation-duration: 18s; animation-delay: -6s; }
.hero-float { animation: hero-float 6s ease-in-out infinite; }

@keyframes hero-drift {
  from { transform: translateX(-28px); }
  to   { transform: translateX(28px); }
}
@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(6px, -12px) rotate(-2deg); }
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.seat--hero { margin-top: calc(70 * var(--s)); }


/* ============ SEAT: countdown + signup form + perks (hero and 08 signup) ============ */

.seat {
  --k: var(--s);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24.64 * var(--k));
}

/* Flip clock ("Flip clock — doors open"). js/animations.js fills in the live count. */
.clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(11.2 * var(--k));
}
.clock__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: max(11px, calc(14 * var(--k)));
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: 0.14em;
}
.clock__units {
  display: flex;
  align-items: flex-start;
  gap: calc(9.8 * var(--k));
}
.clock__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8.4 * var(--k));
}
.clock__digits {
  display: flex;
  gap: calc(4.2 * var(--k));
}
.flip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(82.6 * var(--k));
  height: calc(92.4 * var(--k));
  overflow: hidden;
  border-radius: calc(12.6 * var(--k));
  background: linear-gradient(180deg, #33363f 0%, #1c1e25 50%, #16181e 50%, #0a0b0f 100%);
  box-shadow: 0 calc(12.6 * var(--k)) calc(21 * var(--k)) rgba(0, 0, 0, 0.55), inset 0 0 0 0.7px rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: calc(58.8 * var(--k));
  font-weight: 600;
  line-height: 1;
  perspective: 300px;
}
.flip__n { display: block; }
/* the two notches at the hinge */
.flip::before {
  content: "";
  position: absolute;
  left: calc(-3.5 * var(--k));
  right: calc(-3.5 * var(--k));
  top: calc(41.3 * var(--k));
  height: calc(9.8 * var(--k));
  background:
    radial-gradient(closest-side, #030308 92%, transparent) 0 0 / calc(7 * var(--k)) 100% no-repeat,
    radial-gradient(closest-side, #030308 92%, transparent) 100% 0 / calc(7 * var(--k)) 100% no-repeat;
}
/* hinge line, its highlight, and the shade on the lower half (over the number, as in Figma) */
.flip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)) 0 calc(45.5 * var(--k)) / 100% calc(1.4 * var(--k)) no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) 0 calc(47.25 * var(--k)) / 100% max(0.7px, calc(0.7 * var(--k))) no-repeat,
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.08) 100%) 0 100% / 100% 50% no-repeat;
  pointer-events: none;
}
/* a changed digit flips down into place */
.flip.is-flip .flip__n { animation: flip-in 0.42s cubic-bezier(0.2, 0.7, 0.3, 1); transform-origin: 50% 50%; }
@keyframes flip-in {
  from { transform: rotateX(-85deg); opacity: 0.2; }
  to   { transform: rotateX(0); opacity: 1; }
}
.clock__colon {
  flex: none;
  width: calc(9.8 * var(--k));
  height: calc(92.4 * var(--k));
  background:
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.7) 92%, transparent) 50% calc(33.26 * var(--k)) / calc(7 * var(--k)) calc(7 * var(--k)) no-repeat,
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.7) 92%, transparent) 50% calc(53.59 * var(--k)) / calc(7 * var(--k)) calc(7 * var(--k)) no-repeat;
}

/* Glass form bar: First name + email + button. --row (hero) and --stack (08 signup). */
.seat-form {
  display: flex;
  align-items: center;
  gap: calc(11.2 * var(--k));
  box-sizing: border-box;
  margin: 0;
  padding: calc(11.2 * var(--k));
  border: max(1px, calc(1.68 * var(--k))) solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16));
  -webkit-backdrop-filter: blur(15.68px);
          backdrop-filter: blur(15.68px);
  box-shadow: 0 calc(33.6 * var(--k)) calc(67.2 * var(--k)) rgba(8, 20, 102, 0.35);
}
.seat-form__input {
  box-sizing: border-box;
  width: calc(336 * var(--k));
  height: calc(89.6 * var(--k));
  margin: 0;
  padding: 0 calc(31.36 * var(--k));
  border: 0;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: #0e2a66;
  font: inherit;
  font-size: max(16px, calc(21.28 * var(--k)));
  font-weight: 500;
}
.seat-form__input::placeholder { color: rgba(14, 42, 102, 0.5); opacity: 1; }
.seat-form__input:focus-visible { box-shadow: 0 0 0 3px rgba(41, 148, 255, 0.65); }
.seat-form__btn {
  display: flex;
  align-items: center;
  gap: calc(17.92 * var(--k));
  box-sizing: border-box;
  margin: 0;
  padding: calc(11.2 * var(--k)) calc(11.2 * var(--k)) calc(11.2 * var(--k)) calc(38.08 * var(--k));
  border: max(1px, calc(1.68 * var(--k))) solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(180deg, #2994ff, #1a1fd9) padding-box;
  box-shadow: 0 calc(17.92 * var(--k)) calc(44.8 * var(--k)) rgba(13, 64, 242, 0.45), inset 0 calc(2.24 * var(--k)) calc(2.24 * var(--k)) rgba(255, 255, 255, 0.45);
  color: #fff;
  font: inherit;
  font-size: max(16px, calc(24.64 * var(--k)));
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.seat-form__btn:hover { filter: brightness(1.1); }
.seat-form__btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.8); outline-offset: 3px; }
.seat-form__arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(40px, calc(67.2 * var(--k)));
  height: max(40px, calc(67.2 * var(--k)));
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.seat-form__arrow img { width: 43%; height: auto; }
.seat-form__btn:hover .seat-form__arrow { transform: translateX(2px); }

.seat-form--stack {
  flex-direction: column;
  gap: calc(12 * var(--k));
  padding: calc(16 * var(--k));
  border-radius: calc(36 * var(--k));
}
.seat-form--stack .seat-form__input { width: calc(560 * var(--k)); height: calc(76 * var(--k)); }
.seat-form--stack .seat-form__btn { width: calc(560 * var(--k)); justify-content: space-between; }

/* Perks (ticks) */
.perks {
  display: flex;
  gap: calc(31.36 * var(--k));
  margin: 0;
  padding: 0;
  list-style: none;
}
.perks li {
  display: flex;
  align-items: center;
  gap: calc(10.08 * var(--k));
  color: rgba(255, 255, 255, 0.95);
  font-size: max(14px, calc(20.16 * var(--k)));
  font-weight: 600;
  line-height: 1.27;
}
.perks__tick {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(20px, calc(26.88 * var(--k)));
  height: max(20px, calc(26.88 * var(--k)));
  border-radius: 50%;
  background: #fff;
  color: #2747f5;
  font-size: max(11px, calc(14.56 * var(--k)));
  font-weight: 700;
  line-height: 1;
}
.perks--col {
  flex-direction: column;
  align-items: flex-start;
  gap: calc(12 * var(--k));
}


/* ============ 08 SIGNUP (Figma 950:128, 1920 x 1246) ============ */

.signup {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background: linear-gradient(180deg, #000 0%, #08104a 45%, #0e2aa8 100%);
}
.signup > * { --s: min(1px, 100cqw / 1920); }
.signup__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  pointer-events: none;
}
.signup__in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-height: calc(1246.24 * var(--s));
  padding: calc(150 * var(--s)) 16px calc(150 * var(--s));
  text-align: center;
}
.signup__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: max(12px, calc(15 * var(--s)));
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: 0.14em;
}
.signup__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(18 * var(--s)) 0 0;
}
.signup__title-1 {
  font-size: max(36px, calc(72 * var(--s)));
  font-weight: 700;
  line-height: 1.139;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.signup__title-2 {
  font-family: "Rancho", cursive;
  font-size: max(32px, calc(60 * var(--s)));
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
.signup__sub {
  width: min(100%, max(560px, calc(820 * var(--s))));
  margin: calc(27 * var(--s)) 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: max(16px, calc(20 * var(--s)));
  line-height: 1.55;
}
.signup__sub b { color: #fff; font-weight: 700; }
.seat--signup { margin-top: calc(60 * var(--s)); }


/* ============ 09 HOSTS (Figma 950:316, 1920 x 1156) ============ */

.hosts {
  container-type: inline-size;
  background: linear-gradient(180deg, #0e2aa8 0%, #060a2e 35%, #000 100%);
}
.hosts > * { --s: min(1px, 100cqw / 1920); }
.hosts__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-height: calc(1156 * var(--s));
  padding: calc(140 * var(--s)) 16px calc(140 * var(--s));
  text-align: center;
}
.hosts__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: max(12px, calc(15 * var(--s)));
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: 0.16em;
}
.hosts__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(18 * var(--s)) 0 0;
}
.hosts__title-1 {
  font-size: max(34px, calc(64 * var(--s)));
  font-weight: 700;
  line-height: 1.156;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.hosts__title-2 {
  font-family: "Rancho", cursive;
  font-size: max(30px, calc(56 * var(--s)));
  font-weight: 400;
  line-height: 1.2;
}

/* Two glass cards; each photo sits half out of its card's top edge */
.hosts__cards {
  display: grid;
  grid-template-columns: repeat(2, calc(616 * var(--s)));
  gap: calc(48 * var(--s));
  margin: calc(262.8 * var(--s)) 0 0;
  padding: 0;
  list-style: none;
}
.hosts__card {
  position: relative;
  box-sizing: border-box;
  min-height: calc(435 * var(--s));
  padding: calc(159 * var(--s)) calc(56 * var(--s)) calc(51 * var(--s));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: calc(36 * var(--s));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.hosts__photo {
  position: absolute;
  left: 50%;
  top: calc(-171 * var(--s));
  box-sizing: border-box;
  width: calc(250 * var(--s));
  height: calc(300 * var(--s));
  max-width: none;
  border: max(3px, calc(4 * var(--s))) solid rgba(255, 255, 255, 0.9);
  border-radius: calc(32 * var(--s));
  object-fit: cover;
  box-shadow: 0 24px 44px -8px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}
.hosts__name {
  margin: 0;
  font-size: max(26px, calc(40 * var(--s)));
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.hosts__role {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Rancho", cursive;
  font-size: max(22px, calc(30 * var(--s)));
  line-height: 1.2;
}
.hosts__bio {
  margin: calc(19 * var(--s)) 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: max(15px, calc(18 * var(--s)));
  line-height: 1.611;
}
.hosts__bio b { color: #fff; font-weight: 700; }


/* ============ PHONES & TABLETS (below 1024px): stacked layout ============ */

@media (max-width: 1023.98px) {
  /* hero */
  .hero-cards,
  .hero__deco { display: none; }

  .hero__stars {
    left: 50%;
    width: max(100%, 1280px);
    transform: translateX(-50%);
  }
  .hero__jelly--left  { left: 4cqw; top: 16px; width: 52px; height: 48px; }
  .hero__jelly--right { left: auto; right: 6cqw; top: 44px; width: 36px; height: 31px; }

  /* hills: a wider centre crop so they still read as hills on a narrow screen */
  .hero__bg { --hw: max(100cqw, 860px); }  /* width of the front hills */
  .hero__hills--near { left: calc((100cqw - var(--hw)) / 2); width: var(--hw); bottom: calc(60px - 0.2636 * var(--hw)); }
  .hero__hills--far  { left: calc((100cqw - var(--hw)) / 2 - 0.3227 * var(--hw)); width: calc(1.25 * var(--hw)); bottom: calc(60px - 0.3615 * var(--hw)); }
  .hero__fade { height: 120px; }

  .hero__in { min-height: 0; padding-bottom: 170px; }
  .hero__logo { width: 150px; margin-top: 22px; }
  .hero__copy { margin-top: 24px; }
  .hero__live { gap: 8px; padding: 5px 14px 5px 5px; font-size: 13px; }
  .hero__live-tag { gap: 5px; padding: 4px 10px 4px 9px; font-size: 11px; }
  .hero__title { margin-top: 14px; }
  .hero__title-1 { margin-bottom: 0; font-size: min(64px, 9.4cqw); }
  .hero__title-2 { font-size: min(72px, 10.6cqw); white-space: normal; text-wrap: balance; line-height: 1.05; }
  .hero__sub { width: min(100%, 640px); margin-top: 16px; font-size: 16px; }
  .hero__stage { width: min(100%, 720px); margin-top: 32px; }
  .hero__video { padding: 8px; border-radius: 22px; }
  .hero__player { border-radius: 16px; }
  .hero__play { width: 64px; height: 64px; }
  .seat--hero { margin-top: 40px; }

  /* seat (both) */
  .seat {
    --k: min(0.75px, (100cqw - 32px) / 790);
    gap: 22px;
    width: 100%;
  }
  .clock { gap: 10px; }
  .clock__label { font-size: 12px; }
  .seat-form,
  .seat-form--stack {
    flex-direction: column;
    gap: 10px;
    width: min(100%, 560px);
    padding: 12px;
    border-width: 1.5px;
    border-radius: 30px;
    box-shadow: 0 24px 48px rgba(8, 20, 102, 0.35);
  }
  .seat-form__input,
  .seat-form--stack .seat-form__input { width: 100%; height: 56px; padding: 0 22px; font-size: 16px; }
  .seat-form__btn,
  .seat-form--stack .seat-form__btn {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 7px 7px 24px;
    border-width: 1.5px;
    font-size: 17px;
    box-shadow: 0 14px 34px rgba(13, 64, 242, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.45);
  }
  .seat-form__arrow { width: 46px; height: 46px; }
  .perks,
  .perks--col { flex-direction: column; align-items: flex-start; gap: 10px; }
  .perks li { gap: 10px; font-size: 15px; }
  .perks__tick { width: 22px; height: 22px; font-size: 12px; }

  /* signup */
  .signup__in { min-height: 0; padding: 80px 16px 88px; }
  .signup__title { margin-top: 14px; }
  .signup__title-1 { font-size: min(52px, 8.6cqw); white-space: normal; text-wrap: balance; }
  .signup__title-2 { font-size: min(48px, 8.4cqw); white-space: normal; text-wrap: balance; }
  .signup__sub { width: min(100%, 600px); margin-top: 18px; font-size: 16px; }
  .seat--signup { margin-top: 36px; }

  /* hosts */
  .hosts__in { min-height: 0; padding: 80px 16px 88px; }
  .hosts__title { margin-top: 14px; }
  .hosts__title-1 { font-size: min(48px, 8.4cqw); white-space: normal; text-wrap: balance; }
  .hosts__title-2 { font-size: min(44px, 8.4cqw); }
  .hosts__cards {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    gap: 150px;
    width: 100%;
    margin-top: 150px;
  }
  .hosts__card { min-height: 0; padding: 120px 20px 32px; border-radius: 28px; }
  .hosts__photo { top: -108px; width: 180px; height: 216px; border-width: 3px; border-radius: 24px; }
  .hosts__name { font-size: 28px; }
  .hosts__role { font-size: 24px; }
  .hosts__bio { margin-top: 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cards__track,
  .hero-drift,
  .hero-float,
  .hero__jelly,
  .hero__live-dot,
  .flip.is-flip .flip__n { animation: none; }
}


/* ============ PAGE PARTS (merged below by merge_page.py) ============ */

/* ---- part: proof ---- */
/* ============ 02 PROOF (Figma 936:128, 1920 x 1399) ============
   Heading, then three rows of toon clips sliding behind the RocketToons wordmark.
   --s is one Figma px (1920 frame), never more than 1px. */
.fr-proof {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.fr-proof * { --s: min(1px, 100cqw / 1920); }

.frproof-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(14px, calc(20 * var(--s)));
  padding: max(48px, calc(60 * var(--s))) 16px 0;
  text-align: center;
}
.frproof-eyebrow {
  font-size: max(14px, calc(16 * var(--s)));
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #8a8a8a;
}
.frproof-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.frproof-title > span:first-child { font-size: max(28px, calc(68 * var(--s))); }
.frproof-title-script {
  font-family: "Rancho", cursive;
  font-size: max(34px, calc(80 * var(--s)));
  font-weight: 400;
  line-height: 1.0875;              /* the Rancho line is 87px tall in Figma */
  letter-spacing: -0.034em;
}
.frproof-sub {
  max-width: 900px;
  font-size: max(16px, calc(20 * var(--s)));
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.6);
}
.frproof-sub b { font-weight: 600; color: #fff; }
.frproof-sub strong { font-weight: 700; color: #fff; }

/* Grid: 3 rows of 300px tiles, 16px apart (932px tall in Figma) */
.frproof-grid {
  position: relative;
  overflow: hidden;
  margin: max(32px, calc(64 * var(--s))) 0 max(56px, calc(100 * var(--s)));
}
.frproof-rows {
  --toon-h: max(150px, calc(300 * var(--s)));
  --toon-gap: max(10px, calc(16 * var(--s)));
  --toon-radius: max(12px, calc(20 * var(--s)));
  display: flex;
  flex-direction: column;
  gap: var(--toon-gap);
}
/* The script repeats each row's cards (four sets); sliding by half loops seamlessly */
.frproof-track {
  display: flex;
  width: max-content;
  animation: frproof-marquee 220s linear infinite;
}
/* Rows alternate: 1 and 3 slide left, 2 slides right */
.frproof-track--2 { animation-duration: 280s; animation-delay: -80s; animation-direction: reverse; }
.frproof-track--3 { animation-duration: 250s; animation-delay: -160s; }
@keyframes frproof-marquee { to { transform: translateX(-50%); } }

.frproof-toon {
  flex: none;
  height: var(--toon-h);
  margin-right: var(--toon-gap);
  overflow: hidden;
  border-radius: var(--toon-radius);
  background: #111;
}
.frproof-toon--portrait  { width: calc(var(--toon-h) * 0.8); }    /* 240 */
.frproof-toon--square    { width: var(--toon-h); }                 /* 300 */
.frproof-toon--landscape { width: calc(var(--toon-h) * 1.4); }    /* 420 */
.frproof-toon--wide      { width: calc(var(--toon-h) * 1.7333); } /* 520 */
.frproof-toon > video,
.frproof-toon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frproof-dim,
.frproof-glow,
.frproof-fade,
.frproof-mark { position: absolute; pointer-events: none; }
.frproof-dim { inset: 0; background: rgba(0, 0, 0, 0.35); }
/* "Overlay / center radial": 1500 x 760 over the 1920 x 932 grid, darkest in the middle */
.frproof-glow {
  left: 50%;
  top: 50%;
  width: 78.125%;
  height: 81.5%;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0) 100%);
}
.frproof-fade { top: 0; bottom: 0; width: 11.46%; min-width: 48px; }
.frproof-fade--left  { left: 0;  background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0)); }
.frproof-fade--right { right: 0; background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0)); }

.frproof-mark {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: max(8px, calc(18 * var(--s)));
  padding: 0 16px;
  text-align: center;
}
.frproof-mark-name {
  font-size: max(48px, calc(120 * var(--s)));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.frproof-mark-tag {
  font-size: max(15px, calc(22 * var(--s)));
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .frproof-track { animation: none; }
}

/* ---- part: oct31 ---- */
/* ============ 03 WHAT HAPPENS ON OCT 31 (Figma 937:128, 1920 x 1210) ============
   Desktop (>= 1100px): four 360px columns (Figma x 240..1680) in three grid rows —
   card picture, timeline dot, text. Each <li> is display: contents there so its parts
   drop into the shared rows, and the gradient timeline runs between the first and last dot.
   Below 1100 the items become normal cards: 2 per row, then 1 on phones; the line is hidden. */
.fr-oct31 {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #000 0%, #070a33 25%, #0b1a7a 100%);
  color: #fff;
  text-align: center;
}
@media (min-width: 1100px) { .fr-oct31 { padding: 150px 0 90px; } }   /* eyebrow top 150, 90 below the last line */

.froct31-stars {
  position: absolute; left: 50%; top: 0;
  width: 1920px; max-width: none; height: 1210px;
  translate: -50% 0;
  pointer-events: none;
}
.froct31-wrap { position: relative; width: min(1440px, 100% - 32px); margin: 0 auto; }

/* ---- heading ---- */
.froct31-eyebrow { font-size: 13px; font-weight: 700; line-height: 1.26; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); }
.froct31-title {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px;
  font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -0.035em;
}
.froct31-script {
  margin-top: 2px;
  font-family: var(--font-script, "Rancho", cursive);
  font-size: 34px; font-weight: 400; line-height: 1.25; letter-spacing: 0;
}
@media (min-width: 768px) {
  .froct31-title { font-size: 54px; }
  .froct31-script { font-size: 48px; }
}
@media (min-width: 1100px) {
  .froct31-eyebrow { font-size: 15px; }                              /* top 150 */
  .froct31-title { margin-top: 18px; font-size: 72px; line-height: 90px; }  /* top 187 */
  .froct31-script { margin-top: -8px; font-size: 64px; line-height: 80px; } /* top 269 */
}

/* ---- the four steps ---- */
.froct31-row {
  display: grid;
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
  gap: 56px 32px;
  margin-top: 48px;
}
@media (min-width: 640px) { .froct31-row { grid-template-columns: repeat(2, minmax(0, 360px)); } }
.froct31-item {
  --c: #ff3b5c;
  display: flex; flex-direction: column; align-items: center;
}
.froct31-item--blue { --c: #4d8bff; }
.froct31-item--violet { --c: #9c86ff; }
.froct31-item--gold { --c: #ffb627; }

/* Figma visual frame 360 x 230; each export is bigger (it carries the glow), placed by its offset */
.froct31-art { position: relative; width: 100%; aspect-ratio: 360 / 230; }
.froct31-img { position: absolute; max-width: none; height: auto; pointer-events: none; }
.froct31-img--cal   { left: -2.778%; top: -13.043%; width: 105.556%; }   /* 380 x 300 at (-10, -30) */
.froct31-img--demo  { left: -5.556%; top: -8.696%;  width: 111.111%; }   /* 400 x 300 at (-20, -20) */
.froct31-img--price,
.froct31-img--draw  { left: -2.778%; top: -8.696%;  width: 105.556%; }   /* 380 x 300 at (-10, -20) */

/* timeline dot: 24px #070a33 disc, 3px ring and glow in the step colour, 10px centre dot */
.froct31-dot {
  position: relative; z-index: 1;
  display: block; flex: none;
  width: 24px; height: 24px; margin-top: 28px;
  border: 3px solid var(--c);
  border-radius: 50%;
  background: #070a33 radial-gradient(circle, var(--c) 0 5px, transparent 5.5px);
  box-shadow: 0 0 16px color-mix(in srgb, var(--c) 80%, transparent);
}
.froct31-text { margin-top: 20px; }
.froct31-num { font-size: 15px; font-weight: 700; line-height: 19px; letter-spacing: 0.14em; color: var(--c); }
.froct31-name { margin-top: 8px; font-size: 28px; font-weight: 700; line-height: 1.26; letter-spacing: -0.015em; }
.froct31-desc {
  max-width: 320px; margin: 10px auto 0;
  font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.68);
}
.froct31-desc b, .froct31-note b { font-weight: 700; color: #fff; }

@media (min-width: 1100px) {
  .froct31-row {
    --g: 0px;
    grid-template-columns: repeat(4, minmax(0, 360px));
    grid-template-rows: auto auto auto;
    gap: 0 var(--g);
    margin-top: 110px;                                   /* pictures top 459 */
  }
  .froct31-item { display: contents; }
  .froct31-item:nth-child(1) > * { grid-column: 1; }
  .froct31-item:nth-child(2) > * { grid-column: 2; }
  .froct31-item:nth-child(3) > * { grid-column: 3; }
  .froct31-item:nth-child(4) > * { grid-column: 4; }
  .froct31-art { grid-row: 1; }
  .froct31-dot { grid-row: 2; justify-self: center; margin-top: 50px; }   /* dot top 739 */
  .froct31-text { grid-row: 3; margin-top: 28px; }                         /* number top 791 */
  /* Timeline: 2px, x 420..1500 (first to last dot centre), y 750 */
  .froct31-row::before {
    content: "";
    grid-row: 2; grid-column: 1 / -1;
    align-self: start;
    height: 2px; margin: 61px calc((100% - 3 * var(--g)) / 8) 0;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 59, 92, 0.8) 0%, rgba(77, 139, 255, 0.8) 33%, rgba(124, 92, 255, 0.8) 66%, rgba(255, 182, 39, 0.8) 100%);
  }
  .froct31-name { margin-top: 10px; font-size: 34px; line-height: 43px; }  /* top 820 */
  .froct31-desc { margin-top: 12px; font-size: 18px; line-height: 27px; } /* top 875 */
}
/* narrower desktops: the columns shrink below 360, so keep a gap between the descriptions */
@media (min-width: 1100px) and (max-width: 1519.98px) { .froct31-row { --g: 24px; } }

.froct31-note {
  margin-top: 56px;
  font-size: 17px; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 1100px) { .froct31-note { margin-top: 80px; font-size: 19px; line-height: 24px; } }  /* top 1036 */

/* ---- part: steps ---- */
/* ============ 04 HOW IT WORKS (Figma 938:128, 1920 x 2799) ============
   Navy blend from the section above, heading on black, then three step cards
   (1238 x 585 at 1920: Figma's 1440 x 680 card at 86%). --s is one Figma px of the
   1920 frame; inside the cards everything is in cqw of the card column (1440 units). */
.fr-steps {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.fr-steps * { --s: min(1px, 100cqw / 1920); }

.frsteps-blend {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: max(120px, calc(240 * var(--s)));
  background: linear-gradient(180deg, #0b1a7a 0%, #080f40 50%, #000 100%);
}

.frsteps-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(18px, calc(26 * var(--s)));
  padding: max(120px, calc(240 * var(--s))) 16px 0;
  text-align: center;
}
.frsteps-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}
.frsteps-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}
.frsteps-title > span:first-child {
  font-size: max(48px, calc(96 * var(--s)));
  font-weight: 700;
  letter-spacing: -0.045em;
}
.frsteps-title-script {
  font-family: "Rancho", cursive;
  font-size: max(54px, calc(108 * var(--s)));
  font-weight: 400;
  letter-spacing: -0.025em;
}
.frsteps-sub {
  max-width: 900px;
  font-size: max(16px, calc(22 * var(--s)));
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.65);
}
.frsteps-sub > span { display: block; }
.frsteps-sub b { font-weight: 700; color: #fff; }

/* Card column */
.frsteps-wrap {
  container-type: inline-size;
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 20px max(64px, calc(140 * var(--s)));
}
.frsteps-list { display: flex; flex-direction: column; gap: 16px; }

/* Frosted chips on the cards ("Step 01", "Play") */
.frsteps-gchip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), inset 0 -14px 34px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.frsteps-stepchip { height: 44px; padding: 0 22px 0 20px; font-size: 15px; letter-spacing: -0.005em; }
.frsteps-playchip { height: 52px; padding: 0 22px 0 18px; font-size: 17px; letter-spacing: -0.005em; }
.frsteps-playchip img { width: 20px; height: 20px; }

/* Phones and tablets: the art fills the card; chips, number, the mockup, then
   title and text stack on top of it over a bottom scrim. */
.frsteps-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 16px 20px 28px;
  border-radius: 28px;
  background: #000;
  color: #fff;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.frsteps-body { display: contents; }
.frsteps-chips,
.frsteps-num,
.frsteps-text { position: relative; z-index: 2; }
.frsteps-chips { order: 1; display: flex; align-items: center; gap: 8px; height: 52px; }
.frsteps-num {
  order: 2;
  margin: 6px 0 0 -3px;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.frsteps-stage { order: 3; }
.frsteps-text { order: 4; display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.frsteps-cardtitle {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.frsteps-desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.003em;
  color: rgba(255, 255, 255, 0.86);
}

/* Background layers, placed on the card */
.frsteps-bg {
  position: absolute;
  left: -112.14%;
  top: -20px;
  width: 419.8%;
  max-width: none;
  height: auto;
}
.frsteps-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.frsteps-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 263px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.75) 100%);
}
.frsteps-card--2 .frsteps-scrim { height: 296px; }
.frsteps-card--3 .frsteps-scrim { height: 260px; }

/* Stage: holds the mockup. --px is one desktop-Figma pixel (of the 1440 card);
   on phones the stage is just the mockup box (640 units wide). */
.frsteps-stage {
  position: relative;
  margin-top: 12px;
  container-type: inline-size;
}
.frsteps-card--1 .frsteps-stage { aspect-ratio: 640 / 224; }
.frsteps-card--2 .frsteps-stage { aspect-ratio: 640 / 470; }
.frsteps-card--3 .frsteps-stage { aspect-ratio: 640 / 560; }
.frsteps-stage * { --px: calc(100cqw / 640); }

/* Frosted glass used by the mockups */
.frsteps-glass {
  position: absolute;
  border: 1.2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22), inset 0 -12px 30px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ---- Step 01: prompt composer ---- */
.frsteps-composer {
  left: 0;
  top: 0;
  width: calc(640 * var(--px));
  height: calc(224 * var(--px));
  border-radius: calc(34 * var(--px));
}
.frsteps-prompt {
  position: absolute;
  left: calc(34.8 * var(--px));
  top: calc(32.8 * var(--px));
  width: calc(568 * var(--px));
  font-size: calc(28 * var(--px));
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -0.02em;
}
.frsteps-caret {
  display: inline-block;
  width: max(1.5px, calc(2 * var(--px)));
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: rgba(255, 255, 255, 0.7);
  animation: frsteps-blink 1s steps(1) infinite;
}
@keyframes frsteps-blink { 50% { opacity: 0; } }
.frsteps-caret.is-typing { animation: none; } /* solid while typing, blinks when idle */
.frsteps-meta {
  position: absolute;
  left: calc(34.8 * var(--px));
  top: calc(168.8 * var(--px));
  font-size: calc(15 * var(--px));
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.frsteps-create {
  position: absolute;
  left: calc(493.8 * var(--px));
  top: calc(150.8 * var(--px));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--px));
  height: calc(48 * var(--px));
  padding: 0 calc(18 * var(--px)) 0 calc(22 * var(--px));
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-size: calc(16 * var(--px));
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.frsteps-create img { width: calc(16 * var(--px)); height: calc(16 * var(--px)); }

/* ---- Step 02: storyboard picker ---- */
.frsteps-board {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(640 * var(--px));
  height: calc(470 * var(--px));
}
/* Every card is the selected scene's size (260 x 350 at x 190) and reaches its slot
   with translate + scale: all slots share one centre line, so a move is a pure transform.
   Figma: far 170 x 230 at x -65 / 535, near 215 x 290 at x 38 / 388. */
.frsteps-scene {
  position: absolute;
  left: calc(190 * var(--px));
  top: 0;
  width: calc(260 * var(--px));
  height: calc(350 * var(--px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: calc(26 * var(--px));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s ease;
  will-change: transform, opacity;
}
.frsteps-scene.is-jump { transition: none; }
.frsteps-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The selected scene's 4px white frame, faded in and out */
.frsteps-ring {
  position: absolute;
  inset: 0;
  border: calc(4 * var(--px)) solid #fff;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.frsteps-scene[data-slot="-3"] { transform: translateX(-161.5%) scale(0.5);   opacity: 0;   z-index: 1; }
.frsteps-scene[data-slot="-2"] { transform: translateX(-115.4%) scale(0.654); opacity: 0.3; z-index: 2; }
.frsteps-scene[data-slot="-1"] { transform: translateX(-67.3%)  scale(0.827); opacity: 0.6; z-index: 3; }
.frsteps-scene[data-slot="0"]  { transform: none; opacity: 1; z-index: 4; box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35); }
.frsteps-scene[data-slot="0"] .frsteps-ring { opacity: 1; }
.frsteps-scene[data-slot="1"]  { transform: translateX(67.3%)   scale(0.827); opacity: 0.6; z-index: 3; }
.frsteps-scene[data-slot="2"]  { transform: translateX(115.4%)  scale(0.654); opacity: 0.3; z-index: 2; }
.frsteps-scene[data-slot="3"]  { transform: translateX(161.5%)  scale(0.5);   opacity: 0;   z-index: 1; }

.frsteps-approve {
  z-index: 5;
  left: calc(208 * var(--px));
  top: calc(390 * var(--px));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--px));
  height: calc(52 * var(--px));
  padding: 0 calc(20 * var(--px)) 0 calc(22 * var(--px));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(9px);
          backdrop-filter: blur(9px);
  font-size: calc(16 * var(--px));
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.frsteps-approve img { width: calc(16 * var(--px)); height: calc(16 * var(--px)); }

/* ---- Step 03: export panel ("Export — v2", 640 x 560) ---- */
.frsteps-export {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(640 * var(--px));
  height: calc(560 * var(--px));
}
.frsteps-xstack {
  position: absolute;
  max-width: none;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(22 * var(--px));
}
.frsteps-xstack--1 { left: calc(141.3 * var(--px)); top: calc(-20.6 * var(--px)); width: calc(397.4 * var(--px)); height: calc(180.6 * var(--px)); opacity: 0.25; }
.frsteps-xstack--2 { left: calc(105.2 * var(--px)); top: calc(1.1 * var(--px));   width: calc(469.7 * var(--px)); height: calc(216.8 * var(--px)); opacity: 0.45; }
.frsteps-xplayer {
  position: absolute;
  left: calc(60 * var(--px));
  top: calc(30 * var(--px));
  width: calc(560 * var(--px));
  height: calc(316 * var(--px));
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: calc(24 * var(--px));
  box-shadow: 0 calc(30 * var(--px)) calc(60 * var(--px)) calc(-10 * var(--px)) rgba(0, 0, 0, 0.5);
}
.frsteps-xplayer > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.frsteps-xplayer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%);
}
.frsteps-xplay {
  position: absolute;
  z-index: 1;
  left: calc(244.5 * var(--px));
  top: calc(122.5 * var(--px));
  width: calc(68 * var(--px));
  height: calc(68 * var(--px));
}
.frsteps-xtime {
  position: absolute;
  z-index: 1;
  left: calc(512.5 * var(--px));
  top: calc(279.5 * var(--px));
  font-size: calc(13 * var(--px));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.frsteps-xprogress {
  position: absolute;
  z-index: 1;
  left: calc(18.5 * var(--px));
  top: calc(287.5 * var(--px));
  width: calc(480 * var(--px));
  height: calc(3 * var(--px));
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}
/* Small frosted cards: "Episode ready" and the three platform chips */
.frsteps-xcard,
.frsteps-xchip {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 calc(16 * var(--px)) calc(18 * var(--px)) rgba(0, 0, 0, 0.25);
  color: #fff;
  white-space: nowrap;
}
.frsteps-xcard {
  left: 0;
  top: calc(286 * var(--px));
  width: calc(330 * var(--px));
  height: calc(196 * var(--px));
  border-radius: calc(26 * var(--px));
}
.frsteps-xcheck { position: absolute; left: calc(23 * var(--px)); top: calc(23 * var(--px)); width: calc(34 * var(--px)); height: calc(34 * var(--px)); }
.frsteps-xcard b { position: absolute; left: calc(69 * var(--px)); top: calc(23 * var(--px)); font-size: calc(19 * var(--px)); font-weight: 700; line-height: 1.2; }
.frsteps-xcard small { position: absolute; left: calc(69 * var(--px)); top: calc(47 * var(--px)); font-size: calc(13 * var(--px)); line-height: 1.2; color: rgba(255, 255, 255, 0.6); }
.frsteps-xbar { position: absolute; left: calc(23 * var(--px)); top: calc(87 * var(--px)); width: calc(282 * var(--px)); height: calc(6 * var(--px)); border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.frsteps-xbtn {
  position: absolute;
  top: calc(121 * var(--px));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--px));
  height: calc(48 * var(--px));
  padding-left: calc(22 * var(--px));
  border-radius: 999px;
  font-size: calc(15 * var(--px));
  font-weight: 700;
  line-height: 1;
}
.frsteps-xbtn img { width: calc(18 * var(--px)); height: calc(18 * var(--px)); }
.frsteps-xbtn--download { left: calc(23 * var(--px)); width: calc(150 * var(--px)); padding-left: calc(24 * var(--px)); background: #fff; color: #121014; }
.frsteps-xbtn--publish  { left: calc(181 * var(--px)); width: calc(124 * var(--px)); padding-left: calc(20 * var(--px)); border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); }
.frsteps-xchip {
  width: calc(200 * var(--px));
  height: calc(58 * var(--px));
  border-radius: calc(20 * var(--px));
}
.frsteps-xchip--1 { left: calc(440 * var(--px)); top: calc(10 * var(--px)); }
.frsteps-xchip--2 { left: calc(470 * var(--px)); top: calc(102 * var(--px)); }
.frsteps-xchip--3 { left: calc(440 * var(--px)); top: calc(194 * var(--px)); }
.frsteps-xchip img { position: absolute; left: calc(13 * var(--px)); top: calc(13 * var(--px)); width: calc(30 * var(--px)); height: calc(30 * var(--px)); }
.frsteps-xchip b { position: absolute; left: calc(55 * var(--px)); top: calc(10 * var(--px)); font-size: calc(15 * var(--px)); font-weight: 700; line-height: 1.2; }
.frsteps-xchip small { position: absolute; left: calc(55 * var(--px)); top: calc(30 * var(--px)); font-size: calc(12 * var(--px)); font-weight: 600; line-height: 1.2; color: rgba(255, 255, 255, 0.6); }

/* On phones the stage is narrower than the panel's right edge: keep the chips inside */
@media (max-width: 1023.98px) {
  .frsteps-card--3 .frsteps-stage { width: 88%; }
}

/* Desktop: Figma's card (1238.4 x 584.8 at 1920 = 1440 x 680 units). Card text is in cqw
   of the column (1cqw = 14.4 units); the stage covers the right 740 units and the
   background, dim and scrim spill left under the text. */
@media (min-width: 1024px) {
  .frsteps-wrap {
    width: max(min(960px, 100% - 64px), calc(1238.4 * var(--s)));
    max-width: none;
    margin-top: max(32px, calc(39 * var(--s)));
    padding: 0 0 calc(140 * var(--s));
  }
  .frsteps-list { gap: 2.261cqw; }       /* 28 of 1238.4 */

  .frsteps-card {
    display: block;
    aspect-ratio: 1440 / 680;
    padding: 0;
    border-radius: 5cqw;                 /* 72 units = 61.9px at 1920 */
  }
  .frsteps-chips,
  .frsteps-num,
  .frsteps-text { z-index: auto; }

  .frsteps-bg {
    left: -15.625%;
    top: -6.471%;
    width: 115.972%;
    height: 137.059%;
    object-fit: cover;
  }
  .frsteps-dim { background: rgba(0, 0, 0, 0.18); }
  .frsteps-card .frsteps-scrim {
    left: 0;
    top: 0;
    bottom: auto;
    z-index: auto;
    width: 62.5%;                        /* 900 / 1440 */
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  }
  .frsteps-card--1 .frsteps-scrim { background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%); }

  .frsteps-card .frsteps-stage {
    position: absolute;
    top: 0;
    right: 0;
    width: 51.389%;                      /* 740 / 1440 */
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
  }
  .frsteps-stage * { --px: calc(100cqw / 740); }
  .frsteps-composer { left: calc(40 * var(--px)); top: calc(228 * var(--px)); }
  .frsteps-board    { left: calc(40 * var(--px)); top: calc(111 * var(--px)); }
  .frsteps-export   { left: calc(40 * var(--px)); top: calc(110 * var(--px)); }

  .frsteps-chips {
    position: absolute;
    left: 4.444cqw;                      /* 64 */
    top: 4.167cqw;                       /* 60 */
    height: auto;
    gap: 0.694cqw;                       /* 10 */
  }
  .frsteps-stepchip { height: 3.056cqw; padding: 0 1.528cqw 0 1.389cqw; font-size: max(12px, 1.042cqw); }
  .frsteps-playchip { height: 3.611cqw; padding: 0 1.528cqw 0 1.25cqw; font-size: max(13px, 1.181cqw); gap: 0.556cqw; }
  .frsteps-playchip img { width: 1.389cqw; height: 1.389cqw; }

  .frsteps-num {
    position: absolute;
    left: 4.028cqw;                      /* 58 */
    top: 8.889cqw;                       /* 128 */
    margin: 0;
    font-size: 12.5cqw;                  /* 180 */
  }

  /* Title + description sit 64 units off the bottom on every card */
  .frsteps-text {
    position: absolute;
    left: 4.444cqw;
    bottom: 4.444cqw;
    gap: 1.25cqw;                        /* 18 */
    margin: 0;
  }
  .frsteps-cardtitle { max-width: 36.111cqw; font-size: 3.889cqw; }           /* 520 / 56 */
  .frsteps-desc      { max-width: 31.944cqw; font-size: max(14px, 1.528cqw); } /* 460 / 22 */
}

/* ---- part: intro ---- */
/* ============ 05 INTRODUCING ROCKETTOONS (Figma 939:128, 1920 x 1700) ============
   Background (cloud sea, colour grade, god rays, bloom, shades) is one picture.
   Desktop: the whole section is the 1920 x 1700 frame in --px (copy in the top 700,
   the product scene below). Phones: copy in normal flow, then the scene showing the
   middle 1100px of the frame. */
.fr-intro {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: #05070c;
  color: #fff;
}
.fr-intro * { --px: calc(100cqw / 1100); }
.frintro-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}
.frintro-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 16px 0;
  text-align: center;
}
.frintro-eyebrow {
  padding-left: 0.46em; /* balances the trailing letter-spacing */
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.46em;
  text-shadow: 0 2px 12px rgba(26, 18, 51, 0.45);
}
.frintro-logo {
  width: 270px;
  max-width: 100%;
  height: auto;
  margin-top: 16px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.35));
}
.frintro-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.042em;
  white-space: nowrap;
  text-shadow: 0 6px 24px rgba(20, 13, 46, 0.35);
}
.frintro-title > span:first-child { margin-bottom: -0.125em; }
.frintro-title-script {
  font-family: "Rancho", cursive;
  font-size: 1em;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.frintro-scene {
  position: relative;
  margin-top: 24px;
  height: calc(1000 * var(--px));
  pointer-events: none;
}
.frintro-stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(1920 * var(--px));
  height: 100%;
  translate: -50% 0;
}
.frintro-ribbons {
  position: absolute;
  left: 0;
  top: calc(-700 * var(--px));
  width: calc(1920 * var(--px));
  height: calc(1700 * var(--px));
  max-width: none;
}
.frintro-ribbons--glow { left: calc(-34 * var(--px)); width: calc(1988 * var(--px)); }
.frintro-sparkles {
  position: absolute;
  left: calc(-92.4 * var(--px));
  top: calc(80.3 * var(--px));
  width: calc(2063.3 * var(--px));
  height: calc(386.2 * var(--px));
  max-width: none;
  mix-blend-mode: screen;
}

/* App screens in frosted glass frames */
.frintro-card {
  position: absolute;
  padding: calc(10.6 * var(--px));
  border: 1.4px solid rgba(255, 255, 255, 0.8);
  border-radius: calc(26 * var(--px));
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
}
.frintro-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: calc(16 * var(--px));
}
.frintro-card--back {
  opacity: 0.9;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  filter: blur(2.5px) drop-shadow(0 calc(36 * var(--px)) calc(40 * var(--px)) rgba(26, 15, 46, 0.45));
}
.frintro-card--hero {
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    0 0 calc(70 * var(--px)) rgba(255, 201, 138, 0.35),
    0 calc(36 * var(--px)) calc(80 * var(--px)) rgba(26, 15, 46, 0.45);
}
.frintro-card--front {
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    0 calc(36 * var(--px)) calc(40 * var(--px)) rgba(26, 15, 46, 0.45);
}

/* Episode stills riding the ribbons */
.frintro-frame {
  position: absolute;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 calc(16 * var(--px)) calc(30 * var(--px)) rgba(0, 0, 0, 0.45), 0 0 calc(28 * var(--px)) rgba(255, 179, 107, 0.45);
}
.frintro-frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.frintro-box {
  position: absolute;
  left: calc(1262 * var(--px));
  top: calc(315 * var(--px));
  width: calc(430 * var(--px));
  height: calc(427 * var(--px));
  max-width: none;
  filter: drop-shadow(0 0 calc(50 * var(--px)) rgba(255, 201, 138, 0.35)) drop-shadow(0 calc(30 * var(--px)) calc(60 * var(--px)) rgba(26, 15, 46, 0.55));
}
/* "Bottom shade": the last 420px of the frame fade to #0e0b1e */
.frintro-shade {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(580 * var(--px));
  height: calc(420 * var(--px));
  background: linear-gradient(180deg, rgba(14, 11, 30, 0) 0%, rgba(14, 11, 30, 0.7) 60%, #0e0b1e 100%);
}

@media (min-width: 640px) {
  .frintro-copy { padding-top: 80px; }
  .frintro-logo { width: 380px; margin-top: 20px; }
  .frintro-title { margin-top: 18px; font-size: 64px; }
}
@media (min-width: 1024px) {
  .fr-intro * { --px: min(1px, 100cqw / 1920); }
  /* Figma: eyebrow at y 150, logo 190, headline 405; the scene starts at y 700 */
  .frintro-copy {
    height: calc(700 * var(--px));
    padding-top: calc(150 * var(--px));
  }
  .frintro-eyebrow { font-size: max(11px, calc(14 * var(--px))); }
  .frintro-logo { width: calc(560 * var(--px)); margin-top: calc(26 * var(--px)); }
  .frintro-title { margin-top: calc(22 * var(--px)); font-size: calc(96 * var(--px)); }
  .frintro-title > span:first-child { margin-bottom: calc(-12 * var(--px)); }
  .frintro-title-script { font-size: 1.2083em; } /* 116 / 96 */
  .frintro-scene { margin-top: 0; }
  .frintro-bg img { height: calc(1700 * var(--px)); }
}

/* ---- part: bento ---- */
/* ============ 06 FEATURES — BENTO (Figma 942:128, 1920 x 2914) ============
   Black section: kicker, two-line title (second line handwritten), one line under it, then
   twelve dark tiles on Figma's 3-column grid (410.67 + 24 gap, 440 tall rows; wide tiles 845.33).
   Seven tiles are special/'s "MORE FEATURES" tiles (rewrite, styles, hear, score, takes, captions,
   post) restyled dark; the rest are built from this Figma.
   --s is one px of the 1920 frame (max 1px). Grid: one column on phones, two on tablets,
   Figma's three from 1280. */
.fr-bento {
  --s: min(1px, 100cqw / 1920);
  container-type: inline-size;
  overflow-x: clip;
  background: #000;
  color: #fff;
}
.frbento-in {
  padding: max(72px, calc(150 * var(--s))) 0 max(72px, calc(150 * var(--s)));
}

/* ---- heading ---- */
.frbento-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
}
.frbento-kicker {
  margin: 0;
  font-size: max(12px, calc(15 * var(--s)));
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}
.frbento-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: max(10px, calc(18 * var(--s))) 0 0;
  font-weight: 400;
  color: #fff;
}
.frbento-title-a {
  font-size: max(36px, calc(72 * var(--s)));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.frbento-title-b {
  margin-top: -0.125em;
  font-family: var(--font-script, "Rancho", cursive);
  font-size: max(38px, calc(64 * var(--s)));
  font-weight: 400;
  line-height: 1.25;
}
.frbento-sub {
  margin: max(14px, calc(24 * var(--s))) 0 0;
  font-size: max(16px, calc(20 * var(--s)));
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- grid ---- */
.frbento-grid {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: max(40px, calc(70 * var(--s))) auto 0;
  padding: 0 16px;
}

/* ---- Tile. The tile is a container; its children get --f, one Figma px of the tile's inside
   (Figma's numbers are inside its 1px border), so the tile keeps Figma's 410.67 x 440 at any width.
     .frbento-copy   title and text at Figma --x/--y, --cw wide
     .frbento-art    everything else: a stage --w x --h in --f
     .frbento-glow   the tile's coloured glow (Figma "Glow": ellipse, blur 55) ---- */
.frbento-tile {
  --w: 408.667;
  --h: 438;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  box-sizing: border-box;
  aspect-ratio: 410.667 / 440;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: max(20px, calc(32 * var(--s)));
  background: linear-gradient(180deg, #15161c, #0a0b0f);
  color: #fff;
}
.frbento-tile--wide {
  --w: 843.333;
  aspect-ratio: 845.333 / 440;
}
.frbento-tile > * { --f: calc(100cqw / var(--w)); }
.frbento-glow {
  position: absolute;
  z-index: -1;
  left: calc(-28.87 * var(--f));
  top: calc(129 * var(--f));
  display: block;
  width: calc(548.533 * var(--f));
  height: calc(520 * var(--f));
  max-width: none;
  pointer-events: none;
}
.frbento-tile--wide .frbento-glow {
  left: calc(58.07 * var(--f));
  width: calc(896.267 * var(--f));
}
.frbento-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.frbento-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--w) * var(--f));
  height: calc(var(--h) * var(--f));
}
.frbento-stage img { display: block; max-width: none; }
.frbento-copy {
  position: absolute;
  z-index: 2;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(var(--cw) * var(--f));
}
.frbento-name {
  margin: 0;
  font-size: calc(28 * var(--f));
  font-weight: 700;
  line-height: calc(33 * var(--f));
  letter-spacing: -0.015em;
  color: #fff;
}
.frbento-text {
  margin: calc(10 * var(--f)) 0 0;
  font-size: calc(16 * var(--f));
  font-weight: 400;
  line-height: calc(24 * var(--f));
  color: rgba(255, 255, 255, 0.62);
}
.frbento-ep .frbento-name,
.frbento-sty .frbento-name {
  font-size: calc(34 * var(--f));
  line-height: calc(40 * var(--f));
  letter-spacing: -0.02em;
}
.frbento-ep .frbento-text,
.frbento-sty .frbento-text { margin-top: calc(12 * var(--f)); }

/* ---- shared pieces ---- */
/* see-through glass plate behind a card or picture */
.frbento-glass {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(var(--bw) * var(--f));
  height: calc(var(--bh) * var(--f));
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--r) * var(--f));
  background: rgba(255, 255, 255, 0.06);
}
/* white app pill with a round icon (special's .sty-pill / .rw-pill / .tk-pill …) */
.frbento-pill {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  display: flex;
  align-items: center;
  gap: calc(6.2 * var(--f));
  box-sizing: border-box;
  padding: calc(7.1 * var(--f)) calc(13.3 * var(--f)) calc(7.1 * var(--f)) calc(7.98 * var(--f));
  border: calc(0.888 * var(--f)) solid #e3e7ed;
  border-radius: 999px;
  background: #fff;
  filter: drop-shadow(0 calc(7.1 * var(--f)) calc(8.87 * var(--f)) rgba(27, 42, 68, 0.12));
  white-space: nowrap;
  font-size: calc(11.53 * var(--f));
  font-weight: 600;
  line-height: 1.25;
  color: #0f1a2e;
}
.frbento-pill--lg { font-size: calc(12.41 * var(--f)); }
.frbento-stage .frbento-pill img {
  width: calc(19.5 * var(--f));
  height: calc(19.5 * var(--f));
}
/* white tag with a green tick ("Same Pip in every scene", "Ep 1" …) */
.frbento-tag {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  display: flex;
  align-items: center;
  gap: calc(6 * var(--f));
  padding: calc(7 * var(--f)) calc(14 * var(--f)) calc(7 * var(--f)) calc(12 * var(--f));
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 calc(8 * var(--f)) calc(18 * var(--f)) calc(-4 * var(--f)) rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  font-size: calc(13 * var(--f));
  font-weight: 600;
  line-height: calc(16 * var(--f));
  color: #0b0d14;
}
.frbento-tag b { font-weight: 700; color: #22a06b; }
.frbento-tag--next { background: #3da5ff; color: #fff; }

/* -- tile: Type one line (special "Rewrite any scene") -- */
.frep-scenes {
  position: absolute;
  left: calc(371.94 * var(--f));
  top: calc(69.82 * var(--f));
  width: calc(408.459 * var(--f));
  height: calc(280.594 * var(--f));
  overflow: hidden;
  border-radius: calc(17.759 * var(--f));
  background: #fff;
  box-shadow: 0 calc(10.655 * var(--f)) calc(26.639 * var(--f)) calc(-7.104 * var(--f)) rgba(27, 42, 68, 0.12);
}
.frep-hl {
  position: absolute;
  left: calc(8.88 * var(--f));
  top: calc(113.66 * var(--f));
  width: calc(390.7 * var(--f));
  height: calc(47.95 * var(--f));
  border-radius: calc(12.431 * var(--f));
  background: rgba(14, 143, 140, 0.1);
}
.frep-row {
  position: absolute;
  left: 0;
  top: calc(var(--y) * var(--f));
  width: 100%;
  height: calc(40.846 * var(--f));
}
.frep-row img {
  position: absolute;
  left: calc(17.76 * var(--f));
  top: 0;
  width: calc(63.933 * var(--f));
  height: calc(40.846 * var(--f));
  object-fit: cover;
  border-radius: calc(8.88 * var(--f));
}
.frep-num,
.frep-title {
  position: absolute;
  left: calc(95.9 * var(--f));
  line-height: 1.25;
  white-space: nowrap;
}
.frep-num {
  top: calc(4.44 * var(--f));
  font-size: calc(10.655 * var(--f));
  font-weight: 700;
  color: #5b6675;
}
.frep-row--on .frep-num { color: #0e8f8c; }
.frep-title {
  top: calc(18.65 * var(--f));
  font-size: calc(14.207 * var(--f));
  font-weight: 600;
  color: #0f1a2e;
}
/* the one-line prompt, tilted 2deg (centre of Figma's rotated box) */
.frep-prompt {
  position: absolute;
  left: calc(525.54 * var(--f));
  top: calc(67.09 * var(--f));
  translate: -50% -50%;
  rotate: 2deg;
  display: flex;
  align-items: center;
  gap: calc(10 * var(--f));
  margin: 0;
  padding: calc(12 * var(--f)) calc(18 * var(--f)) calc(12 * var(--f)) calc(16 * var(--f));
  border-radius: 999px;
  background: linear-gradient(90deg, #3d6bff, #1a3ad8);
  box-shadow: 0 calc(14 * var(--f)) calc(28 * var(--f)) calc(-6 * var(--f)) rgba(26, 58, 216, 0.5);
  white-space: nowrap;
  line-height: 1.27;
}
.frep-prompt span { font-size: calc(17 * var(--f)); font-weight: 600; color: #fff; }
.frep-prompt b { font-size: calc(15 * var(--f)); font-weight: 700; color: rgba(255, 255, 255, 0.75); }

/* -- tile: Same hero, every scene -- */
.frhero-scene {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(108 * var(--f));
  height: calc(220 * var(--f));
  object-fit: cover;
  border-radius: calc(14 * var(--f));
}

/* -- tile: Cartoon yourself -- */
.fryou-photo {
  position: absolute;
  left: calc(29.23 * var(--f));
  top: calc(226.71 * var(--f));
  width: calc(120 * var(--f));
  height: calc(132 * var(--f));
  box-sizing: border-box;
  object-fit: cover;
  border: calc(6 * var(--f)) solid #fff;
  border-radius: calc(10 * var(--f));
  box-shadow: 0 calc(14 * var(--f)) calc(24 * var(--f)) calc(-4 * var(--f)) rgba(0, 0, 0, 0.5);
  rotate: 8deg;
}
.fryou-label {
  position: absolute;
  left: calc(51 * var(--f));
  top: calc(369 * var(--f));
  font-family: var(--font-script, "Rancho", cursive);
  font-size: calc(24 * var(--f));
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
}
.fryou-arrow {
  position: absolute;
  left: calc(157.75 * var(--f));
  top: calc(227.75 * var(--f));
  width: calc(98.5 * var(--f));
  height: calc(25.527 * var(--f));
}
.fryou-toon {
  position: absolute;
  left: calc(189 * var(--f));
  top: calc(199 * var(--f));
  width: calc(200 * var(--f));
  height: calc(268 * var(--f));
  object-fit: contain;
}

/* -- tile: 8 signature styles (special "14 animation styles") -- */
.frsty-card {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(124.314 * var(--f));
  height: calc(127.866 * var(--f));
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
  border: calc(3.552 * var(--f)) solid #fff;
  border-radius: calc(19.535 * var(--f));
  box-shadow: 0 calc(10.655 * var(--f)) calc(23.087 * var(--f)) calc(-5.328 * var(--f)) rgba(27, 42, 68, 0.16);
}
.frsty-card--big {
  width: calc(186.471 * var(--f));
  height: calc(266.387 * var(--f));
}
.frsty-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frsty-card figcaption {
  position: absolute;
  left: 50%;
  top: calc(93.24 * var(--f));
  translate: -50% 0;
  padding: calc(4.44 * var(--f)) calc(8.88 * var(--f));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  font-size: calc(10.655 * var(--f));
  font-weight: 600;
  line-height: 1.25;
  color: #0f1a2e;
}
.frsty-card--big figcaption {
  top: calc(229.09 * var(--f));
  font-size: calc(12.431 * var(--f));
}

/* -- tile: Give them a voice (special "Hear it first") -- */
.frvoice-pic {
  position: absolute;
  left: calc(27.32 * var(--f));
  top: calc(171.21 * var(--f));
  width: calc(354.023 * var(--f));
  height: calc(159.31 * var(--f));
  object-fit: cover;
  border-radius: calc(19.471 * var(--f));
  box-shadow: 0 calc(10.621 * var(--f)) calc(23.011 * var(--f)) calc(-5.31 * var(--f)) rgba(27, 42, 68, 0.16);
}
.frvoice-card {
  position: absolute;
  left: calc(48.56 * var(--f));
  top: calc(296.89 * var(--f));
  width: calc(311.54 * var(--f));
  height: calc(74.345 * var(--f));
  overflow: hidden;
  border-radius: calc(17.701 * var(--f));
  background: #fff;
  box-shadow: 0 calc(10.621 * var(--f)) calc(26.552 * var(--f)) calc(-7.08 * var(--f)) rgba(27, 42, 68, 0.12);
}
.frbento-stage .frvoice-play {
  position: absolute;
  left: calc(14.16 * var(--f));
  top: calc(17.7 * var(--f));
  width: calc(38.943 * var(--f));
  height: calc(38.943 * var(--f));
}
.frvoice-who,
.frvoice-quote {
  position: absolute;
  left: calc(63.72 * var(--f));
  line-height: 1.25;
  white-space: nowrap;
}
.frvoice-who {
  top: calc(14.16 * var(--f));
  font-size: calc(8.851 * var(--f));
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #5b6675;
}
.frvoice-quote {
  top: calc(28.32 * var(--f));
  font-size: calc(14.161 * var(--f));
  font-weight: 700;
  color: #0f1a2e;
}
.frvoice-wave i {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(2.655 * var(--f));
  height: calc(var(--h) * var(--f));
  border-radius: calc(1.77 * var(--f));
  background: #e8790f;
}
.frvoice-wave i.is-off { background: rgba(232, 121, 15, 0.3); }

/* -- tile: AI music (special "AI background score") -- */
.frmusic-card {
  position: absolute;
  left: calc(27.32 * var(--f));
  top: calc(164.13 * var(--f));
  width: calc(354.023 * var(--f));
  height: calc(88.506 * var(--f));
  overflow: hidden;
  border-radius: calc(17.701 * var(--f));
  background: #fff;
  box-shadow: 0 calc(10.621 * var(--f)) calc(26.552 * var(--f)) calc(-7.08 * var(--f)) rgba(27, 42, 68, 0.12);
  font-weight: 600;
}
.frmusic-label {
  position: absolute;
  left: calc(17.7 * var(--f));
  top: calc(15.93 * var(--f));
  margin: 0;
  font-size: calc(9.736 * var(--f));
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: #5b6675;
}
.frmusic-mood {
  position: absolute;
  left: calc(17.7 * var(--f));
  top: calc(33.63 * var(--f));
  width: calc(318.621 * var(--f));
  margin: 0;
  font-size: calc(15.046 * var(--f));
  line-height: 1.25;
  color: #0f1a2e;
}
.frmusic-wave {
  position: absolute;
  left: calc(27.32 * var(--f));
  top: calc(296.89 * var(--f));
  width: calc(354.03 * var(--f));
  height: calc(56.644 * var(--f));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.frmusic-wave i {
  display: block;
  flex: none;
  width: calc(9.736 * var(--f));
  height: calc(var(--h) * var(--f));
  border-radius: calc(5.31 * var(--f));
  background: #cbd3de;
}
.frmusic-wave i.is-on { background: #2e7dd7; }
.frmusic-more {
  position: absolute;
  left: calc(205.6 * var(--f));
  top: calc(373 * var(--f));
  translate: -50% 0;
  margin: 0;
  white-space: nowrap;
  font-size: calc(12.391 * var(--f));
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.62);
}

/* -- tile: See every scene before it moves -- */
.frboard-still {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(108 * var(--f));
  height: calc(66 * var(--f));
  box-sizing: border-box;
  object-fit: cover;
  border-radius: calc(10 * var(--f));
}
.frboard-still--on { border: calc(3 * var(--f)) solid #ffc23d; }

/* -- tile: Build a channel -- */
.frchannel-art {
  position: absolute;
  left: calc(379 * var(--f));
  top: calc(59 * var(--f));
  width: calc(500 * var(--f));
  height: calc(330 * var(--f));
  object-fit: cover;
  border-radius: calc(24 * var(--f));
  box-shadow: 0 calc(30 * var(--f)) calc(50 * var(--f)) calc(-10 * var(--f)) rgba(0, 0, 0, 0.6);
}
.frchannel-season {
  position: absolute;
  left: calc(403 * var(--f));
  top: calc(299 * var(--f));
  font-family: var(--font-script, "Rancho", cursive);
  font-size: calc(44 * var(--f));
  line-height: 1.25;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 calc(4 * var(--f)) calc(12 * var(--f)) rgba(0, 0, 0, 0.6);
}

/* -- tile: Sell every toon (the stamp, tilted 12deg) -- */
.frsell-stamp {
  position: absolute;
  left: calc(68.73 * var(--f));
  top: calc(219.47 * var(--f));
  width: calc(220 * var(--f));
  height: calc(220 * var(--f));
  box-sizing: border-box;
  border: calc(4 * var(--f)) solid rgba(74, 222, 128, 0.9);
  border-radius: 50%;
  rotate: 12deg;
  color: #4ade80;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.frsell-stamp::before {
  content: "";
  position: absolute;
  left: calc(14 * var(--f));
  top: calc(14 * var(--f));
  width: calc(184 * var(--f));
  height: calc(184 * var(--f));
  box-sizing: border-box;
  border: calc(1.5 * var(--f)) dashed rgba(74, 222, 128, 0.55);
  border-radius: 50%;
}
.frsell-stamp span { position: absolute; }
.frsell-a { left: calc(35.5 * var(--f)); top: calc(58 * var(--f)); font-size: calc(18 * var(--f)); letter-spacing: 0.1em; }
.frsell-b { left: calc(41 * var(--f)); top: calc(80 * var(--f)); font-size: calc(52 * var(--f)); letter-spacing: -0.03em; }
.frsell-c { left: calc(45 * var(--f)); top: calc(142 * var(--f)); font-size: calc(13 * var(--f)); letter-spacing: 0.12em; }

/* -- tile: Regenerate without fear (special "Regenerate without fear") -- */
.frtakes-take {
  position: absolute;
  box-sizing: border-box;
  object-fit: cover;
  border: calc(3.54 * var(--f)) solid #fff;
  border-radius: calc(15.931 * var(--f));
  box-shadow: 0 calc(10.621 * var(--f)) calc(23.011 * var(--f)) calc(-5.31 * var(--f)) rgba(27, 42, 68, 0.16);
}
.frtakes-take--1 {
  left: calc(68.01 * var(--f));
  top: calc(148.25 * var(--f));
  width: calc(194.713 * var(--f));
  height: calc(115.057 * var(--f));
  rotate: -8deg;
  opacity: 0.55;
}
.frtakes-take--2 {
  left: calc(87.2 * var(--f));
  top: calc(183.03 * var(--f));
  width: calc(221.264 * var(--f));
  height: calc(129.218 * var(--f));
  rotate: -3deg;
  opacity: 0.8;
}
.frtakes-take--3 {
  left: calc(80.43 * var(--f));
  top: calc(224.31 * var(--f));
  width: calc(247.816 * var(--f));
  height: calc(145.149 * var(--f));
  border-radius: calc(17.701 * var(--f));
}

/* -- tile: Word-by-word captions (special "Auto captions") -- */
.frcap-scene {
  position: absolute;
  left: calc(27.32 * var(--f));
  top: calc(157.05 * var(--f));
  width: calc(354.023 * var(--f));
  height: calc(177.011 * var(--f));
  object-fit: cover;
  border-radius: calc(19.471 * var(--f));
  box-shadow: 0 calc(10.621 * var(--f)) calc(23.011 * var(--f)) calc(-5.31 * var(--f)) rgba(27, 42, 68, 0.16);
}
/* Every word carries the orange pill's padding, so the line keeps its width as the pill moves */
.frcap-bar {
  position: absolute;
  left: calc(72.02 * var(--f));
  top: calc(286.26 * var(--f));
  display: flex;
  align-items: center;
  margin: 0;
  padding: calc(7.08 * var(--f)) calc(7.08 * var(--f));
  border-radius: calc(10.621 * var(--f));
  background: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  font-size: calc(14.161 * var(--f));
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.frcap-word {
  display: block;
  margin: 0 calc(-1.77 * var(--f));
  padding: calc(1.77 * var(--f)) calc(5.31 * var(--f));
  border-radius: calc(5.31 * var(--f));
  transition: background-color 0.18s ease;
}
.frcap-word.is-on { background: #e8790f; }

/* -- tile: Post to 4 platforms (special "Post to 4 platforms") -- */
.frpost-thumb {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(var(--bw) * var(--f));
  height: calc(var(--bh) * var(--f));
  box-sizing: border-box;
  object-fit: cover;
  border: calc(3.54 * var(--f)) solid #fff;
  border-radius: calc(12.391 * var(--f));
  box-shadow: 0 calc(10.621 * var(--f)) calc(23.011 * var(--f)) calc(-5.31 * var(--f)) rgba(27, 42, 68, 0.16);
}
.frbento-stage .frpost-check {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(303.97 * var(--f));
  width: calc(17.701 * var(--f));
  height: calc(17.701 * var(--f));
  transition: opacity 0.35s ease, scale 0.5s cubic-bezier(0.34, 1.9, 0.5, 1);
}
.frpost-name,
.frpost-meta {
  position: absolute;
  left: calc(var(--x) * var(--f));
  line-height: 1.25;
  white-space: nowrap;
}
.frpost-name {
  top: calc(330.52 * var(--f));
  font-size: calc(11.506 * var(--f));
  font-weight: 700;
  color: #fff;
}
.frpost-meta {
  top: calc(346.45 * var(--f));
  font-size: calc(9.736 * var(--f));
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}
.frpost-logo {
  position: absolute;
  left: calc(var(--x) * var(--f));
  top: calc(var(--y) * var(--f));
  width: calc(34 * var(--f));
  height: calc(34 * var(--f));
  overflow: hidden;
  border-radius: calc(10 * var(--f));
  background: #fff;
  box-shadow: 0 calc(6 * var(--f)) calc(12 * var(--f)) calc(-2 * var(--f)) rgba(0, 0, 0, 0.4);
}
.frbento-stage .frpost-logo img {
  position: absolute;
  left: calc(7 * var(--f));
  top: calc(7 * var(--f));
  width: calc(20 * var(--f));
  height: calc(20 * var(--f));
}
.frpost-logo--yt { background: #f00; }
.frpost-logo--ig { background: linear-gradient(45deg, #feda75 25%, #fa7e1e 50%, #d62976 67.857%, #4f5bd5 96.429%); }
.frbento-stage .frpost-logo--fb img {
  left: calc(4 * var(--f));
  top: calc(4 * var(--f));
  width: calc(26 * var(--f));
  height: calc(26 * var(--f));
}
/* before the JS pops them in (only set when it runs) */
.frbento-post [data-frbento-posts].is-armed .frpost-check { opacity: 0; scale: 0.4; }
.frbento-post [data-frbento-posts].is-armed .frpost-check.is-in { opacity: 1; scale: 1; }

/* ---- tablets: two columns, wide tiles span both ---- */
@media (min-width: 760px) {
  .frbento-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    max-width: 1100px;
    padding: 0 24px;
  }
  .frbento-tile--wide { grid-column: span 2; }
  /* twelve tiles leave one cell over: the last one sits centred on its own row */
  .frbento-tile:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }
}

/* ---- desktop: Figma's grid, scaled with the 1920 frame ---- */
@media (min-width: 1280px) {
  .frbento-grid {
    grid-template-columns: repeat(3, calc(410.667 * var(--s)));
    gap: calc(24 * var(--s));
    justify-content: center;
    max-width: none;
    padding: 0;
  }
  .frbento-tile:last-child { grid-column: auto; width: auto; }
}

/* ---- phones: title and text as normal text on top; under them the picture part, the box
   --ax/--ay (--aw x --ah) cut from the tile with 24 Figma px of air round it, scaled to the
   tile's width. The glow sits on the tile's foot. ---- */
@media (max-width: 759px) {
  .frbento-tile {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    border-radius: 24px;
  }
  .frbento-glow,
  .frbento-tile--wide .frbento-glow {
    top: auto;
    bottom: calc(-211 * var(--f));
  }
  .frbento-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 24px 22px 0;
  }
  .frbento-name,
  .frbento-ep .frbento-name,
  .frbento-sty .frbento-name { font-size: 22px; line-height: 1.15; }
  .frbento-text,
  .frbento-ep .frbento-text,
  .frbento-sty .frbento-text { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .frbento-art {
    --f: calc(100cqw / (var(--aw) + 48));
    position: relative;
    inset: auto;
    overflow: hidden;
    height: calc((var(--ah) + 48) * var(--f));
    margin-top: 4px;
  }
  .frbento-stage {
    left: calc((24 - var(--ax)) * var(--f));
    top: calc((24 - var(--ay)) * var(--f));
  }
}

@media (prefers-reduced-motion: reduce) {
  .frcap-word,
  .frbento-stage .frpost-check { transition: none; }
}

/* ---- part: reasons ---- */
/* ============ 07 WHY BE IN THE ROOM — 3 REASONS (Figma 948:128, 1920 x 2476) ============
   Desktop (>= 1200px): 1300px glass cards (Figma x 260), 150px apart. Inside: number column
   (x +60), copy column 470px (x +190), art column from x +590 to the card edge. Each art export
   is wider than its column (it carries the glow); from 1600px it hangs past the card edge
   exactly as in Figma, between 1200 and 1599 it stays inside the card.
   Below 1200 the card stacks: number, copy, then the art. */
.fr-reasons {
  --c: #4d8bff;
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: #000;
  color: #fff;
}
@media (min-width: 1200px) { .fr-reasons { padding: 140px 0 170px; } }   /* eyebrow top 140, 170 below card 3 */

/* ---- heading ---- */
.frreasons-head { width: min(1300px, 100% - 32px); margin: 0 auto; text-align: center; }
.frreasons-eyebrow { font-size: 13px; font-weight: 700; line-height: 1.26; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.55); }
.frreasons-title {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px;
  font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -0.035em;
}
.frreasons-script {
  margin-top: 2px;
  font-family: var(--font-script, "Rancho", cursive);
  font-size: 34px; font-weight: 400; line-height: 1.25; letter-spacing: 0;
}
@media (min-width: 768px) {
  .frreasons-title { font-size: 54px; }
  .frreasons-script { font-size: 48px; }
}
@media (min-width: 1200px) {
  .frreasons-eyebrow { font-size: 15px; }
  .frreasons-title { margin-top: 18px; font-size: 72px; line-height: 90px; }   /* top 177 */
  .frreasons-script { margin-top: -8px; font-size: 64px; line-height: 80px; }  /* top 259 */
}

/* ---- cards ---- */
.frreasons-cards { display: flex; flex-direction: column; gap: 40px; width: min(1300px, 100% - 32px); margin: 48px auto 0; }
/* cards are centred on the page (the art hangs out on the right) */
@media (min-width: 1200px) {
  .frreasons-cards { position: relative; gap: 150px; margin-top: 90px; }   /* card 1 top 429 */
}

.frreasons-card {
  position: relative;
  padding: 32px 20px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.frreasons-card--2 { --c: #ff8a3d; }
.frreasons-card--3 { --c: #ffc23d; }
@media (min-width: 640px) { .frreasons-card { padding: 44px 40px 16px; } }

.frreasons-num {
  width: max-content;
  font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 15%, transparent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.frreasons-copy { margin-top: 12px; }
.frreasons-name { font-size: 30px; font-weight: 700; line-height: 1.17; letter-spacing: -0.02em; }
.frreasons-body { margin-top: 14px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }
.frreasons-body b { font-weight: 700; color: #fff; }
.frreasons-list { display: grid; gap: 14px; margin-top: 22px; }
.frreasons-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 600; line-height: 23px; color: rgba(255, 255, 255, 0.9);
}
/* 22px disc in the card colour with a dark 12px tick */
.frreasons-list li::before {
  content: "✓";
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  font-size: 12px; font-weight: 700; line-height: 1; color: #0b0d14;
}

/* art: the export is ~25% wider than the art box (glow), centred on it */
.frreasons-art { margin: 0 -12.5%; }
.frreasons-art img { display: block; width: 100%; height: auto; pointer-events: none; }
@media (max-width: 1199.98px) {
  .frreasons-card--1 .frreasons-art { margin-top: -4%; }
  .frreasons-card--2 .frreasons-art { margin-top: -2%; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .frreasons-art { width: 86%; margin-left: auto; margin-right: auto; }
}

@media (min-width: 1200px) {
  .frreasons-card {
    display: grid;
    grid-template-columns: 130px 470px minmax(0, 1fr);
    align-items: start;
    padding: 64px 0 64px 59px;   /* + 1px border: number at +60/+65, last tick 65 above the bottom edge */
    border-radius: 40px;
  }
  .frreasons-num { font-size: 150px; line-height: 188px; letter-spacing: -0.06em; }   /* Figma: normal line box */
  .frreasons-copy { margin-top: 30px; }                                   /* title top +95 */
  .frreasons-name { font-size: 44px; line-height: 50px; letter-spacing: -0.02em; }
  .frreasons-body { margin-top: 18px; font-size: 19px; line-height: 30px; }
  .frreasons-list { gap: 13px; margin-top: 26px; }   /* rows 36px apart */
  .frreasons-list li { font-size: 18px; }

  /* the art cell spans the card's full height so top: 50% is the card's middle */
  .frreasons-art { position: relative; align-self: stretch; width: auto; margin: -64px 0; }
  .frreasons-art img { position: absolute; left: -7.5%; top: 50%; width: 115%; max-width: none; translate: 0 -50%; }
}
/* 1200-1599: the art stays inside the card (Figma's overhang would run off the screen) */
@media (min-width: 1200px) and (max-width: 1599.98px) {
  .frreasons-card { padding-right: 40px; }
}
@media (min-width: 1600px) {
  /* offsets from Figma, in % of the 639px art column (card x +660..+1299) at full size */
  .frreasons-card--1 .frreasons-art img { left: -10.63%; width: 140.22%; top: calc(50% - 9.6px); }   /* 896 x 636 at card (592, -83) */
  .frreasons-card--2 .frreasons-art img { left: -3.16%;  width: 125.43%; top: calc(50% - 27.5px); }  /* 801 x 570 at card (640, -28) */
  .frreasons-card--3 .frreasons-art img { left: 2.92%;   width: 108.22%; top: calc(50% - 46.2px); }  /* 691 x 423 at card (679, 1.5) */
}
