:root {
  color-scheme: dark;
  --bg: #06070a;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);
  --muted2: rgba(255, 255, 255, 0.46);
  --border: rgba(255, 255, 255, 0.10);
  --panel: rgba(255, 255, 255, 0.04);
  --panel2: rgba(255, 255, 255, 0.02);
  --accent: #6d5cff;
  --accent2: #22d3ee;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 12% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(900px 700px at 88% 30%, rgba(109, 92, 255, 0.14), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.35));
}

html[data-webgl="off"] #bg-canvas {
  display: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 7, 10, 0.55);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand small {
  display: inline-block;
  font-weight: 600;
  color: var(--muted2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after,
.nav-toggle-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon span {
  top: 5px;
}

.nav-toggle-icon::after {
  bottom: 0;
}

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

.nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.22);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(109, 92, 255, 0.10));
}

.nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0 4px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.pill.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(109, 92, 255, 0.18));
  border-color: rgba(34, 211, 238, 0.30);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.hero {
  padding: clamp(76px, 13vh, 150px) 0 clamp(24px, 5vh, 42px);
}

.kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted2);
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.gradient {
  background: linear-gradient(90deg, var(--accent2), var(--accent), rgba(255, 255, 255, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 16px 0 0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 16px;
}

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

.hero-note {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  max-width: 86ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

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

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.list li::before {
  content: "";
  margin-top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  flex: 0 0 auto;
}

.faq {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0 40px;
  background: rgba(6, 7, 10, 0.40);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footer-links a:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.legal {
  padding: clamp(46px, 8vw, 88px) 0;
}

.legal h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.legal .lead {
  margin: 14px 0 0;
  max-width: 86ch;
  color: var(--muted);
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.copy-btn {
  min-width: 132px;
}

.mt-6 {
  margin-top: 6px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-14 {
  margin-top: 14px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-22 {
  margin-top: 22px;
}

.footer-brand {
  font-weight: 760;
  letter-spacing: -0.02em;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

[data-reveal] {
  will-change: opacity, transform, filter;
}

[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
}

[data-reveal].reveal-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 650ms ease, transform 650ms ease, filter 650ms ease;
}

@media (max-width: 980px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 14px var(--gutter) 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 7, 10, 0.92);
    backdrop-filter: blur(14px);
    display: grid;
    gap: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body[data-nav-open="true"] .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-sep {
    display: none;
  }

  .lang-switch {
    width: max-content;
    margin-top: 6px;
  }

  .btn.nav-cta {
    margin-top: 6px;
    width: 100%;
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  [data-reveal] {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  [data-reveal].reveal-pending {
    opacity: 1 !important;
  }

  [data-reveal].reveal-in {
    transition: none !important;
  }
}
