:root {
  --bg: #060911;
  --surface: #0c1220;
  --surface-2: #111a2e;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --emerald: #10b981;
  --cyan: #06b6d4;
  --amber: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.08), transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.08), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #03110d;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.brand-sub {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #03110d;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(6, 182, 212, 0.45);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 18px;
}

.gradient-text {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 660px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Pricing */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.pricing-featured {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), var(--surface));
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.list li::before {
  content: "✓ ";
  color: var(--emerald);
  font-weight: 700;
}

/* Legal prose */
.legal-wrap {
  padding: 56px 0 72px;
  max-width: 800px;
}

.legal-wrap h1 {
  font-size: 2rem;
  text-align: left;
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
  color: #e2e8f0;
}

.legal-wrap p, .legal-wrap li {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.legal-wrap ul {
  padding-left: 20px;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 48px 0 40px;
  }
}
