:root {
  --bg: #FFFFFF;
  --surface: rgba(0,0,0,0.03);
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(7,159,145,0.3);
  --text: #111827;
  --muted: rgba(0,0,0,0.45);
  --teal: #079F91;
  --teal-glow: rgba(7,159,145,0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* layout */
.max-w { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.inline-flex { display: inline-flex; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 4rem;
}
.nav-inner {
  max-width: 72rem; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo { height: 2.5rem; width: 2.5rem; }
.nav-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-spacer { height: 4rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600; transition: all 0.2s;
}
.btn-primary {
  background: var(--teal); color: white;
}
.btn-primary:hover {
  background: #0AB3A3; transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--teal-glow);
}
.btn-outline {
  border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

/* hero */
.hero { padding: 6rem 1.5rem 5rem; text-align: center; position: relative; }
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--muted); margin-bottom: 2.5rem;
}
.hero-label-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ADE80; }
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--text) 30%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.125rem; color: var(--muted); line-height: 1.7;
  max-width: 36rem; margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 5rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }

/* demo */
.demo { max-width: 48rem; margin: 0 auto; text-align: left; }
.demo-card {
  border-radius: 1rem; padding: 1.5rem;
  border: 1px solid var(--border);
}
.demo-card.before { background: var(--surface); }
.demo-card.after {
  background: rgba(7,159,145,0.05);
  border-color: rgba(7,159,145,0.2);
}
.demo-label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.75rem; }
.demo-label .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.demo-label .dot.red { background: #F87171; }
.demo-label .dot.teal { background: var(--teal); }
.demo-label .mono { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.05em; }
.demo-label .muted { color: var(--muted); }
.demo-label .accent { color: var(--teal); }
.demo-text.muted { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.demo-text.dark { color: var(--text); font-size: 0.9375rem; line-height: 1.65; }
.demo-arrow { display: flex; justify-content: center; padding: 0.75rem 0; }
.demo-arrow svg { width: 1.25rem; height: 1.25rem; color: var(--teal); }

/* sections */
.section { padding: 6rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.75rem;
}
.section-sub { color: var(--muted); font-size: 1.125rem; max-width: 32rem; margin: 0 auto; line-height: 1.6; }

/* divider */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* steps */
.steps { display: grid; gap: 2.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step-num {
  width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,159,145,0.1); border-radius: 50%;
  color: var(--teal); font-weight: 700; font-size: 0.875rem;
}
.step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* feature cards */
.features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem;
  transition: all 0.25s ease; background: transparent;
}
.feature:hover {
  border-color: var(--border-hover);
  background: rgba(7,159,145,0.04);
  transform: translateY(-2px);
}
.feature:hover .feat-icon { color: var(--teal); }
.feat-icon { font-size: 1.5rem; margin-bottom: 0.75rem; color: rgba(0,0,0,0.25); transition: color 0.25s; }
.feature h3 { font-weight: 600; margin-bottom: 0.375rem; }
.feature p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* checks */
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; }
.checks span { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-size: 0.9375rem; }
.checks span:first-child { color: var(--teal); }

/* app icons */
.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 40rem; margin: 3rem auto 0; }
.app-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
  user-select: none;
}

/* cta box */
.cta-box {
  border: 1px solid var(--border); border-radius: 1.5rem;
  padding: 4rem 2rem; text-align: center; max-width: 56rem; margin: 0 auto;
}
.cta-box .section-title { margin-bottom: 1rem; }
.cta-box .section-sub { margin-bottom: 2.5rem; }
.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* footer */
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.875rem; color: var(--muted);
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { height: 1.25rem; width: 1.25rem; opacity: 0.4; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--teal); }

/* mobile */
@media (max-width: 480px) {
  .hero { padding: 4rem 1rem 3rem; }
  .hero-glow { width: 90vw; height: 90vw; }
  .hero p { font-size: 1rem; }
  .section { padding: 3rem 1rem; }
  .section-header { margin-bottom: 2rem; }
  .section-sub { font-size: 1rem; }
  .demo-card { padding: 1rem; }
  .demo-text.muted, .demo-text.dark { font-size: 0.875rem; }
  .cta-box { padding: 2rem 1rem; border-radius: 1rem; }
  .footer-inner { padding: 1.5rem 1rem; gap: 0.75rem; }
  .footer-brand { flex-direction: column; gap: 0.25rem; }
  .steps { gap: 1.5rem; }
  .app-icon { width: 2.5rem; height: 2.5rem; font-size: 0.7rem; }
}

@media (max-width: 400px) {
  .nav-title { font-size: 1rem; }
  .nav-inner { padding: 0 0.75rem; }
  .btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }
  .btn-lg { padding: 0.75rem 1.25rem; }
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }

/* author */
.author-wrap { display: flex; justify-content: center; width: 100%; }
.author-inner { padding: 3rem 0 6rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.author-avatar { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.author-name { font-weight: 600; font-size: 1rem; }
.author-role { color: var(--muted); font-size: 0.8125rem; margin-top: 0.125rem; }
.author-btn { font-size: 0.8125rem; }
