/* wakustream marketing site — self-contained, no build step. */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --accent: #4f46e5;
  --accent-ink: #3730a3;
  --accent-soft: #eef2ff;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --green: #047857;
  --green-soft: #ecfdf5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 40px -12px rgba(15, 23, 42, .25);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased; font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 44rem; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(15,23,42,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: #cbd5e1; font-weight: 500; font-size: .95rem; }
.nav a[aria-current="page"] { color: #fff; font-weight: 600; }
.nav a:hover { text-decoration: none; color: #fff; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 6px 8px; font: inherit; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #cbd5e1; background: var(--bg-2); }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%); border-top: 1px solid #e0e7ff; border-bottom: 1px solid var(--line); }
.hero {
  padding: 88px 0 72px; color: #fff;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(99,102,241,.55), transparent 60%),
    radial-gradient(700px 380px at 90% 10%, rgba(14,165,233,.28), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
}
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.3rem; color: #cbd5e1; }
.hero .eyebrow { color: #a5b4fc; }
.hero .btn-secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.hero.with-shot { padding-bottom: 0; }
.hero-shot { margin-top: 56px; margin-bottom: -150px; }
.hero-shot .frame { box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.hero.with-shot + section { padding-top: 220px; }
.hero-tag { display: inline-flex; align-items: center; gap: .5rem; background: rgba(99,102,241,.22); color: #c7d2fe; border: 1px solid rgba(165,180,252,.35); padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #a5b4fc; box-shadow: 0 0 0 3px rgba(165,180,252,.3); }

/* Browser frame around screenshots */
.frame { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.frame img { width: 100%; }
.phone { border: 1px solid var(--line); border-radius: 28px; padding: 10px; background: #fff; box-shadow: var(--shadow); width: min(100%, 300px); margin: 0 auto; }
.phone img { border-radius: 20px; }

/* Grids */
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card .num { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; margin-bottom: .75rem; }
.card p:last-child { margin-bottom: 0; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip .feature-media { order: -1; }
.feature-text p { color: var(--ink-2); }
.feature ul { padding-left: 1.1rem; color: var(--ink-2); margin: 0; }
.feature li { margin: .35rem 0; }
.feature-media { min-width: 0; }

/* Agent bubble mock */
.bubble { border: 1px solid var(--line); border-left: 3px solid var(--ink-2); border-radius: 10px; background: var(--bg-2); padding: 1rem 1.1rem; font-size: .95rem; }
.bubble .who { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.bubble .who b { color: var(--ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 6px; font-size: .78rem; font-weight: 600; border: 1px solid transparent; }
.pill-amber { background: var(--amber-soft); color: var(--amber); border-color: #fde68a; }
.pill-green { background: var(--green-soft); color: var(--green); border-color: #a7f3d0; }
.pill-indigo { background: var(--accent-soft); color: var(--accent-ink); border-color: #c7d2fe; }

/* Tool list */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.tool { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; background: #fff; }
.tool code { font-family: var(--mono); font-size: .85rem; color: var(--accent-ink); background: var(--accent-soft); padding: .1rem .4rem; border-radius: 5px; }
.tool p { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-2); }
pre { background: var(--ink); color: #e2e8f0; padding: 1rem 1.25rem; border-radius: 10px; overflow: auto; font-family: var(--mono); font-size: .85rem; line-height: 1.6; }
pre .c { color: #94a3b8; }

/* CTA band */
.cta { background: var(--ink); color: #fff; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { color: #cbd5e1; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #e2e8f0; }

/* Prose pages */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }

/* Contact form */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select {
  font: inherit; padding: .65rem .8rem; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { min-height: 140px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: start; }
.contact-aside .card + .card { margin-top: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); margin-left: 1.25rem; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 1.5rem; padding: 40px 0; }
  .feature.flip .feature-media { order: 0; }
  .wide { display: none; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-shot { margin-top: 32px; margin-bottom: -80px; }
  .hero.with-shot + section { padding-top: 128px; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .6rem 0; }
  .nav-toggle { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* About page rows */
.about-row { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start; margin-top: 2.5rem; }
.about-row:first-child { margin-top: 0; }
.about-row h2 { margin-top: .35rem; }
.about-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.about-icon svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .about-row { grid-template-columns: 40px 1fr; gap: .9rem; }
  .about-icon { width: 40px; height: 40px; border-radius: 10px; }
  .about-icon svg { width: 20px; height: 20px; }
}
