/* SettleIQ — GitHub Pages landing styles */
:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --slate: #334155;
  --slate-2: #475569;
  --muted: #94A3B8;
  --line: #1F2A3D;
  --emerald: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --text: #E2E8F0;
  --text-2: #CBD5E1;
  --card: #111B2E;
  --card-2: #0B1322;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 14px; }
.nav-links a.cta {
  background: var(--emerald);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-links a.cta:hover { text-decoration: none; filter: brightness(1.05); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(16, 185, 129, 0.10), transparent 60%),
    radial-gradient(800px 300px at 10% 10%, rgba(245, 158, 11, 0.06), transparent 60%);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: #F8FAFC;
}
.hero p.tagline {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 760px;
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: filter .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: var(--navy); }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-secondary { background: var(--navy-2); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: #243049; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--slate); }
.btn-ghost:hover { background: rgba(148, 163, 184, 0.08); text-decoration: none; }

.callout-note {
  margin-top: 22px;
  padding: 12px 14px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  color: #FDE68A;
  font-size: 14px;
}

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section h2 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: #F1F5F9;
}
section p.lead { color: var(--text-2); margin: 0 0 28px; max-width: 760px; }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 8px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.stat .n { font-size: 24px; font-weight: 700; color: #F8FAFC; }
.stat .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .15s ease, transform .05s ease;
}
.card:hover { border-color: rgba(16, 185, 129, 0.5); }
.card .uc {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--emerald);
  font-weight: 700;
  text-transform: uppercase;
}
.card h3 {
  margin: 6px 0 6px;
  font-size: 16px;
  color: #F1F5F9;
}
.card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Pipeline */
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.agent {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.agent .num {
  display: inline-block;
  width: 26px; height: 26px;
  line-height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
}
.agent .name { font-weight: 600; font-size: 14px; color: #E2E8F0; }
.agent .desc { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Code block */
.code {
  background: #0A1120;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  color: #E2E8F0;
  overflow-x: auto;
  line-height: 1.7;
}
.code .c { color: var(--muted); }
.code .k { color: var(--amber); }

/* Two-col */
.twocol {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Badges */
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.badge.ok { color: var(--emerald); border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.08); }
.badge.warn { color: var(--amber); border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); }
.badge.alert { color: var(--red); border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.08); }

/* Footer */
footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
footer .row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .twocol { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.cta) { display: none; }
}
