/* Apex AI — production 2026-09-03 (outcome-first, hamburger, no public prices) */
:root {
  --bg-ink: #ffffff;
  --bg-ink-2: #f4f6fb;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --text: #171717;
  --text-muted: #52525b;
  --text-on-dark: #171717;
  --text-muted-dark: #52525b;

  --cyan: #0891b2;
  --blue: #2563eb;
  --violet: #7c3aed;
  --grad: linear-gradient(90deg, #0891b2 0%, #2563eb 50%, #7c3aed 100%);

  --border: #e5e7eb;
  --border-dark: #e5e7eb;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1120px;
  --font-head: "Exo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; position: relative; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand img { height: 30px; width: 30px; }
.brand .ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .15s ease, opacity .15s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 999px; cursor: pointer; border: none; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,0.25); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 520px at 80% -10%, rgba(124,58,237,0.12), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(8,145,178,0.12), transparent 60%), var(--bg-ink); color: var(--text); padding: 90px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.18rem; color: var(--text-muted); max-width: 540px; margin-bottom: 28px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero .trust { font-size: 0.9rem; color: var(--text-muted); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(9,11,22,0.14); }

/* ---------- Reveal line ---------- */
.reveal { background: var(--bg-ink-2); color: var(--text); text-align: center; padding: 34px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reveal p { max-width: 720px; margin: 0 auto; font-size: 1.05rem; color: var(--text-muted); }
.reveal strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Section scaffolding ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Services grid ---------- */
.services { background: var(--bg-light); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: transform .14s ease, box-shadow .14s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(9,11,22,0.08); }
.card .num { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.08em; }
.card h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { background: var(--bg-ink-2); color: var(--text); }
.steps .section-head p { color: var(--text-muted); }
.steps .grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { text-align: left; padding: 28px 24px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Results / proof ---------- */
.proof .grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.proof .card { text-align: center; }
.proof .card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.proof .card p { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; font-size: 1.05rem; opacity: 0.95; }
.cta-band .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.btn-on-band { background: #ffffff; color: #171717; }
.cta-secondary { font-size: 0.92rem; opacity: 0.95; margin: 0 auto; }
.cta-secondary a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pricing / engagement cards ---------- */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; box-shadow: 0 18px 44px rgba(37,99,235,0.14); }
.price-card h3 { font-size: 1.25rem; }
.price-card .tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 6px; }
.price-card .amount { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 12px 0 2px; color: var(--text); }
.price-card .period { color: var(--text-muted); font-size: 0.9rem; margin: 10px 0 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { padding: 6px 0 6px 24px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card .btn { width: 100%; }

/* ---------- Forms ---------- */
.form-card { max-width: 640px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: 0 12px 34px rgba(9,11,22,0.06); position: relative; }
.form-card label { display: block; font-weight: 600; font-size: 0.9rem; margin: 18px 0 6px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 1rem; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink-2); color: var(--text-muted); padding: 48px 0; font-size: 0.92rem; border-top: 1px solid var(--border); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .pillars { display: flex; gap: 18px; color: var(--text); font-weight: 600; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }

/* ---------- Feature list (chat-agent page) ---------- */
.feature-list { list-style: none; }
.feature-list li { padding: 10px 0 10px 28px; position: relative; color: var(--text-muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Thank-you ---------- */
.thanks { text-align: center; padding: 80px 0 100px; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.thanks p { color: var(--text-muted); max-width: 540px; margin: 0 auto 28px; font-size: 1.1rem; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { padding: 10px 16px; font-size: 0.92rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: -24px;
    right: -24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 16px 28px rgba(9,11,22,0.08);
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 12px 24px;
    color: var(--text);
  }
  .nav-links a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
  }
  section { padding: 52px 0; }
}
