:root {
  --bg: #0a0d11;
  --bg-deep: #0b0e12;
  --surface: #181c1f;
  --surface-2: #12161a;
  --surface-3: #162839;
  --surface-4: #1a2d40;
  --overlay: rgba(10, 20, 30, 0.86);
  --text: #f2f0ea;
  --text-secondary: #a7afb7;
  --text-muted: #7e878f;
  --line: #232a31;
  --line-strong: #2a4058;
  --divider: #1e3044;
  --accent: #8aae1a;
  --accent-strong: #9fc224;
  --accent-pressed: #6f8e12;
  --accent-soft: #5f684e;
  --accent-glow: rgba(138, 174, 26, 0.34);
  --blue: #62b6e6;
  --blue-soft: rgba(98, 182, 230, 0.18);
  --success: #35c46a;
  --warning: #e7b547;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(98, 182, 230, 0.14), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(138, 174, 26, 0.18), transparent 22%),
    linear-gradient(180deg, #0f1419 0%, #0b0e12 52%, #0a0d11 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
  opacity: 0.22;
}

a {
  color: var(--blue);
}

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

.wrap {
  width: var(--content);
  margin: 0 auto;
}

.header {
  padding: 22px 0 18px;
}

.header-shell,
.hero-panel,
.section-card,
.legal-layout,
.timeline,
.cta-band,
.footer-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.header-shell,
.footer-shell {
  border-radius: 22px;
}

.header-shell::after,
.hero-panel::after,
.section-card::after,
.legal-layout::after,
.cta-band::after,
.footer-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(98, 182, 230, 0.04), rgba(138, 174, 26, 0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header-shell {
  padding: 18px 20px;
  display: grid;
  gap: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #091104;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 18px 40px rgba(98, 182, 230, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-kicker {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lang-switch,
.nav,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-switch a,
.nav a,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 160ms ease;
}

.lang-switch a:hover,
.nav a:hover,
.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 182, 230, 0.28);
  color: var(--text);
}

.lang-switch a.active,
.pill.is-active {
  color: #091104;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-color: transparent;
}

.nav {
  gap: 12px;
}

.nav a.is-primary {
  color: #091104;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.main {
  padding: 14px 0 56px;
}

.main-stack {
  display: grid;
  gap: 22px;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 38px;
  min-height: 420px;
}

.hero-panel::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -12% -34% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 182, 230, 0.22), transparent 62%);
  pointer-events: none;
}

.hero-grid,
.split-grid,
.legal-layout,
.contact-grid,
.stats-grid,
.feature-grid,
.card-grid,
.action-grid,
.check-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(98, 182, 230, 0.18);
  background: rgba(98, 182, 230, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy,
.hero-visual,
.section-card,
.info-card,
.metric-card,
.feature-card,
.action-card,
.legal-card,
.contact-card,
.timeline-card,
.note-card,
.footer-shell {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.page-lead h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-lead p,
.feature-card p,
.action-card p,
.info-card p,
.legal-card p,
.legal-card li,
.contact-card p,
.metric-card p,
.timeline-card p,
.footer-shell p,
.section-intro p {
  color: var(--text-secondary);
}

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

.button,
.text-link {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #091104;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 20px 44px var(--accent-glow);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.device-card,
.metric-card,
.feature-card,
.action-card,
.contact-card,
.timeline-card,
.note-card,
.legal-card,
.toc-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  overflow: hidden;
}

.device-card {
  padding: 22px;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at top, rgba(98, 182, 230, 0.16), transparent 46%),
    var(--surface-3);
}

.device-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 22, 31, 0.9), rgba(8, 13, 17, 0.96));
}

.device-screen {
  aspect-ratio: 4 / 4.7;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(138, 174, 26, 0.24), transparent 28%),
    linear-gradient(180deg, #162839 0%, #0e141b 100%);
  display: grid;
  gap: 14px;
}

.screen-chip,
.mini-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-chip,
.mini-label {
  width: fit-content;
  color: #dbe7c1;
  background: rgba(138, 174, 26, 0.14);
  border: 1px solid rgba(138, 174, 26, 0.18);
}

.section-label {
  color: var(--blue);
  background: rgba(98, 182, 230, 0.08);
  border: 1px solid rgba(98, 182, 230, 0.14);
}

.screen-heading {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.screen-list,
.detail-list,
.toc-list,
.legal-list,
.contact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.screen-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.stat-box strong,
.metric-card strong,
.mini-number {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

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

.metric-card,
.feature-card,
.action-card,
.contact-card,
.timeline-card,
.note-card,
.legal-card,
.toc-card,
.section-card {
  padding: 22px;
}

.metric-card strong {
  margin-bottom: 8px;
}

.section-card {
  border-radius: 28px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-intro h2,
.page-lead h1,
.legal-card h2,
.contact-card h2,
.timeline-card h2,
.feature-card h3,
.action-card h3,
.metric-card h3,
.info-card h3,
.toc-card h3 {
  margin: 10px 0 0;
  letter-spacing: -0.04em;
}

.section-intro h2,
.legal-card h2,
.contact-card h2,
.timeline-card h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-intro p {
  max-width: 620px;
  margin: 8px 0 0;
}

.feature-grid,
.card-grid,
.action-grid,
.check-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accent-line {
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-card.is-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(9, 15, 20, 0.92));
}

.section-card.is-highlight {
  background:
    radial-gradient(circle at top right, rgba(138, 174, 26, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.legal-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr);
  border-radius: 30px;
  padding: 24px;
}

.page-lead {
  display: grid;
  gap: 18px;
  align-content: start;
}

.quick-facts,
.meta-strip {
  display: grid;
  gap: 12px;
}

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

.fact-chip {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.fact-chip strong {
  display: block;
  font-size: 15px;
}

.fact-chip span,
.page-note,
.toc-card p,
.small,
.footer-copy {
  color: var(--text-muted);
}

.toc-card {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 16px;
}

.toc-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
}

.toc-list a:hover,
.text-link:hover {
  color: var(--text);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-card p,
.legal-card ul,
.legal-card ol,
.contact-card ul,
.timeline-card ol {
  margin: 0;
}

.legal-card ul,
.legal-card ol,
.contact-card ul,
.timeline-card ol {
  padding-left: 18px;
}

.list-tight li + li,
.legal-list li + li,
.contact-list li + li,
.timeline-card li + li {
  margin-top: 8px;
}

.info-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(98, 182, 230, 0.05);
}

.contact-card.is-accent,
.cta-band {
  background:
    radial-gradient(circle at top right, rgba(138, 174, 26, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(98, 182, 230, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02));
}

.timeline {
  border-radius: 30px;
  padding: 24px;
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-card {
  display: grid;
  gap: 10px;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.timeline-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #091104;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--blue));
}

.cta-band {
  border-radius: 28px;
  padding: 28px;
}

.cta-band h2,
.footer-shell h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.footer {
  padding: 0 0 36px;
}

.footer-shell {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

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

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

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

.centered {
  text-align: center;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.status-pill.is-blue::before {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(98, 182, 230, 0.3);
}

.status-pill.is-warning::before {
  background: var(--warning);
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .legal-layout,
  .feature-grid,
  .card-grid,
  .action-grid,
  .contact-grid,
  .stats-grid,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .legal-layout,
  .section-card,
  .timeline,
  .cta-band {
    padding: 24px;
  }

  .hero-copy h1,
  .page-lead h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .toc-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100vw - 20px, 100%);
  }

  .header {
    padding-top: 12px;
  }

  .header-shell,
  .hero-panel,
  .section-card,
  .legal-layout,
  .timeline,
  .cta-band,
  .footer-shell {
    border-radius: 20px;
    padding: 18px;
  }

  .brand-badge {
    width: 36px;
    height: 36px;
  }

  .lang-switch,
  .nav,
  .hero-actions,
  .inline-actions,
  .footer-links {
    width: 100%;
  }

  .lang-switch a,
  .nav a,
  .button {
    flex: 1 1 auto;
  }

  .screen-stat {
    grid-template-columns: 1fr;
  }
}
