:root {
  --ink: #140c1c;
  --ink-2: #1a1024;
  --plum: #2a1540;
  --paper: #f7f0e6;
  --cream: #fff6e9;
  --muted: #8a6070;
  --text: #2a1520;
  --yellow: #f2d23a;
  --yellow-2: #ffe36a;
  --pink: #ff4f86;
  --purple: #8e4ec6;
  --line: rgba(42, 21, 32, 0.12);
  --shadow: 0 18px 50px rgba(10, 4, 16, 0.35);
  --radius: 22px;
  --header-h: 4.25rem;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #120a18;
    --cream: #1a1024;
    --text: #f7f0e6;
    --muted: #c9a3b0;
    --line: rgba(247, 240, 230, 0.12);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}
@font-face {
  font-family: "Lilita One";
  src: url("/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  min-height: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display {
  font-family: "Lilita One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Buttons */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--yellow);
  color: #140c1c;
  font-family: "Lilita One", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  min-height: 2.85rem;
  box-shadow: 0 0 0 3px #140c1c, 0 8px 0 #c49a10;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-play:hover { background: var(--yellow-2); transform: translateY(-2px); }
.btn-play:active { transform: translateY(2px); box-shadow: 0 0 0 3px #140c1c, 0 2px 0 #c49a10; }
.btn-play::after { content: "→"; font-size: 1.2rem; }
.btn-play--lg {
  font-size: 1.55rem;
  min-height: 3.6rem;
  padding: 0.95rem 1.8rem;
  box-shadow: 0 0 0 4px #140c1c, 0 10px 0 #c49a10;
}
.btn-play--lg:active { box-shadow: 0 0 0 4px #140c1c, 0 3px 0 #c49a10; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--ink-2) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 246, 233, 0.08);
  color: #fff6e9;
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff6e9;
  min-width: 0;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-name { font-family: "Lilita One", Georgia, serif; font-size: 1.15rem; white-space: nowrap; }
.badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--purple);
  color: #fff6e9;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge:hover { filter: brightness(1.08); }
.header-play { margin-left: auto; flex-shrink: 0; }
@media (max-width: 520px) {
  .brand-name { font-size: 0.95rem; }
  .header-badge { display: none; }
  .btn-play { font-size: 1rem; padding: 0.62rem 1rem; }
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 10% -10%, #3a1848 0%, transparent 60%),
    radial-gradient(700px 420px at 100% 0%, #4a1a5a 0%, transparent 55%),
    var(--ink-2);
  color: #fff6e9;
  padding: 1.15rem 0 2.8rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: start; }
  .hero-copy { padding-top: 0.4rem; }
}
.hero h1 {
  font-size: clamp(3rem, 7.5vw, 5.1rem);
  margin: 0.5rem 0 0.65rem;
}
.hero h1 span { display: block; color: var(--yellow); }
.hero .lede {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  max-width: 28rem;
  margin: 0 0 0.7rem;
}
.hero .desc {
  color: #d9c2a3;
  max-width: 32rem;
  margin: 1rem 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem; margin: 1.05rem 0 0; }
@media (max-width: 700px) {
  .hero-actions .btn-play--lg { width: 100%; }
}
.hero-note { color: #d9c2a3; font-size: 0.95rem; }

/* Phone mockup */
.device {
  width: min(100%, 280px);
  margin: 0 auto;
  background: #fff6e9;
  border-radius: 2rem;
  padding: 0.55rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(-2.5deg);
  animation: floaty 5.5s ease-in-out infinite;
}
.device img { border-radius: 1.55rem; width: 100%; height: auto; }
@keyframes floaty {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device, .btn-play { animation: none; transition: none; }
}

/* Sections */
section { padding: 3.5rem 0; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.section-lead { color: var(--muted); max-width: 38rem; margin-bottom: 1.8rem; }
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}
.step-num {
  font-family: "Lilita One", Georgia, serif;
  color: var(--pink);
  font-size: 1.7rem;
}
.step h3 { font-size: 1.55rem; margin: 0.15rem 0 0.4rem; }

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
figure { margin: 0; }
.shot {
  background: var(--ink-2);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.shot img { width: 100%; aspect-ratio: 390 / 720; object-fit: cover; object-position: top; }
.shot.wide img { aspect-ratio: 16 / 10; object-position: center; }
@media (min-width: 700px) {
  .shot.wide { grid-column: span 2; }
}
figcaption {
  padding: 0.7rem 0.85rem 0.9rem;
  color: #f7f0e6;
  font-size: 0.92rem;
  font-weight: 700;
  background: #1a1024;
}

.haulgem {
  background: var(--ink-2);
  color: #fff6e9;
}
.haulgem a.brand-link { color: var(--yellow); font-weight: 800; text-decoration: none; }
.haulgem a.brand-link:hover { text-decoration: underline; }
.haulgem .section-lead { color: #d9c2a3; }
.haulgem-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  background: #241833;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255,246,233,0.08);
}
.haulgem-card p { margin: 0; max-width: 40rem; }

.cta-end {
  background:
    radial-gradient(600px 280px at 80% 0%, #4a1a5a 0%, transparent 60%),
    var(--ink);
  color: #fff6e9;
  text-align: center;
  padding: 4rem 0;
}
.cta-end h2 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin-bottom: 0.7rem; }
.cta-end p { color: #d9c2a3; margin: 0 0 1.4rem; }

.site-footer {
  background: #0d0812;
  color: #d9c2a3;
  padding: 2rem 0 2.4rem;
  font-size: 0.95rem;
}
.site-footer a { color: #fff6e9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
.copyright { margin: 0.8rem 0 0; }
.copyright a { color: var(--yellow); font-weight: 800; }

/* Legal pages */
.legal { padding: 2.5rem 0 4rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 0.5rem; }
.legal .meta { color: var(--muted); margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.6rem; margin: 1.8rem 0 0.5rem; }
.legal p, .legal li { max-width: 44rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: #6c2bd9; font-weight: 800; }
@media (prefers-color-scheme: dark) {
  .legal a { color: var(--yellow); }
}
