:root {
  --bg: #140e2b;
  --bg-2: #1d1442;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1ecff;
  --muted: #a99fd0;
  --accent: #6b4fe8;
  --accent-2: #8a6cff;
  --candle: #f0b45a;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 70% -10%, #3a2a7a 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(240, 180, 90, 0.12) 0%, transparent 60%);
  background-attachment: fixed;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); }
a:hover { color: var(--candle); }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding: 48px 0 72px;
}
.eyebrow { color: var(--candle); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 20px; margin: 0 0 30px; max-width: 34ch; }

.button {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 30px rgba(107, 79, 232, 0.45);
  transition: transform 0.15s, background 0.15s;
}
.button:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

.hero-shots { display: flex; justify-content: center; align-items: center; gap: 0; }
.phone {
  width: 100%; height: auto; border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: var(--bg-2);
}
.hero-shots .phone { max-width: 250px; }
.hero-shots .phone:first-child { transform: rotate(-4deg) translateX(18px); }
.hero-shots .phone:last-child { transform: rotate(4deg) translate(-18px, 24px); }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 36px; max-width: 56ch; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Promise */
.promise { background: linear-gradient(135deg, rgba(107, 79, 232, 0.22), rgba(240, 180, 90, 0.1)); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.promise ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.promise li { padding-left: 28px; position: relative; }
.promise li::before { content: "✦"; position: absolute; left: 0; color: var(--candle); }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery img { flex: 0 0 auto; width: 230px; scroll-snap-align: start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 48px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 24px 0 40px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 44px; }
.legal h3 { font-size: 18px; margin-top: 28px; color: var(--candle); }
.legal .meta { color: var(--muted); margin: 0 0 28px; }
.legal .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.legal .summary ul { margin: 8px 0 0; padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--candle); font-weight: 600; }
.table-scroll { overflow-x: auto; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 32px; }
  .hero-shots .phone { max-width: 170px; }
  .features { grid-template-columns: 1fr; }
  .promise { padding: 26px; }
  .promise ul { grid-template-columns: 1fr; }
  .site-header nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
