:root {
  color-scheme: light dark;
  --background: #f1f2f5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #17191f;
  --muted: #5f6470;
  --line: rgba(35, 38, 46, 0.12);
  --purple: #6a56bf;
  --purple-dark: #50409a;
  --coral: #dc7d80;
  --gold: #deb963;
  --shadow: 0 22px 55px rgba(30, 33, 42, 0.09);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 3%, rgba(220, 125, 128, 0.16), transparent 25rem),
    radial-gradient(circle at 88% 2%, rgba(222, 185, 99, 0.19), transparent 28rem),
    var(--background);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--purple); }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(35, 38, 46, 0.16);
}

nav { display: flex; gap: 6px; }

nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--text);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 96px);
  min-height: 620px;
  padding: 64px clamp(24px, 5vw, 64px);
}

.hero-icon {
  width: 100%;
  height: auto;
  border-radius: 23%;
  box-shadow: 0 36px 70px rgba(39, 40, 50, 0.22);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 { line-height: 1.12; letter-spacing: -0.035em; }

h1 {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 2.5vw, 1.9rem); }

p { margin: 0 0 1.2em; }

.intro {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary { color: white; background: var(--purple); box-shadow: 0 10px 25px rgba(106, 86, 191, 0.28); }
.button.primary:hover { color: white; background: var(--purple-dark); }
.button.secondary { color: var(--text); border: 1px solid var(--line); background: var(--surface); }

.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 80px;
}

.support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.privacy-callout,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.card { padding: 30px; }
.card p { margin-bottom: 0; color: var(--muted); }
.feature-symbol { display: block; margin-bottom: 20px; color: var(--purple); font-size: 2rem; }

.privacy-callout,
.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 44px;
  margin: 0 0 80px;
  padding: clamp(30px, 6vw, 64px);
}

.privacy-callout p:last-child,
.contact-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }

.document {
  max-width: 880px;
  padding: 88px 0;
}

.document > h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.document > .intro { margin-bottom: 60px; }

.document > section:not(.support-grid):not(.contact-card) {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.document ul { padding-left: 1.3em; }
.document li { margin: 0.35em 0; }
.document section p:last-child { margin-bottom: 0; }
.contact-card { grid-template-columns: 1fr auto; margin-top: 50px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0; }
footer div { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .brand span { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 10px 80px; text-align: center; }
  .hero-icon { width: 150px; margin: auto; }
  .hero .intro { margin-inline: auto; }
  .actions { justify-content: center; }
  .feature-grid,
  .support-grid { grid-template-columns: 1fr; }
  .privacy-callout,
  .contact-card { grid-template-columns: 1fr; gap: 16px; }
  .document { padding: 58px 0; }
  footer { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #17191e;
    --surface: rgba(41, 44, 53, 0.78);
    --surface-strong: #292c35;
    --text: #f4f2ee;
    --muted: #b9bac1;
    --line: rgba(255, 255, 255, 0.11);
    --purple: #9a86ee;
    --purple-dark: #c1b6f2;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  }
}

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