:root {
  --bg: #07060f;
  --bg2: #120d26;
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.10);
  --text: #f4f2fa;
  --muted: #b7b2c9;
  --accent: #fa9e33;
  --charge: #5cd99e;
  --climb: #8c8cff;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(140,140,255,0.18), transparent 60%),
                    radial-gradient(900px 500px at -10% 10%, rgba(250,158,51,0.15), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.grad { background: linear-gradient(90deg, #ffd08a, var(--accent) 45%, var(--climb)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7,6,15,0.72); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
nav.top .brand { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; }
nav.top .brand img { width: 30px; height: 30px; border-radius: 8px; }
nav.top .links { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
nav.top .links a { color: var(--muted); text-decoration: none; }
nav.top .links a:hover { color: var(--text); }
@media (max-width: 640px) { nav.top .links a.hide-sm { display: none; } }

/* app store button */
.appstore { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; text-decoration: none;
  border-radius: 14px; padding: 10px 18px 10px 14px; font-weight: 600; min-height: 56px; }
.appstore svg { width: 26px; height: 26px; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.1; }
.appstore .as-small { font-size: 11px; font-weight: 500; }
.appstore .as-big { font-size: 20px; letter-spacing: -0.01em; }
.appstore.soon { background: rgba(255,255,255,0.12); color: var(--text); cursor: default; border: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px;
  background: var(--accent); color: #111; font-weight: 700; text-decoration: none; border: 0; font-size: 17px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 64px 0 40px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
.phone { border-radius: 38px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,0.03); background: #000; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone { width: min(46%, 280px); }
.phones .phone:nth-child(2) { margin-top: 48px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { font-size: 30px; margin-bottom: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.split .phone { max-width: 320px; margin: 0 auto; }

.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sign { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.sign .sym { font-size: 30px; }
.sign h3 { font-size: 18px; margin: 6px 0 6px; }
.sign p { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.sign .lucky { font-size: 13px; color: var(--accent); }

.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 20px; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
@media (max-width: 640px) { .price { grid-template-columns: 1fr; } }
.price .card.best { border-color: var(--accent); background: rgba(250,158,51,0.10); }
.price .amount { font-size: 40px; font-weight: 800; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; background: var(--accent); color: #111; padding: 3px 9px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 44px; }
.prose li { margin-bottom: 8px; }
.cite { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; margin: 10px 0 20px; }
.note { background: rgba(250,158,51,0.10); border: 1px solid rgba(250,158,51,0.35); border-radius: 16px; padding: 16px 20px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer a { color: var(--muted); }
footer .sp { margin-left: auto; }

/* quiz */
.quiz { max-width: 640px; }
.q { display: none; }
.q.on { display: block; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt { text-align: left; background: var(--card); border: 1px solid var(--line); color: var(--text); padding: 16px 18px; border-radius: 16px; font-size: 17px; cursor: pointer; }
.opt:hover, .opt:focus-visible { border-color: var(--accent); outline: none; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.result { display: none; }
.result.on { display: block; }
.result .big { font-size: 64px; }
