:root {
  --asphalt: #0f1c2e;
  --asphalt-2: #16324a;
  --sky: #3bb4ff;
  --lime: #3ddc84;
  --lime-deep: #22a85a;
  --gold: #ffd23f;
  --ink: #f2f7fb;
  --ink-soft: #9cb6c9;
  --panel: rgba(15, 28, 46, 0.78);
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--asphalt); }
body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(59, 180, 255, 0.28), transparent 60%),
    radial-gradient(700px 420px at 10% 20%, rgba(61, 220, 132, 0.12), transparent 55%),
    linear-gradient(180deg, var(--asphalt-2) 0%, var(--asphalt) 720px);
  min-height: 100vh;
}
h1, h2, h3, .brand, .btn {
  font-family: "Lilita One", "Fredoka", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; margin: 0 0 0.35em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.8em; color: var(--gold); text-align: center; }
h3 { font-size: 1.15rem; margin: 0.2em 0 0.35em; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15, 28, 46, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.35rem;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; font-family: Fredoka, system-ui, sans-serif; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 48px 0 56px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: center / cover no-repeat url("hero-bg.jpg");
  filter: saturate(1.05) brightness(0.55);
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,28,46,0.35) 0%, rgba(15,28,46,0.55) 45%, rgba(15,28,46,0.95) 100%);
}
@keyframes heroDrift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.08) translateY(-1.5%); } }

.hero .wrap {
  display: grid; gap: 36px; align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}
.hero-copy { animation: rise 0.8s ease both; }
.hero-phone { animation: rise 1s ease 0.12s both; justify-self: end; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.logo { width: min(420px, 92%); height: auto; display: block; margin-bottom: 8px; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; margin: 0 0 1.2em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime); color: #072214; border: 0; border-radius: 16px;
  padding: 14px 22px; text-decoration: none; font-size: 1.15rem;
  box-shadow: 0 8px 0 var(--lime-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--lime-deep); color: #072214; }
.btn:active { transform: translateY(3px); box-shadow: 0 4px 0 var(--lime-deep); }
.btn.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.28); }
.btn.secondary:hover { background: rgba(255,255,255,0.06); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45); }
.btn small { display: block; font-size: 0.7rem; font-family: Fredoka, system-ui, sans-serif; font-weight: 600; opacity: 0.85; line-height: 1; }
.btn span { display: block; line-height: 1.15; text-align: left; }
.note { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.phone {
  width: min(300px, 72vw);
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  background: #000;
  animation: floatY 5.5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone img { display: block; width: 100%; height: auto; }

.section { padding: 72px 0 24px; }
.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 8px;
}
.feature {
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid rgba(59,180,255,0.18);
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.feature .tag {
  display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px;
  background: rgba(61,220,132,0.15); color: var(--lime); font-size: 0.78rem; font-weight: 700;
}

.shots {
  display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 28px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots .phone { flex: 0 0 auto; scroll-snap-align: center; animation: none; }

.site-footer {
  margin-top: 64px; padding: 36px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--ink-soft); font-size: 0.92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.doc { max-width: 760px; margin: 40px auto 80px; }
.doc .updated { color: var(--ink-soft); }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1em 0; }
.doc th, .doc td { border: 1px solid rgba(255,255,255,0.12); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: rgba(255,255,255,0.05); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc details { background: var(--panel); border-radius: 14px; padding: 12px 16px; margin: 10px 0; border: 1px solid rgba(255,255,255,0.08); }
.doc summary { cursor: pointer; font-weight: 700; color: var(--gold); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phone { justify-self: center; }
  .lead { max-width: none; }
  .nav a:not([aria-current]) { display: none; }
  .nav a[href*="support"], .nav a[href*="privacy"] { display: inline; }
}
