:root {
  --ink: #2c2840;
  --ink-soft: #4a4463;
  --muted: #6f6987;
  --sun: #ffc549;
  --sun-deep: #e9a21f;
  --grape: #7c6cf0;
  --grape-deep: #5b4bd1;
  --berry: #ff6b8b;
  --leaf: #3fb67f;
  --sky: #5cb8ff;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --night: #241d52;
  --night-2: #3a2f86;
  --card: #ffffff;
  --radius: 28px;
  --shadow: 0 2px 2px rgba(70, 40, 10, 0.04), 0 18px 40px rgba(80, 45, 10, 0.12);
  --shadow-lg: 0 4px 6px rgba(40, 20, 60, 0.06), 0 30px 70px rgba(40, 20, 60, 0.18);
  --font: Nunito, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --gutter: max(16px, 4vw);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 18px/1.6 var(--font);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.wrap {
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2 * var(--gutter));
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  left: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--grape);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---------- buttons ---------- */

.btn {
  --face: var(--sun);
  --edge: var(--sun-deep);
  --text: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--face);
  box-shadow: 0 5px 0 var(--edge), 0 12px 24px rgba(60, 30, 0, 0.16);
  color: var(--text);
  font: 900 1.05rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--edge), 0 16px 30px rgba(60, 30, 0, 0.2);
  filter: saturate(1.08);
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--edge), 0 6px 12px rgba(60, 30, 0, 0.16);
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 var(--edge), 0 8px 16px rgba(60, 30, 0, 0.12);
}

.btn-ink {
  --face: var(--ink);
  --edge: #110e22;
  --text: #fff;
}

.btn-store {
  --face: #15121f;
  --edge: #000;
  --text: #fff;
  padding: 0 24px 0 18px;
  text-align: left;
}

.btn-store svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn-store span {
  display: grid;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.btn-store small {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
  letter-spacing: 0;
}

.btn-ghost {
  --face: rgba(255, 255, 255, 0.85);
  --edge: rgba(44, 40, 64, 0.16);
  backdrop-filter: blur(8px);
}

.round-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: 900 1.8rem/1 var(--font);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.round-btn:hover {
  transform: translateY(-2px);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(44, 40, 64, 0.08), 0 10px 30px rgba(44, 40, 64, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1240px, 100%);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(60, 30, 0, 0.2);
}

.wordmark {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.wordmark.small {
  font-size: 1.35rem;
}

.wordmark span:nth-child(9n + 1) { color: #e8455b; }
.wordmark span:nth-child(9n + 2) { color: #f28a1e; }
.wordmark span:nth-child(9n + 3) { color: #e6b000; }
.wordmark span:nth-child(9n + 4) { color: #2fa866; }
.wordmark span:nth-child(9n + 5) { color: #2f8ae8; }
.wordmark span:nth-child(9n + 6) { color: #7c6cf0; }
.wordmark span:nth-child(9n + 7) { color: #e8559b; }
.wordmark span:nth-child(9n + 8) { color: #f28a1e; }
.wordmark span:nth-child(9n + 9) { color: #2fa866; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-inner > .btn {
    margin-left: auto;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 160px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 197, 73, 0.35), transparent 34%),
    linear-gradient(100deg, #fff6dc 0%, #fdf3d8 30%, #e3f1f6 70%, #cfe8f7 100%);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img,
.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 70%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}

.hero-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(124, 200, 90, 0.18));
  pointer-events: none;
}

.hero-copy {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.hero-copy > * {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 0.95rem;
}

.eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(63, 182, 127, 0.22);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  color: var(--ink);
}

.pop {
  display: inline-block;
  color: var(--grape);
  -webkit-text-stroke: 0;
  text-shadow: 0 4px 0 #fff, 0 6px 0 rgba(91, 75, 209, 0.25);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.lede {
  margin: 22px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 96px var(--gutter) 120px;
    background: linear-gradient(#fff6dc, #dff0fa);
  }
  .hero-media {
    position: relative;
    order: 2;
    inset: auto;
    aspect-ratio: 16 / 10;
    margin-top: 28px;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
  }
  .hero-media::after {
    display: none;
  }
  .hero-media img,
  .hero-video {
    width: 100%;
    object-position: 60% 60%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-copy > * {
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }
}

/* ---------- waves ---------- */

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(50px, 8vw, 110px);
  pointer-events: none;
}

.wave-bottom {
  bottom: -1px;
  fill: var(--paper);
}

.wave-top {
  top: -1px;
  fill: var(--paper);
}

/* ---------- sections ---------- */

section {
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.hand {
  margin: 0 0 6px;
  color: var(--grape);
  font: 400 1.6rem/1.2 var(--hand);
  transform: rotate(-2deg);
}

.section-head h2,
.grownups-copy h2,
.get h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.sub {
  margin: 16px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.36em;
  border-radius: 999px;
  background: var(--hl);
  z-index: -1;
  transform: rotate(-1.2deg);
}

.hl-sun { --hl: #ffd86b; }
.hl-grape { --hl: rgba(124, 108, 240, 0.55); }
.hl-leaf { --hl: #9fe3be; }
.hl-berry { --hl: #ffc2cf; }

@media (max-width: 560px) {
  .hl {
    white-space: normal;
  }
}

/* floating characters */

.float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(40, 20, 60, 0.22));
  animation: bob 6s ease-in-out infinite;
}

.float-trike {
  top: -70px;
  right: max(2vw, calc(50% - 700px));
  width: clamp(120px, 14vw, 210px);
}

.float-ptero {
  top: 20px;
  left: max(1vw, calc(50% - 720px));
  width: clamp(150px, 17vw, 270px);
  animation-duration: 5s;
}

.float-longneck {
  bottom: 0;
  right: max(1vw, calc(50% - 700px));
  width: clamp(130px, 15vw, 240px);
  transform-origin: bottom;
  animation-name: sway;
}

@media (max-width: 700px) {
  .float-trike {
    top: -54px;
    right: 12px;
  }
  .float-ptero {
    top: 4px;
    left: 4px;
    width: 120px;
  }
  .float-longneck {
    display: none;
  }
}

/* ---------- features ---------- */

.features {
  padding: 70px 0 150px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 197, 73, 0.16), transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(124, 108, 240, 0.1), transparent 40%),
    var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature {
  position: relative;
  padding: 18px 18px 30px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  rotate: var(--tilt);
  transition: rotate 0.3s ease, translate 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  rotate: 0deg;
  translate: 0 -6px;
  box-shadow: var(--shadow-lg);
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  background: var(--tint);
  margin-bottom: 18px;
}

.feature h3 {
  padding: 0 10px;
  font-size: 1.7rem;
}

.feature p {
  margin: 8px 0 0;
  padding: 0 10px;
  color: var(--muted);
  font-size: 1.02rem;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* ---------- peek ---------- */

.peek {
  padding: 150px 0 170px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(255, 107, 139, 0.35), transparent 40%),
    linear-gradient(160deg, #8b7bff 0%, #6a59e6 50%, #5844cf 100%);
  color: #fff;
  overflow: hidden;
}

.peek::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.6px);
  background-size: 34px 34px;
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

.on-dark .sub,
.sub.on-dark {
  color: rgba(255, 255, 255, 0.85);
}

.on-dark .hand,
.on-dark-hand {
  color: #ffe08a;
}

.on-dark h2 .hl-grape {
  --hl: rgba(255, 107, 139, 0.75);
}

.shots {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 20px max(var(--gutter), calc(50% - 590px)) 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.shots::-webkit-scrollbar {
  display: none;
}

.phone {
  flex: 0 0 auto;
  width: clamp(210px, 24vw, 280px);
  margin: 0;
  scroll-snap-align: center;
}

.phone img {
  border: 10px solid #15121f;
  border-radius: 44px;
  background: #15121f;
  box-shadow: 0 30px 60px rgba(20, 10, 60, 0.4), inset 0 0 0 2px #333;
}

.phone:nth-child(odd) {
  translate: 0 26px;
}

.phone figcaption {
  margin-top: 14px;
  text-align: center;
  font: 400 1.4rem/1.2 var(--hand);
}

.shots-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.ipad {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-top: 80px;
}

.ipad img {
  border: 14px solid #15121f;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(20, 10, 60, 0.4);
  rotate: -3deg;
}

.ipad p {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
}

.ipad strong {
  display: block;
  font-weight: 900;
  font-size: 1.2em;
}

@media (max-width: 760px) {
  .ipad {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .ipad img {
    width: min(360px, 90%);
    margin-inline: auto;
  }
}

/* ---------- grown-ups ---------- */

.grownups {
  padding: 90px 0 110px;
  background: var(--paper);
}

.grownups-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.grownups-art img {
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
  object-position: 22% 50%;
}

.checks {
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.checks li {
  position: relative;
  padding-left: 46px;
  color: var(--ink-soft);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 3px 0 #2c8d60;
}

.checks b {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 880px) {
  .grownups-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* ---------- price ---------- */

.price {
  padding: 90px 0 120px;
  background: linear-gradient(var(--paper), var(--cream));
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 920px;
  margin-inline: auto;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 36px 34px 34px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan h3 {
  font-size: 1.5rem;
}

.amount {
  margin: 6px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
}

.plan li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--sun-deep);
}

.plan-full {
  background: linear-gradient(160deg, #fff4cf, #ffe08a 60%, #ffc549);
  box-shadow: 0 6px 0 var(--sun-deep), var(--shadow-lg);
}

.plan-full li {
  color: var(--ink);
}

.plan-full li::before {
  color: var(--grape);
}

.plan-dino {
  position: absolute;
  right: -30px;
  top: -96px;
  width: 150px;
  filter: drop-shadow(0 14px 18px rgba(60, 30, 0, 0.25));
  animation: bob 5s ease-in-out infinite;
}

.ribbon {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fine {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-full .fine {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }
  .plan-dino {
    right: -6px;
    width: 120px;
    top: -80px;
  }
}

/* ---------- faq ---------- */

.faq {
  padding: 60px 0 170px;
  background: var(--cream);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq details {
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq summary {
  position: relative;
  padding: 22px 64px 22px 26px;
  font-weight: 900;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1edff;
  color: var(--grape);
  font-size: 1.4rem;
  transition: rotate 0.25s ease;
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ---------- get ---------- */

.get {
  padding: 170px 0 clamp(220px, 26vw, 360px);
  background:
    linear-gradient(180deg, rgba(36, 29, 82, 0.92) 0%, rgba(36, 29, 82, 0.72) 38%, rgba(36, 29, 82, 0) 66%),
    var(--night) url("/assets/night.webp") center bottom / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.get .wave-top {
  fill: var(--cream);
}

.get-inner {
  position: relative;
  z-index: 2;
}

.get h2 .hl-sun {
  --hl: rgba(255, 107, 139, 0.75);
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 560px;
  margin: 34px auto 0;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.signup input[type="email"] {
  min-width: 0;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 1.05rem var(--font);
}

.signup .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 0;
  font-weight: 800;
}

.form-note:empty {
  display: none;
}

.form-note.is-ok {
  color: #b7f5cf;
}

.form-note.is-error {
  color: #ffc2cf;
}

.signup.is-done input,
.signup.is-done button {
  display: none;
}

.signup.is-done {
  grid-template-columns: minmax(0, 1fr);
  border-radius: 24px;
  padding: 18px;
}

.fine.on-dark {
  color: rgba(255, 255, 255, 0.7);
}

.fine.on-dark a {
  color: #fff;
}

.on-dark-ghost {
  margin-top: 26px;
  --face: rgba(255, 255, 255, 0.16);
  --edge: rgba(0, 0, 0, 0.25);
  --text: #fff;
}

@media (max-width: 560px) {
  .signup {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 28px;
  }
}

/* ---------- footer ---------- */

.footer {
  padding: 34px 0 calc(34px + env(safe-area-inset-bottom));
  background: #1a1540;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.footer .wordmark {
  text-shadow: none;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer nav a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer nav a:hover {
  text-decoration: underline;
}

.footer p {
  margin: 0;
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

.feature-grid .reveal:nth-child(3n + 2),
.shots .reveal:nth-child(even) {
  transition-delay: 0.08s;
}

.feature-grid .reveal:nth-child(3n + 3) {
  transition-delay: 0.16s;
}

.phone.reveal.is-in:nth-child(odd) {
  translate: 0 26px;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(63, 182, 127, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(63, 182, 127, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    translate: none;
  }
}

.no-js .reveal {
  opacity: 1;
  translate: none;
}
