/* ==========================================================================
   CrewBrain — shared styles
   Brand: confident blue (#2563eb), clean neutrals, rounded cards, soft shadows
   ========================================================================== */

:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-darker: #1e40af;
  --blue-soft:   #eff4ff;
  --blue-soft-2: #dbe6ff;

  --ink:    #0b1220;
  --ink-2:  #1f2937;
  --gray:   #4b5563;
  --gray-2: #6b7280;
  --line:   #e5e7eb;
  --bg:     #ffffff;
  --bg-2:   #f7f9fc;
  --bg-3:   #f0f4fa;

  --green:  #16a34a;
  --amber:  #d97706;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.04);
  --shadow:    0 4px 16px rgba(16,24,40,.08);
  --shadow-lg: 0 18px 50px rgba(16,24,40,.14);
  --shadow-blue: 0 12px 30px rgba(37,99,235,.28);

  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-soft { background: var(--bg-2); }
.bg-blue-soft { background: var(--blue-soft); }
.bg-ink { background: var(--ink); color: #cdd6e4; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.center { text-align: center; }
.muted { color: var(--gray); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.18rem; color: var(--gray); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: #cbd5e1; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { color: var(--blue-darker); transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.18rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .logo-mark { flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--gray); font-weight: 600; font-size: .96rem; padding: 8px 14px; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* sharper shadow on scroll */
.site-header.scrolled { box-shadow: 0 6px 22px rgba(16,24,40,.07); background: rgba(255,255,255,.92); }

/* ---------- Sticky top CTA bar ---------- */
.cta-bar {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-darker) 100%);
  color: #fff; text-align: center; font-size: .92rem; font-weight: 600;
  padding: 9px 18px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.cta-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cta-bar a:hover { color: #fff; opacity: .85; }
.cta-bar .cta-bar-pill { background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -8%, var(--blue-soft) 0%, rgba(239,244,255,0) 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  padding: 84px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.28rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-note { font-size: .92rem; color: var(--gray-2); }
.hero-note strong { color: var(--ink-2); }

/* mock product panel in hero */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dde6; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-bar .mock-url { margin-left: 10px; font-size: .8rem; color: var(--gray-2); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.mock-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.mock-card .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-2); font-weight: 700; }
.mock-card .v { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.mock-card.accent { background: var(--blue); border-color: var(--blue); }
.mock-card.accent .k { color: #c9dbff; } .mock-card.accent .v { color: #fff; }
.mock-list { display: grid; gap: 9px; }
.mock-line { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--gray); }
.mock-line .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.mock-line .dot.amber { background: var(--amber); }
.mock-line .dot.blue { background: var(--blue); }
.mock-line .bar { flex: 1; height: 8px; border-radius: 6px; background: var(--bg-3); }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 26px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust p { text-align: center; color: var(--gray-2); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 0 0 14px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 38px; }
.trust-logo { font-weight: 800; color: var(--ink-2); font-size: 1.05rem; opacity: .72; display: inline-flex; align-items: center; gap: 8px; }
.trust-logo .swatch { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); display: inline-block; }
.trust-logo.green .swatch { background: var(--green); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-soft-2); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray); margin: 0; font-size: .98rem; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Problem / pain section ---------- */
.pain-list { display: grid; gap: 14px; }
.pain-item { display: flex; gap: 14px; align-items: flex-start; }
.pain-item .x {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #fee2e2; color: #dc2626;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; margin-top: 2px;
}
.pain-item .c { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #dcfce7; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-top: 2px; }
.pain-item strong { color: var(--ink); }
.pain-item span { color: var(--gray); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 26px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--gray); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.popular { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; }
.price-card .tier-desc { color: var(--gray); font-size: .95rem; min-height: 44px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 12px 0 2px; }
.price .per { font-size: 1rem; font-weight: 600; color: var(--gray-2); }
.price-sub { font-size: .85rem; color: var(--gray-2); margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.feature-list li .ck { flex: 0 0 auto; color: var(--green); margin-top: 3px; }
.feature-list li.off { color: var(--gray-2); }
.feature-list li.off .ck { color: #cbd5e1; }
.price-card .btn { margin-top: auto; }

.placeholder-tag { display: inline-block; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .76rem; padding: 3px 9px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-soft-2); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--gray); padding-bottom: 16px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #d6e2ff; max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Auth / forms ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 24px;
  background: radial-gradient(900px 420px at 50% -10%, var(--blue-soft) 0%, rgba(239,244,255,0) 60%), var(--bg-2); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-lg); }
.auth-card.wide { max-width: 520px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--gray); font-size: .98rem; margin-bottom: 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-inline { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; margin-bottom: 20px; }
.field-inline label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--gray); margin: 0; }
.field-inline input[type=checkbox] { width: auto; accent-color: var(--blue); }
.form-note { font-size: .82rem; color: var(--gray-2); background: var(--bg-2); border: 1px dashed var(--line);
  border-radius: 8px; padding: 10px 12px; margin-top: 16px; }
.auth-alt { text-align: center; font-size: .94rem; color: var(--gray); margin-top: 22px; }

/* ---------- Generic page hero ---------- */
.page-hero { padding: 64px 0 12px; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.page-hero .lead { margin-top: 8px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 2.4rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stat .l { color: var(--gray); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa6bd; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-about { max-width: 280px; font-size: .92rem; margin-top: 14px; color: #8a96ad; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #9aa6bd; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1f2a3d; margin-top: 38px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #7d899f; }

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.callout { background: var(--blue-soft); border: 1px solid var(--blue-soft-2); border-radius: var(--radius);
  padding: 20px 22px; color: var(--ink-2); }
.callout strong { color: var(--blue-dark); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero polish ---------- */
.hero h1 .grad { background: linear-gradient(100deg, var(--blue) 0%, #6366f1 60%, #8b5cf6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.hero-proof .stars { color: #f59e0b; letter-spacing: 2px; font-size: 1rem; }
.hero-proof .proof-txt { font-size: .9rem; color: var(--gray-2); }
.hero-proof .proof-txt strong { color: var(--ink-2); }

/* floating live chips on the mock */
.mock { position: relative; }
.mock-float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px 13px; display: flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2); animation: floaty 4.5s ease-in-out infinite;
}
.mock-float .fdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.mock-float.f1 { top: 14px; right: 14px; }
.mock-float.f1 .fdot { background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.mock-float.f2 { bottom: 18px; left: 14px; animation-delay: 1.4s; }
.mock-float.f2 .fdot { background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 920px) { .mock-float { display: none; } }

/* mini sparkline / progress in mock */
.mock-card .v.row-flex { display: flex; align-items: baseline; gap: 8px; }
.mock-trend { font-size: .72rem; font-weight: 700; color: var(--green); }
.mock-spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 8px; }
.mock-spark i { flex: 1; background: var(--blue-soft-2); border-radius: 3px 3px 0 0; }
.mock-card.accent .mock-spark i { background: rgba(255,255,255,.4); }

/* ---------- Juggle / problem visual ---------- */
.juggle-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 640px; margin: 0 auto; }
.juggle-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px;
  font-weight: 700; font-size: .95rem; color: var(--gray); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 8px;
}
.juggle-pill .jx { color: #dc2626; font-weight: 800; }
.juggle-arrow { text-align: center; margin: 26px 0; color: var(--blue); }
.juggle-one {
  display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff;
  border-radius: 999px; padding: 14px 26px; font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-blue);
}

/* ---------- Comparison block ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.compare-col { border-radius: var(--radius-lg); padding: 30px 28px; }
.compare-col.them { background: #fff; border: 1px solid var(--line); }
.compare-col.us { background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); border: 2px solid var(--blue); box-shadow: var(--shadow); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-col .tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.compare-col.them .tag { background: #fee2e2; color: #b91c1c; }
.compare-col.us .tag { background: var(--blue); color: #fff; }
.compare-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.compare-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.compare-list .mk { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; margin-top: 1px; }
.compare-col.them .mk { background: #fee2e2; color: #dc2626; }
.compare-col.us .mk { background: #dcfce7; color: var(--green); }
.compare-col .price-line { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--ink); }
.compare-col.them .price-line { color: #b91c1c; }

/* ---------- Feature matrix table ---------- */
.matrix-wrap { max-width: 920px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table.matrix { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; background: #fff; }
table.matrix th, table.matrix td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.matrix thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-2); background: var(--bg-2); }
table.matrix thead th.col-pop { color: var(--blue); background: var(--blue-soft); }
table.matrix td.cell { text-align: center; }
table.matrix td.cell.yes { color: var(--green); font-weight: 800; }
table.matrix td.cell.no { color: #cbd5e1; }
table.matrix tbody tr:last-child td { border-bottom: none; }
table.matrix td.feat { font-weight: 600; color: var(--ink-2); }
table.matrix td.col-pop { background: rgba(239,244,255,.5); }

/* ---------- Feature highlight strip ---------- */
.highlight-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.highlight-strip .hs { padding: 26px 22px; border-right: 1px solid var(--line); }
.highlight-strip .hs:last-child { border-right: none; }
.highlight-strip .hs .icon { margin-bottom: 12px; }
.highlight-strip .hs h4 { font-size: 1.02rem; color: var(--ink); margin: 0 0 5px; }
.highlight-strip .hs p { margin: 0; font-size: .9rem; color: var(--gray); }

/* ---------- Metrics / social proof band ---------- */
.metrics-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-lg); }
.metrics-band .mb-head { text-align: center; margin-bottom: 30px; }
.metrics-band .mb-head .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.metrics-band h2 { color: #fff; }
.metrics-band .mb-sub { color: #d6e2ff; max-width: 620px; margin: 0 auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.metrics-grid .m .n { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; }
.metrics-grid .m .l { color: #c9dbff; font-size: .92rem; margin-top: 2px; }
.metrics-foot { text-align: center; color: #b9ccff; font-size: .82rem; margin-top: 26px; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; }
.quote-card .qmark { font-size: 3rem; line-height: 1; color: var(--blue-soft-2); font-weight: 800; margin-bottom: -8px; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.08rem; color: var(--ink-2); font-weight: 500; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #6366f1); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.quote-who .nm { font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote-who .ro { color: var(--gray-2); font-size: .85rem; }
.soon-tag { display: inline-block; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .74rem; padding: 4px 11px; border-radius: 999px; letter-spacing: .03em; }
.quote-card.soon { border-style: dashed; background: var(--bg-2); }
.quote-card.soon blockquote { color: var(--gray); }

/* ---------- First-party testimonial cards (real companies) ---------- */
.tcards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.tcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-soft-2); }
.tcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-3); overflow: hidden; }
.tcard-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard-media.tcard-media-logo {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 100%); padding: 26px;
}
.tcard-logo-hero { max-width: 70%; max-height: 78%; width: auto; height: auto; object-fit: contain; }
/* the small logo badge sitting over the crew photo */
.tcard-badge {
  position: absolute; left: 18px; bottom: 18px; width: 60px; height: 60px;
  border-radius: 14px; background: #fff; padding: 7px; object-fit: contain;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.tcard-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.tcard-stars { color: #f59e0b; letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.tcard blockquote { margin: 0 0 18px; font-size: 1.06rem; line-height: 1.55; color: var(--ink-2); font-weight: 500; flex: 1; }
.tcard-who .nm { font-weight: 800; color: var(--ink); font-size: 1rem; }
.tcard-who .ro { color: var(--gray-2); font-size: .86rem; margin-top: 2px; }
@media (max-width: 760px) { .tcards { grid-template-columns: 1fr; } }

/* ---------- Pricing toggle ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.bill-toggle button { border: none; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--gray); padding: 9px 20px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.bill-toggle button.on { background: var(--blue); color: #fff; }
.bill-save { display: inline-block; background: #dcfce7; color: #166534; font-weight: 700; font-size: .78rem; padding: 4px 11px; border-radius: 999px; margin-left: 4px; }
.price .amt { transition: opacity .2s ease; }
.price-annual-note { font-size: .8rem; color: var(--green); font-weight: 700; min-height: 18px; }

/* ---------- About page ---------- */
.about-lead { max-width: 760px; margin: 0 auto; }
.founder-card { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto; }
.founder-card .fav { width: 130px; height: 130px; border-radius: 20px; background: linear-gradient(135deg, var(--blue), #6366f1); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 800; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline { max-width: 720px; margin: 0 auto; display: grid; gap: 4px; }
.timeline .tl { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .tl:last-child { border-bottom: none; }
.timeline .tl .yr { font-weight: 800; color: var(--blue); }
.timeline .tl h4 { margin: 0 0 4px; }
.timeline .tl p { margin: 0; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .mock { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .highlight-strip { grid-template-columns: 1fr 1fr; }
  .highlight-strip .hs:nth-child(2) { border-right: none; }
  .highlight-strip .hs:nth-child(1), .highlight-strip .hs:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .value-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
  .highlight-strip { grid-template-columns: 1fr; }
  .highlight-strip .hs { border-right: none; border-bottom: 1px solid var(--line); }
  .highlight-strip .hs:last-child { border-bottom: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .cta-bar { font-size: .82rem; gap: 8px; }
  .metrics-band, .cta-band { padding: 36px 22px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 10px; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .price-card.popular { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 42px 24px; }
}
