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

:root {
  --surface-ground: #0f0f0f;
  --surface-card: #1a1a1a;
  --surface-border: #2a2a2a;
  --primary: #f97316;
  --primary-hover: #fb923c;
  --text-color: #e2e8f0;
  --text-muted: #94a3b8;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface-ground);
  color: var(--text-color);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  border-bottom: 1px solid var(--surface-border);
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.nav-brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.15s;
}

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

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

.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero h1 .dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--primary);
  margin-left: 0.05em;
  vertical-align: baseline;
}

.hero h1 kbd {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  letter-spacing: 0;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #0f0f0f;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #0f0f0f;
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-color);
  border: 1px solid var(--surface-border);
}

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

/* Features */
.features {
  padding: 72px 0;
  border-top: 1px solid var(--surface-border);
}

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s;
}

.feature-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

kbd {
  display: inline-block;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 1px 8px;
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* AI Providers */
.providers {
  padding: 64px 0;
  border-top: 1px solid var(--surface-border);
  text-align: center;
}

.providers p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.provider-list {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.provider-chip {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
}

/* CTA */
.cta {
  padding: 80px 0;
  border-top: 1px solid var(--surface-border);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta kbd {
  background: #1e293b;
  border-color: #334155;
}

/* Footer */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 28px 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 64px 0 48px;
  }

  .nav-links {
    display: none;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}
