/* Mission4AI, mission4ai.com
   Drafted 2026-09-09. One stylesheet for every page. */

:root {
  --ink: #12181f;
  --ink-soft: #45525f;
  --ink-faint: #6f7c89;
  --line: #dfe4e9;
  --paper: #ffffff;
  --paper-warm: #f6f4f0;
  --paper-cool: #f2f5f8;
  --accent: #0b5c4e;
  --accent-bright: #10806c;
  --accent-pale: #e4f0ec;
  --flag: #a03219;
  --shadow: 0 1px 2px rgba(18, 24, 31, .05), 0 8px 24px rgba(18, 24, 31, .06);
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wide: 1080px;
  --narrow: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 17px/1.68 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); }

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

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

nav.site { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
nav.site a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.site a:hover { color: var(--ink); border-bottom-color: var(--accent); }
nav.site a.here { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */

.hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
  font-size: clamp(35px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  max-width: 17ch;
}
.hero p.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */

section { padding: 62px 0; }
section.tint { background: var(--paper-warm); }
section.cool { background: var(--paper-cool); }
section.dark { background: var(--ink); color: #e7ecf1; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: #b9c4cf; }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
  font-size: clamp(27px, 3.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  max-width: 24ch;
}
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.01em; }
p { margin: 0 0 18px; }
.sub { color: var(--ink-soft); max-width: 62ch; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 a { text-decoration: none; }
.card p:last-child { margin-bottom: 0; }
.card .who {
  font-size: 13.5px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 16px;
}

/* ---------- numbers ---------- */

.stat-row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat .n {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1.1;
}
section.dark .stat .n { color: #4ec7a9; }
.stat p { font-size: 15.5px; margin: 8px 0 0; }
.src { font-size: 13px; color: var(--ink-faint); margin-top: 26px; }
section.dark .src { color: #8b98a5; }

/* ---------- tables ---------- */

.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 480px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td.money { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- pricing ---------- */

.tiers { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.tier {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.tier.flag { border: 2px solid var(--accent); position: relative; }
.tier.flag::before {
  content: "Most clients start here";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 3px;
}
.tier .name { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 700; margin-bottom: 12px; }
.tier .price { font-family: var(--serif); font-variant-numeric: tabular-nums; font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.tier .price small { font-size: 16px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.tier .setup { color: var(--ink-soft); font-size: 15px; margin: 8px 0 20px; }
.tier ul { margin: 0 0 22px; padding-left: 20px; }
.tier li { margin-bottom: 9px; font-size: 15.5px; }

/* ---------- lists ---------- */

ul.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 12px; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 12px;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 26px; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}

/* ---------- callouts ---------- */

.demo {
  border: 2px dashed var(--accent);
  background: var(--accent-pale);
  border-radius: 7px;
  padding: 30px;
  text-align: center;
}
.demo .num { font-family: var(--serif); font-variant-numeric: tabular-nums; font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; color: var(--accent); margin: 10px 0; }

.note {
  border-left: 4px solid var(--accent);
  background: var(--paper-warm);
  padding: 20px 24px;
  border-radius: 0 5px 5px 0;
}
.note p:last-child { margin-bottom: 0; }

.todo {
  border: 2px solid var(--flag);
  background: #fdf1ee;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 15.5px;
}
.todo strong { color: var(--flag); }
.todo p:last-child { margin-bottom: 0; }

/* ---------- founder ---------- */

.founder { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 780px) { .founder { grid-template-columns: 1fr 1fr; } }
.founder blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  color: var(--ink);
}

/* ---------- cta ---------- */

.cta { text-align: center; }
.cta h2 { margin: 0 auto 16px; }
.cta p { margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 46px 0 34px;
  font-size: 14.5px;
  color: var(--ink-faint);
  background: var(--paper-warm);
}
footer.site .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 30px; }
footer.site h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink); margin: 0 0 12px; }
footer.site a { color: var(--ink-soft); text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--accent); }
footer.site .legal { border-top: 1px solid var(--line); padding-top: 22px; line-height: 1.7; }

@media (max-width: 640px) {
  header.site .wrap { min-height: auto; padding-top: 14px; padding-bottom: 14px; }
  nav.site { gap: 16px; }
  section { padding: 46px 0; }
  .hero { padding: 52px 0 44px; }
}

/* ---------- focus and motion ---------- */

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
