:root {
  --text: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --card: #ffffff;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Subtle glow behind hero */
.glow {
  position: fixed;
  top: -9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

/* ── Logo badge ── */
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 1.25rem;
}

.logo-orb {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
}

.logo-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./gradient-better.png");
  background-size: 108%;
  background-position: 26% center;
  z-index: -1;
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ── Hero ── */
.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 820px;
  color: var(--text);
}

.hero p {
  margin: 1.25rem 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ── CTA button ── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  padding: 0.58rem 1.1rem;
  border-radius: 0.375rem;
  border: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: opacity 0.15s;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("./gradient-better.png");
  background-size: 82%;
  filter: blur(10px) saturate(1.15);
  z-index: -1;
}

.cta:hover { opacity: 0.92; }
.cta-icon { flex-shrink: 0; }
.cta-arrow { flex-shrink: 0; }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ── How it works ── */
.how {
  margin-top: 3.5rem;
}

.section-label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.step-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-num {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-content h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step-content > p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  font-size: 0.78rem;
  color: #3f3f46;
}

/* Mock panels */
.mock-panel {
  align-self: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 0.8rem;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.mock-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff1f2;
  color: #e11d48;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d48;
}

.mock-browser-thumb {
  height: 52px;
  background: #f4f4f5;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  margin-bottom: 0.5rem;
}

.mock-event {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  color: #3f3f46;
  margin-bottom: 0.4rem;
}

.mock-event svg { flex-shrink: 0; color: var(--muted); }

.mock-line {
  height: 8px;
  border-radius: 999px;
  background-image: url("./gradient-better.png");
  background-size: 300% 600%;
  background-position: 26% center;
  opacity: 0.75;
  margin-top: 0.35rem;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.38rem 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: #3f3f46;
}

.ready { color: #16a34a; font-weight: 500; }
.seeding { color: var(--muted); }

.mock-progress {
  height: 8px;
  background: #f4f4f5;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.2rem;
}

.mock-progress-fill {
  height: 100%;
  width: 66%;
  border-radius: 999px;
  background-image: url("./gradient-better.png");
  background-size: 300% 600%;
  background-position: 26% center;
}

/* ── Why ── */
.why {
  margin-top: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.why-body {
  margin: 0.65rem 0 0;
  max-width: 760px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3f3f46;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 1fr; }
  .mock-panel { display: none; }
}
