:root {
  color-scheme: dark;
  --bg: #0a0d12;
  --panel: rgba(17, 22, 31, 0.82);
  --panel-strong: #11161f;
  --text: #f5f7fb;
  --muted: #a7b1bf;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #4ea1ff;
  --accent-2: #6574ff;
  --accent-soft: rgba(78, 161, 255, 0.12);
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(78, 161, 255, 0.13), transparent 31rem),
    radial-gradient(circle at 18% 96%, rgba(101, 116, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #0d1118 0%, var(--bg) 48%);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 34px;
  box-shadow: 0 10px 32px rgba(78, 161, 255, 0.2);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--text); }

.hero {
  min-height: calc(100vh - 145px);
  display: grid;
  place-items: center;
  padding: 72px 0;
}

.hero-card {
  width: 100%;
  text-align: center;
  padding: clamp(42px, 8vw, 82px) clamp(22px, 6vw, 64px);
  background: linear-gradient(180deg, rgba(18, 24, 35, 0.86), rgba(13, 17, 25, 0.78));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(78, 161, 255, 0.2);
  color: #c8e2ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 22px auto 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 760;
  border: 1px solid var(--line);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(78, 161, 255, 0.22);
}
.button-secondary { background: rgba(255, 255, 255, 0.035); color: #dce3ed; }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.16); }

.integrations {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #d3dbe6;
  font-size: 0.86rem;
}
.integration {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.legal-shell { padding: 62px 0 90px; }
.legal-head { margin-bottom: 30px; }
.legal-head h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  text-align: left;
}
.legal-head p { color: var(--muted); max-width: 760px; margin: 0; }
.meta { margin-top: 17px; color: #ccd5e1; font-size: 0.9rem; }

.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 5vw, 38px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}
.legal-card section + section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}
.legal-card h2 { margin: 0 0 10px; font-size: 1.35rem; letter-spacing: -0.02em; }
.legal-card p { margin: 0 0 13px; color: #d5dce6; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { color: #d5dce6; padding-left: 22px; }
.legal-card li { margin: 7px 0; }
.callout {
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(78, 161, 255, 0.18);
  border-radius: 13px;
  background: var(--accent-soft);
  color: #ddecff;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--text); }

.redirect-card {
  min-height: 75vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.redirect-card .inner {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  max-width: 620px;
}
.redirect-card h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); margin-top: 0; }
.redirect-card p { color: var(--muted); }

@media (max-width: 620px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 12px; font-size: 0.84rem; }
  .brand span:last-child { display: none; }
  .hero { min-height: calc(100vh - 137px); padding: 34px 0; }
  .hero-card { border-radius: 20px; }
  .footer-row { padding: 18px 0; }
}
