/* Adapt — AI-first marketing site */
:root {
  --bg: #07090d;
  --bg-soft: #0c0f15;
  --panel: #11151d;
  --panel-2: #161b25;
  --line: #222a38;
  --text: #eef2f8;
  --muted: #9aa7ba;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --cyan: #22d3ee;
  --rose: #fb7185;
  --amber: #fbbf24;
  --green: #34d399;
  --radius: 16px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #93c5fd; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .dot { color: var(--blue); }
.brand-logo { height: 32px; width: auto; display: inline-block; }
.brand small { font-size: 0.68rem; font-weight: 500; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 8px 12px; font-size: 1rem; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px;
  font-weight: 600; font-size: 0.97rem; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), #2563eb); color: #fff; box-shadow: 0 6px 24px rgba(59, 130, 246, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(59, 130, 246, .45); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: #3a4658; color: var(--text); background: rgba(255,255,255,.05); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 18% -10%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(600px 400px at 88% 8%, rgba(34,211,238,.09), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-2); border: 1px solid rgba(59,130,246,.35); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px; background: rgba(59,130,246,.08);
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }
.hero h1 .accent { background: linear-gradient(120deg, var(--blue-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 22px 0 32px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 0.88rem; color: var(--muted); }
.hero-note strong { color: var(--text); font-weight: 600; }

/* chat mock */
.chat-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.chat-head .ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.chat-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.bubble.user { align-self: flex-end; background: linear-gradient(135deg, var(--blue), #2563eb); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.bubble.ai .hl { color: var(--cyan); font-weight: 600; }
.chat-foot { padding: 12px 18px 18px; }
.chat-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: .9rem; color: var(--muted); background: var(--bg-soft); }
.chat-input .send { margin-left: auto; color: var(--blue-2); font-weight: 700; }

/* agent chips floating under chat */
.agent-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.agent-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  border-radius: 999px; padding: 7px 14px; font-size: 0.8rem; color: var(--muted);
}
.agent-chip .on { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 46em; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 12px; }
.sec-head p { margin-top: 16px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #34405a; transform: translateY(-2px); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); color: var(--blue-2);
}
.card.rose .icon { background: rgba(251,113,133,.1); border-color: rgba(251,113,133,.3); color: var(--rose); }
.card.cyan .icon { background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.3); color: var(--cyan); }
.card.amber .icon { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.3); color: var(--amber); }
.card.green .icon { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); color: var(--green); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tag.proven { background: rgba(59,130,246,.14); color: var(--blue-2); }
.tag.new { background: rgba(251,113,133,.14); color: var(--rose); }
.tag.next { background: rgba(154,167,186,.12); color: var(--muted); }

/* module tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  background: #0b0e14; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 18px; text-align: center; color: var(--text);
  transition: all .18s ease;
}
.tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(59,130,246,.15); color: var(--text); }
.tile svg { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--blue-2); }
.tile .t-name { font-weight: 600; font-size: 0.95rem; font-family: var(--font-display); }
.tile .t-sub { font-size: 0.78rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.tile.ai-tile { border-color: rgba(34,211,238,.4); background: linear-gradient(180deg, rgba(34,211,238,.06), #0b0e14); }
.tile.ai-tile svg { color: var(--cyan); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  background: linear-gradient(120deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.split + .split { border-top: 1px solid var(--line); }
.split h3 { font-size: 1.5rem; margin-bottom: 12px; }
.split p { color: var(--muted); }
.split ul { margin-top: 16px; list-style: none; }
.split li { padding: 7px 0 7px 30px; position: relative; color: var(--muted); font-size: 0.97rem; }
.split li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.5);
}
.split li::after {
  content: ""; position: absolute; left: 5px; top: 17px; width: 6px; height: 3px;
  border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(-45deg);
}
.split .visual {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  min-height: 220px; display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.mini-row { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; }
.mini-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-row .grow { flex: 1; color: var(--muted); }
.mini-row .val { font-weight: 600; font-family: var(--font-display); }

/* quote / honesty band */
.band {
  border: 1px solid rgba(59,130,246,.3); border-radius: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(34,211,238,.05));
  padding: 40px 44px; display: flex; gap: 24px; align-items: flex-start;
}
.band .icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(59,130,246,.15); color: var(--blue-2); }
.band h3 { margin-bottom: 8px; }
.band p { color: var(--muted); }

/* CTA */
.cta { padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 320px at 50% 110%, rgba(59,130,246,.18), transparent 65%); pointer-events: none; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--muted); max-width: 36em; margin: 0 auto 32px; }
.cta .hero-actions { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-grid h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--muted); font-size: 0.93rem; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 30em; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* page hero (subpages) */
.page-hero { padding: 80px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 360px at 30% -20%, rgba(59,130,246,.14), transparent 60%); pointer-events: none; }
.page-hero .lead { margin-top: 18px; max-width: 40em; }

/* reveal on scroll (only hidden when JS is running) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.04); }
  .nav-cta { margin: 14px 0 0; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .band { flex-direction: column; padding: 30px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
}
