:root {
  --bg-deep: #060912;
  --bg-card: rgba(14, 20, 38, 0.72);
  --stroke: rgba(130, 168, 255, 0.22);
  --text: #e8ecf8;
  --text-muted: #9aa6c4;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --glow: rgba(110, 231, 255, 0.35);
  --radius: 16px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Syne", "Manrope", system-ui, sans-serif;
  --nav-h: 4rem;
  --max: 68rem;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(88, 120, 255, 0.22), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(167, 139, 250, 0.12), transparent 40%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b8f3ff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 9, 18, 0.82);
  border-bottom: 1px solid var(--stroke);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(110, 231, 255, 0.15);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #3dd9f0, #7c8cff);
  color: #041018;
  box-shadow: 0 8px 28px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #041018;
  box-shadow: 0 12px 36px var(--glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(110, 231, 255, 0.45);
  color: var(--text);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--text);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(6, 9, 18, 0.96);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--stroke);
}

@media (min-width: 768px) {
  .nav-links.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 4rem;
  }
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 38ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.meta-line {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.orbit-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 22rem;
  margin: 0 auto;
}

.orbit-visual svg {
  width: 100%;
  height: 100%;
}

.orbit-ring {
  transform-origin: 200px 200px;
  animation: spin 48s linear infinite;
}

.orbit-ring--reverse {
  animation-direction: reverse;
  animation-duration: 72s;
}

.orbit-pulse {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

.hero-icon {
  position: absolute;
  inset: 50%;
  width: 5.5rem;
  height: 5.5rem;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 0 48px var(--glow));
}

section {
  margin-top: 3.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 52ch;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq details {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  background: var(--bg-card);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.developer-band {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.08), rgba(167, 139, 250, 0.08));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .developer-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer {
  border-top: 1px solid var(--stroke);
  margin-top: 4rem;
  padding: 2rem 1.25rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.legal-notice {
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.legal-notice code {
  font-size: 0.85em;
  word-break: break-all;
}

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

.prose ul {
  padding-left: 1.2rem;
}

.link-card {
  text-align: center;
  padding: 3rem 1rem;
}

.link-card .btn-primary {
  margin-top: 1rem;
}
