:root {
  --bg: #05070b;
  --bg-1: #070a10;
  --bg-2: #0b0f18;
  --glass: rgba(16, 22, 32, 0.62);
  --glass-strong: rgba(19, 28, 42, 0.88);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(124, 245, 214, 0.2);
  --text: #e8eef2;
  --text-dim: #93a4b8;
  --text-soft: #5f7086;
  --emerald: #7cf5d6;
  --cyan: #5be1ff;
  --blue: #7aa8ff;
  --gold: #f5c56a;
  --rose: #ff8a5c;
  --shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 16px 32px -8px rgba(0, 0, 0, 0.6);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

body[data-theme="light"] {
  --bg: #effcfb;
  --bg-1: #e9f6f6;
  --bg-2: #d8e5e5;
  --glass: rgba(255, 255, 255, 0.76);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --stroke: rgba(1, 51, 52, 0.14);
  --stroke-strong: rgba(0, 119, 204, 0.28);
  --text: #121d1e;
  --text-dim: #404848;
  --text-soft: #717978;
  --emerald: #06920e;
  --cyan: #0077cc;
  --blue: #0061a7;
  --gold: #8a6a15;
  --rose: #ba1a1a;
  --shadow: 0 24px 60px -34px rgba(18, 29, 30, 0.32), 0 10px 30px -24px rgba(18, 29, 30, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% 10%, rgba(124, 245, 214, 0.1), transparent 60%),
    radial-gradient(900px 600px at 10% 75%, rgba(91, 225, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  line-height: 1.6;
  overflow-x: hidden;
}

body[data-theme="light"] {
  background:
    radial-gradient(900px 500px at 82% 10%, rgba(0, 119, 204, 0.12), transparent 60%),
    radial-gradient(780px 520px at 10% 80%, rgba(104, 223, 89, 0.12), transparent 55%),
    linear-gradient(180deg, #effcfb, #e4f0f0);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: overlay;
}

body::after {
  opacity: 0.04;
  background-image: linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.9) 51%);
  background-size: 100% 3px;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding-top: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(16px) saturate(145%);
  box-shadow: var(--shadow);
  width: min(100%, 1160px);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 126px;
  height: auto;
}

.brand-logo {
  transition: opacity 0.25s ease;
  filter: none !important;
  opacity: 1 !important;
}

body:not([data-theme="light"]) .brand-logo,
body:not([data-theme="light"]) .footer-brand img {
  mix-blend-mode: screen !important;
}

body[data-theme="light"] .brand-logo,
body[data-theme="light"] .footer-brand img {
  mix-blend-mode: normal !important;
}

body:not([data-theme="light"]) .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-theme="light"] .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

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

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.8;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  display: none;
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(10, 14, 22, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(124, 245, 214, 0.12);
  color: var(--text);
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald);
  border-color: var(--emerald);
}

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

.locale-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-select,
.theme-toggle {
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-toggle {
  cursor: pointer;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button {
  background: linear-gradient(135deg, rgba(124, 245, 214, 0.18), rgba(91, 225, 255, 0.12));
  border: 1px solid rgba(124, 245, 214, 0.35);
  color: var(--emerald);
}

body[data-theme="light"] .site-nav,
body[data-theme="light"] .footer-panel {
  background: rgba(239, 252, 251, 0.84);
}

body[data-theme="light"] .nav-menu {
  background: rgba(255, 255, 255, 0.96);
}

body[data-theme="light"] .button {
  background: #013334;
  border-color: #013334;
  color: #ffffff;
}

body[data-theme="light"] .button-ghost,
body[data-theme="light"] .language-select,
body[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.82);
}

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

.button:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(124, 245, 214, 0.16);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 132px 0 72px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emerald);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--emerald);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 18px;
}

h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

p {
  margin: 0;
}

.accent {
  background: linear-gradient(120deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 760px;
  color: var(--text-dim);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-copy .lead {
  margin-bottom: 32px;
}

.chip-row,
.mini-list,
.meta-list,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.chip strong {
  color: var(--emerald);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.panel,
.card,
.stat,
.band,
.legal-card,
.timeline-card,
.cta-band {
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.panel::before,
.card::before,
.band::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 100% at 0% 0%, rgba(124, 245, 214, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-panel {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 22px;
  align-content: start;
}

.hero-panel .logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.hero-panel .logo-box img {
  width: min(300px, 88%);
  height: auto;
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.panel-copy {
  color: var(--text-dim);
  font-size: 16px;
}

.mini-list {
  margin-top: 4px;
  align-items: flex-start;
  align-content: flex-start;
}

.mini-list span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  line-height: 1.2;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--text-dim);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.stat {
  padding: 24px 22px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 46px;
  margin: 12px 0 6px;
}

.stat-note {
  font-size: 14px;
  color: var(--text-dim);
}

.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 245, 214, 0.35), transparent);
}

.section-copy {
  max-width: 760px;
  color: var(--text-dim);
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.timeline-card,
.legal-card,
.plan {
  position: relative;
  overflow: hidden;
}

.card {
  padding: 26px;
}

.card-kicker,
.tiny-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.card p,
.timeline-card p,
.legal-card p,
.plan p {
  color: var(--text-dim);
}

.card ul,
.feature-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.feature-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(124, 245, 214, 0.4);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.split-grid {
  gap: 18px;
}

.timeline-card,
.legal-card {
  padding: 28px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step-index {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  background: rgba(124, 245, 214, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--emerald);
}

.step-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

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

.band,
.cta-band {
  padding: 34px;
  position: relative;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.band-stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}

.band-stat span {
  color: var(--text-dim);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.plan.highlight {
  border-color: rgba(124, 245, 214, 0.32);
  background: var(--glass-strong);
}

.price {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 48px;
}

.price small {
  font-size: 16px;
  color: var(--text-dim);
}

.pricing-note {
  color: var(--text-soft);
  font-size: 13px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

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

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 24px 0 80px;
}

.cta-band p {
  color: var(--text-dim);
  max-width: 620px;
}

.footer {
  padding: 28px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 26px 28px;
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(14px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.footer-brand img {
  width: 112px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

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

.footer-note {
  color: var(--text-soft);
  font-size: 12px;
  text-align: right;
}

.demo-box {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 50% 40%, rgba(124, 245, 214, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.demo-box img {
  width: min(220px, 64%);
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .legal-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .pricing-grid,
  .band-grid,
  .matrix,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .footer-note {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-nav {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
  }

  .nav-group {
    justify-content: center;
  }

  .nav-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    padding-top: 120px;
  }

  .card-grid,
  .pricing-grid,
  .band-grid,
  .matrix,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-band {
    margin-bottom: 56px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
