/* ============================================================
   landing.css — used ONLY by the landing page (index.html)
   Do not import this into any app page. All rules are scoped
   under body.landing to prevent leaking into the app.
   ============================================================ */

body.landing {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

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

body.landing a { color: inherit; text-decoration: none; }

/* ---------- Top bar ---------- */
body.landing .topbar {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: unset;
  position: static;
}

body.landing .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  padding: 0;
}

body.landing .brand-mark {
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  border-radius: 3px;
  border: none;
}

body.landing .brand-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

body.landing .topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

body.landing .topbar-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

body.landing .topbar-link:hover {
  color: var(--ink);
}

body.landing .topbar-cta {
  background: var(--ink);
  color: white;
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
  border: none;
  display: inline-block;
}

body.landing .topbar-cta:hover {
  opacity: 0.9;
}

/* ---------- Article container ---------- */
body.landing article {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 32px 120px;
  background: transparent;
  border: none;
}

/* ---------- Hero ---------- */
body.landing .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
}

body.landing h1 {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
  padding: 0;
  border: none;
}

body.landing h1 .accent {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
}

body.landing .lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft, #2A3546);
  margin-bottom: 48px;
  font-weight: 400;
}

body.landing .hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

body.landing .btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
  font-family: inherit;
  border: none;
  cursor: pointer;
  letter-spacing: normal;
  text-transform: none;
}

body.landing .btn-primary {
  background: var(--ink);
  color: white;
}

body.landing .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

body.landing .btn-ghost {
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border: none;
}

body.landing .btn-ghost:hover {
  color: var(--ink);
}

body.landing .btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.15s;
}

body.landing .btn-ghost:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Section spacing ---------- */
body.landing section {
  margin-bottom: 80px;
  padding: 0;
  border: none;
  background: transparent;
}

body.landing section:last-child {
  margin-bottom: 0;
}

/* ---------- Section headings ---------- */
body.landing h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
  padding: 0;
  border: none;
  text-transform: none;
  font-family: 'Inter', sans-serif;
}

body.landing p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft, #2A3546);
  margin-bottom: 20px;
}

body.landing p:last-child {
  margin-bottom: 0;
}

body.landing p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Divider ---------- */
body.landing .divider {
  display: block;
  margin: 60px auto;
  width: 40px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--line);
  font-size: 20px;
  letter-spacing: 0.5em;
  padding: 0;
  border: none;
  background: transparent;
}

/* ---------- Feature list ---------- */
body.landing .features {
  margin: 40px 0;
  padding: 0;
  background: transparent;
  border: none;
}

body.landing .feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
}

body.landing .feature:last-child {
  border-bottom: none;
}

body.landing .feature-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

body.landing .feature-name {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

body.landing .feature-desc {
  font-size: 15px;
  color: var(--ink-soft, #2A3546);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Two-column callout ---------- */
body.landing .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}

body.landing .split-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}

body.landing .split-card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

body.landing .split-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

body.landing .split-card p {
  font-size: 15px;
  color: var(--ink-soft, #2A3546);
  margin-bottom: 0;
}

/* ---------- Honest section ---------- */
body.landing .honest {
  background: white;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

body.landing .honest h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

body.landing .honest ul {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}

body.landing .honest ul:last-child {
  margin-bottom: 0;
}

body.landing .honest li {
  font-size: 16px;
  color: var(--ink-soft, #2A3546);
  padding: 8px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: transparent;
  border: none;
}

body.landing .honest li::before {
  content: "—";
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  flex-shrink: 0;
}

/* ---------- Final CTA ---------- */
body.landing .final-cta {
  text-align: center;
  padding: 80px 0 40px;
}

body.landing .final-cta h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

body.landing .final-cta p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
}

body.landing .final-cta .btn {
  padding: 16px 40px;
  font-size: 16px;
}

/* ---------- Footer ---------- */
body.landing footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
}

body.landing footer .footer-brand {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}

body.landing footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

body.landing footer a:hover {
  color: var(--ink);
}

/* ---------- Highlight (inline emphasis) ---------- */
body.landing .highlight {
  background: linear-gradient(180deg, transparent 62%, rgba(232, 163, 61, 0.2) 62%);
  padding: 0 2px;
  color: inherit;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body.landing .topbar {
    padding: 24px 20px 0;
  }
  body.landing .topbar-actions {
    gap: 12px;
  }
  body.landing article {
    padding: 60px 20px 80px;
  }
  body.landing h1 {
    font-size: 38px;
  }
  body.landing .lede {
    font-size: 18px;
    margin-bottom: 40px;
  }
  body.landing h2 {
    font-size: 26px;
  }
  body.landing p {
    font-size: 16px;
  }
  body.landing .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.landing .split-card {
    padding: 24px;
  }
  body.landing .honest {
    padding: 28px;
  }
  body.landing .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  body.landing .feature {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  body.landing .final-cta {
    padding: 60px 0 20px;
  }
  body.landing .final-cta h2 {
    font-size: 28px;
  }
  body.landing footer {
    padding: 32px 20px 40px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ---------- Entry animation ---------- */
@keyframes landingFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

body.landing article > * {
  animation: landingFadeUp 0.6s ease-out backwards;
}

body.landing article > *:nth-child(2) { animation-delay: 0.05s; }
body.landing article > *:nth-child(3) { animation-delay: 0.1s; }
body.landing article > *:nth-child(4) { animation-delay: 0.15s; }