/* ============================================================
   AIME — AI-Informed Political Marketing Efficiency
   Static marketing site. No build step, no framework.
   Brand: cobalt #2D4FB6 / cyan #29ABE2 (from the reticle logo).
   ============================================================ */

:root {
  --navy:       #16235c;
  --cobalt:     #2D4FB6;
  --cobalt-2:   #3a5bc4;
  --cyan:       #29ABE2;
  --cyan-light: #5bc2ee;
  --ink:        #14182b;
  --body:       #3c4257;
  --muted:      #6b7280;
  --line:       #e6e8ef;
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;
  --bg-softer:  #eef2fa;
  --white:      #ffffff;
  --shadow-sm:  0 1px 2px rgba(20,24,43,.06), 0 2px 8px rgba(20,24,43,.05);
  --shadow-md:  0 8px 30px rgba(22,35,92,.10);
  --shadow-lg:  0 20px 60px rgba(22,35,92,.18);
  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--cobalt); margin: 0 0 .75rem;
}
.lead { font-size: 1.15rem; color: var(--body); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--cobalt); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: #06243a; box-shadow: 0 6px 18px rgba(41,171,226,.35); }
.btn--primary:hover { background: var(--cyan-light); }
.btn--dark { background: var(--cobalt); color: #fff; }
.btn--dark:hover { background: var(--cobalt-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: #fff; color: var(--cobalt); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--cobalt); }
.btn--lg { padding: 16px 28px; font-size: 1.06rem; }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand__bug { width: 38px; height: 38px; }
.brand__name { font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name span { color: var(--cobalt); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav__links a:hover { color: var(--cobalt); text-decoration: none; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf0ff;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(41,171,226,.40), transparent 60%),
    linear-gradient(160deg, #20337e 0%, var(--cobalt) 45%, #16235c 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 92px 0 96px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--cyan-light); }
.hero__lead { color: #cdd8f7; font-size: 1.22rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { margin-top: 18px; font-size: .9rem; color: #aebbe6; }
.hero__art { display: flex; justify-content: center; }
.hero__art img { width: min(360px, 80%); height: auto; filter: drop-shadow(0 26px 50px rgba(0,0,0,.35)); }

/* ---------- Stat strip ---------- */
.stats { background: var(--navy); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 30px 0;
}
.stat { text-align: center; color: #cdd8f7; }
.stat b { display: block; font-size: 1.7rem; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .86rem; }

/* ---------- Generic grids / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card--feature { padding: 32px 30px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-softer); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--cobalt); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--body); margin-bottom: 0; }
.card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--body); }
.card ul li { margin-bottom: .35rem; }

/* ---------- The problem ---------- */
.problem .container { max-width: 880px; }
.problem blockquote {
  margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; color: var(--ink);
  line-height: 1.35; letter-spacing: -.02em;
}
.problem blockquote .hl { color: var(--cobalt); }

/* ---------- Differentiators ---------- */
.diff-item { display: flex; gap: 16px; align-items: flex-start; }
.diff-item .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan);
  display: grid; place-items: center; margin-top: 3px;
}
.diff-item .tick svg { width: 15px; height: 15px; stroke: #06243a; stroke-width: 3; }
.diff-item h3 { margin-bottom: .2rem; }
.diff-item p { margin: 0; font-size: .98rem; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--cobalt); color: #fff;
  font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 16px;
}
.deliverable {
  margin-top: 34px; background: var(--bg-softer); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 16px; align-items: center;
}
.deliverable svg { width: 30px; height: 30px; stroke: var(--cobalt); flex: 0 0 auto; }
.deliverable p { margin: 0; }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: auto; display: block; }
.shot__ph {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #f1f4fb, #f1f4fb 12px, #e9eefa 12px, #e9eefa 24px);
  color: var(--muted); font-weight: 600; padding: 18px;
}
.shot__cap { padding: 14px 18px; font-size: .92rem; color: var(--ink); font-weight: 600; }
.shot__cap span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* ---------- Pricing ---------- */
.pricing__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.rate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.rate-card__head { background: var(--cobalt); color: #fff; padding: 22px 28px; }
.rate-card__head h3 { color: #fff; margin: 0; }
.rate-card__head p { margin: .25rem 0 0; color: #cdd8f7; font-size: .92rem; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { text-align: left; padding: 13px 28px; border-bottom: 1px solid var(--line); }
.rate-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-foot { padding: 18px 28px; background: var(--bg-soft); font-size: .9rem; color: var(--muted); }

.estimator { background: var(--navy); color: #dce4fb; border-radius: var(--radius-lg); padding: 30px; }
.estimator h3 { color: #fff; }
.estimator label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 7px; color: #cdd8f7; }
.estimator input[type="number"], .estimator select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #324079;
  background: #1d2c63; color: #fff; font-size: 1rem; font-family: var(--font);
}
.estimator input[type="range"] { width: 100%; accent-color: var(--cyan); margin-top: 8px; }
.est-result {
  margin-top: 22px; background: linear-gradient(135deg, var(--cobalt), var(--cyan));
  border-radius: var(--radius); padding: 22px 24px; text-align: center; color: #fff;
}
.est-result .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; display: block; }
.est-result .price small { font-size: 1rem; font-weight: 600; opacity: .85; }
.est-result .meta { font-size: .85rem; color: #eaf2ff; margin-top: 4px; }
.est-note { font-size: .82rem; color: #93a2d6; margin-top: 14px; }

.pricing__extras { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.extra { background: #fff; border: 1px dashed var(--cobalt); border-radius: var(--radius); padding: 20px 22px; }
.extra b { color: var(--cobalt); }
.extra p { margin: .3rem 0 0; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--cobalt), var(--navy));
  color: #fff; border-radius: var(--radius-lg); padding: 52px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8f7; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  font-size: 1rem; font-family: var(--font); color: var(--ink); background: #fff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(45,79,182,.15);
}
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.ok { color: #157347; }
.contact__aside .card { margin-bottom: 18px; }
.contact__aside .lead { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebbe6; padding: 48px 0 36px; }
.footer__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer .brand__name { color: #fff; }
.footer .brand__name span { color: var(--cyan-light); }
.footer a { color: #cdd8f7; }
.footer__legal { font-size: .82rem; color: #7e8cc0; margin-top: 26px; border-top: 1px solid #2a397e; padding-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding: 64px 0 70px; }
  .hero__art { order: -1; }
  .hero__art img { width: 220px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .grid-3, .shots, .pricing__cols, .pricing__extras, .contact__grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 12px; }
  .nav__toggle { display: block; }
  .cta-band { padding: 38px 24px; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
