:root {
  --bg: #120c1f;
  --bg-2: #1b1230;
  --surface: #241839;
  --surface-2: #2e2048;
  --line: #3d2d5c;
  --text: #f5efff;
  --muted: #b9a9d6;
  --orange: #ff8a2a;
  --orange-2: #ffb35c;
  --lime: #a8e63a;
  --violet: #9b6bff;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(155, 107, 255, .25), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 138, 42, .12), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(18, 12, 31, .75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61, 45, 92, .6);
}
.nav nav { display: flex; align-items: center; gap: 1.6rem; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--text); }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.logo-mark { color: var(--orange); font-size: 1.1rem; filter: drop-shadow(0 0 8px rgba(255, 138, 42, .8)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem var(--body); text-decoration: none;
  color: #1a0f00; background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 10px 30px -10px rgba(255, 138, 42, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255, 138, 42, .9); }
.btn:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--orange); box-shadow: none; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--lime); margin: 0 0 1rem; }
.glow { color: var(--orange); text-shadow: 0 0 40px rgba(255, 138, 42, .55); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; height: auto; max-height: 78vh;
  border-radius: 28px; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 62%;
  box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 80px -10px rgba(155, 107, 255, .45);
  transform: rotate(1.5deg);
}

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: .9rem 0; }
.ticker-track { display: flex; gap: 2rem; width: max-content; animation: scroll 30s linear infinite; font-family: var(--display); font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.ticker-track span:nth-child(even) { color: var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-6px) rotate(-.5deg); border-color: var(--orange); }
.card-img { background: #e9e6ea; aspect-ratio: 1; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card-body p { color: var(--muted); margin: 0 0 .8rem; font-size: .95rem; }
.tag { align-self: flex-start; margin-top: auto; font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag-hot { background: rgba(168, 230, 58, .12); color: var(--lime); border-color: rgba(168, 230, 58, .35); }
.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-img { aspect-ratio: auto; flex: 1.4; min-height: 260px; }
.card-wide .card-img img { object-position: center; }
.card-wide .card-body { flex: 1; justify-content: center; padding: 2rem; }

/* How */
.steps { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 1rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #1a0f00; background: var(--lime); }
.real-photo { margin: 0; }
.real-photo img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.real-photo figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }

/* SMS */
.texts-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(255, 138, 42, .18), transparent 70%), var(--surface);
  border: 1px solid var(--line); border-radius: 32px; padding: clamp(1.5rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}
.texts-copy p { color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.perks li { padding-left: 1.8rem; position: relative; }
.perks li::before { content: "✦"; position: absolute; left: 0; color: var(--orange); }
.sms-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.sms-form label[for="phone"] { font-weight: 600; display: block; margin-bottom: .4rem; }
.phone-row { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.phone-row:focus-within { border-color: var(--orange); }
.cc { display: grid; place-items: center; padding: 0 .9rem; color: var(--muted); border-right: 1px solid var(--line); font-weight: 600; }
.phone-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 500 1.1rem var(--body); padding: .85rem .9rem; }
.phone-row input:focus-visible { outline: none; }
.hint { color: var(--muted); font-size: .8rem; margin: .4rem 0 1.2rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; margin-bottom: 1.4rem; }
.consent input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--orange); cursor: pointer; }
.consent label { font-size: .82rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: .95rem; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff8080; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.4rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3rem clamp(1rem, 4vw, 3rem) 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer > .small { max-width: 1200px; margin: 0 auto; }

/* Legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal p, .legal li { color: #ddd2f0; }
.legal .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 1rem 1.2rem; }

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

@media (max-width: 960px) {
  .hero, .texts-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .texts-inner { padding: 1.25rem; border-radius: 24px; }
  .sms-form { padding: 1.25rem; }
  .card-body { padding: 1rem; }
  .card-body p { font-size: .88rem; }
  .card-wide { flex-direction: column; }
  .card-wide .card-img { min-height: 180px; }
  .card-wide .card-body { padding: 1.2rem; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
}
