:root {
  /* Brand blue (from logo) — replaces Supabase's green accent */
  --accent: #2E7DF6;
  --accent-hover: #1B6FE8;
  --accent-link: #1366E8;
  --accent-soft: rgba(46, 125, 246, 0.10);

  /* Light theme — near-white bg, Radix-slate greys (as Supabase uses) */
  --bg: #ffffff;
  --bg-subtle: #fbfcfd;
  --bg-elevated: #f8f9fb;
  --border: #e6e8eb;
  --border-strong: #d7dbdf;
  --text: #11181c;      /* slate-12 */
  --text-muted: #60646c; /* slate-11 */
  --max-width: 1152px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  font-weight: 400; /* Supabase: hierarchy by size, not weight */
  -webkit-font-smoothing: antialiased;
}

/* Header bar — Supabase-style: full-width, subtle bottom border, blurred */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(255, 255, 255, 0.5); /* Supabase white, 50% transparent */
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand img { display: block; }

/* Wordmark — styled after the Supabase logotype */
.brand span {
  color: #1f1f1f;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.022em;
  text-transform: lowercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  width: 100%;
}

.hero-inner {
  text-align: center;
}

/* Headline — matches Supabase's hero type: large, medium weight, tight */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  animation: rise-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title .accent {
  color: var(--accent);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; }
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.5); /* Supabase white, 50% transparent */
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nav-inner { padding: 12px 18px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .brand span { font-size: 17px; }

  .hero { padding: 40px 20px; }
  .hero-title { font-size: clamp(1.75rem, 8.5vw, 2.6rem); }

  .footer-inner { padding: 18px 20px; }
}

@media (max-width: 600px) {
  .status-pill { display: none; }
}

/* very small screens */
@media (max-width: 380px) {
  .hero-title { font-size: clamp(1.5rem, 9vw, 2.1rem); }
}
