@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  color-scheme: dark;
  --ink: #fffdf7;
  --ink-soft: rgb(255 253 247 / 0.74);
  --ink-faint: rgb(255 253 247 / 0.52);
  --blue: #a9d8ff;
  --lime: #dff1ae;
  --night: #1d1b46;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --glass-fill: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.2),
    rgb(255 255 255 / 0.07)
  );
  --glass-blur: blur(24px) saturate(1.7);
  --glass-rim: linear-gradient(
    150deg,
    rgb(255 255 255 / 0.75),
    rgb(255 255 255 / 0.14) 32%,
    rgb(255 255 255 / 0.03) 58%,
    rgb(255 255 255 / 0.32)
  );
  --glass-depth:
    inset 0 1px 1px rgb(255 255 255 / 0.35),
    inset 0 -1px 1px rgb(255 255 255 / 0.06),
    0 14px 36px -10px rgb(16 10 48 / 0.5);
  /* SF Pro on Apple devices; its license forbids serving it as a webfont. */
  font-family: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  background: #26235a;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}
::selection {
  background: var(--lime);
  color: var(--night);
}

/* Liquid glass */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-depth);
}
.glass:not(dialog) {
  position: relative;
}
.glass::before,
.panel-border {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--glass-rim);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--night);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Laid out for a 1920 × 1080 window, then scaled so it keeps its place
   relative to the characters in the video at any window size. */
.site-header,
.intro,
.content,
.scene-controls {
  zoom: var(--ui-scale, 1);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}
.wordmark {
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgb(20 16 60 / 0.4);
}
.notify-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px 12px 18px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.1px;
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s;
}
.notify-button:hover {
  transform: translateY(-1px);
  --glass-fill: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.3),
    rgb(255 255 255 / 0.12)
  );
}
.notify-button:hover svg {
  transform: translate(1px, -1px);
}
.notify-button svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
/* Scene */
.stage {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.landscape {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #2b2a6b;
}
.scene-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
#still {
  z-index: 0;
}
#greeting {
  z-index: 1;
}
#transition {
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
}
.scene-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      70% 55% at 50% 45%,
      rgb(22 16 60 / 0.3),
      transparent 75%
    ),
    linear-gradient(180deg, rgb(24 18 70 / 0.35), transparent 25% 70%, rgb(10 20 20 / 0.35));
  opacity: 0;
  transition: opacity 2.4s ease;
}
:is([data-state="playing"], [data-state="done"], [data-state="static"])
  .scene-shade {
  opacity: 1;
}

/* Intro */
.intro {
  position: absolute;
  left: 50%;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ease-out),
    visibility 0.5s;
  animation: rise-in 1.1s 0.5s var(--ease-out) backwards;
}
.intro > p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-shadow: 0 2px 12px rgb(10 24 20 / 0.6);
}
.intro > p span {
  padding: 0 8px;
  opacity: 0.6;
}
:is([data-state="playing"], [data-state="done"], [data-state="static"])
  .intro {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  animation: none;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}
.discover {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 8px 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 8px rgb(16 10 48 / 0.35);
  transition: transform 0.45s var(--ease-out);
}
.discover::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(255 255 255 / 0.28);
  animation: halo 2.8s 1.8s ease-out infinite;
}
@keyframes halo {
  70%,
  100% {
    box-shadow: 0 0 0 14px rgb(255 255 255 / 0);
  }
}
.discover:hover {
  transform: translateY(-2px) scale(1.015);
}
.discover:active {
  transform: scale(0.985);
}
.discover-orb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #f1efff);
  color: var(--night);
  box-shadow:
    0 6px 16px -4px rgb(16 10 48 / 0.45),
    inset 0 -2px 4px rgb(29 27 70 / 0.08);
}
.discover-orb svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.discover:hover .discover-orb svg {
  transform: translateX(3px);
}
.discover[aria-busy="true"] {
  cursor: progress;
}
.discover-orb::after {
  content: "";
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgb(29 27 70 / 0.18);
  border-top-color: var(--night);
  opacity: 0;
}
.discover-orb svg {
  grid-area: 1 / 1;
}
.discover[aria-busy="true"] .discover-orb svg {
  opacity: 0;
}
.discover[aria-busy="true"] .discover-orb::after {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* Content */
.content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 0 52px;
  opacity: 0;
  pointer-events: none;
  outline: none;
  --content-width: 840px;
}
.value-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.value-statement .eyebrow {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  --glass-fill: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.16),
    rgb(255 255 255 / 0.05)
  );
}
h1 {
  font-weight: 650;
  font-size: 50px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 4px 28px rgb(26 18 70 / 0.45);
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f2f8d6 10%, #ffe1c4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  margin: 0;
}
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: var(--content-width);
}
.exam-panel {
  position: relative;
  border-radius: 30px;
  isolation: isolate;
  min-width: 0;
}
.bac {
  --accent: #ff5773;
  --accent-light: #ff8193;
  --accent-mid: #ec2a4f;
  --accent-deep: #a8102e;
  --accent-glow: rgb(236 42 79 / 0.45);
  --glow-at: 0% 0%;
}
.en {
  --accent: #5cabff;
  --accent-light: #8cc8ff;
  --accent-mid: #3b99ff;
  --accent-deep: #1865e0;
  --accent-glow: rgb(59 153 255 / 0.5);
  --glow-at: 100% 0%;
}
.panel-surface {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(85% 70% at var(--glow-at), var(--accent-glow), transparent 65%),
    radial-gradient(
      120% 70% at 50% 125%,
      rgb(255 176 140 / 0.12),
      transparent 60%
    ),
    linear-gradient(
      165deg,
      rgb(255 255 255 / 0.2),
      rgb(255 255 255 / 0.06) 42%,
      rgb(255 255 255 / 0.1)
    ),
    rgb(30 24 78 / 0.22);
  -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(0.9);
  backdrop-filter: blur(30px) saturate(1.8) brightness(0.9);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.4),
    inset 0 0 32px rgb(255 255 255 / 0.05),
    0 30px 60px -24px rgb(18 10 52 / 0.6);
}
.panel-border {
  z-index: -1;
}
.panel-inner {
  padding: 26px 26px 20px;
}
.panel-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 1.4px;
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
}
.exam-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(
    circle at 32% 26%,
    var(--accent-light),
    var(--accent-mid) 45%,
    var(--accent-deep)
  );
  box-shadow:
    inset 0 2px 3px rgb(255 255 255 / 0.55),
    inset 0 -3px 6px rgb(40 10 60 / 0.2),
    0 8px 18px -6px var(--accent-deep);
}
.exam-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  filter: drop-shadow(0 1px 1px rgb(40 10 60 / 0.35));
}
.exam-panel h2 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
  margin: 16px 0;
}
.panel-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-mid) 18%, var(--accent-light) 34%, transparent 70%);
  margin-bottom: 16px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.exam-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.45;
  margin: 0 0 11px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.15px;
  white-space: nowrap;
  color: rgb(255 253 247 / 0.9);
}
.bullet-icon {
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 3px 0 2px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff 0 10%, var(--accent-light) 26%, var(--accent-mid) 55%, var(--accent-deep));
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Store announcement */
.store-area {
  margin-top: 70px;
  text-align: center;
}
.store-note {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-shadow: 0 2px 16px rgb(10 24 20 / 0.55);
}
.stores {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 62px;
  min-width: 206px;
  padding: 0 26px 0 22px;
  border-radius: 999px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 8px rgb(16 10 48 / 0.35);
}
.store-badge svg {
  stroke: none;
  flex: none;
  width: 28px;
  height: 28px;
}
.store-badge svg[viewBox="0 0 24 24"] {
  filter: drop-shadow(0 1px 4px rgb(16 10 48 / 0.35));
}

/* Scene controls */
.scene-controls {
  position: absolute;
  bottom: 34px;
  left: 42px;
  display: flex;
  gap: 18px;
  z-index: 10;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  padding: 8px 0;
  font-size: 19px;
  font-weight: 650;
  text-shadow: 0 1px 8px rgb(10 24 20 / 0.6);
  transition: color 0.25s;
}
.text-button:hover {
  color: var(--ink);
}
.text-button svg {
  width: 22px;
  height: 22px;
}
.text-button[hidden] {
  display: none;
}

/* Signup dialog */
dialog {
  width: min(440px, calc(100% - 32px));
  border: 0;
  padding: 40px;
  border-radius: 34px;
  color: var(--ink);
  overflow: visible;
  --glass-fill:
    linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04)),
    rgb(32 28 84 / 0.5);
  --glass-blur: blur(40px) saturate(1.8);
  --glass-depth:
    inset 0 1px 1px rgb(255 255 255 / 0.4),
    0 40px 120px -20px rgb(8 6 30 / 0.7);
}
dialog::backdrop {
  background: rgb(14 12 40 / 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
dialog[open] {
  animation: dialog-in 0.45s var(--ease-out);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
.close-dialog {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgb(255 255 255 / 0.08);
  transition: background 0.25s;
}
.close-dialog svg {
  width: 16px;
  height: 16px;
}
.close-dialog:hover {
  background: rgb(255 255 255 / 0.18);
  color: var(--ink);
}
.dialog-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--night);
  background: linear-gradient(180deg, #f4fbdc, var(--lime));
  box-shadow:
    0 10px 24px -8px rgb(223 241 174 / 0.55),
    inset 0 -2px 4px rgb(29 27 70 / 0.1);
}
.dialog-symbol svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
dialog .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
  color: var(--lime);
}
dialog h2 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.dialog-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 14px 0 26px;
}
form > label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 8px 4px;
}
input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.08);
  font-size: 15px;
  box-shadow: inset 0 2px 6px rgb(8 6 30 / 0.2);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
input[type="email"]:focus-visible {
  outline: none;
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.12);
  box-shadow:
    inset 0 2px 6px rgb(8 6 30 / 0.2),
    0 0 0 4px rgb(169 216 255 / 0.28);
}
input::placeholder {
  color: rgb(255 253 247 / 0.38);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 16px 4px 24px;
  cursor: pointer;
}
.consent input {
  margin: 2px 0 0;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex: none;
}
.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  padding: 0 10px 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eeecff);
  color: var(--night);
  font-size: 14px;
  font-weight: 750;
  box-shadow:
    0 12px 28px -10px rgb(8 6 30 / 0.6),
    inset 0 -2px 4px rgb(29 27 70 / 0.08);
  transition: transform 0.35s var(--ease-out);
}
.submit-button svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--night);
  color: var(--ink);
  stroke-width: 2;
}
.submit-button:hover {
  transform: translateY(-1px);
}
.submit-button:hover svg {
  transform: rotate(45deg);
}
.privacy-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  margin: 18px 4px 0;
}
.form-message {
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 4px 0;
  color: var(--lime);
}
.form-message:empty {
  display: none;
}
.form-message.error {
  color: #ffc6b9;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Desktop proportions */
/* Phone layout */
.mobile {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .site-header,
  .stage,
  .skip-link {
    display: none;
  }
  .mobile {
    /* Rendered height of the 9:16 scene: it covers the small viewport. */
    --frame: max(100svh, 177.78vw);
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    interpolate-size: allow-keywords;
  }
  .m-scene {
    position: fixed;
    inset: 0 0 auto;
    z-index: -1;
    height: 100lvh;
    overflow: hidden;
    background: linear-gradient(
      180deg,
      #3d3cb0,
      #c1629f 20%,
      #f2915f 27%,
      #56733c 40%,
      #253d22
    );
  }
  .m-media {
    position: absolute;
    top: 0;
    left: 50%;
    height: var(--frame);
    width: auto;
    aspect-ratio: 9 / 16;
    transform: translate(-50%, -8%);
  }
  /* Stays invisible until frames actually play, so a blocked autoplay never
     shows the browser's play button over the poster. */
  #m-video {
    opacity: 0;
  }
  #m-video.is-playing {
    opacity: 1;
  }
  #m-video::-webkit-media-controls,
  #m-video::-webkit-media-controls-start-playback-button,
  #m-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
  }
  .m-replay {
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(var(--frame) * 0.515);
  }
  .m-replay:focus-visible {
    outline-offset: -8px;
  }

  .m-sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 16px max(16px, calc(env(safe-area-inset-bottom) + 6px));
    border-radius: 30px 30px 0 0;
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.17), rgb(255 255 255 / 0.04) 45%),
      rgb(24 20 66 / 0.4);
    -webkit-backdrop-filter: blur(26px) saturate(1.7);
    backdrop-filter: blur(26px) saturate(1.7);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.4),
      inset 0 0 0 1px rgb(255 255 255 / 0.06),
      0 -24px 60px -24px rgb(10 8 40 / 0.55);
    animation: m-rise 0.9s var(--ease-out) 0.25s both;
  }
  @keyframes m-rise {
    from {
      opacity: 0;
      transform: translateY(48px);
    }
  }
  .m-grabber {
    width: 38px;
    height: 5px;
    margin: 0 auto 4px;
    border-radius: 3px;
    background: rgb(255 255 255 / 0.32);
  }

  .m-exam {
    border-radius: 22px;
    background:
      radial-gradient(90% 130% at 0% 50%, var(--accent-glow), transparent 60%),
      linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.05));
    box-shadow:
      inset 0 1px 1px rgb(255 255 255 / 0.3),
      inset 0 0 0 1px rgb(255 255 255 / 0.07);
  }
  .m-exam summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px 11px 11px;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .m-exam summary::-webkit-details-marker {
    display: none;
  }
  .m-exam summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
    border-radius: 22px;
  }
  .m-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #fff;
    background: radial-gradient(
      circle at 30% 22%,
      var(--accent-light),
      var(--accent-mid) 48%,
      var(--accent-deep)
    );
    box-shadow:
      inset 0 2px 3px rgb(255 255 255 / 0.5),
      inset 0 -3px 6px rgb(40 10 60 / 0.22),
      0 8px 18px -8px var(--accent-deep);
  }
  .m-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2;
    filter: drop-shadow(0 1px 1px rgb(40 10 60 / 0.35));
  }
  .m-exam-text {
    display: grid;
    gap: 2px;
    flex: 1;
    min-width: 0;
  }
  .m-exam-text strong {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.025em;
  }
  .m-exam-text span {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
  }
  .m-chevron {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
    stroke-width: 2.2;
  }
  .m-exam[open] .m-chevron {
    transform: rotate(90deg);
  }
  .m-exam::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.4s var(--ease-out),
      content-visibility 0.4s allow-discrete;
  }
  .m-exam[open]::details-content {
    block-size: auto;
  }
  .m-exam ul {
    padding: 0 16px 14px 73px;
  }
  .m-exam li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    color: rgb(255 253 247 / 0.9);
  }
  .m-exam li:last-child {
    margin-bottom: 0;
  }

  .m-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    margin-top: 4px;
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #62b2ff, #3b99ff 45%, #1f74ec);
    box-shadow:
      inset 0 1px 1px rgb(255 255 255 / 0.55),
      inset 0 -2px 5px rgb(8 40 120 / 0.25),
      0 14px 30px -12px rgb(59 153 255 / 0.8);
    transition: transform 0.25s var(--ease-out);
  }
  .m-cta:active {
    transform: scale(0.98);
  }
  .m-cta svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
  }

  .m-store-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 2px 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--ink-soft);
  }
  .m-store-note::before,
  .m-store-note::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.28));
  }
  .m-store-note::after {
    background: linear-gradient(90deg, rgb(255 255 255 / 0.28), transparent);
  }
  .m-stores {
    display: flex;
    gap: 10px;
  }
  .m-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    height: 48px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .m-store.glass {
    /* Already inside the sheet's blur; a second backdrop pass costs GPU time
       while the video plays. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.05));
  }
  .m-store svg {
    flex: none;
    width: 20px;
    height: 20px;
    stroke: none;
  }

  dialog {
    width: 100%;
    max-width: none;
    max-height: 92svh;
    margin: auto 0 0;
    padding: 30px 22px max(22px, calc(env(safe-area-inset-bottom) + 14px));
    border-radius: 30px 30px 0 0;
    overflow-y: auto;
  }
  dialog[open] {
    animation: m-sheet-in 0.45s var(--ease-out);
  }
  @keyframes m-sheet-in {
    from {
      transform: translateY(100%);
    }
  }
  dialog h2 {
    font-size: 28px;
  }
  .dialog-symbol {
    margin-bottom: 18px;
  }
  /* iOS zooms into inputs below 16px. */
  input[type="email"] {
    font-size: 16px;
  }
}

@media ((max-width: 760px) or (max-aspect-ratio: 4/5)) and (max-height: 700px) {
  .m-replay {
    min-height: calc(var(--frame) * 0.495);
  }
  .m-sheet {
    gap: 8px;
  }
  .m-exam summary {
    padding-block: 8px;
  }
  .m-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .m-exam ul {
    padding-left: 67px;
  }
  .m-cta {
    height: 50px;
  }
  .m-store {
    height: 44px;
  }
}

@media ((max-width: 760px) or (max-aspect-ratio: 4/5)) and (min-width: 600px) {
  .m-media {
    transform: translate(-50%, calc(-8% - 64px));
  }
  .m-replay {
    min-height: calc(var(--frame) * 0.515 - 64px);
  }
  .m-sheet {
    width: min(100% - 48px, 560px);
    margin: 0 auto max(24px, env(safe-area-inset-bottom));
    padding-bottom: 16px;
    border-radius: 30px;
  }
  dialog {
    width: min(100% - 48px, 520px);
    margin: auto;
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
