:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #eef0fa;
  --ink: #0b0b14;
  --ink-soft: #4a4a55;
  --ink-mute: #8a8a95;
  --line: #e6e8ef;
  --line-soft: #f0f1f6;
  --accent: #FA6800;
  --accent-warm: #d35800;
  --accent-soft: #fbeae3;
  --bg-dark: #0b0b14;
  --bg-dark-soft: #15151f;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; position: relative; }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

.display { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.display em { font-style: normal; color: var(--accent); font-weight: 600; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow-mute { color: var(--ink-mute); }

/* ILLUSTRATION CONTAINER */
.illu {
  display: block;
  width: 100%;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}
.illu svg { display: block; width: 100%; height: auto; }
.illu.dark { background: #1a1a26; }

/* NAV */
nav.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 14px; }
.logo-img { height: 28px; width: auto; display: block; }
.logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* Dropdown Styles */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 4px 12px rgba(11,11,20,0.06);
  padding: 8px 0; min-width: 160px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s; z-index: 10;
}
.nav-item-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 8px 16px; color: var(--ink-soft); font-size: 13.5px; }
.nav-dropdown a:hover { color: var(--accent); background: var(--bg-soft); }

/* Hero Pills */
.hero-pills {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.pills-label { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.pill {
  display: inline-flex; padding: 6px 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: all 0.2s;
}
.pill:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); transform: translateY(-1px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border-radius: 9999px;
  line-height: 1;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-primary .arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary { background: var(--bg); color: var(--ink); }
.btn-secondary:hover { background: var(--accent-warm); }
.btn-secondary .arrow { transition: transform 0.25s ease; }
.btn-secondary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-text { color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.btn-text:hover { color: var(--accent); }
.btn-large { padding: 14px 28px; font-size: 15px; }

.btn-footer {
  background: var(--accent);
  color: #fff;
}
.btn-footer:hover {
  background: #fff;
  color: var(--ink);
}

/* HERO */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; max-width: 680px; }
.hero-sub { font-size: 18px; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--ink-mute); }
.hero-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-item::before { content: '✓'; color: var(--accent); font-size: 13px; font-weight: 700; }
.hero-visual { width: 100%; }

section { padding: 88px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,0.92); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-warm); }
.section-dark .ink-soft { color: rgba(255,255,255,0.72); }

.section-intro { max-width: 1080px; margin-bottom: 48px; }
.section-intro h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 14px; }
.section-intro h2 em { font-style: normal; color: var(--accent); }
.section-intro p { font-size: 18px; color: var(--ink-soft); line-height: 1.55; margin-top: 18px; max-width: 680px; }
.section-dark .section-intro p { color: rgba(255,255,255,0.72); }

/* CUSTOMER LOGO STRIP */
.logos { padding: 64px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.logos-eyebrow { text-align: center; margin-bottom: 48px; }
.logos-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 88px; align-items: center; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.55; transform: scale(1); transition: all 0.2s ease-in-out;
}
.logo-mark:hover { opacity: 1; transform: scale(1.05); }
.logo-mark img, .logo-mark svg { display: block; max-width: 100%; height: 112px; width: auto; filter: grayscale(100%); transition: filter 0.2s ease-in-out; }
.logo-mark:hover img, .logo-mark:hover svg { filter: grayscale(0%); }

/* CO-WORKER CARDS */
.cw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cw-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 8px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.cw-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,11,20,0.08); border-color: var(--ink); }
.cw-card .illu { margin-bottom: 22px; }
.cw-card .cw-body { padding: 0 18px; display: flex; flex-direction: column; flex: 1; }
.cw-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.cw-card h3 { font-size: 22px; margin-bottom: 10px; font-weight: 600; }
.cw-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.cw-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 500; font-size: 14px;
  text-decoration: none;
}
.cw-link:hover { color: var(--accent); }
.cw-link .arrow { transition: transform 0.2s; }
.cw-link:hover .arrow { transform: translateX(3px); }
.cw-metric {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-bottom: 16px; padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 13px; color: var(--accent);
  align-self: flex-start; font-weight: 500;
}

/* AP DEEP DIVE */
.ap-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ap-content h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 14px; margin-bottom: 18px; }
.ap-content h2 em { color: var(--accent); font-style: normal; }
.ap-content > p { font-size: 18px; color: var(--ink-soft); line-height: 1.55; max-width: 52ch; margin-bottom: 30px; }
.ap-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.ap-step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.ap-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.ap-step h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.ap-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.ap-visual { width: 100%; border-radius: 16px; overflow: hidden; }

/* STATS BAND */
.stats-band { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stats-cell { padding: 28px 24px 0; border-right: 1px solid var(--line); }
.stats-cell:last-child { border-right: none; }
.stats-val { font-size: 40px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; line-height: 1; margin-bottom: 8px; }
.stats-val em { color: var(--accent); font-style: normal; }
.stats-label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.section-dark .stats-band { border-top-color: rgba(255,255,255,0.14); }
.section-dark .stats-cell { border-right-color: rgba(255,255,255,0.14); }
.section-dark .stats-val { color: #fff; }
.section-dark .stats-val em { color: var(--accent-warm); }
.section-dark .stats-label { color: rgba(255,255,255,0.65); }

/* PROOF */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proof-card {
  background: var(--bg); border-radius: 16px; border: 1px solid var(--line);
  padding: 8px 8px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.proof-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11,11,20,0.06); }
.proof-card .illu { margin-bottom: 20px; }
.proof-body { padding: 0 18px; }
.proof-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.proof-headline { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; }
.proof-meta { font-size: 13px; color: var(--ink-mute); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.proof-meta strong { color: var(--ink); font-weight: 500; }

/* PLATFORM */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plat-card {
  background: var(--bg-dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 8px 8px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.plat-card:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.plat-card .illu { margin-bottom: 22px; }
.plat-body { padding: 0 18px; }
.plat-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-warm); margin-bottom: 10px;
}
.plat-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.plat-card p { font-size: 14.5px; color: rgba(255,255,255,0.7); line-height: 1.55; margin-bottom: 18px; }

/* VERTICALS */
.verticals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vert-pill {
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
}
.vert-pill:hover { border-color: var(--ink); transform: translateY(-2px); }
.vert-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 8px; }
.vert-icon { width: 20px; height: 20px; flex: 0 0 20px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.vert-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vert-name { font-size: 15px; font-weight: 500; color: var(--ink); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card.featured h3, .price-card.featured .price-amount { color: #fff; }
.price-card.featured p { color: rgba(255,255,255,0.7); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.1); }
.price-card.featured .price-cta { background: var(--accent-warm); color: #fff; border: none; }
.price-card.featured .price-cta:hover { background: var(--accent); }
.price-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-warm); margin-bottom: 12px;
}
.price-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.price-card > p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 24px; min-height: 44px; }
.price-amount { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; color: var(--ink); }
.price-amount span { font-size: 14px; font-weight: 400; color: var(--ink-mute); }
.price-card.featured .price-amount span { color: rgba(255,255,255,0.55); }
.price-note {
  font-size: 12px; color: var(--ink-mute);
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}
.price-card.featured .price-note { color: rgba(255,255,255,0.55); }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  padding: 10px 0;
  font-size: 14px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.price-card.featured .price-features li::before { color: var(--accent-warm); }
.price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #fff;
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.price-cta:hover { background: var(--accent); }

/* FINAL */
.final { padding: 112px 0; text-align: center; background: var(--bg-soft); }
.final h2 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; font-weight: 600; }
.final h2 em { color: var(--accent); font-style: normal; }
.final p { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 36px; line-height: 1.5; }
.final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.85); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 32ch; line-height: 1.55; margin-top: 16px; }
.newsletter { margin-top: 24px; display: flex; gap: 8px; max-width: 360px; }
.newsletter input {
  flex: 1; padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: inherit; font-size: 13px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter button {
  padding: 11px 18px; border-radius: 999px;
  border: none; background: var(--accent); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.newsletter button:hover { background: var(--accent-warm); }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--accent-warm); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 22px; }
.footer-bottom a:hover { color: var(--accent-warm); }

/* Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.22s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.34s; }

@keyframes dash { to { stroke-dashoffset: -32; } }
.flow-line { stroke-dasharray: 5 5; animation: dash 1.6s linear infinite; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ap-grid { grid-template-columns: 1fr; gap: 32px; }
  .logos-strip { gap: 48px; }
  .logo-mark img, .logo-mark svg { height: 72px; }
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }
  .container, .container-narrow { padding: 0 22px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .cw-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid, .pricing-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-cell { border-right: none; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-strip { gap: 36px; flex-wrap: nowrap; overflow: hidden; justify-content: space-between; }
  .logo-mark img, .logo-mark svg { height: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logo-sub { display: none; }
  .final { padding: 72px 0; }
  .hero-pills { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr; }
  .logos-strip { gap: 32px 24px; flex-wrap: wrap; justify-content: center; }
  .logo-mark img, .logo-mark svg { height: 48px; }
  .hero-ctas, .final-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .final-ctas .btn { justify-content: center; }
}
