/* ============================================================
   PraxEvo — Design tokens & base
   ============================================================ */
:root {
  --navy: #0D2B4E;
  --navy-2: #0A2140;
  --green: #00C896;
  --orange: #E8621A;
  --white: #FFFFFF;
  --carbon: #3D3D3D;
  --bg-light: #F7F7F7;
  --border: #E8E8E8;
  --muted: #6B7280;

  --navy-line: rgba(255, 255, 255, 0.1);
  --white-70: rgba(255, 255, 255, 0.72);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-40: rgba(255, 255, 255, 0.4);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-impact: 'Bebas Neue', sans-serif;

  --maxw: 1120px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --radius: 4px;
  --transition: 180ms ease;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--white);
  color: var(--carbon);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
p { line-height: 1.7; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }

/* Focus visibility — keyboard navigation (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 28px); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  font-weight: 600;
  transition: top var(--transition);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

section.block { padding: clamp(56px, 8vw, 96px) 0; }

.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 48px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); display: inline-block; }
.eyebrow.orange { color: var(--orange); }
.eyebrow.orange::before { background: var(--orange); }

.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* ============================================================
   Buttons — min 44px touch target, no layout-shifting hovers
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  cursor: pointer; border: none; min-height: 48px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.2px; padding: 13px 26px; border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: #00b385; color: var(--navy); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--green); color: var(--navy); }

.btn-ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.32); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { border-color: var(--white); color: var(--white); }

.btn-ghost-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { background: var(--navy); color: var(--white); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: 1280px;
}
.site-header .logo { height: 30px; }
.site-header .logo:hover { opacity: 0.85; }

.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.primary-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--carbon);
  padding: 10px 2px; position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green);
}
.primary-nav a:hover { color: var(--green); }

.nav-cta { white-space: nowrap; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 0 0; background: var(--white); z-index: 199;
  display: flex; flex-direction: column; padding: 28px clamp(20px, 6vw, 64px); gap: 4px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 500; color: var(--navy); }
.mobile-menu a[aria-current="page"] { color: var(--green); font-weight: 700; }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--navy); color: var(--white);
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 8vw, 100px);
  position: relative; overflow: hidden;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; pointer-events: none; }
.hero .glow-1 { width: 480px; height: 480px; background: rgba(0,200,150,0.16); top: -160px; right: -140px; }
.hero .glow-2 { width: 420px; height: 420px; background: rgba(232,98,26,0.10); bottom: -200px; left: -160px; }
.hero .wrap { position: relative; z-index: 2; max-width: 900px; }
.hero .kicker { font-size: 12px; letter-spacing: 3px; color: var(--green); text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; color: var(--white); margin-bottom: 22px; text-wrap: balance; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--white-70); max-width: 620px; margin-bottom: 36px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero .proof { display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; border-top: 1px solid var(--navy-line); padding-top: 28px; }
.hero .proof .n { font-family: var(--font-impact); font-size: 32px; color: var(--green); letter-spacing: 1px; line-height: 1; }
.hero .proof .t { font-size: 12.5px; color: var(--white-40); margin-top: 6px; }

.page-hero {
  background: var(--navy); color: var(--white);
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 48px);
}
.page-hero .kicker { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; color: var(--green); }
.page-hero.orange-kicker .kicker { color: var(--orange); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); color: var(--white); max-width: 760px; margin-bottom: 16px; text-wrap: balance; }
.page-hero p { font-size: 16px; color: var(--white-70); max-width: 580px; line-height: 1.7; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: clamp(20px, 3vw, 28px); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  border: 1px solid var(--border); background: var(--white);
  display: flex; flex-direction: column; transition: transform var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-3px); border-color: rgba(0,200,150,0.5); }

.card-thumb {
  width: 100%; aspect-ratio: 16/9; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--border);
}

.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag { font-size: 11px; letter-spacing: 1.5px; color: var(--green); text-transform: uppercase; font-weight: 600; }
.card-body h3 { font-size: 18px; font-weight: 700; }
.card-body p { font-size: 13.5px; line-height: 1.6; color: var(--carbon); flex: 1; }
.card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border);
}
.card-foot .price { font-family: var(--font-impact); font-size: 20px; color: var(--navy); letter-spacing: 1px; }
.card-foot .cta-link { font-size: 13px; font-weight: 700; color: var(--orange); cursor: pointer; }

/* Pending-content badge — visible flag so example copy is never mistaken for real data */
.pending-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--orange); background: rgba(232,98,26,0.1);
  border: 1px solid rgba(232,98,26,0.35);
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase;
}
.pending-note {
  border: 1px dashed rgba(232,98,26,0.45); background: rgba(232,98,26,0.05);
  padding: 16px 20px; font-size: 13.5px; color: var(--carbon); margin: 0 0 32px;
  border-radius: var(--radius);
}
.pending-note strong { color: var(--orange); }

/* ============================================================
   Chips / filters
   ============================================================ */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--navy);
  border-radius: 100px; min-height: 44px; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============================================================
   Forms
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 12px; color: var(--muted); }
input, textarea, select {
  font-family: var(--font-body); font-size: 15px; color: var(--carbon);
  border: 1.5px solid var(--border); padding: 13px 14px; background: var(--white);
  border-radius: var(--radius); width: 100%; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #B3B3B3; }
input:invalid[data-touched="true"], textarea:invalid[data-touched="true"] { border-color: var(--orange); }
.field-error {
  font-size: 12.5px; color: var(--orange); font-weight: 600; min-height: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-status {
  border: 1px solid var(--border); padding: 20px 24px; border-radius: var(--radius);
  font-size: 14px; display: none; align-items: center; gap: 12px;
}
.form-status.is-visible { display: flex; }
.form-status.success { border-color: rgba(0,200,150,0.4); background: rgba(0,200,150,0.06); color: var(--navy); }
.form-status.error { border-color: rgba(232,98,26,0.4); background: rgba(232,98,26,0.06); color: var(--navy); }

.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   Founders / avatars
   ============================================================ */
.founder-photo {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--green);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .initials { font-family: var(--font-impact); font-size: 40px; color: var(--green); letter-spacing: 1px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: var(--white); padding: clamp(48px, 6vw, 72px) 0 32px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer .brand-col p { font-size: 13px; color: var(--white-40); max-width: 260px; margin-top: 14px; }
.site-footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px; color: var(--green); text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.site-footer a { font-size: 13.5px; color: var(--white-70); }
.site-footer a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: var(--white-40);
}
.footer-bottom a { color: var(--white-40); }
.footer-bottom a:hover { color: var(--green); }

@media (max-width: 820px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Misc sections
   ============================================================ */
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: var(--white); }
.divider-grid { display: grid; gap: 2px; background: var(--border); }

.text-center { text-align: center; }
.cta-final { background: var(--navy); padding: clamp(56px, 8vw, 88px) 0; text-align: center; }
.cta-final h2 { color: var(--white); font-size: clamp(26px, 4vw, 38px); margin-bottom: 26px; text-wrap: balance; }
.cta-final .cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.timeline-item { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline-item .yr { font-family: var(--font-impact); font-size: 24px; color: var(--green); width: 64px; flex-shrink: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
