@font-face {
  font-family: Fredoka;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fredoka-600.woff2") format("woff2");
}
@font-face {
  font-family: Fredoka;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fredoka-700.woff2") format("woff2");
}

:root {
  --ink: #1a1230;
  --soft: #3b3158;
  --paper: #fff4fb;
  --white: #fffdfb;
  --sun: #ffe14a;
  --pink: #ff4f9a;
  --mint: #7dffe0;
  --violet: #5b21b6;
  --max: 1120px;
  --stroke: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Fredoka, "Trebuchet MS", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.45;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ff4f9a; outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -48px; background: white; color: var(--ink);
  padding: 8px 12px; border-radius: 12px; z-index: 40; border: var(--stroke);
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 253, 251, 0.94);
  border-bottom: var(--stroke);
}
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 14px; min-height: 72px; padding: 8px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em;
}
.brand svg { width: 42px; height: 42px; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: #ffe14a; }

h1, h2, h3, .price, .brand, .sticker { font-family: Fredoka, "Trebuchet MS", sans-serif; }
h1 { font-size: clamp(2.7rem, 8vw, 4.8rem); line-height: 0.92; letter-spacing: -0.045em; margin: 12px 0 12px; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 8px; font-weight: 700; }
h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.03em; }
.lede, .section-lead { color: var(--soft); max-width: 40rem; margin: 0; font-weight: 600; }
.lede { font-size: 1.18rem; }
.section { padding: 36px 0 12px; scroll-margin-top: 96px; }
.section-head { margin-bottom: 16px; max-width: 40rem; }
.eyebrow { margin: 0; color: var(--violet); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }

.hero-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(520px 280px at 88% 18%, rgba(125, 255, 224, 0.55), transparent 62%),
    radial-gradient(480px 300px at 96% 88%, rgba(255, 79, 154, 0.5), transparent 60%),
    linear-gradient(115deg, #120a2c 0%, #2a1468 46%, #6d28d9 74%, #fb7185 100%);
  padding: 22px 0 56px;
}
.hero-band .lede, .hero-band .once, .hero-band .fine, .hero-band figcaption { color: #f6edff; }
.hero-band .price { color: #ffe14a; }
.aurora, .spark { position: absolute; pointer-events: none; }
.aurora {
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(125, 255, 224, 0.35), transparent 70%);
  filter: blur(8px);
}
.spark { width: 18px; height: 18px; border-radius: 4px; background: #ffe14a; }
.spark-a { top: 16%; left: auto; right: 26%; transform: rotate(18deg); }
.spark-b { top: 74%; left: auto; right: 10%; background: #7dffe0; border-radius: 50%; }
.spark-c { top: 42%; left: auto; right: 3%; background: #ff4f9a; width: 14px; height: 28px; border-radius: 8px; }
.hero { position: relative; display: grid; gap: 28px; align-items: center; }
.stickers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sticker {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; border: var(--stroke); font-weight: 700; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.sticker-sun { background: #ffe14a; }
.sticker-pink { background: #ff8ac4; }
.sticker-mint { background: #7dffe0; }
.price { font-size: clamp(3.2rem, 8vw, 4.4rem); line-height: 0.9; margin: 14px 0 0; letter-spacing: -0.05em; }
.once { margin: 4px 0 0; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px;
  border-radius: 999px; text-decoration: none; font-weight: 700; border: var(--stroke);
  background: white; color: var(--ink); font-family: Fredoka, sans-serif; font-size: 1.05rem;
  cursor: pointer; box-shadow: var(--pop);
}
.btn-green { background: #ffe14a; color: #1a1230; }
.btn-sun { background: #ff4f9a; color: #1a1230; }
.btn-ghost { background: white; }
.hero-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 #7dffe0; }
.btn[aria-pressed="true"] { background: #1a1230; color: #fff; }
.fine { font-size: 0.95rem; margin: 12px 0 0; font-weight: 600; }
.fine a, .section-lead a, .prose a, .page-copy a { text-decoration: underline; text-underline-offset: 3px; }

.collage { position: relative; min-height: 320px; }
.float-card {
  background: white; border: var(--stroke); border-radius: 22px; box-shadow: 8px 8px 0 #1a1230;
}
.float-card img { display: block; width: 100%; border-radius: 16px; }
.card-back, .card-mid {
  position: absolute; width: 42%; padding: 8px; aspect-ratio: 1;
}
.card-back { top: 0; left: 0; background: #7dffe0; transform: rotate(-8deg); }
.card-mid { top: 28px; right: 0; background: #ff8ac4; transform: rotate(8deg); }
.card-front { position: relative; z-index: 2; width: min(100%, 460px); margin: 78px auto 0; padding: 10px; transform: rotate(-2deg); }
.card-front figcaption { margin: 6px 4px 2px; font-size: 0.9rem; color: var(--soft); }

.marquee {
  overflow: hidden; background: #ffe14a; border-block: var(--stroke); padding: 10px 0;
}
.marquee-track { display: flex; gap: 12px; width: max-content; }
.marquee img {
  width: 120px; height: 120px; object-fit: cover; background: white;
  border: var(--stroke); border-radius: 18px;
}

.band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: calc(50vw - min(var(--max), 100vw) / 2 + 16px);
  padding-right: calc(50vw - min(var(--max), 100vw) / 2 + 16px);
  padding-top: 42px;
  padding-bottom: 28px;
}
.band-peach { background: #ffe0bf; }
.band-sky { background: #c9f4ff; }
.band-lilac { background: #ead7ff; }
.band-coral { background: #ffd0e4; }
.band-night {
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(125, 255, 224, 0.25), transparent 70%),
    #1a1040;
  color: #fff;
}
.band-night .section-lead, .band-night .fine, .band-night figcaption { color: #efe6ff; }
.band-night .eyebrow { color: #7dffe0; }
.contents, .pack, .feature, .tile, .demo, .pin-card img { color: var(--ink); }

.contents { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contents li {
  background: var(--white); border: var(--stroke); border-radius: 16px; padding: 10px 12px;
  box-shadow: 4px 4px 0 #ff4f9a;
}
.contents strong { display: block; }
.contents span { display: block; color: var(--soft); font-size: 0.95rem; font-weight: 600; }
.pin-card { margin: 18px 0 0; }
.pin-card img { border-radius: 24px; border: var(--stroke); box-shadow: var(--pop); background: white; }

.demo {
  display: grid; gap: 14px; background: var(--white); border: var(--stroke); border-radius: 28px;
  padding: 14px; box-shadow: 8px 8px 0 #1a1230;
}
.page-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.page-picks .btn { padding: 10px 6px; box-shadow: 3px 3px 0 var(--ink); }
.palette { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  width: 48px; height: 48px; border-radius: 50%; border: var(--stroke);
  background: var(--c); padding: 0; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
}
.chip[aria-pressed="true"] { outline: 3px solid #ffe14a; outline-offset: 2px; }
.stage {
  background: white; border-radius: 20px; border: var(--stroke);
  display: grid; place-items: center; min-height: 280px;
}
canvas.sheet { width: min(100%, 520px); height: auto; touch-action: manipulation; cursor: crosshair; background: white; }

.cards { display: grid; gap: 14px; }
.tile {
  margin: 0; padding: 0 0 12px; text-decoration: none; display: block; background: white;
  border: var(--stroke); border-radius: 22px; box-shadow: var(--pop); overflow: hidden;
}
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--top, #fff4fb); padding: 10px; }
.tile span { display: block; text-align: center; font-weight: 700; margin-top: 8px; }
.top-animals { --top: #ffd0ea; }
.top-birds { --top: #b8fff0; }
.top-space { --top: #d9d0ff; }
.top-ocean { --top: #bfe7ff; }
.top-food { --top: #ffe0a8; }
.top-nature { --top: #c8f5c4; }
.cards.free .tile:nth-child(6n+1) { --top: #ffd0ea; }
.cards.free .tile:nth-child(6n+2) { --top: #b8fff0; }
.cards.free .tile:nth-child(6n+3) { --top: #d9d0ff; }
.cards.free .tile:nth-child(6n+4) { --top: #bfe7ff; }
.cards.free .tile:nth-child(6n+5) { --top: #ffe0a8; }
.cards.free .tile:nth-child(6n+6) { --top: #c8f5c4; }

.pack, .feature {
  background: white; border: var(--stroke); border-radius: 22px; padding: 18px;
  box-shadow: var(--pop); color: var(--ink);
}
.pack { display: flex; flex-direction: column; gap: 8px; }
.pack p, .feature p { margin: 6px 0 0; color: var(--soft); font-weight: 600; }
.pack .actions { margin-top: auto; }
.pack-price { font-size: 2.2rem; margin: 0; letter-spacing: -0.04em; }
.feature-grid, .phones { display: grid; gap: 14px; }
.phone { margin: 0; text-align: center; color: #efe6ff; }
.bezel {
  width: min(270px, 100%); margin: 0 auto 10px; background: #120a24; border-radius: 36px;
  padding: 12px; border: var(--stroke); box-shadow: 8px 8px 0 #ff4f9a;
}
.screen { background: #fff7fb; border-radius: 26px; overflow: hidden; text-align: left; min-height: 420px; color: var(--ink); }
.screen-bar {
  background: linear-gradient(100deg, #5b21b6, #ff4f9a); color: white;
  font-weight: 700; padding: 16px 14px 12px;
}
.screen-bar small { display: block; font-weight: 700; font-size: 0.78rem; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.mini { background: white; border-radius: 16px; padding: 6px; text-align: center; font-size: 0.85rem; border: 2px solid var(--ink); }
.mini img, .screen-hero img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.screen-hero { padding: 12px; }
.dots { display: flex; gap: 6px; justify-content: center; padding: 4px 8px 14px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); display: block; border: 2px solid var(--ink); }

.site-footer { padding: 28px 0 48px; color: var(--soft); }
.foot {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between;
  border-top: var(--stroke); padding-top: 18px;
}
.foot a { font-weight: 700; }
.prose, .page-copy {
  max-width: 760px; background: white; border: var(--stroke); border-radius: 28px;
  box-shadow: var(--pop); padding: 22px; margin-top: 18px; margin-bottom: 18px;
}
.prose h1, .page-copy h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); }
.prose h2 { font-size: 1.45rem; margin: 1.2em 0 0.3em; }
.prose p, .prose li, .page-copy p { color: var(--soft); }
.page-copy img.art {
  width: min(100%, 560px); background: #ead7ff; border: var(--stroke); border-radius: 24px;
  display: block; padding: 12px;
}

@media (min-width: 720px) {
  .cards.free { grid-template-columns: 1fr 1fr; }
  .contents { grid-template-columns: 1fr 1fr; }
  .phones, .feature-grid, .cards.venues { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 0.92fr 1.08fr; gap: 28px; }
  .cards.free { grid-template-columns: repeat(4, 1fr); }
  .demo { grid-template-columns: 250px 1fr; align-items: center; padding: 18px; }
  .split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: start; }
  .collage { min-height: 460px; }
  .card-front { margin-top: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  .spark-a, .card-back { animation: floaty 5.5s ease-in-out infinite; }
  .spark-b, .card-mid { animation: floaty 6.5s ease-in-out infinite reverse; }
  .marquee-track { animation: ticker 28s linear infinite; }
  .btn:hover { transform: translateY(-3px); }
  .tile:hover { transform: translateY(-4px) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spark, .card-back, .card-mid, .card-front { animation: none; }
}
@keyframes floaty {
  50% { translate: 0 -8px; }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@media (max-width: 719px) {
  .nav a { padding: 8px 7px; font-size: 0.95rem; }
  .card-back, .card-mid { width: 38%; }
  .spark { display: none; }
}
