:root {
  color-scheme: dark;
  --bg: #050913;
  --bg-2: #07111f;
  --panel: rgba(10, 22, 38, 0.78);
  --panel-2: rgba(12, 26, 46, 0.92);
  --line: rgba(142, 203, 255, 0.18);
  --line-strong: rgba(103, 202, 255, 0.38);
  --text: #edf6ff;
  --muted: #a8bbce;
  --blue: #1f8cff;
  --cyan: #50dcff;
  --violet: #9d65ff;
  --amber: #ffbc66;
  --green: #65e698;
  --danger: #ff6f7f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 12%, rgba(85, 117, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 22% 26%, rgba(29, 143, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 80%, rgba(255, 171, 84, 0.12), transparent 24rem),
    linear-gradient(180deg, #030711 0%, #07111f 48%, #050913 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(80, 220, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 220, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(80, 220, 255, 0.12), transparent 0.18rem),
    radial-gradient(circle at 54% 22%, rgba(157, 101, 255, 0.13), transparent 0.16rem),
    radial-gradient(circle at 66% 30%, rgba(255, 188, 102, 0.14), transparent 0.15rem),
    radial-gradient(circle at 42% 34%, rgba(80, 220, 255, 0.12), transparent 0.15rem);
  opacity: 0.82;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(147, 199, 255, 0.12);
  background: rgba(5, 9, 19, 0.82);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(80, 220, 255, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(31, 140, 255, 0.86), rgba(157, 101, 255, 0.82));
  box-shadow: 0 0 28px rgba(31, 140, 255, 0.32);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c9d9e9;
  font-size: 0.92rem;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--cyan);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(139, 197, 255, 0.26);
  border-radius: 8px;
  background: rgba(7, 19, 35, 0.72);
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.button.primary {
  border-color: rgba(80, 220, 255, 0.44);
  background: linear-gradient(135deg, #0974ff, #1f8cff 45%, #7d54ff);
  box-shadow: 0 16px 44px rgba(31, 140, 255, 0.36);
}

.button.amber {
  border-color: rgba(255, 188, 102, 0.5);
  background: linear-gradient(135deg, rgba(255, 188, 102, 0.94), rgba(255, 128, 92, 0.9));
  color: #06101e;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 58px;
  align-items: center;
  min-height: min(780px, calc(100vh - 140px));
  padding: 60px 0 36px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.1rem);
}

.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #72d9ff 48%, #ffbc66 78%, #d9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 720px;
  color: #c5d3e5;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

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

.micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #c5d7e9;
}

.micro-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.micro-row span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(101, 230, 152, 0.55);
}

.orb-system {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orb-system::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border: 1px solid rgba(80, 220, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(31, 140, 255, 0.08), 0 0 90px rgba(31, 140, 255, 0.08);
}

.core-orb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
  border: 1px solid rgba(80, 220, 255, 0.54);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(80, 220, 255, 0.95), rgba(31, 140, 255, 0.38) 44%, rgba(5, 9, 19, 0.94) 78%),
    #08162a;
  box-shadow: 0 0 70px rgba(31, 140, 255, 0.42), inset 0 0 52px rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 1.22rem;
  font-weight: 820;
}

.node {
  position: absolute;
  z-index: 3;
  width: 126px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(142, 203, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.84);
  box-shadow: var(--shadow);
}

.node strong {
  display: block;
  margin-bottom: 6px;
}

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

.node:nth-child(2) { top: 12%; left: 12%; }
.node:nth-child(3) { top: 6%; right: 18%; }
.node:nth-child(4) { right: 5%; top: 42%; }
.node:nth-child(5) { right: 17%; bottom: 8%; }
.node:nth-child(6) { left: 14%; bottom: 10%; }
.node:nth-child(7) { left: 2%; top: 45%; }

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 54px 0;
}

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

.section-head h2,
.page-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.06;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 28, 50, 0.88), rgba(6, 15, 29, 0.82)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 220, 255, 0.42), transparent);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p,
.card li {
  color: #b9c9db;
  line-height: 1.58;
}

.card ul {
  padding-left: 20px;
}

.status-chip,
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(80, 220, 255, 0.24);
  border-radius: 999px;
  background: rgba(31, 140, 255, 0.12);
  color: #cfedff;
  font-size: 0.82rem;
  font-weight: 760;
}

.status-chip.green {
  border-color: rgba(101, 230, 152, 0.38);
  background: rgba(101, 230, 152, 0.12);
  color: #d6ffe7;
}

.status-chip.amber {
  border-color: rgba(255, 188, 102, 0.4);
  background: rgba(255, 188, 102, 0.13);
  color: #ffe4bd;
}

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

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.78);
}

.step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(80, 220, 255, 0.12);
  color: var(--cyan);
  font-weight: 820;
}

.page-hero {
  padding: 88px 0 44px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 30px;
  align-items: start;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.88);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(142, 203, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.78);
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
}

.form-grid textarea {
  min-height: 126px;
  resize: vertical;
}

.notice {
  border-left: 3px solid var(--amber);
  padding: 14px 16px;
  background: rgba(255, 188, 102, 0.1);
  color: #f6dcc0;
}

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid rgba(142, 203, 255, 0.14);
  color: var(--muted);
}

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

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

  .hero {
    min-height: auto;
  }

  .orb-system {
    min-height: 420px;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100vw;
    max-width: 100vw;
    padding-inline: 12px;
  }

  .hero h1,
  .page-hero h1 {
    display: block;
    width: min(310px, calc(100vw - 40px));
    max-width: min(310px, calc(100vw - 40px));
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .grid.three,
  .grid.four,
  .flow {
    grid-template-columns: 1fr;
  }

  .orb-system {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-inner {
    min-height: 76px;
  }

  .lead {
    width: min(320px, calc(100vw - 40px));
    max-width: min(320px, calc(100vw - 40px));
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .button {
    min-height: 44px;
    padding: 0 15px;
  }

  .card,
  .step,
  .panel,
  .split,
  .grid,
  .flow {
    width: 100%;
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

  .card p,
  .step p,
  .panel p,
  .card li {
    max-width: min(300px, calc(100vw - 84px));
  }
}
