:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-2: #0f0f16;
  --card: #14141d;
  --line: #24243a;
  --text: #e9e9f1;
  --muted: #a2a2b5;
  --dim: #6f6f84;
  --violet: #38b6ff;
  --blue: #1f8fff;
  --grad: linear-gradient(135deg, #5ccbff 0%, #1f8fff 100%);
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #6cc8ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(8, 8, 12, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn-sm { color: #fff; }
@media (max-width: 720px) { .nav a.hide-sm { display: none; } .nav { gap: 14px; } }

/* Buttons */
.btn, .btn-sm {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; font-weight: 600; color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover, .btn-sm:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; background: var(--grad); }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  background: #fff; color: #000; min-width: 190px;
}
.store-btn.dark { background: #16161f; color: #fff; border: 1px solid #2c2c40; }
.store-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(56,182,255,.22); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 11px; font-weight: 500; opacity: .75; }
.store-btn b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 900px; z-index: -1;
  background:
    radial-gradient(640px 360px at 50% 18%, rgba(56,182,255,.16), transparent 72%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(56,182,255,.22); margin-bottom: 22px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7fd2ff; margin-bottom: 12px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 18px; color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.meta-row .stars { color: #ffcc4d; letter-spacing: 1px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.hero-phones .phone.back { transform: translateX(-120px) rotate(-6deg) scale(.88); opacity: .75; }
.hero-phones .phone.front { transform: translateX(80px); z-index: 2; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-icon { margin: 0 auto 20px; }
  .lead { margin-left: auto; margin-right: auto; }
  .stores, .meta-row { justify-content: center; }
  .hero-phones { height: 470px; }
  .hero-phones .phone { width: 210px; }
  .hero-phones .phone.back { transform: translateX(-80px) rotate(-6deg) scale(.86); }
  .hero-phones .phone.front { transform: translateX(55px); }
}

/* Phone frame */
.phone {
  border-radius: 38px; padding: 9px; background: #1b1b24;
  box-shadow: 0 0 0 1px #2e2e3e, 0 30px 70px rgba(0,0,0,.55);
}
.phone img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 1179 / 2556; object-fit: cover; object-position: top; background: #000; }
.phone picture { display: block; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; color: #fff; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }

/* Screens strip */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px;
  scrollbar-width: thin; scrollbar-color: #33334a transparent;
}
.strip figure { margin: 0; scroll-snap-align: center; }
.strip figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (min-width: 1100px) { .strip { grid-auto-columns: 180px; gap: 20px; justify-content: safe center; } }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #3a3a5a; transform: translateY(-2px); }
.card h3 { margin: 14px 0 8px; font-size: 18px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(56,182,255,.12);
  border: 1px solid rgba(56,182,255,.3);
}
.ico svg { width: 22px; height: 22px; stroke: #8fd8ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .phone { width: 270px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li b { color: #fff; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; stroke: #5ccbff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .phone { order: -1; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta {
  text-align: center; border-radius: 28px; padding: 56px 24px;
  background:
    radial-gradient(520px 240px at 50% 0%, rgba(56,182,255,.16), transparent 72%),
    #111119;
  border: 1px solid var(--line);
}
.cta img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }
.cta .stores { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer a { color: var(--muted); }
.site-footer .brand { font-size: 17px; }
.site-footer .brand img { width: 28px; height: 28px; border-radius: 7px; }

/* Document pages (privacy, terms, contact) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; color: #fff; }
.doc p, .doc li { color: #cfcfdc; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 30px; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.doc th { color: #fff; }

/* Forms */
form.contact { display: grid; gap: 16px; margin-top: 18px; }
form.contact label { display: block; color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font: inherit;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid rgba(56,182,255,.6); border-color: transparent; }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact button { justify-self: start; border: 0; cursor: pointer; padding: 13px 24px; font: 600 16px/1 inherit; border-radius: 999px; color: #fff; background: var(--grad); }

/* 404 */
.notfound { text-align: center; padding: 120px 20px; }
.notfound .big { font-size: 96px; font-weight: 800; line-height: 1; margin: 0 0 10px; }

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

/* Stats band */
.stats-band { padding: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; text-align: center; }
.stats b { display: block; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Hero brand: icon + wordmark */
.hero-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.hero-brand .hero-icon { margin: 0; }
.hero-logo { height: 58px; width: auto; }
@media (max-width: 900px) { .hero-brand { justify-content: center; } .hero-logo { height: 48px; } }

/* Wordmark in header and footer */
.brand .brand-logo { width: auto; height: 22px; border-radius: 0; }
.site-footer .brand .brand-logo { height: 18px; }

/* Web (lite) button */
.store-btn em { font-style: normal; font-size: 10.5px; font-weight: 500; opacity: .6; margin-top: 1px; letter-spacing: .02em; }
.web-btn { min-width: 150px; }
.hero .store-btn { min-width: 0; padding: 10px 16px 10px 13px; gap: 10px; }
.hero .stores { gap: 10px; }

/* Equal-width store buttons */
.stores { max-width: 600px; }
.stores .store-btn { flex: 0 0 calc((100% - 20px) / 3); min-width: 0; justify-content: flex-start; }
.cta .stores { margin: 0 auto; }
@media (max-width: 600px) {
  .stores { max-width: 400px; margin: 0 auto; justify-content: center; }
  .stores .store-btn { flex-basis: calc((100% - 10px) / 2); }
}
