/* intervals landing — dark-first, single indigo accent, screenshots as the
   visual device. No blobs, no emoji headings, no card triads. */

:root {
  --bg: #0b0d14;
  --bg-soft: #151824;
  --text: #eef0f6;
  --muted: #9aa0b4;
  --border: #2a2f42;
  --indigo: #818cf8;
  --indigo-strong: #6366f1;
}

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

html { background: var(--bg); scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.65;
}

a { color: var(--indigo); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #a5b4fc; }

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  margin-bottom: 3rem;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: ui-monospace, monospace;
  font-weight: 700; font-size: 1.05rem; color: var(--text);
}
.brand:hover { color: var(--indigo); }
nav { display: flex; gap: 1.1rem; align-items: center; font-family: ui-monospace, monospace; font-size: 0.85rem; }
nav a { color: var(--muted); }
nav a:hover { color: var(--indigo); }
.nav-ico { width: 1.2rem; height: 1.2rem; fill: var(--muted); display: block; }
nav a:hover .nav-ico { fill: var(--indigo); }
.nav-home { font-size: 1.05rem; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.02rem; }
h4 { font-size: 0.95rem; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--muted); margin-bottom: 1.8rem; max-width: 42rem; }
.section-lede { color: var(--muted); margin-bottom: 2rem; max-width: 44rem; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.8rem;
  align-items: center;
  padding: 1.5rem 0 4rem;
}
.hero .lede { margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.btn-indigo { background: var(--indigo-strong); color: #fff; }
.btn-indigo:hover { background: var(--indigo); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--indigo); }
.factline { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--muted); margin-top: 1rem; }

/* ---------- screenshots ---------- */
.browser-frame {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--border); }
.browser-bar .url {
  margin-left: 0.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--muted);
  background: rgba(11, 13, 20, 0.6);
  border-radius: 0.4rem;
  padding: 0.2rem 0.7rem;
}
.browser-frame img { width: 100%; height: auto; display: block; }

.phone-frame {
  width: 12.5rem;
  border-radius: 2.1rem;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  padding: 0.45rem;
  overflow: hidden;
}
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 1.7rem; }

.shots-3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* ---------- sections ---------- */
section.block { padding: 3.2rem 0; }
.section-lede { color: var(--muted); margin-bottom: 2rem; max-width: 44rem; }

.sec-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }
.sec-ico {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--indigo);
  fill: none;
  flex: none;
}

.steps { display: grid; gap: 1.3rem; margin-bottom: 2rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.step .num { font-family: ui-monospace, monospace; color: var(--indigo); font-size: 1rem; padding-top: 0.1rem; }
.step h3 { font-weight: 600; margin-bottom: 0.2rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.lines { display: grid; gap: 1rem; }
.line-row {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.9rem;
  align-items: start;
}
.line-ico {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--indigo);
  fill: none;
  flex: none;
  margin-top: 0.15rem;
}
.line-row h3 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; }
.line-row p { color: var(--muted); font-size: 0.9rem; }

/* github band */
.github-band {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 2.4rem 2.2rem;
  background: var(--bg-soft);
}
.github-band h2 { margin-bottom: 0.5rem; }
.github-band p { color: var(--muted); margin-bottom: 1.6rem; max-width: 40rem; }

footer {
  margin-top: 4rem;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
footer .fine { margin-top: 0.7rem; font-size: 0.68rem; color: #64748b; max-width: 46rem; margin-left: auto; margin-right: auto; line-height: 1.6; }

@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr; }
  .shots-3 { grid-template-columns: 1fr; }
}
