@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --bg:         #f4f4f0;
  --surface:    #ffffff;
  --border:     #d0d0cc;
  --accent:     #f97316;
  --accent-dim: #ea6c0a;
  --text:       #0a0a0a;
  --text-muted: #555555;
  --font-display: 'Bebas Neue', sans-serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4.5rem); }

/* ── Header ── */
header {
  background: var(--bg);
  border-bottom: 6px solid var(--text);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: none;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .06em;
  color: var(--text);
  font-weight: 400;
}
nav a {
  margin-left: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover { color: var(--text); }
nav a.nav-cta {
  padding: .55rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0;
}
nav a.nav-cta:hover { background: var(--accent-dim); color: #fff; box-shadow: none; transform: none; }
nav a.lang-switch {
  padding: .3rem .6rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: .65rem;
}
nav a.lang-switch:hover { background: var(--surface); color: var(--text); }

/* ── Hero ── */
.hero {
  background: var(--bg);
  background-image: none;
  border-bottom: 6px solid var(--text);
  padding: 7rem 0 5.5rem;
  text-align: left;
}
.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 11rem);
  line-height: .87;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 400;
  animation: none;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 2.5rem;
  line-height: 1.7;
  animation: none;
}
.hero .lead strong { color: var(--text); }
.hero .cta { animation: none; }
.hero-social-proof {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  flex-wrap: wrap;
  animation: none;
}
.hero-proof-sep { opacity: .4; }

/* ── Buttons ── */
.cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background .2s, border-color .2s;
}
.cta:hover { transform: none; box-shadow: none; }
.cta-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.cta-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); box-shadow: none; transform: none; }
.cta-secondary { background: transparent; color: var(--text); border: 2px solid var(--text); }
.cta-secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; transform: none; }
.audit .cta-primary { background: var(--bg); color: var(--text); border: 2px solid var(--bg); }
.audit .cta-primary:hover { background: #e8e8e4; border-color: #e8e8e4; box-shadow: none; transform: none; }

/* ── Stats strip ── */
.stats-strip {
  background: var(--bg);
  border-top: none;
  border-bottom: 3px solid var(--border);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.5rem 2rem;
  border-right: 3px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: none;
  margin: 0;
}

/* ── Section base ── */
section { padding: 6rem 0; border-bottom: 6px solid var(--text); }
section h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .9;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: left;
}
.section-eyebrow {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
  display: block;
}
.lead-sm {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 3rem;
}

/* ── Services ── */
.services { background: var(--bg); border-top: none; }
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 3rem;
  counter-reset: none;
}
.services .grid > div {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: none;
  counter-increment: none;
}
.services .grid > div::before { display: none; }
.services .grid > div:hover { transform: none; box-shadow: none; border-color: var(--border); }
.services h4 { margin-bottom: .55rem; font-size: .875rem; font-weight: 600; color: var(--text); }
.services p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.services-eyebrow { text-align: left; font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.services-intro { text-align: left; color: var(--text-muted); max-width: 560px; margin: .5rem 0 2.5rem; font-size: 1rem; line-height: 1.7; }

/* ── Agents ── */
.agents {
  background: var(--bg);
  background-image: none;
  border-top: none;
}
.agents h3 { color: var(--text); letter-spacing: -.01em; }
.agents .section-eyebrow { color: var(--accent); text-align: left; }
.agents .lead-sm { color: var(--text-muted); text-align: left; margin: .75rem 0 3.5rem; }
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.agent-card {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: none;
  cursor: default;
  position: relative;
}
.agent-card:hover { transform: none; border-color: var(--border); background: var(--surface); }
.agent-card.featured { border-top: 4px solid var(--accent); background: var(--surface); }
.agent-card.featured:hover { background: var(--surface); border-top-color: var(--accent); }
.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 0;
  position: static;
  top: auto;
  left: auto;
  margin-bottom: .25rem;
}
.agent-icon { display: flex; align-items: center; }
.agent-icon svg { stroke: var(--accent) !important; }
.agent-card h4 { font-size: .875rem; font-weight: 600; color: var(--text); margin: 0; }
.agent-card.featured h4 { color: var(--text); font-size: .875rem; }
.agent-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }
.agent-outcome {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
  margin-top: .25rem;
}
.agents-how {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
}
.agents-how h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2rem; color: var(--text); text-align: left; }
.agents-steps { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; max-width: 620px; margin: 0; }
.agents-steps li { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  margin-top: 3px;
}
.agents-steps strong { display: block; font-size: .975rem; font-weight: 600; margin-bottom: .3rem; color: var(--text); }
.agents-steps p { font-size: .925rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.agents-cta-block { padding-top: 2rem; text-align: left; }
.agents-price-signal { font-size: .975rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.agents-cta-block .audit-fallback { color: var(--text-muted); }
.agents-cta-block .audit-fallback a { color: var(--accent); }

/* ── Audit/CTA band ── */
.audit { background: var(--text); text-align: left; padding: 5rem 0; }
.audit h3 { color: var(--bg); }
.audit p { max-width: 560px; margin: 0 0 1.5rem; color: rgba(244,244,240,.75); font-size: .975rem; line-height: 1.7; }
.audit-fallback { font-size: .875rem; color: rgba(244,244,240,.45); margin-top: 1rem; display: block; }
.audit-fallback a { color: rgba(244,244,240,.75); text-decoration: underline; }

/* ── About team ── */
.about-team { background: var(--bg); }
.about-team h3 { text-align: left; }
.about-team .lead-sm { text-align: left; margin: .75rem 0 2.5rem; }
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 0 2.5rem;
}
.founder-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border-top: 3px solid var(--border);
  border-radius: 0;
  transition: none;
}
.founder-card:hover { transform: none; box-shadow: none; }
.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--text);
  border: none;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}
.founder-info h4 { margin-bottom: .2rem; font-size: .9rem; font-weight: 600; color: var(--text); }
.founder-role { font-size: .8rem; color: var(--text-muted); margin-bottom: .4rem; line-height: 1.5; }
.founder-link { font-size: .75rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.founder-link:hover { text-decoration: underline; }
.certs-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--border);
}
.certs-label { font-size: .65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.trust-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.badge {
  font-size: .62rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: .25rem .75rem;
  white-space: nowrap;
}

/* ── How It Works ── */
.how-it-works { background: var(--bg); }
.how-it-works h3 { text-align: left; }
.how-it-works .lead-sm { text-align: left; margin: .75rem 0 2.5rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: none;
  margin: 0;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem 1.75rem;
  transition: none;
  position: relative;
}
.step:hover { transform: none; box-shadow: none; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: block;
  flex-shrink: unset;
  margin-top: 0;
}
.step h4 { font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── FAQ ── */
.faq { background: var(--bg); }
.faq h3 { text-align: left; margin-bottom: 2rem; }
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { background: transparent; }
.faq-item p { padding: 0 0 1.25rem; font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Custom ── */
.custom { background: var(--bg); }
.custom h3 { text-align: left; }
.custom .lead-sm { text-align: left; margin: .75rem 0 2.5rem; }
.custom .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.custom .grid > div {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: none;
}
.custom .grid > div:hover { transform: none; box-shadow: none; }
.custom h4 { margin-bottom: .4rem; font-size: .875rem; font-weight: 600; color: var(--text); }
.custom .grid p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }
.custom .custom-cta { max-width: 640px; color: var(--text-muted); font-size: .9rem; line-height: 1.75; text-align: left; }
.custom .custom-cta a { color: var(--accent); font-weight: 500; }

/* ── Proof & Trust ── */
.proof-trust { background: var(--bg); }
.proof-trust h3 { text-align: left; }
.proof-trust .lead-sm { text-align: left; margin: .75rem 0 2.5rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: none;
}
.proof-card:hover { transform: none; box-shadow: none; }
.proof-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 0;
  margin-bottom: .5rem;
}
.proof-icon svg { stroke: var(--accent) !important; }
.proof-card h4 { font-size: .875rem; font-weight: 600; color: var(--text); margin: 0; }
.proof-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.proof-card a { color: var(--accent); font-weight: 500; text-decoration: none; }
.proof-card a:hover { text-decoration: underline; }
.proof-cta {
  background: var(--text);
  color: var(--bg);
  padding: 2.5rem;
  border-radius: 0;
  text-align: left;
  border: none;
  max-width: none;
  margin: 0;
}
.proof-cta p { font-size: .95rem; color: rgba(244,244,240,.8); line-height: 1.7; margin-bottom: 1.25rem; }
.proof-cta .cta-secondary { color: var(--bg); border-color: var(--bg); display: inline-block; }
.proof-cta .cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── Marketing/MIL ── */
.marketing { background: var(--bg); }
.marketing h3 { text-align: left; }
.marketing .lead-sm { text-align: left; }

/* ── Legal ── */
.legal { padding: 3rem 0; }
.legal h2 { font-family: var(--font-display); font-size: 3rem; font-weight: 400; margin-bottom: .5rem; letter-spacing: .02em; color: var(--text); }
.legal .meta { color: var(--text-muted); font-size: .875rem; margin-bottom: 2rem; }
.legal h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; margin: 2rem 0 .75rem; color: var(--text); text-align: left; text-transform: none; letter-spacing: 0; font-size: 1.15rem; line-height: 1.4; }
.legal p, .legal li { font-size: .95rem; line-height: 1.7; color: var(--text-muted); }
.legal ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal a { color: var(--accent); }
.legal code { background: var(--surface); padding: 1px 5px; border: 1px solid var(--border); font-size: .85em; }

/* ── Cookie banner ── */
#pragma-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--text); color: var(--bg); padding: 1rem 1.5rem;
  z-index: 9999; box-shadow: 0 -2px 16px rgba(0,0,0,.2);
  font-size: .9rem;
}
.pragma-cb-inner { max-width: 1440px; margin: 0 auto; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.pragma-cb-msg { flex: 1; min-width: 280px; margin: 0; line-height: 1.5; }
.pragma-cb-msg a { color: var(--accent); text-decoration: underline; }
.pragma-cb-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.pragma-cb-btn { padding: .5rem 1rem; border: 0; font-size: .875rem; cursor: pointer; font-weight: 600; font-family: inherit; border-radius: 0; }
.pragma-cb-btn-primary { background: var(--accent); color: #fff; }
.pragma-cb-btn-primary:hover { background: var(--accent-dim); }
.pragma-cb-btn-secondary { background: transparent; color: var(--bg); border: 1px solid #444; }
.pragma-cb-btn-secondary:hover { background: rgba(255,255,255,.08); }

/* ── Footer ── */
footer {
  padding: 2.5rem 0;
  background: var(--text);
  color: rgba(244,244,240,.5);
  font-size: .875rem;
  border-top: none;
  text-align: center;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── Mobile ── */
@media (max-width: 720px) {
  header .container { flex-wrap: wrap; gap: .5rem 0; justify-content: center; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; }
  nav a { margin-left: 0; font-size: .8rem; }
  nav a.nav-secondary { display: none; }
  nav a.nav-blog { display: inline-block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .hero { padding: 4rem 0 3.5rem; }
  .hero h2 { font-size: clamp(3rem, 14vw, 5.5rem); }
  section { padding: 4rem 0; }
  .agents-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .founder-card { max-width: 420px; width: 100%; }
  footer { font-size: .8rem; padding: 2rem 0; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

/* ── Scroll-reveal ───────────────────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sr.sr-visible {
  opacity: 1;
  transform: none;
}
.sr-delay-1 { transition-delay: 0.08s; }
.sr-delay-2 { transition-delay: 0.16s; }
.sr-delay-3 { transition-delay: 0.24s; }
.sr-delay-4 { transition-delay: 0.32s; }

/* ── Hover lifts ─────────────────────────────────────────── */
.agent-card, .proof-card, .founder-card, .service-item, .custom-item, .step {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.agent-card:hover, .proof-card:hover, .founder-card:hover,
.service-item:hover, .custom-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.step:hover { transform: translateY(-3px); }

/* ── Header scroll shadow ────────────────────────────────── */
header { transition: box-shadow 0.3s ease; }
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }

/* ── CTA pulse + hero entrance ───────────────────────────── */
@keyframes pragma-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(249,115,22,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero h2 {
  animation: hero-in 0.7s ease forwards;
}
.hero .lead {
  animation: hero-in 0.7s ease 0.18s both;
}
.hero .cta-primary {
  animation: hero-in 0.6s ease 0.35s both,
             pragma-pulse 2.4s ease-out 1.8s infinite;
}
