:root {
  --bg: #0e0f13;
  --surface: #17191f;
  --surface2: #20232b;
  --border: #2a2e38;
  --text: #f4f5f7;
  --dim: #9aa0ad;
  --muted: #646b7a;
  --accent: #ffc83d;
  --accent-text: #1a1400;
  --green: #3ddc97;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 15, 19, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: none; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.nav-links + .langs { margin-left: 0; }
.langs a, .langs button {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--dim);
  background: none; border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer; text-decoration: none;
}
.langs [aria-current], .langs [aria-pressed='true'] { background: var(--accent); color: var(--accent-text); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-md);
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface2); color: var(--text); border-color: var(--border); }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: 0.7; line-height: 1.1; }
.btn .store { text-align: left; line-height: 1.2; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 96px; } .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--accent);
  background: rgba(255, 200, 61, 0.1); border: 1px solid rgba(255, 200, 61, 0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(36px, 6.4vw, 64px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--dim); font-size: clamp(17px, 2vw, 19px); margin: 20px 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* phone mockup */
.phone {
  width: min(320px, 86vw); margin: 0 auto; aspect-ratio: 9 / 19;
  background: var(--bg); border: 10px solid #23262e; border-radius: 46px;
  box-shadow: 0 40px 120px rgba(255, 200, 61, 0.12), 0 0 0 1px #33373f;
  padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; position: relative;
}
.phone::before { content: ''; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: #000; border-radius: 99px; }
.ph-top { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; }
.ph-top img { width: 26px; height: 26px; border-radius: 7px; }
.ph-search { background: var(--surface2); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.ph-card { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); flex: none; }
.ph-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; height: auto; }
.ph-card div { padding: 9px 12px 11px; }
.ph-card b { display: block; font-size: 13px; }
.ph-card span { font-size: 11px; color: var(--dim); }
.ph-card i { font-style: normal; color: var(--accent); font-weight: 800; font-size: 12px; float: right; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--border); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.sec-head p { color: var(--dim); font-size: 18px; margin: 14px 0 0; }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: var(--accent-text); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--dim); margin: 0; }

.split { display: grid; gap: 16px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; }
.panel h3 { font-size: 24px; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--dim); }
.checks li::before { content: '✓'; color: var(--green); font-weight: 800; flex: none; }
.fees { display: flex; gap: 12px; flex-wrap: wrap; }
.fee { flex: 1 1 140px; background: var(--surface2); border-radius: var(--r-md); padding: 16px; }
.fee b { display: block; font-size: 32px; color: var(--accent); line-height: 1.1; }
.fee span { color: var(--dim); font-size: 14px; }

.events { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .events { grid-template-columns: repeat(3, 1fr); } }
.ev { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface2); }
.ev img { width: 100%; height: 100%; object-fit: cover; }
.ev span {
  position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; font-weight: 800;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.trust { display: grid; gap: 16px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust div { padding: 4px 0; }
.trust h3 { font-size: 18px; margin-bottom: 8px; }
.trust p { color: var(--dim); margin: 0; }
.trust .ic { font-size: 26px; margin-bottom: 12px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--dim); margin: 0 0 18px; }

.final { text-align: center; }
.final .panel { padding: 48px 24px; background: linear-gradient(160deg, #241f10, var(--surface) 60%); }
.final img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 20px; }
.final h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.final p { color: var(--dim); margin: 12px auto 28px; max-width: 30em; }
.final .cta-row { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .sp { flex: 1; }
.credits { margin-top: 16px; font-size: 12px; }

/* legal pages */
.legal .nav-in { flex-wrap: wrap; }
.legal-nav { display: flex; gap: 16px; margin-left: auto; }
.legal-nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14px; }
.legal-nav [aria-current] { color: var(--accent); }
.legal-nav + .langs { margin-left: 0; }
@media (max-width: 560px) { .legal-nav { display: none; } .legal-nav + .langs { margin-left: auto; } }
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 16px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { color: #c9cdd6; }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }

.final .tg-note { margin: 28px auto 12px; font-size: 15px; }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg:hover { filter: brightness(1.08); }
