/* AIIQ / AppealIQ marketing site — deck tokens, no build step */
:root {
  --canvas: #061018;
  --field: #0B1E30;
  --card: #0C1F30;
  --text: #F3F6F9;
  --muted: #8FA6BB;
  --accent: #3B82F6;
  --accent-soft: rgba(59,130,246,0.16);
  --warn: #C9A227;
  --ok: #3D9B74;
  --hairline: #1A3348;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--canvas); color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5; font-size: 17px;
}
a { color: #93C5FD; text-decoration: none; }
a:hover, a:focus { color: #fff; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6,16,24,0.92);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-firm {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 700; font-size: 22px; letter-spacing: 0.04em;
}
.brand-sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.brand-sub span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--text); }
.btn, .btn-nav {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff !important;
  font-weight: 650; font-size: 14px;
  padding: 10px 16px; border-radius: 8px;
  border: 0; cursor: pointer;
}
.btn:hover, .btn-nav:hover { background: #2563EB; }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--hairline);
}
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; }
.menu span { display: block; height: 2px; background: var(--text); margin: 7px 8px; }

.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 55%; height: 140%;
  background: linear-gradient(155deg, transparent 0%, #0B1E30 42%, transparent 78%);
  transform: skewX(-12deg); pointer-events: none;
}
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.rule { width: 48px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 22px; }
h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(40px, 6vw, 68px); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.03em; max-width: 16ch; margin-bottom: 22px;
}
h1 .impact { border-bottom: 5px solid var(--accent); padding-bottom: 2px; }
.lede { font-size: 20px; color: var(--muted); max-width: 42ch; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.chip {
  display: inline-block; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; margin-bottom: 16px;
  background: var(--accent-soft); color: #93C5FD; border: 1px solid rgba(59,130,246,0.45);
}

section { padding: 72px 0; }
section.alt { background: #07141e; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 16px;
}
h3 { font-size: 20px; font-weight: 650; margin-bottom: 8px; }
.sub { color: var(--muted); max-width: 52ch; margin-bottom: 32px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 24px;
}
.card .num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.statement {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; max-width: 22ch;
}
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.beat {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 22px 18px;
}
.beat .n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--field); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.beat:first-child { border-color: rgba(59,130,246,0.55); }
.beat:first-child .n { background: var(--accent); color: #fff; border-color: var(--accent); }
.beat p { color: var(--muted); font-size: 15px; }
.note {
  margin-top: 24px; padding: 14px 0 0 16px;
  border-left: 3px solid var(--accent); color: var(--muted); font-size: 15px;
}
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .col {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 26px;
}
.compare .ours { border-color: rgba(59,130,246,0.5); }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cta-band {
  background: rgba(59,130,246,0.1); border: 1px solid var(--accent);
  border-radius: 12px; padding: 32px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.site-footer { border-top: 1px solid var(--hairline); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.wordmark { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.foot-grid a { display: block; color: var(--muted); margin: 6px 0; }
.honesty { font-size: 13px; color: var(--muted); max-width: 80ch; margin-bottom: 12px; }
.legal { font-size: 12px; color: #5d7386; }
.muted { color: var(--muted); }
.cal-wrap {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; overflow: hidden; min-height: 680px;
}
.cal-wrap iframe { width: 100%; height: 700px; border: 0; }

@media (max-width: 860px) {
  .menu { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #07141e; border-bottom: 1px solid var(--hairline);
    flex-direction: column; padding: 20px 24px 28px; align-items: flex-start; gap: 16px;
  }
  .nav.open { display: flex; }
  .cards, .timeline, .two, .compare, .foot-grid { grid-template-columns: 1fr; }
  h1 { max-width: 18ch; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
