:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-2: #090d23;
  --panel: rgba(14, 23, 57, 0.72);
  --panel-2: rgba(8, 13, 35, 0.88);
  --line: rgba(142, 184, 255, 0.22);
  --line-strong: rgba(139, 211, 255, 0.55);
  --text: #f4f8ff;
  --muted: #b5c3df;
  --soft: #7584a8;
  --cyan: #4ce9ff;
  --blue: #4f8dff;
  --violet: #b56cff;
  --gold: #ffbf45;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 141, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 20%, rgba(181, 108, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 64% 86%, rgba(76, 233, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #050713 0%, #070b1c 48%, #030510 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.55) 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 62%, rgba(255,191,69,.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 72%, rgba(76,233,255,.55) 0 1px, transparent 1.4px);
  background-size: 260px 260px, 320px 320px, 380px 380px, 440px 440px;
  opacity: 0.22;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 80%, transparent);
  z-index: -1;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(142, 184, 255, 0.14);
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 19, 0.72);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 0 28px rgba(76, 233, 255, 0.28);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-studio {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

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

.hero {
  padding: 74px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9e7ff;
  font-weight: 680;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 13px;
  border: 1px solid rgba(76, 233, 255, 0.25);
  border-radius: 999px;
  background: rgba(76, 233, 255, 0.07);
  box-shadow: inset 0 0 18px rgba(76, 233, 255, 0.05);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 22px 0 18px;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #dbe7ff 28%, #76efff 58%, #b884ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.13rem, 2vw, 1.34rem);
  line-height: 1.62;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 730;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: #02111c;
  background: linear-gradient(135deg, #7df5ff, #8db2ff 45%, #d59bff);
  box-shadow: 0 18px 50px rgba(76, 233, 255, 0.22);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}

.btn-secondary:hover {
  border-color: rgba(76, 233, 255, 0.34);
  background: rgba(76, 233, 255, 0.08);
}

.hero-note {
  color: var(--soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-note strong { color: #d9e7ff; font-weight: 700; }

.logo-stage {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(142, 184, 255, 0.22);
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    rgba(8, 13, 35, 0.68);
  box-shadow: var(--shadow), inset 0 0 50px rgba(76, 233, 255, 0.05);
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 60px;
  background: radial-gradient(circle at 50% 15%, rgba(76, 233, 255, 0.22), transparent 42%), radial-gradient(circle at 80% 88%, rgba(255,191,69,.16), transparent 36%);
  filter: blur(18px);
  z-index: -1;
}

.hero-logo {
  border-radius: 34px;
  box-shadow: 0 0 90px rgba(66, 127, 255, 0.26);
}

.status-card {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 17px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  background: rgba(0,0,0,0.22);
}

.status-card span {
  color: var(--soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 760;
}

.status-card strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
}

.section {
  padding: 76px 0;
}

.section-tight { padding: 52px 0; }

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.section-heading p,
.content-card p,
.feature-card p,
.timeline-card p,
.page-lede,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card,
.content-card,
.timeline-card,
.legal-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)), var(--panel);
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  overflow: hidden;
}

.feature-card::before,
.content-card::before,
.timeline-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(76,233,255,.12), transparent 38%);
  pointer-events: none;
}

.feature-card {
  padding: 24px;
  min-height: 216px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 18px;
  color: #00131a;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), #84a8ff);
  box-shadow: 0 12px 34px rgba(76,233,255,0.17);
}

.feature-card h3,
.content-card h3,
.timeline-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.content-card p,
.timeline-card p { margin-bottom: 0; }

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.content-card {
  padding: 30px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.mock-phone {
  border-radius: 38px;
  min-height: 520px;
  border: 1px solid rgba(142, 184, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    radial-gradient(circle at 50% 0%, rgba(76, 233, 255, .20), transparent 34%),
    rgba(4, 8, 26, .9);
  box-shadow: var(--shadow), inset 0 0 60px rgba(76,233,255,0.06);
  padding: 22px;
  display: grid;
  align-items: end;
}

.board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.08);
}

.cell {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
}

.cell.on-blue { background: linear-gradient(135deg, #50eaff, #416bff); box-shadow: 0 0 18px rgba(80,234,255,.22); }
.cell.on-violet { background: linear-gradient(135deg, #e084ff, #7646ff); box-shadow: 0 0 18px rgba(224,132,255,.22); }
.cell.on-gold { background: linear-gradient(135deg, #ffd56b, #ff8d1d); box-shadow: 0 0 18px rgba(255,191,69,.2); }

.pieces {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  margin-top: 22px;
}

.piece {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  display: grid;
  place-items: center;
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 16px); gap: 4px; }
.mini { width: 16px; height: 16px; border-radius: 5px; }
.mini.b { background: #4ce9ff; box-shadow: 0 0 12px rgba(76,233,255,.45); }
.mini.v { background: #b56cff; box-shadow: 0 0 12px rgba(181,108,255,.45); }
.mini.g { background: #ffbf45; box-shadow: 0 0 12px rgba(255,191,69,.45); }
.mini.blank { opacity: 0; }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.timeline-card {
  padding: 24px;
}

.timeline-card::after {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255,255,255,0.12);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.cta-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(76, 233, 255, 0.18), transparent 35%),
    radial-gradient(circle at 100% 20%, rgba(181, 108, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
    rgba(8, 13, 35, 0.82);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 720px;
}

.site-footer {
  border-top: 1px solid rgba(142, 184, 255, 0.14);
  padding: 34px 0 44px;
  color: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

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

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

.page-hero {
  padding: 74px 0 36px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

.page-lede {
  max-width: 760px;
  font-size: 1.12rem;
}

.legal-card {
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 20px;
}

.legal-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 26px;
  margin-bottom: 10px;
}

.legal-copy h2:first-child { margin-top: 0; }

.legal-copy ul { padding-left: 1.25rem; }

.legal-copy strong { color: var(--text); }

.contact-box {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(76, 233, 255, 0.24);
  border-radius: 22px;
  background: rgba(76, 233, 255, 0.06);
  margin-top: 24px;
}

.contact-box a { color: #dffbff; font-weight: 740; }

.small-muted { color: var(--soft); font-size: 0.93rem; line-height: 1.6; }

@media (max-width: 900px) {
  .hero-grid,
  .showcase,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .cta-panel .hero-actions { margin-bottom: 0; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: auto; min-height: 70px; padding: 12px 0; align-items: flex-start; }
  .brand-studio { display: none; }
  .nav-links { gap: 2px; font-size: 0.86rem; }
  .nav-links a { padding: 9px 8px; }
  .hero { padding: 44px 0 56px; }
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  .mock-phone { min-height: 430px; padding: 14px; border-radius: 30px; }
  .board { gap: 4px; padding: 10px; border-radius: 20px; }
  .pieces { gap: 8px; }
  .piece { width: 74px; height: 74px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
