:root {
  --bg: #170d2b;
  --bg-2: #22123d;
  --panel: #2b1850;
  --ink: #fff8ec;
  --ink-dim: #d9cdea;
  --gold: #ffd166;
  --pink: #ff5c8a;
  --pink-2: #ff8fb1;
  --line: #fff3d6;
  --shadow: #0b0616;
  --ok: #7ee0a1;
  --pixel: "Jersey 10", system-ui, sans-serif;
  --title: "Press Start 2P", monospace;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* pixel panel: hard border + offset shadow */
.panel {
  background: var(--panel);
  border: 4px solid var(--line);
  box-shadow: 0 0 0 4px var(--shadow), 8px 8px 0 4px rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #2a1640;
  background: var(--gold);
  border: 4px solid var(--shadow);
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 16px 26px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--shadow); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn.pink { background: var(--pink-2); }

/* header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
}
.brand { font-family: var(--title); font-size: 12px; color: var(--ink); text-decoration: none; text-shadow: 3px 3px 0 var(--shadow); }
.brand b { color: var(--gold); font-weight: 400; }
.top .btn { font-size: 22px; padding: 10px 14px 8px; box-shadow: 4px 4px 0 var(--shadow); }

/* hero */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; align-items: flex-start;
  background: #2a1260 url("img/hero.webp") center bottom / cover no-repeat;
  image-rendering: pixelated;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23, 13, 43, 0.15) 0%, rgba(23, 13, 43, 0) 45%, rgba(23, 13, 43, 0.85) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 40px; text-align: center; }
.hero h1 {
  font-family: var(--title);
  font-size: clamp(22px, 5.6vw, 44px);
  line-height: 1.45;
  margin: 0 auto 18px;
  max-width: 18ch;
  text-shadow: 4px 4px 0 var(--shadow);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  font-family: var(--pixel);
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.1;
  max-width: 26ch;
  margin: 0 auto 26px;
  text-shadow: 3px 3px 0 var(--shadow);
}
.hero .ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero .note { font-size: 15px; color: var(--ink-dim); text-shadow: 2px 2px 0 var(--shadow); }

section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
h2 {
  font-family: var(--title);
  font-size: clamp(18px, 4.4vw, 28px);
  line-height: 1.5;
  text-align: center;
  margin: 0 0 12px;
  text-shadow: 3px 3px 0 var(--shadow);
}
.sub { text-align: center; color: var(--ink-dim); max-width: 46ch; margin: 0 auto 34px; }

/* samples */
/* horizontal carousel: swipe on phones, scroll on desktop */
.samples {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 16px 22px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.sample { padding: 0; overflow: hidden; flex: 0 0 min(300px, 78vw); scroll-snap-align: center; margin: 0; }
.swipe-hint { text-align: center; font-family: var(--pixel); font-size: 22px; color: var(--gold); margin: 4px 0 0; }
.sample video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.sample .cap { padding: 12px 14px 14px; font-family: var(--pixel); font-size: 26px; line-height: 1.1; }
.sample .cap small { display: block; font-family: var(--body); font-size: 14px; color: var(--ink-dim); margin-top: 4px; }
.fineprint { text-align: center; font-size: 14px; color: var(--ink-dim); margin-top: 22px; }

/* steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.step { padding: 20px 18px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px;
  font-family: var(--title); font-size: 16px; color: #2a1640; background: var(--gold); border: 3px solid var(--shadow);
}
.step h3 { font-family: var(--pixel); font-size: 28px; font-weight: 400; line-height: 1.05; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 16px; }

/* business jingles */
.perks { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 30px; }
.perk { padding: 20px 18px; }
.perk h3 { font-family: var(--pixel); font-size: 28px; font-weight: 400; line-height: 1.05; margin: 0 0 6px; color: var(--gold); }
.perk p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.center { text-align: center; }
.deadline { text-align: center; font-family: var(--pixel); font-size: 24px; line-height: 1.15; color: var(--pink-2); margin: 18px 0 0; }
.sample .cap .new { display: inline-block; font-family: var(--title); font-size: 9px; background: var(--pink); color: #fff; padding: 4px 6px; margin-right: 8px; vertical-align: middle; }
.lang { color: var(--ink-dim); }

/* plans */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.plan { padding: 24px 22px; display: flex; flex-direction: column; }
.plan .tag { align-self: flex-start; font-family: var(--title); font-size: 10px; background: var(--pink); color: #fff; padding: 6px 8px; margin-bottom: 12px; }
.plan h3 { font-family: var(--pixel); font-size: 34px; font-weight: 400; margin: 0; line-height: 1; }
.plan .price { font-family: var(--title); font-size: 26px; color: var(--gold); margin: 14px 0 6px; }
.plan .price small { display: block; margin-top: 8px; font-family: var(--body); font-size: 14px; color: var(--ink-dim); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 22px; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin: 8px 0; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; background: var(--ok); box-shadow: 2px 2px 0 var(--shadow); }
.plan .btn { text-align: center; }

/* form */
form.order { max-width: 760px; margin: 0 auto; padding: 26px 22px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 800; }
.field .hint { font-size: 14px; color: var(--ink-dim); font-weight: 400; }
.row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #1a0e33;
  border: 3px solid #6b4fa0;
  padding: 12px 12px;
  border-radius: 0;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input.invalid { border-color: var(--pink); }
[hidden] { display: none !important; }
.field.other { margin-top: -6px; }
.field.other label { font-weight: 700; font-size: 15px; color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; padding: 12px 12px 10px; border: 3px solid #6b4fa0; background: #1a0e33;
  font-family: var(--pixel); font-size: 24px; line-height: 1.05;
}
.choice span small { display: block; font-family: var(--body); font-size: 13px; color: var(--ink-dim); margin-top: 3px; }
.choice input:checked + span { border-color: var(--gold); background: #3a2366; box-shadow: 4px 4px 0 var(--shadow); }
.choice input:focus-visible + span { outline: 3px solid var(--pink-2); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.error { display: none; background: #5a1630; border: 3px solid var(--pink); padding: 12px 14px; }
.error.show { display: block; }
.submit { display: grid; gap: 10px; justify-items: center; text-align: center; }
.submit .note { font-size: 14px; color: var(--ink-dim); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { padding: 16px 18px; }
.faq summary { cursor: pointer; font-family: var(--pixel); font-size: 26px; line-height: 1.1; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--gold); }
.faq details[open] summary::before { content: "– "; }
.faq p { margin: 10px 0 0; color: var(--ink-dim); }

footer { padding: 36px 0 48px; text-align: center; color: var(--ink-dim); font-size: 14px; }
footer .brand { font-size: 11px; display: inline-block; margin-bottom: 10px; }

/* simple page (thank-you, privacy) */
.page { min-height: 100svh; display: grid; place-items: center; padding: 40px 16px; }
.page .panel { max-width: 640px; padding: 30px 24px; }
.page h1 { font-family: var(--title); font-size: clamp(18px, 5vw, 26px); line-height: 1.5; margin: 0 0 16px; text-shadow: 3px 3px 0 var(--shadow); }

@media (min-width: 861px) {
  /* wide screens: text on the left, the portrait art as a panel on the right */
  .hero { background: linear-gradient(135deg, #3a1a78 0%, #170d2b 70%); align-items: center; }
  .hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
    background: url("img/hero.webp") center / cover no-repeat; image-rendering: pixelated;
    border-left: 6px solid var(--shadow);
  }
  .hero::after { background: linear-gradient(to bottom, transparent 70%, rgba(23, 13, 43, 0.6) 100%); }
  .hero .wrap { width: 100%; text-align: left; padding-top: 110px; }
  .hero h1, .hero p.lead { margin-left: 0; max-width: 52%; }
  .hero .ctas { align-items: flex-start; max-width: 52%; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .plans, .row, .perks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .choices, .choices.c4, .choices.c3 { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
