:root {
  color-scheme: dark;
  --bg: #070b17;
  --surface: rgba(20, 28, 51, 0.8);
  --surface-strong: #121a31;
  --text: #f7f9ff;
  --muted: #b6c0d9;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #75d9ef;
  --accent-2: #9f8cff;
  --accent-3: #4c95ff;
  --max: 980px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -10%, rgba(76, 149, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(159, 140, 255, 0.23), transparent 30rem),
    radial-gradient(circle at 52% 68%, rgba(117, 217, 239, 0.08), transparent 32rem),
    var(--bg);
  font: 16px/1.68 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 23, 0.76);
  backdrop-filter: blur(18px) saturate(130%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 72px;
  padding: 88px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  overflow-wrap: anywhere;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, #fff 5%, #9be8f1 45%, #ad9dff 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  color: #08101d;
  background: linear-gradient(120deg, #8de7ef, #afa0ff);
}

.button.disabled { cursor: default; }

.app-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.app-icon-wrap::before {
  position: absolute;
  width: 118%;
  height: 118%;
  border-radius: 32%;
  background: linear-gradient(135deg, rgba(76, 149, 255, 0.35), rgba(159, 140, 255, 0.32));
  content: "";
  filter: blur(48px);
}

.app-icon {
  position: relative;
  width: min(100%, 300px);
  border-radius: 23%;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.46);
}

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

.card,
.privacy-callout {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.card { padding: 26px; }

.card h2, .card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.card p { margin-bottom: 0; color: var(--muted); }

.privacy-callout {
  margin-bottom: 100px;
  padding: 42px;
  background:
    linear-gradient(125deg, rgba(76, 149, 255, 0.15), rgba(159, 140, 255, 0.1)),
    var(--surface);
}

.privacy-callout h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.04em;
}

.privacy-callout p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.privacy-callout a { color: #d4f5ff; text-underline-offset: 4px; }

.page-main { padding: 72px 0 96px; }

.page-title {
  max-width: 760px;
  margin-bottom: 54px;
}

.page-title h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 64px);
}

.page-title .lede { margin-bottom: 16px; }
.updated { color: var(--muted); font-size: 14px; }

.language-block {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 36px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.language-label {
  position: sticky;
  top: 92px;
  align-self: start;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose { max-width: 700px; }
.prose section + section { margin-top: 36px; }
.prose h2 { margin-bottom: 10px; font-size: 22px; letter-spacing: -0.025em; }
.prose p, .prose li { color: #c8d0e2; }
.prose ul { padding-left: 1.2em; }
.prose a { color: #c9f3ff; text-underline-offset: 3px; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 42px;
}

.contact-card { grid-column: 1 / -1; }
.contact-link { color: #c9f3ff; font-size: 20px; font-weight: 650; text-underline-offset: 4px; }

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 740px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-links { gap: 14px; }
  .nav-links .optional { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 58px; padding: 64px 0 76px; }
  .hero-copy { order: 2; min-width: 0; width: 100%; max-width: 100%; }
  .hero-copy h1,
  .hero-copy .lede { word-break: break-all; overflow-wrap: anywhere; }
  .app-icon-wrap { order: 1; }
  .app-icon-wrap::before { width: 220px; height: 220px; }
  .app-icon { width: 180px; }
  .feature-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .privacy-callout { margin-bottom: 76px; padding: 28px; }
  .page-main { padding: 56px 0 72px; }
  .page-title { margin-bottom: 38px; }
  .language-block { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .language-label { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-card { grid-column: auto; }
  .footer-row { flex-direction: column; }
  h1 { font-size: clamp(40px, 12vw, 52px); line-height: 1.02; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; padding-inline: 14px; text-align: center; }
}

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