@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("fonts/Poppins-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/Anton-Regular.ttf") format("truetype"); }

:root {
  --bg: #0d0e12;
  --bg-2: #15171d;
  --bg-3: #1d2028;
  --line: #2a2e38;
  --text: #f3f4f6;
  --muted: #a3a8b4;
  --dim: #6d7380;
  --accent: #ffe135;
  --accent-ink: #15130a;
  --purple: #8a3ffc;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
code {
  font: 500 0.86em/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 0.1em 0.4em; border-radius: 6px; white-space: nowrap;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 "Poppins", sans-serif; text-decoration: none;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #fff07a; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { padding: 10px 18px; font-size: 14px; background: var(--text); color: var(--bg); }
.btn-small:hover { background: var(--accent); }
.btn-big { padding: 19px 34px; font-size: 18px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 88px;
}
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
h1 {
  font: 400 clamp(52px, 7.4vw, 92px)/0.98 "Anton", Impact, sans-serif;
  text-transform: uppercase; letter-spacing: 0.005em; margin: 0 0 24px;
}
.pop {
  color: var(--accent);
  display: inline-block;
  animation: pop 2.6s cubic-bezier(.34,1.56,.64,1) infinite;
  transform-origin: left 70%;
}
@keyframes pop {
  0%, 62%, 100% { transform: scale(1); }
  70% { transform: scale(1.09); }
  78% { transform: scale(1); }
}
.lede { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { color: var(--dim); font-size: 13.5px; margin: 16px 0 0; }
.fineprint a { color: var(--muted); }

.hero-demo { justify-self: center; text-align: center; }
.phone {
  position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 16;
  border-radius: 34px; overflow: hidden; background: #000;
  border: 7px solid #23262e;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px #33373f, 0 0 120px -30px rgba(255,225,53,.25);
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sound svg { width: 22px; height: 22px; }
.sound .icon-on { display: none; }
.sound.on .icon-on { display: block; }
.sound.on .icon-off { display: none; }
.demo-note { color: var(--dim); font-size: 13px; margin: 14px 0 0; }

/* ---------- sections ---------- */
.section-title { font: 800 clamp(30px, 4vw, 42px)/1.15 "Poppins", sans-serif; letter-spacing: -0.03em; margin: 0 0 12px; }
.section-sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; }

.how { padding-bottom: 96px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.styles-section { background: var(--bg-2); border-block: 1px solid var(--line); padding: 88px 0; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.style-grid figure { margin: 0; }
.style-grid img {
  width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3);
  transition: transform .25s ease;
}
.style-grid figure:hover img { transform: translateY(-4px); }
.style-grid figcaption { font-size: 13px; color: var(--muted); padding: 10px 2px 0; line-height: 1.4; }
.style-grid figcaption b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 96px; margin-bottom: 96px; padding: 0;
}
.feature { background: var(--bg); padding: 28px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { padding-bottom: 96px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 820px; }
.plan {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
}
.plan-free { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 60px -30px rgba(255,225,53,.35); }
.plan-name { font-weight: 800; font-size: 18px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.plan-price { font: 400 48px/1.1 "Anton", Impact, sans-serif; margin: 0 0 18px; }
.plan-price span { font: 500 15px/1 "Poppins", sans-serif; color: var(--muted); margin-left: 4px; }
.plan-pro .plan-price { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: #d6d9df; font-size: 15px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.plan-pro li::before { border-color: var(--dim); }
.plans-note { margin-top: 18px; }

/* ---------- guide ---------- */
.guide-section { border-top: 1px solid var(--line); padding: 88px 0; }
.guide { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.guide-toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); font-weight: 600; margin: 0 0 8px; }
.guide-toc a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.guide-toc a:hover { color: var(--accent); }
.guide-body { max-width: 720px; min-width: 0; }
.guide-body h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  margin: 48px 0 12px; padding-top: 4px;
}
.guide-body ol, .guide-body ul { padding-left: 1.3em; margin: 0 0 16px; }
.guide-body li { margin: 0 0 10px; color: #d6d9df; }
.guide-body li::marker { color: var(--accent); font-weight: 800; }
.guide-body p { color: #d6d9df; }
.guide-body a { color: var(--accent); }
.guide-shot { margin: 8px 0 24px; }
.guide-shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.callout {
  background: color-mix(in srgb, var(--accent) 9%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 12px; padding: 14px 18px; font-size: 15px;
}
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
tr.rec td { color: var(--accent); font-weight: 600; }

/* ---------- faq ---------- */
.faq { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line); max-width: 800px; }
.faq .section-title { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent); font-weight: 500; transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }
details a { color: var(--accent); }

/* ---------- download ---------- */
.download {
  text-align: center; padding-top: 88px; padding-bottom: 104px;
  border-top: 1px solid var(--line); max-width: none;
}
.download h2 { font: 400 clamp(40px, 6vw, 68px)/1 "Anton", Impact, sans-serif; text-transform: uppercase; margin: 0 0 14px; }
.download > p { color: var(--muted); margin: 0 0 30px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 48px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.why h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.02em; }
.why p { color: var(--muted); margin: 0 0 14px; max-width: 38em; }
.x-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  transition: border-color .15s ease, background-color .15s ease;
}
.x-link svg { width: 16px; height: 16px; }
.x-link:hover { border-color: var(--muted); background: var(--bg-3); }
.footer-meta { font-size: 14px; color: var(--dim); }
.footer-meta .logo { display: inline-block; margin-bottom: 12px; color: var(--text); }
.footer-meta p { margin: 0 0 10px; }
.footer-meta a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; gap: 0; }
  .guide-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 32px; }
  .toc-title { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .btn-small { margin-left: auto; }
  .lede { font-size: 16.5px; }
  .cta-row .btn { flex: 1 1 100%; }
  .style-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .how, .features { margin-bottom: 72px; padding-bottom: 0; }
  .features { margin-top: 72px; }
  .styles-section, .guide-section, .faq, .download { padding-top: 64px; padding-bottom: 64px; }
  code { white-space: normal; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  .pop { animation: none; }
  html { scroll-behavior: auto; }
}
