:root {
  --bg: #0b1020;
  --fg: #f8fafc;
  --muted: #94a3b8;
  --navy: #1a2a6b;
  --emerald: #2ed573;
  --border: rgba(148, 163, 184, 0.15);
  --card: rgba(255, 255, 255, 0.02);
  --card-hover: rgba(255, 255, 255, 0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  scroll-behavior: smooth;
}

::selection { background: rgba(46, 213, 115, 0.3); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.dim { color: var(--muted); }
.accent { color: var(--emerald); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s var(--ease), background .2s, filter .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--emerald); color: #08110a; }
.btn-primary:hover { transform: scale(1.04); filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--border); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; padding: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 4px 14px rgba(0,0,0,.25);
}
.brand-mark img { width: 28px; height: 28px; object-fit: contain; display: block; }
.brand span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em;
}
.nav-links { display: none; gap: 32px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--emerald); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 112px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-line {
  position: absolute; left: 50%; height: 1px; width: 200%;
  transform: translateX(-50%);
}
.line-1 { top: 50%; transform: translateX(-50%) rotate(-15deg); background: linear-gradient(90deg, transparent, rgba(46,213,115,.2), transparent); }
.line-2 { top: 60%; transform: translateX(-50%) rotate(-10deg); background: linear-gradient(90deg, transparent, rgba(26,42,107,.5), transparent); }
.hero-glow {
  position: absolute; left: 50%; top: 0;
  width: 800px; height: 500px;
  transform: translateX(-50%);
  background: rgba(46,213,115,.1);
  filter: blur(120px); border-radius: 50%;
}
.hero-inner { text-align: center; max-width: 880px; }
.pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(46,213,115,.2);
  background: rgba(46,213,115,.05);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--emerald);
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lede {
  margin: 32px auto 0;
  max-width: 620px;
  font-size: 18px;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center;
}
.hero-cta .btn { width: 100%; max-width: 280px; }
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; max-width: none; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); animation: fadeUp .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Map */
.map-section { padding: 48px 24px; }
.map-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(26, 42, 107, .2);
}
.map-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 21 / 9; }
.map-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(11,16,32,.75));
  pointer-events: none;
}
.group-card {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(11, 16, 32, .9);
  backdrop-filter: blur(20px);
}
@media (min-width: 640px) {
  .group-card { right: auto; left: 24px; bottom: 24px; max-width: 340px; }
}
.group-card-head { display: flex; justify-content: space-between; margin-bottom: 14px; }
.group-card-head .mono { font-size: 10px; }
.status { font-size: 10px; color: var(--emerald); display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.avatars { display: flex; margin-bottom: 14px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.a1 { background: var(--navy); }
.a2 { background: #5acf9e; }
.a3 { background: #475569; }
.a4 { background: #233675; }
.group-title { font-size: 14px; font-weight: 600; }
.group-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 96px 24px; }
.section-head { max-width: 600px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.section-head p { margin-top: 16px; color: var(--muted); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* FAQ */
.faq-section .faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: var(--fg);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.85;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary { color: var(--emerald); }
.faq-item[open] summary::after {
  transform: rotate(225deg) translateY(2px);
}
.faq-item summary:hover { color: var(--emerald); }
.faq-answer {
  padding: 0 0 22px;
  max-width: 95%;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* Steps */
.steps { display: grid; gap: 48px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 800;
  color: rgba(46,213,115,.45);
  margin-bottom: 24px;
  transition: color .3s;
}
.step:hover .step-num { color: var(--emerald); }

/* Legal pages */
.legal { padding: 80px 24px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.legal .updated { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal a { color: var(--emerald); }
.legal a:hover { text-decoration: underline; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--muted); }

/* Benefits */
.benefits { background: rgba(26, 42, 107, .1); padding: 96px 0; }
.benefit-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.05);
  background: var(--card);
  transition: background .2s;
}
.benefit:hover { background: var(--card-hover); }
.benefit-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(46,213,115,.1);
  font-size: 18px;
  margin-bottom: 24px;
}
.benefit h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.benefit p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Testimonial */
.testimonial { padding: 96px 24px; text-align: center; max-width: 760px; }
.testimonial-avatar {
  width: 64px; height: 64px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), rgba(46,213,115,.6));
}
blockquote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}
.testimonial cite {
  display: block;
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-style: normal;
  color: var(--emerald);
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 80px 0; }
.footer-grid {
  display: flex; flex-direction: column; gap: 48px;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer .brand { margin-bottom: 24px; }
.footer-title { font-size: 24px; font-weight: 700; }
.footer-sub { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 420px; }
.footer-actions { display: flex; flex-direction: column; gap: 16px; width: 100%; }
@media (min-width: 640px) { .footer-actions { flex-direction: row; width: auto; } }
.footer-bottom {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(148,163,184,.6);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-links { display: flex; gap: 32px; }
.footer-links a:hover { color: var(--emerald); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--emerald); }

.footer {
  .first-column {
    align-items: center;
    display: flex;
    gap: 8px;
  }

  .ig-link {
    display: block;
    height: fit-content;
  }
}

