:root {
  color-scheme: dark;
  --bg: #050507;
  --surface: #0d0d12;
  --surface-2: #13131a;
  --text: #f7f7fa;
  --muted: #a7a7b3;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c3cff;
  --accent-2: #b06cff;
  --danger: #ff334f;
  --success: #4de6a8;
  --radius: 22px;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% -10%, rgba(124, 60, 255, 0.2), transparent 34rem),
    radial-gradient(circle at -10% 45%, rgba(72, 31, 173, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.86);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand img { width: 52px; height: 52px; border-radius: 14px; }

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.hero { padding: 118px 0 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #cab4ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}

h1, h2, h3 { margin-top: 0; line-height: 1.12; }

h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -0.055em; }

.gradient-text {
  background: linear-gradient(105deg, #ffffff 8%, #ceb9ff 52%, #7c3cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p { max-width: 640px; margin: 0 0 34px; color: var(--muted); font-size: 1.12rem; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), #5d20d9);
  color: #fff;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 12px 38px rgba(124, 60, 255, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(124, 60, 255, 0.4); }
.button.secondary { border-color: var(--line); background: var(--surface); box-shadow: none; }

.phone-card {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(176, 108, 255, 0.28);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(124, 60, 255, 0.15), transparent 38%),
    #09090d;
  box-shadow: var(--shadow), 0 0 90px rgba(124, 60, 255, 0.16);
}

.phone-map {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(124, 60, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 60, 255, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(450px) rotateX(54deg) scale(1.6) translateY(14%);
}

.phone-content { position: relative; z-index: 2; padding: 34px; }
.phone-logo { width: 96px; margin-bottom: 60px; border-radius: 24px; }
.phone-card h2 { max-width: 300px; margin-bottom: 14px; font-size: 2.3rem; letter-spacing: -0.04em; }
.phone-card p { max-width: 320px; margin: 0; color: var(--muted); }

.pin {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 7px solid var(--accent-2);
  border-radius: 50% 50% 50% 0;
  background: #070709;
  filter: drop-shadow(0 0 14px rgba(176, 108, 255, 0.75));
  transform: rotate(-45deg);
}

.pin.one { right: 16%; bottom: 25%; }
.pin.two { right: 40%; bottom: 13%; width: 32px; height: 32px; border-width: 5px; }
.pin.three { left: 18%; bottom: 23%; width: 36px; height: 36px; border-width: 6px; }

.section { padding: 88px 0; }
.section.compact { padding: 60px 0 90px; }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.035em; }
.section-head p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}

.feature { min-height: 235px; padding: 28px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border: 1px solid rgba(176,108,255,0.32);
  border-radius: 15px;
  background: rgba(124,60,255,0.12);
  color: #d5c3ff;
  font-size: 1.3rem;
}
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--muted); }

.trust { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 34px; }
.trust h2 { margin-bottom: 10px; font-size: 1.75rem; }
.trust p { max-width: 720px; margin: 0; color: var(--muted); }

.legal-hero { padding: 82px 0 42px; }
.legal-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.legal-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.83rem; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.legal-toc { position: sticky; top: 104px; padding: 20px; }
.legal-toc strong { display: block; margin-bottom: 12px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.legal-toc a:hover { color: var(--text); }

.legal-content { padding: 8px 0 40px; }
.legal-content section { scroll-margin-top: 110px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { margin-bottom: 15px; font-size: 1.55rem; letter-spacing: -0.025em; }
.legal-content h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: #c5c5ce; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: #cbb9ff; }
.legal-content strong { color: var(--text); }

.notice { padding: 20px 22px; border-left: 3px solid var(--accent); background: rgba(124,60,255,0.09); }
.notice p { margin: 0; }

.steps { display: grid; gap: 14px; counter-reset: deletion-step; }
.step { position: relative; padding: 22px 22px 22px 70px; counter-increment: deletion-step; }
.step::before {
  content: counter(deletion-step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(124,60,255,0.18);
  color: #dacbff;
  font-weight: 850;
}
.step h3 { margin: 0 0 5px; }
.step p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: 28px; }
.contact-card h2 { margin-bottom: 10px; font-size: 1.3rem; }
.contact-card p { margin: 0 0 20px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-copy { max-width: 360px; }
.footer-copy p { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { margin: 28px 0 0; color: #70707c; font-size: 0.82rem; }

@media (max-width: 860px) {
  .hero { padding-top: 80px; }
  .hero-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .legal-toc { position: static; display: none; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0b0b10;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { padding: 62px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-card { min-height: 430px; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .trust, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
