/* ── Reset & tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  --text: #4a4240;
  --text-heading: #2d2523;
  --text-muted: #8a8480;
  --bg: #fcfbf9;
  --bg-card: #ffffff;
  --border: #ece9e5;
  --radius: 8px;
  --radius-lg: 12px;
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #b45309;
  --warning-light: #fef3c7;
  --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #fb923c;
    --accent-hover: #f97316;
    --accent-light: rgba(249, 115, 22, 0.15);
    --text: #d4cfc9;
    --text-heading: #f5f0eb;
    --text-muted: #a39e98;
    --bg: #1a1614;
    --bg-card: #272220;
    --border: #3d3835;
    --success: #34d399;
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #fbbf24;
    --warning-light: rgba(251, 191, 36, 0.15);
  }
}

html {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: .875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -.02em;
  text-decoration: none;
}

.logo img { display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}

.btn:hover { background: var(--accent-hover); }
.btn-sm { padding: .4375rem .875rem; font-size: .8125rem; }
.btn-lg { padding: .875rem 2.5rem; font-size: 1.0625rem; }

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 640px;
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: .3125rem .875rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 100px;
  letter-spacing: .01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--text-heading);
  margin-bottom: .75rem;
}

.gradient {
  background: linear-gradient(135deg, #f97316, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

/* ── Mock UI ── */
.mock {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 6px -1px rgba(0,0,0,.1),
    0 2px 4px -2px rgba(0,0,0,.1),
    0 0 0 1px color-mix(in srgb, var(--accent) 4%, transparent);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mock-chrome {
  display: flex;
  gap: 6px;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.mock-row-last { border-bottom: none; }

.mock-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--accent);
}

.mock-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mock-text strong {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-heading);
}

.mock-text span {
  font-size: .75rem;
  color: var(--text-muted);
}

.pill {
  margin-left: auto;
  flex-shrink: 0;
  font-size: .6875rem;
  font-weight: 500;
  padding: .1875rem .5rem;
  border-radius: 100px;
}

.pill-green  { color: var(--success); background: var(--success-light); }
.pill-purple { color: var(--accent);  background: var(--accent-light); }
.pill-amber  { color: var(--warning); background: var(--warning-light); }

/* ── Features ── */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

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

.feature {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.feature p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Progress ── */
.progress {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.progress h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -.02em;
}

.progress-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}

.progress-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-label {
  flex-shrink: 0;
  width: 200px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-heading);
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 1s ease-out;
}

.progress-pct {
  flex-shrink: 0;
  width: 40px;
  text-align: right;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: .8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--accent);
}
.footer-dot {
  color: var(--border);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 6rem 1.25rem 3rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .progress-label { width: 140px; font-size: .8125rem; }
}
