/* AI Edit House: shared look (Midnight Gold). Phone first. */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Size-matched fallbacks so nothing jumps when the real fonts arrive. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 100%;
  ascent-override: 106.6%;
  descent-override: 30%;
}
@font-face {
  font-family: "DM Serif Fallback";
  src: local("Georgia");
  size-adjust: 96%;
  ascent-override: 106%;
  descent-override: 34%;
}

:root {
  --bg: #07060b;
  --surface: #16141d;
  --text: #ffffff;
  --muted: #9e9aa8;
  --gold: #ffc94a;
  --gold-soft: rgba(255, 201, 74, 0.86);
  --rose: #ff4fa3;
  --violet: #8b5cff;

  --sans: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --serif: "DM Serif Display", "DM Serif Fallback", Georgia, serif;
  --metal: linear-gradient(100deg, #b98426 0%, #ffd56b 30%, #fff3cc 46%, #ffc94a 62%, #c8922e 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5.6vw, 48px);
  --max: 1200px;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Glass: a lighter fill, a bright top edge, a soft glow along the bottom, a soft shadow. */
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  --glass-edge: rgba(255, 255, 255, 0.13);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -18px 30px -26px rgba(255, 255, 255, 0.35),
    0 24px 60px -24px rgba(0, 0, 0, 0.75);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* A very faint film grain over everything. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

em.key,
.key {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  /* Polished gold, clipped to the letters; the padding leaves room for the italic overhang. */
  color: transparent;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 0.12em 0.08em 0.06em;
  margin: 0 -0.12em -0.08em -0.06em;
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 8.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 7.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 2.9vw, 1.0625rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.lede strong {
  color: var(--text);
  font-weight: 600;
}

.fine {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-wrap: balance;
}

/* Small glass pill label above a headline. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 201, 74, 0.8);
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(22, 20, 29, 0.92);
  }
}

/* ---------- Buttons ---------- */

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  font: 600 0.9375rem/1 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), background-color 600ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-gold {
  color: #1b1406;
  background: linear-gradient(180deg, #ffd977 0%, #ffc94a 52%, #f0b431 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 32px -10px rgba(255, 201, 74, 0.55),
    0 0 0 1px rgba(255, 201, 74, 0.35);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 44px -12px rgba(255, 201, 74, 0.7),
    0 0 0 1px rgba(255, 201, 74, 0.45);
}
/* The second button: warm gold glass with a gold edge (Shine: the grey didn't look tappable).
   The solid gold button stays the one main action. */
.btn-glass {
  color: #ffe2a0;
  background: linear-gradient(180deg, rgba(255, 201, 74, 0.22), rgba(255, 201, 74, 0.09));
  border: 1px solid rgba(255, 201, 74, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, 0.24), 0 12px 30px -14px rgba(255, 201, 74, 0.42);
}
.btn-glass:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 201, 74, 0.3), rgba(255, 201, 74, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, 0.3), 0 16px 38px -14px rgba(255, 201, 74, 0.55);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}

.scene-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 6vw, 56px);
}

/* ---------- The fully loaded callout ---------- */

.callout {
  position: relative;
  margin: 0;
  text-wrap: balance;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 201, 74, 0.32);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 201, 74, 0.06), 0 0 40px -10px rgba(255, 201, 74, 0.28);
}
.callout strong {
  display: block;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- Phone frame for reels ---------- */

.phone {
  position: relative;
  padding: 6px;
  border-radius: 30px;
  background: linear-gradient(150deg, #2b2833 0%, #121117 45%, #1c1a22 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.7);
}
.phone .screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  transform: translateZ(0);
}
.phone .screen > img,
.phone .screen > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A small, calm play icon if the phone blocks autoplay (Low Power Mode, data saver). */
.play-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 6, 11, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--ease);
}
.play-hint::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 17px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
.needs-tap .play-hint {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Light: one soft warm glow behind a focal point ---------- */

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 201, 74, 0.3), rgba(255, 170, 60, 0.12) 45%, rgba(255, 150, 40, 0) 100%);
}
.glow.rose {
  background: radial-gradient(closest-side, rgba(255, 79, 163, 0.12), rgba(255, 79, 163, 0) 100%);
}
.glow.violet {
  background: radial-gradient(closest-side, rgba(139, 92, 255, 0.14), rgba(139, 92, 255, 0) 100%);
}

/* ---------- Gentle reveal on scroll (once) ---------- */

.js .rise {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .rise.in {
  opacity: 1;
  transform: none;
}

/* ---------- Scene 4: Thoughtfully crafted ---------- */

.library {
  position: relative;
  padding: clamp(64px, 16vw, 160px) 0 clamp(88px, 14vw, 140px);
  overflow-x: clip;
  isolation: isolate;
}
.library .glow {
  width: min(1100px, 160vw);
  height: 700px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  opacity: 0.75;
  z-index: -1;
}
.library-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 var(--gutter);
  text-align: center;
}
/* The two big numbers side by side, each over its own label, with a fine gold divider between. */
.numbers {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: auto 1px auto;
  justify-content: center;
  align-items: stretch;
  column-gap: clamp(24px, 6vw, 44px);
  color: rgba(247, 241, 230, 0.78);
}
.numbers .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 10em;
  font-size: clamp(0.875rem, 3.4vw, 1rem);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}
.numbers strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 12vw, 3.75rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.numbers .sep {
  font-size: 0;
  background: linear-gradient(180deg, rgba(255, 201, 74, 0), rgba(255, 201, 74, 0.5), rgba(255, 201, 74, 0));
}
.library-head .pill,
.scene-head .pill {
  height: auto;
  padding: 0;
  gap: 14px;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(255, 220, 140, 0.8);
}
.library-head .pill::before,
.scene-head .pill::before,
.library-head .pill::after,
.scene-head .pill::after {
  content: "";
  width: 28px;
  height: 1px;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg, rgba(255, 201, 74, 0), rgba(255, 201, 74, 0.75));
}
.library-head .pill::after,
.scene-head .pill::after {
  transform: scaleX(-1);
}
.library-head .lede {
  max-width: 46ch;
}
/* Each sentence keeps to its own line where it fits, and wraps evenly where it doesn't. */
.lede .line {
  display: inline-block;
  text-wrap: balance;
}
.nowrap {
  white-space: nowrap;
}

.tiles {
  margin-top: clamp(44px, 7vw, 72px);
  display: grid;
  gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.tile-row {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: drift var(--speed, 80s) linear infinite;
  will-change: transform;
}
.tile-row.reverse {
  animation-direction: reverse;
}
.tiles.paused .tile-row {
  animation-play-state: paused;
}
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.tile {
  width: clamp(132px, 38vw, 184px);
  margin: 0;
  padding: 6px 6px 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 26px 50px -30px rgba(0, 0, 0, 0.9);
}
.tile .frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 15px;
  background: #000;
}
.tile .frame > img,
.tile .frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile figcaption {
  display: grid;
  place-items: center;
  min-height: calc(2 * 1.3em + 16px);
  padding: 8px 4px;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  text-wrap: balance;
}

/* The details: four small glass cards, a gold number over a short label (2 x 2 on phones, one row on desktop). */
.library-more {
  margin: clamp(40px, 7vw, 64px) auto 0;
  padding: 0 var(--gutter);
  max-width: 880px;
}
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-cards li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 17px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.3;
  color: rgba(236, 232, 244, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -34px rgba(0, 0, 0, 0.9);
}
.detail-cards strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.detail-kinds {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(236, 232, 244, 0.7);
}
@media (min-width: 768px) {
  .detail-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .detail-cards li {
    padding: 22px 22px 20px;
    font-size: 0.9375rem;
  }
  .detail-cards strong {
    font-size: 2.5rem;
  }
}

/* Phones (Shine's pick): two rows of small tiles with their names, drifting a little faster. */
@media (max-width: 767px) {
  .tiles,
  .tile-row {
    gap: 10px;
  }
  .tile {
    width: 31vw;
    padding: 4px;
    border-radius: 14px;
  }
  .tile .frame {
    border-radius: 10px;
  }
  .tile figcaption {
    min-height: calc(2 * 1.25em + 10px);
    padding: 6px 2px 4px;
    font-size: 0.625rem;
    line-height: 1.25;
  }
  .tiles .tile-row.row-1 {
    animation-duration: 34s;
  }
  .tiles .tile-row.row-2 {
    animation-duration: 42s;
  }
}

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

.site-footer {
  padding: 56px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
}
.site-footer ul {
  list-style: none;
  margin: 0 auto 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}
.site-footer li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: rgba(158, 154, 168, 0.6);
}
.site-footer a {
  display: inline-block;
  padding: 13px 0;
  margin: -13px 0;
  text-decoration: none;
  background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) 0 calc(100% - 12px) / 100% 1px no-repeat;
}
.site-footer a:hover {
  color: var(--text);
}
.site-footer .small-print {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(158, 154, 168, 0.8);
}

/* A blank only Shine can fill: visible on purpose until it's filled. */
.placeholder {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed rgba(255, 201, 74, 0.55);
  border-radius: 6px;
  color: var(--gold-soft);
  font-size: 0.92em;
}

/* ---------- Sign-up sheet ---------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  visibility: hidden;
  pointer-events: none;
}
.sheet.open {
  visibility: visible;
  pointer-events: auto;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 7, 0.62);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.sheet.open .sheet-backdrop {
  opacity: 1;
}
.sheet-panel {
  position: relative;
  width: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 30px 22px calc(26px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(34, 31, 43, 0.82), rgba(18, 16, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 -30px 80px -20px rgba(0, 0, 0, 0.8),
    0 -10px 60px -30px rgba(255, 201, 74, 0.35);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  transform: translateY(104%);
  transition: transform 700ms var(--ease);
}
.sheet.open .sheet-panel {
  transform: none;
}
.sheet-grip {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}
.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.sheet-close::before,
.sheet-close::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 21px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.sheet-close::after {
  transform: rotate(-45deg);
}
.sheet-close:hover {
  color: var(--text);
}
.sheet h2 {
  margin: 4px 0 6px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}
.sheet .lede {
  margin-bottom: 22px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: 400 16px/1 var(--sans);
  transition: border-color 400ms var(--ease), background-color 400ms var(--ease);
}
.field input:focus {
  outline: none;
  border-color: rgba(255, 201, 74, 0.7);
  background: rgba(255, 255, 255, 0.07);
}
.field input[aria-invalid="true"] {
  border-color: rgba(255, 140, 120, 0.8);
}
.field-error {
  min-height: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: #ffb4a2;
}
.kit-errors {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #ffb4a2;
}
.kit-errors:empty {
  display: none;
}
.field-error:empty {
  display: none;
}
.sheet .btn {
  width: 100%;
  margin-top: 8px;
}
.sheet .btn[data-active],
.sheet .btn[aria-busy="true"] {
  pointer-events: none;
  animation: soft-pulse 1600ms var(--ease) infinite;
}
@keyframes soft-pulse {
  50% {
    opacity: 0.72;
  }
}
.sheet .fine {
  margin-top: 14px;
  text-align: center;
}
.sheet .fine a {
  display: inline-block;
  padding: 14px 4px;
  margin: -14px -4px;
  color: rgba(255, 255, 255, 0.82);
}
/* Google's badge sits behind the form, so its required line shows here instead and the badge stays hidden. */
.grecaptcha-badge {
  visibility: hidden;
}
.sheet .sheet-google {
  margin-top: 8px;
  font-size: 0.6875rem;
  line-height: 1.45;
  opacity: 0.8;
}
.sheet-note {
  margin: 14px 0 0;
  text-align: center;
}

@media (min-width: 768px) {
  .sheet {
    align-items: center;
    justify-items: center;
  }
  .sheet-panel {
    width: min(460px, calc(100vw - 48px));
    border-radius: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px 36px 34px;
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition: transform 700ms var(--ease), opacity 500ms var(--ease);
  }
  .sheet.open .sheet-panel {
    opacity: 1;
  }
  .sheet-grip {
    display: none;
  }
}

/* ---------- Sticky "Join the waitlist" (phones only) ---------- */

.sticky-join {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40;
  min-height: 46px;
  padding: 0 24px;
  font-size: 0.875rem;
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 700ms var(--ease), opacity 500ms var(--ease);
  color: #ffe2a0;
  background: linear-gradient(180deg, rgba(58, 44, 22, 0.92), rgba(30, 23, 13, 0.94));
  border: 1px solid rgba(255, 201, 74, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 40px -12px rgba(0, 0, 0, 0.85),
    0 0 26px -8px rgba(255, 201, 74, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.sticky-join.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
@media (min-width: 768px) {
  .sticky-join {
    display: none;
  }
}

/* ---------- Calm, still version for reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .tile-row {
    animation: none !important;
  }
  .js .rise {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Small label under a reel ---------- */

.reel-label {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.reel-label em {
  font-family: var(--serif);
  font-size: 1.08em;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Plain text pages (privacy, previews) ---------- */

.text-page {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 56px) var(--gutter) 72px;
}
.text-page .title {
  margin: 18px 0 16px;
}
.text-page h2 {
  margin: 36px 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}
.text-page p {
  color: rgba(255, 255, 255, 0.8);
}
.choice-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}
.choice-list a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 500;
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

/* ---------- 404 ---------- */

.lost {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  min-height: 100svh;
  padding: 40px var(--gutter);
  text-align: center;
}
.lost .glow {
  width: min(900px, 160vw);
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  z-index: -1;
}
.lost .title {
  color: #f7f1e6;
  margin-bottom: 10px;
}

/* Phones: the footer as a calm list, one item per line. */
@media (max-width: 767px) {
  .site-footer ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }
  .site-footer li:not(:last-child)::after {
    content: none;
  }
}
.site-footer .placeholder {
  margin-left: 4px;
}
