/* azuma.io — marketing site. Same look as the app (azuma-app/STYLE.md): dark
   neutrals, one pink accent, the 3px left-bar card. Hand-written, no build. */
:root {
  --bg: #0a0a0a;
  --panel: #171717;
  --line: #262626;
  --line-strong: #404040;
  --muted: #737373;
  --body: #a3a3a3;
  --text: #f5f5f5;
  --brand: #db2777;
  --brand-strong: #be185d;
  --brand-soft: #f472b6;
  --ok: #34d399;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 0.9rem; }
.nav a { color: var(--body); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 56px; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 3px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-soft);
}
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 20px; max-width: 56ch; font-size: 1.15rem; }
.hero .product-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; display: block; }

/* Waitlist form */
.waitlist { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist input[type="email"], .waitlist input[name="name"] {
  flex: 1 1 240px; min-width: 0; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 8px; font: inherit;
}
.waitlist input[type="email"]::placeholder, .waitlist input[name="name"]::placeholder { color: var(--muted); }
.waitlist input[type="email"]:focus, .waitlist input[name="name"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.waitlist button {
  padding: 12px 20px; background: var(--brand); color: #fff; border: 0; border-radius: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
}
.waitlist button:hover { background: var(--brand-strong); }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .note { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); }
.waitlist-msg { display: none; margin-top: 14px; max-width: 520px; padding: 10px 14px; border-left: 3px solid var(--ok); background: var(--panel); border-radius: 0 8px 8px 0; color: var(--text); }
.waitlist-msg.error { border-left-color: #ef4444; }
.waitlist-msg.show { display: block; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 60ch; }
.section-head p { margin-top: 10px; }

/* Cards: the 3px left-bar motif */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 18px 20px;
}
.card p { margin-top: 6px; font-size: 0.95rem; }
.card.blue { border-left-color: #3b82f6; }
.card.amber { border-left-color: #f59e0b; }
.card.green { border-left-color: var(--ok); }

/* Product cards on the home page */
.product { display: flex; flex-direction: column; gap: 10px; }
.product img { width: 40px; height: 40px; border-radius: 10px; }
.product .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product a.more { margin-top: auto; font-weight: 600; font-size: 0.92rem; }

/* App mock: a few task rows */
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 40px; max-width: 760px; }
.mock .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0f0f0f; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock .row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; font-size: 0.9rem; }
.mock .row:last-child { border-bottom: 0; }
.mock .row b { color: var(--text); font-weight: 500; }
.mock .row small { color: var(--muted); }
.mock .row.client { border-left-color: #3b82f6; }
.mock .row.live { border-left-color: var(--brand); background: rgba(219, 39, 119, 0.06); }
.mock .row.done { border-left-color: var(--ok); }
.mock .row.done b { color: var(--muted); text-decoration: line-through; }
.pill { font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--body); white-space: nowrap; }
.pill.live { color: var(--brand-soft); border-color: var(--brand); }
.pill.due { color: #fbbf24; border-color: #78350f; }
@media (max-width: 520px) { .mock .row { grid-template-columns: 1fr auto; } .mock .row .pill:last-child { display: none; } }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { counter-increment: s; }
.step::before {
  content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px;
  border-radius: 50%; background: var(--brand); color: #fff; font-size: 0.8rem; font-weight: 700;
}
.step p { margin-top: 6px; font-size: 0.95rem; }

.callout { padding: 14px 18px; border-left: 3px solid var(--line-strong); background: var(--panel); border-radius: 0 10px 10px 0; font-size: 0.92rem; }
.callout strong { color: var(--text); }

/* Bottom CTA + footer */
.cta { text-align: left; }
.cta .waitlist { margin-top: 20px; }
.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--muted); }
.site-footer .fine { flex-basis: 100%; }

/* Long-form text (privacy) */
.prose { max-width: 70ch; }
.prose h2 { margin: 32px 0 10px; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }

/* Before / after screenshots: two images of the same size side by side */
.compare { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.compare figure { margin: 0; }
.compare img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.compare figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); vertical-align: middle; }
.badge.pro { color: var(--brand-soft); border-color: var(--brand); }
.fine-print { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.compare.one { grid-template-columns: 1fr; margin-top: 14px; }
