/* easyanalytics.co (R69). Bold and plain: white, black type, one blue accent. */
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b0b0f;
  --muted: #33333d;
  --quiet: #4a4a55;
  --line: #e1e1e8;
  --soft: #f6f6f9;
  --accent: #2346e8;
  --accent-dark: #1a33b0;
  --accent-soft: #e9ecfb;
  --bot: #8a3a06;
  --bot-soft: #fff1e3;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.wrap { max-width: 74rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.brand:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.7rem 1.2rem; border-radius: 0.4rem; font-weight: 600; text-decoration: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2a2a33; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; background: var(--accent-dark); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding-top: 2.5rem; padding-bottom: 5rem; }
.hero-text { flex: 1 1 26rem; min-width: 0; }
.eyebrow { font-weight: 600; font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); line-height: 0.98; letter-spacing: -0.04em; }
.lead { margin-top: 1.4rem; font-size: 1.25rem; color: var(--muted); max-width: 34rem; }

/* Form */
.join { margin-top: 2rem; max-width: 34rem; display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
.join label { font-weight: 600; font-size: 0.9rem; }
.join .label-quiet { margin-top: 0.6rem; font-weight: 500; color: var(--quiet); }
.join-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.join input { font: inherit; padding: 0.8rem 1rem; border: 2px solid var(--ink); border-radius: 0.4rem; background: #fff; color: var(--ink); min-height: 3.1rem; }
.join-row input { flex: 1 1 15rem; min-width: 0; }
.join input:focus-visible, .btn:focus-visible, .join button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.join button { font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 2px solid var(--accent); border-radius: 0.4rem; padding: 0.8rem 1.3rem; min-height: 3.1rem; cursor: pointer; }
.join button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.fine { margin-top: 0.8rem; font-size: 0.9rem; color: var(--quiet); }
.error { margin-bottom: 0.6rem; padding: 0.7rem 0.9rem; border-radius: 0.4rem; background: #fdecec; color: #8f1d1d; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The setup replay */
.demo { flex: 1 1 28rem; min-width: 0; margin: 0; }
.demo-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 1rem; border: 2px solid var(--ink); border-bottom: 0; border-radius: 0.9rem 0.9rem 0 0; background: var(--soft); }
.demo-bar i { width: 0.7rem; height: 0.7rem; border-radius: 999px; background: #c9c9d2; }
.demo-bar i:first-child { background: var(--ink); }
.demo-bar b { margin-left: 0.5rem; font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.demo-stage { position: relative; height: 20rem; border: 2px solid var(--ink); border-radius: 0 0 0.9rem 0.9rem; background: #fff; box-shadow: 0.6rem 0.6rem 0 var(--accent-soft); overflow: hidden; }
.state { position: absolute; inset: 0; padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; opacity: 0; animation: state 13.5s infinite; }
.s2 { animation-delay: 4.5s; }
.s3 { animation-delay: 9s; }
@keyframes state {
  0% { opacity: 0; transform: translateY(0.4rem); }
  3% { opacity: 1; transform: none; }
  31% { opacity: 1; transform: none; }
  34% { opacity: 0; transform: translateY(-0.4rem); }
  100% { opacity: 0; }
}
.state-step { font-size: 0.85rem; font-weight: 600; color: var(--quiet); }
.state-title { font-family: var(--head); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.field { padding: 0.8rem 1rem; border: 2px solid var(--ink); border-radius: 0.4rem; color: var(--muted); }
.cf-btn { display: flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1rem; border-radius: 0.4rem; background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 0 0 0.35rem #d5dcfb; }
.consent { border: 1.5px solid #c9c9d2; border-radius: 0.6rem; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; }
.consent-title { font-weight: 700; }
.consent-item { display: flex; gap: 0.6rem; }
.consent-item b { color: var(--accent); }
.consent-buttons { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 0.3rem; }
.consent-buttons span { padding: 0.5rem 1rem; border-radius: 0.4rem; }
.consent-buttons .ghost { border: 1.5px solid #c9c9d2; color: var(--muted); }
.consent-buttons .solid { background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 0 0 0.3rem #e1e1e8; }
.kpis { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.kpis > div { flex: 1 1 9rem; }
.kpi-label { font-size: 0.85rem; font-weight: 600; }
.kpi { font-family: var(--head); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.kpi-people { color: var(--accent); }
.kpi-bots { color: var(--bot); }
.kpi-note { font-size: 0.85rem; color: var(--muted); }
.sources { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.sources p { display: flex; justify-content: space-between; }
.bar { display: block; height: 0.45rem; border-radius: 0.2rem; background: var(--accent); }
.bar-100 { width: 100%; }
.bar-63 { width: 63%; }
.bar-7 { width: 7%; }
.demo-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.demo-steps li { font-size: 0.85rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1.5px solid #c9c9d2; animation: dot 13.5s infinite; }
.demo-steps .d2 { animation-delay: 4.5s; }
.demo-steps .d3 { animation-delay: 9s; }
@keyframes dot {
  0%, 33% { background: var(--accent); border-color: var(--accent); color: #fff; }
  34%, 100% { background: #fff; border-color: #c9c9d2; color: var(--ink); }
}
.demo figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--quiet); }
@media (prefers-reduced-motion: reduce) {
  .state, .demo-steps li { animation: none; }
  .s3 { opacity: 1; }
  .demo-steps .d3 { background: var(--accent); border-color: var(--accent); color: #fff; }
}

/* Steps */
.band { background: var(--soft); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band .wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.steps { list-style: none; counter-reset: step; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.steps li { counter-increment: step; flex: 1 1 15rem; background: #fff; border: 2px solid var(--ink); border-radius: 0.6rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.steps li::before { content: counter(step); font-family: var(--head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 0.5rem; }
.steps b { font-size: 1.15rem; }
.steps span { color: var(--muted); }

/* Points */
.points { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.points > div { flex: 1 1 16rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.points h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.points p { margin-top: 0.5rem; color: var(--muted); }

/* Closer */
.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 5rem; }

/* The super-short waitlist page (R70) */
.short { min-height: 68vh; display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding-top: 2rem; padding-bottom: 5rem; }
.short-text { flex: 1 1 26rem; min-width: 0; }
.short .join { margin-top: 1.75rem; }
.demo-mini { flex: 1 1 22rem; max-width: 30rem; }
.demo-mini .demo-stage { height: 15rem; }
.demo-mini .state { padding: 1.4rem; gap: 0.8rem; }
.done { display: flex; align-items: center; gap: 0.6rem; font-family: var(--head); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.tick { width: 1.8rem; height: 1.8rem; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex: none; }
.bar-40 { width: 40%; }

/* Plain pages: thanks, privacy, not found */
.plain { padding-top: 4rem; padding-bottom: 6rem; max-width: 46rem; }
.plain .lead { margin-top: 1.25rem; }
.plain p + p { margin-top: 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; letter-spacing: -0.02em; }
.prose h2 + p { margin-top: 0.6rem; }

/* Footer */
.foot { border-top: 2px solid var(--ink); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; padding-bottom: 1.75rem; font-size: 0.9rem; color: var(--quiet); }

@media (max-width: 40rem) {
  .hero { padding-top: 1rem; gap: 2.5rem; }
  .lead { font-size: 1.1rem; }
  .demo-stage { height: 21rem; }
  .state { padding: 1.25rem; }
  .kpi { font-size: 2.4rem; }
  .demo-mini .demo-stage { height: 18rem; }
  .demo-mini .state { padding: 1.1rem; }
}
