:root {
  --bg: #fff5f0;
  --surface: #ffffff;
  --surface-soft: #ffeadf;
  --text: #3d2a20;
  --text-strong: #1a1200;
  --muted: #8a6f63;
  --border: #f3e4dc;
  --accent: #ff6b2b;
  --pink: #ff3d8b;
  --purple: #5b0fd6;
  --gradient: linear-gradient(120deg, #ff6b2b 0%, #ff3d8b 100%);
  --hero-glow: radial-gradient(60% 60% at 70% 30%, rgba(255, 61, 139, 0.18), transparent 70%);
  --shadow: 0 18px 50px rgba(120, 50, 20, 0.12);
  --radius: 22px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0710;
    --surface: #1d1128;
    --surface-soft: #2a1733;
    --text: #e9dff0;
    --text-strong: #ffffff;
    --muted: #b3a2c0;
    --border: #2a1f35;
    --hero-glow: radial-gradient(60% 60% at 70% 30%, rgba(255, 61, 139, 0.25), transparent 70%);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--text-strong); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
  border: 0;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 26px rgba(255, 61, 139, 0.3); }
.btn-ghost { background: var(--surface); color: var(--text-strong); border: 1px solid var(--border); }

/* Hero */
.hero { background: var(--hero-glow); padding-block: 72px 48px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-block;
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; color: var(--text-strong); margin: 18px 0 16px; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Phone mockups */
.phone {
  width: 100%;
  max-width: 290px;
  border-radius: 38px;
  padding: 9px;
  background: #1a1020;
  box-shadow: var(--shadow);
}
.phone img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 480 / 1073; object-fit: cover; }
.hero-phones { position: relative; display: flex; justify-content: center; }
.hero-phones .phone:first-child { transform: rotate(-4deg); }
.hero-phones .phone.back { position: absolute; right: -8%; top: 36px; max-width: 250px; transform: rotate(6deg); opacity: 0.95; z-index: -1; }

/* Sections */
section { padding-block: 72px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); color: var(--text-strong); margin: 12px 0 10px; line-height: 1.15; font-weight: 900; }
.section-head p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--surface-soft);
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; color: var(--text-strong); font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 26px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; justify-items: center; }
.gallery figure { margin: 0; text-align: center; }
.gallery figcaption { margin-top: 14px; font-weight: 800; color: var(--text-strong); }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--text-strong); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.contact {
  background: var(--gradient);
  color: #fff;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
}
.contact h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); font-weight: 900; }
.contact p { margin: 0 0 22px; opacity: 0.92; }
.contact .btn { background: #fff; color: #d4235f; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 28px; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--text-strong); }

/* Legal pages */
.legal { padding-block: 48px 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); color: var(--text-strong); margin: 0 0 6px; font-weight: 900; line-height: 1.1; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }
.legal .summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.legal .summary p { margin: 0; }
.legal h2 { font-size: 22px; color: var(--text-strong); margin: 40px 0 10px; scroll-margin-top: 90px; }
.legal h3 { font-size: 17px; color: var(--text-strong); margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; }
.legal .toc strong { color: var(--text-strong); }
.legal .toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal .toc li { margin-bottom: 4px; break-inside: avoid; }
.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal th { color: var(--text-strong); background: var(--surface-soft); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-phones .phone.back { display: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero { padding-block: 44px 32px; }
  section { padding-block: 52px; }
  .features, .steps { grid-template-columns: 1fr; }
  .gallery { gap: 16px; }
  .legal .toc ol { columns: 1; }
}
