/* Agency Apex marketing site — same brand language as the app (Waxell tokens). */

:root {
  --navy: #0a172e;
  --navy-deep: #060f20;
  --heading: #0c1a30;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --border: #dde5f0;
  --text: #2b3a52;
  --text-muted: #6b7a93;
  --accent: #0ba2de;
  --gold: #ef6c1f;
  --gold-soft: #fdf0e6;
  --success: #0e9f6e;
  --danger: #dc4438;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 76px; } /* anchor jumps clear the sticky header */
.center { text-align: center; }

/* ── Header ── */
header.site {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
header.site img.logo { height: 30px; display: block; }
header.site nav { display: flex; align-items: center; gap: 22px; }
header.site nav a {
  color: rgba(230, 236, 246, 0.85); font-size: 14px; font-weight: 600;
}
header.site nav a:hover { color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(239, 108, 31, 0.35); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #e6ecf6; padding: 84px 0 92px;
}
.hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12; color: #fff;
  max-width: 780px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.sub {
  font-size: clamp(16px, 2vw, 19px); color: rgba(230, 236, 246, 0.85);
  max-width: 640px; margin-bottom: 34px;
}
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: 12.5px; color: rgba(230, 236, 246, 0.55); margin-top: 16px; }

/* Two-column hero (launch page: pitch + login card) */
.hero .cols { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .hero .cols { grid-template-columns: 1fr; } }

/* ── Login card ── */
.login-card {
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); padding: 30px;
  box-shadow: 0 24px 60px rgba(4, 12, 28, 0.45);
}
.login-card h2 { font-size: 19px; color: var(--heading); margin-bottom: 4px; }
.login-card p.lede { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
.login-card label { display: block; font-size: 12.5px; font-weight: 700; color: var(--heading); margin: 12px 0 5px; }
.login-card input {
  width: 100%; padding: 11px 13px; font-size: 14px;
  border: 1.5px solid var(--border); border-radius: 9px; background: #fbfcfe;
}
.login-card input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.login-card .btn { margin-top: 18px; }
.login-card .trust { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

/* ── Sections ── */
section.block { padding: 76px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.block .kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.block h2 {
  font-family: Georgia, serif; font-size: clamp(26px, 3.6vw, 38px);
  color: var(--heading); line-height: 1.18; margin-bottom: 14px; max-width: 720px;
}
.block p.lede { font-size: 16.5px; max-width: 680px; margin-bottom: 8px; }
.block .center h2, .block .center p.lede { margin-left: auto; margin-right: auto; }

/* Cards */
.grid { display: grid; gap: 18px; margin-top: 38px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; color: var(--heading); margin-bottom: 8px; }
.card p { font-size: 14.5px; }
.card .stat {
  display: inline-block; margin-top: 14px; padding: 7px 12px; border-radius: 8px;
  background: var(--gold-soft); border: 1px solid rgba(239, 108, 31, 0.35);
  color: var(--gold); font-weight: 800; font-size: 13px;
}
.card .stat small { display: block; font-weight: 600; font-size: 10.5px; color: var(--text-muted); }

/* Problem list */
.pain { border-left: 3px solid var(--danger); padding-left: 18px; margin-top: 16px; }
.pain p { margin-bottom: 10px; font-size: 15.5px; }

/* Use / don't use */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .card.yes { border-top: 4px solid var(--success); }
.split .card.no { border-top: 4px solid var(--danger); }
.split ul { list-style: none; margin-top: 12px; }
.split li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.split li:last-child { border-bottom: 0; }
.split .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.split .no li::before { content: "✗"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }

/* Steps */
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: 17px; margin-bottom: 12px;
}
.card .micro { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent); }

/* Integrations */
.int-logo {
  display: grid; place-items: center; height: 52px; width: 52px; border-radius: 12px;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 17px;
  margin-bottom: 14px;
}

/* Social proof */
.quote-card { border-left: 4px solid var(--gold); }
.quote-card p.q { font-size: 15.5px; font-style: italic; color: var(--heading); }
.quote-card p.who { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.metric { font-family: Georgia, serif; font-size: 40px; color: var(--heading); line-height: 1; }
.metric-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* Dark CTA band */
.band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #e6ecf6; padding: 80px 0; text-align: center;
}
.band h2 { font-family: Georgia, serif; font-size: clamp(28px, 4vw, 42px); color: #fff; max-width: 760px; margin: 0 auto 16px; }
.band p { max-width: 620px; margin: 0 auto 30px; color: rgba(230, 236, 246, 0.85); font-size: 17px; }

/* Teaser strip (launch page) */
.teaser {
  background: var(--gold-soft); border-top: 1px solid rgba(239, 108, 31, 0.3);
  border-bottom: 1px solid rgba(239, 108, 31, 0.3);
  padding: 18px 0; text-align: center; font-size: 14.5px; color: var(--heading);
}
.teaser strong { color: var(--gold); }

/* Footer */
footer.site { background: var(--navy-deep); color: rgba(230, 236, 246, 0.6); padding: 44px 0; font-size: 13px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: rgba(230, 236, 246, 0.75); }
footer.site a:hover { color: #fff; }
footer.site .signoff { width: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; }

/* Fine print */
.footnote { font-size: 11.5px; color: var(--text-muted); margin-top: 26px; }
