/* CLAIMFORGE — DARK LEGAL TECH */
:root {
  --bg: #0c0c14;
  --bg-2: #13131f;
  --bg-card: #1a1a2e;
  --fg: #f0ece4;
  --fg-muted: #8a8699;
  --accent: #f59e0b;
  --accent-dim: #b4730a;
  --border: #2a2a3e;
  --green: #22c55e;
  --green-dim: #166534;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12,12,20,0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
}

/* HERO */
.hero {
  padding: 6rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* AGENT WIDGET */
.agent-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  font-size: 0.85rem;
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.agent-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.agent-label { color: var(--fg-muted); font-size: 0.75rem; }
.agent-task {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--fg);
}
.task-pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-amber 1.5s infinite;
}
@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.agent-log { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.log-line { color: var(--fg-muted); font-size: 0.8rem; padding: 0.4rem 0.6rem; border-radius: 6px; }
.log-done { background: rgba(34,197,94,0.1); color: var(--green); }
.log-active { background: rgba(245,158,11,0.1); color: var(--accent); }
.agent-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}
.metric-label { color: var(--fg-muted); font-size: 0.75rem; }
.metric-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

/* PROOF STRIP */
.proof {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 3rem;
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.proof-item { display: flex; flex-direction: column; gap: 0.4rem; }
.proof-stat {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.proof-desc { font-size: 0.85rem; color: var(--fg-muted); }

/* HOW SECTION */
.how { padding: 6rem 3rem; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  line-height: 1.2;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.how-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0.6;
}
.how-card--2::after { background: #a78bfa; }
.how-card--3::after { background: #34d399; }
.how-card--4::after { background: #f87171; }
.how-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.how-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.how-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }

/* DIFFERENCES */
.differences { padding: 6rem 3rem; background: var(--bg-2); }
.diff-inner { max-width: 1200px; margin: 0 auto; }
.diff-header { margin-bottom: 3.5rem; }
.diff-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 500px;
}
.diff-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.diff-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 180px;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.diff-row:last-child { border-bottom: none; }
.diff-row > span {
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}
.diff-row.diff-head > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  font-weight: 500;
  background: var(--bg-card);
}
.diff-cf {
  background: rgba(245,158,11,0.08) !important;
  color: var(--accent) !important;
  font-weight: 600;
}
.diff-cap { color: var(--fg-muted); font-weight: 400; }
.diff-yes { color: var(--fg-muted); }
.diff-cf-val { color: var(--accent); font-weight: 600; }
.comp-source { font-size: 0.72rem; color: var(--fg-muted); margin-top: 1rem; text-align: right; }

/* VISION */
.vision { padding: 6rem 3rem; }
.vision-inner { max-width: 1200px; margin: 0 auto; }
.vision-quote {
  margin-bottom: 4rem;
  max-width: 680px;
}
.vision-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.vision-context { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }
.vision-caps { display: flex; flex-direction: column; gap: 1rem; }
.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cap-icon { font-size: 1.2rem; flex-shrink: 0; }
.cap-text { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.5; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}
.footer-tagline { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.footer-meta { font-size: 0.75rem; color: var(--fg-muted); text-align: right; align-self: center; }

/* HERO CTA */
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: #0c0c14;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dim); }
.btn-secondary {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
}
.btn-secondary:hover { color: #fbbf24; }

/* BETA CARD */
.beta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
}
.beta-badge-wrap { margin-bottom: 0.5rem; }
.badge-beta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
}
.beta-note { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.beta-features { display: flex; flex-direction: column; gap: 0.8rem; }
.beta-feat { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; }
.feat-check { color: var(--green); font-size: 0.9rem; flex-shrink: 0; }

/* FEATURES (replaces proof + how) */
.features { padding: 5rem 3rem; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}
.feat-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.feat-icon { font-size: 1.4rem; color: var(--accent); flex-shrink: 0; line-height: 1.2; }
.feat-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--fg); }
.tag-beta {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(245,158,11,0.12);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.feat-list li { font-size: 0.85rem; color: var(--fg-muted); padding-left: 1.2rem; position: relative; }
.feat-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.feat-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--fg-muted); padding-top: 1rem; border-top: 1px solid var(--border); }
.status-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ROADMAP */
.roadmap { padding: 5rem 3rem; }
.roadmap-inner { max-width: 1200px; margin: 0 auto; }
.roadmap-note { font-size: 0.85rem; color: var(--fg-muted); margin-top: 0.8rem; margin-bottom: 2.5rem; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  position: relative;
}
.roadmap-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}
.roadmap-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; }
.roadmap-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.roadmap-refs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ref-tag { font-size: 0.7rem; color: var(--fg-muted); background: var(--bg-2); border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 6px; }

/* AUDIENCE */
.audience { padding: 5rem 3rem; background: var(--bg-2); }
.audience-inner { max-width: 1200px; margin: 0 auto; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.audience-card { padding: 2rem; }
.audience-num { font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.audience-title { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; }
.audience-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.audience-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.audience-tags li { font-size: 0.75rem; color: var(--fg-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 0.25rem 0.7rem; border-radius: 20px; }

/* TRUST */
.trust { padding: 5rem 3rem; border-top: 1px solid var(--border); }
.trust-inner { max-width: 1200px; margin: 0 auto; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.trust-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.trust-icon { font-size: 1.4rem; flex-shrink: 0; }
.trust-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }

/* FOOTER LINKS */
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.footer-link { font-size: 0.82rem; color: var(--fg-muted); text-decoration: none; }
.footer-link:hover { color: var(--fg); }
.footer-sep { color: var(--border); font-size: 0.8rem; }

/* CHAIN FLOW (hero) */
.chain-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 2rem 0;
  flex-wrap: wrap;
  row-gap: 0.75rem;
}
.chain-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  min-width: 150px;
}
.chain-step-icon { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; line-height: 1; }
.chain-step-body { display: flex; flex-direction: column; gap: 0.15rem; }
.chain-step-label { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--fg); }
.chain-step-sub { font-size: 0.72rem; color: var(--fg-muted); }
.chain-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.4rem;
  flex-shrink: 0;
}
.chain-arrow-line {
  width: 28px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}
.chain-arrow-label {
  font-size: 0.62rem;
  color: var(--accent);
  text-align: center;
  line-height: 1.3;
  opacity: 0.7;
}
.chain-arrow-label span { opacity: 0.8; }

/* HONESTY BAR */
.honesty-bar {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  display: inline-flex;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .features { padding: 4rem 1.5rem; }
  .roadmap { padding: 4rem 1.5rem; }
  .audience { padding: 4rem 1.5rem; }
  .trust { padding: 4rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}