:root {
  --bg-base: #0c0d0f;
  --bg-elev: #15161a;
  --bg-elev-2: #1d1f24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --brand: #bcfe2e;
  --brand-soft: rgba(188, 254, 46, 0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --max-width: 1080px;
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 600px at 80% -10%,
      rgba(188, 254, 46, 0.08),
      transparent 70%),
    radial-gradient(900px 500px at -10% 20%,
      rgba(0, 250, 255, 0.05),
      transparent 60%),
    var(--bg-base);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(12, 13, 15, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

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

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 32rem;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #000;
}

.btn-primary:hover {
  background: #d4ff5c;
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
}

.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Hero art (chat bubbles) */
.hero-art {
  position: relative;
  height: 360px;
}

.bubble {
  position: absolute;
  padding: 0.85rem 1.1rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-width: 18rem;
}

.bubble-a {
  top: 10%;
  left: 4%;
  border-bottom-left-radius: 4px;
  background: var(--bg-elev-2);
}

.bubble-b {
  top: 42%;
  right: 0;
  border-bottom-right-radius: 4px;
  background: var(--brand);
  color: #000;
  border-color: transparent;
  font-weight: 500;
}

.bubble-c {
  bottom: 6%;
  left: 14%;
  border-bottom-left-radius: 4px;
}

/* Features */
.features {
  padding: 5rem 1.5rem 3rem;
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Download */
.download {
  padding: 4rem 1.5rem 6rem;
}

.download-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.download h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.download p {
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto;
}

.download a {
  color: var(--brand);
}

.download a:hover {
  text-decoration: underline;
}

.download .cta-row {
  justify-content: center;
}

.download .btn-primary {
  color: #000;
}

.download .btn:hover {
  text-decoration: none;
}

.coming-note {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(12, 13, 15, 0.6);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 2rem;
}

.footer-brand .logo {
  display: flex;
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-address strong {
  color: var(--text-primary);
}

.footer-address a {
  color: var(--text-secondary);
}

.footer-address a:hover {
  color: var(--brand);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Legal pages */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
}

.legal h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2.25rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.85rem;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.9875rem;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal ul,
.legal ol {
  margin: 0.7rem 0 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal a {
  color: var(--brand);
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}

.notice {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.step {
  padding: 1.15rem 1.2rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.step h3 {
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .hero-art {
    height: 280px;
    order: -1;
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }
}
