:root {
  --ink: #10211c;
  --muted: #60716a;
  --paper: #f5f7f2;
  --panel: #ffffff;
  --line: #d9e1db;
  --green: #125b46;
  --green-2: #1d755b;
  --mint: #dff4e9;
  --lime: #cbea8a;
  --amber: #9a5b05;
  --amber-bg: #fff1d2;
  --red: #9e352e;
  --red-bg: #fde6e2;
  --shadow: 0 20px 55px rgba(16, 33, 28, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line); background: rgba(245,247,242,.92); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 650; text-decoration: none; letter-spacing: -.02em; }
.brand strong { color: var(--green); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: white; background: var(--green); font-size: .72rem; letter-spacing: .05em; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav > a:not(.button) { text-decoration: none; font-size: .9rem; color: #3f514a; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 1.2rem; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(18,91,70,.16); }
.button:hover { background: var(--green-2); }
.button-small { min-height: 38px; padding-inline: .9rem; font-size: .85rem; }
.button-wide { width: 100%; }
.text-link { color: var(--green); font-weight: 700; text-decoration: none; }
.hero { min-height: 625px; display: grid; align-content: center; max-width: 1120px; margin: auto; padding: 6rem 1.5rem 5rem; background: radial-gradient(circle at 90% 30%, rgba(203,234,138,.35), transparent 24%); }
.eyebrow, .section-kicker { color: var(--green); font-weight: 750; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; display: inline-block; margin-right: .45rem; border-radius: 50%; background: #3aaa70; box-shadow: 0 0 0 5px rgba(58,170,112,.14); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 920px; margin: 1.1rem 0 1.3rem; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.065em; font-weight: 770; }
.hero-copy { max-width: 760px; color: #42554e; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.3rem; margin: 1.4rem 0; }
.microcopy, .fine-print, .form-note { color: var(--muted); font-size: .82rem; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto 4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }
.proof-strip > div { padding: 1.4rem 1.7rem; border-right: 1px solid var(--line); }
.proof-strip strong { display: block; font-size: 1.6rem; }
.proof-strip span { color: var(--muted); font-size: .85rem; }
.proof-strip p { grid-column: 1 / -1; margin: 0; padding: .7rem 1.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.section { max-width: 1120px; margin: auto; padding: 5rem 1.5rem; }
.section h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.problem-grid, .pricing, .contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.problem-copy { color: #42554e; font-size: 1.1rem; padding-top: 2rem; }
.demo-preview { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.opportunity-card, .compact-card, .price-card, .profile-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.opportunity-card { padding: clamp(1.4rem, 4vw, 2.5rem); }
.opportunity-card.featured { border-top: 4px solid var(--green); }
.opportunity-topline, .source-row, .decision-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tag { display: inline-flex; width: fit-content; padding: .32rem .65rem; border-radius: 999px; font-weight: 800; font-size: .76rem; }
.tag-strong { background: var(--mint); color: var(--green); }
.tag-blocked { background: var(--amber-bg); color: var(--amber); }
.tag-change { background: var(--red-bg); color: var(--red); }
.deadline { color: var(--muted); font-size: .82rem; font-weight: 700; }
.deadline.urgent { color: var(--red); }
.opportunity-card h3, .opportunity-card h2, .compact-card h2 { margin: 1.2rem 0 .6rem; letter-spacing: -.035em; }
.opportunity-card h3 { font-size: 1.65rem; }
.alert-row { display: flex; gap: .85rem; margin: 1.5rem 0; padding: 1rem; border: 1px solid #e7c078; border-radius: 9px; background: var(--amber-bg); color: #5d3b0d; }
.alert-icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: white; font-weight: 850; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1.4rem 0; }
.score-grid > div { padding: .8rem; border-radius: 8px; background: #f0f4f1; }
.score-grid span, .score-grid strong { display: block; }
.score-grid span { color: var(--muted); font-size: .75rem; }
.source-row { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.source-row a { color: var(--green); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.steps article { min-height: 230px; padding: 1.4rem; border-top: 2px solid var(--green); background: white; }
.steps article > span { color: var(--green); font-size: .78rem; font-weight: 800; }
.steps h3 { margin: 2.5rem 0 .5rem; }
.steps p { color: var(--muted); font-size: .9rem; }
.pricing { border-top: 1px solid var(--line); }
.price-card { padding: 2rem; }
.price { font-size: 3.6rem; font-weight: 800; letter-spacing: -.06em; }
.price sup { font-size: 1.4rem; }
.price span { font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.renewal { color: var(--muted); }
.founding-note { display: grid; gap: .35rem; max-width: 580px; margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--green); background: var(--mint); }
.founding-note span { color: #42554e; font-size: .9rem; }
.price-card ul { margin: 1.5rem 0; padding: 0; list-style: none; }
.price-card li { padding: .65rem 0 .65rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.faq { border-top: 1px solid var(--line); }
.faq details { max-width: 850px; border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 720; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }
.contact { margin-bottom: 5rem; border-radius: 18px; background: var(--ink); color: white; }
.contact .section-kicker { color: var(--lime); }
.contact form { display: grid; gap: 1rem; }
.contact label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 700; }
.contact input { width: 100%; min-height: 46px; padding: .7rem .85rem; border: 1px solid #52665e; border-radius: 7px; background: #1b3029; color: white; }
.contact .form-note { color: #aebdb7; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem clamp(1.5rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: var(--green); font-weight: 700; text-decoration: none; }
.legal-shell { max-width: 820px; margin: 0 auto; padding: 5rem 1.5rem 7rem; }
.legal-shell h1 { margin-bottom: 1rem; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.legal-shell h2 { margin: 2.5rem 0 .7rem; font-size: 1.35rem; letter-spacing: -.025em; }
.legal-shell p, .legal-shell li { color: #42554e; }
.legal-shell .effective { color: var(--muted); font-size: .85rem; }
.legal-shell .legal-note { margin: 2rem 0; padding: 1rem 1.2rem; border-left: 3px solid var(--green); background: var(--mint); }

.demo-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.demo-sidebar { padding: 1.5rem; border-right: 1px solid var(--line); background: #eef2ed; }
.demo-account { margin-bottom: 1.5rem; font-weight: 750; }
.demo-account span { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.demo-sidebar > a { display: flex; justify-content: space-between; padding: .65rem .8rem; margin: .25rem 0; border-radius: 7px; color: #496057; text-decoration: none; font-size: .88rem; }
.demo-sidebar > a.active { background: white; color: var(--green); font-weight: 760; }
.source-health { margin-top: 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .78rem; }
.source-health strong, .source-health small { display: block; }
.source-health small { margin-top: .25rem; color: var(--muted); }
.demo-content { max-width: 1040px; width: 100%; margin: 0 auto; padding: 3rem clamp(1.2rem, 5vw, 4rem); }
.demo-title { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.demo-title h1 { margin: .4rem 0 1.3rem; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.05em; }
.help-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--green); font-weight: 800; cursor: help; }
.help-button.small { width: 24px; height: 24px; font-size: .75rem; }
.decision-summary { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-bottom: 1.3rem; padding: 1rem 1.2rem; border-left: 4px solid var(--green); background: var(--mint); }
.agency { margin: 1.2rem 0 -.8rem; color: var(--green); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.why-match { margin-top: 1.5rem; }
.why-match h3 { display: flex; gap: .5rem; align-items: center; }
.decision-actions { justify-content: flex-start; margin-top: 1.2rem; }
.secondary-button { min-height: 48px; padding: 0 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-weight: 700; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.compact-card { padding: 1.4rem; box-shadow: none; }
.compact-card h2 { font-size: 1.25rem; }
.compact-card p { color: var(--muted); font-size: .88rem; }
.recommendation { padding-top: .9rem; border-top: 1px solid var(--line); }
.profile-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; margin-top: 1rem; padding: 1.6rem; box-shadow: none; }
.profile-panel dl { margin: 0; }
.profile-panel dl > div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.profile-panel dt { color: var(--muted); font-size: .75rem; }
.profile-panel dd { margin: .2rem 0 0; font-size: .88rem; font-weight: 650; }
.tooltip { position: fixed; z-index: 100; display: none; max-width: 280px; padding: .7rem .8rem; border-radius: 7px; background: var(--ink); color: white; font-size: .78rem; box-shadow: var(--shadow); pointer-events: none; }

@media (max-width: 850px) {
  .site-header nav > a:not(.button) { display: none; }
  .proof-strip { margin-inline: 1rem; grid-template-columns: 1fr 1fr; }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div { border-bottom: 1px solid var(--line); }
  .problem-grid, .pricing, .contact, .profile-panel { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-sidebar { display: none; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 1rem; }
  .hero { min-height: 560px; padding-top: 4rem; }
  .hero h1 { font-size: 3.1rem; }
  .hero-actions, .panel-heading, .opportunity-topline, .source-row, .decision-actions, footer { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .proof-strip, .steps, .two-column { grid-template-columns: 1fr; }
  .proof-strip > div { border-right: 0; }
  .decision-summary { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
