/* Authentic Integrity Contracting — authenticintegrity.ca
   Plain HTML/CSS, no framework, no external dependencies, no web fonts.
   Palette taken from the AIC logo: navy #16365e, gold #c99a3c. */

:root {
  --navy: #16365e;
  --navy-dark: #0e243d;
  --navy-ink: #12263f;
  --gold: #c99a3c;
  --gold-soft: #f3e8cf;
  --ink: #1d2a38;
  --muted: #55636f;
  --line: #d9dee3;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3 { color: var(--navy-ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; margin-top: 2.2rem; }
h3 { font-size: 1.15rem; margin-top: 1.6rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--navy-ink); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; color: #fff; }
.brand img { width: 56px; height: 56px; display: block; }
.brand .name { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.brand .tag { font-size: .82rem; color: #cdd8e4; font-weight: 400; }
.site-nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; padding: 10px 0; }
.site-nav a {
  color: #dbe4ee;
  text-decoration: none;
  font-size: .95rem;
  padding: 8px 11px;
  border-radius: 4px;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 -3px 0 var(--gold); }

/* ---------- Hero ---------- */
.hero { background: var(--navy-dark); color: #eef2f6; }
.hero .wrap { max-width: var(--max); margin: 0 auto; padding: 52px 20px 56px; }
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: .35em; }
.hero .lede { font-size: 1.2rem; max-width: 720px; color: #d5dee8; }
.hero .lede strong { color: #fff; }
.hero-rule { width: 72px; height: 4px; background: var(--gold); margin: 0 0 22px; border: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
main .wrap { padding-top: 34px; padding-bottom: 56px; }
main .wrap.narrow { max-width: 780px; }
.intro { font-size: 1.15rem; color: var(--muted); max-width: 760px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 28px 0; }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  background: #fff;
}
.card h3 { margin-top: 0; }
.card .price { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: .1em 0 .3em; }
.card .price small { font-size: .85rem; font-weight: 400; color: var(--muted); }
.card .cta { margin-top: 14px; }
.card.featured { border: 2px solid var(--navy); }
.card .flag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy); background: var(--gold-soft);
  padding: 3px 9px; border-radius: 3px; margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 5px;
}
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn.gold { background: var(--gold); color: var(--navy-ink); }
.btn.gold:hover { background: #b8892f; color: var(--navy-ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }

/* ---------- Callouts ---------- */
.callout {
  border-left: 4px solid var(--gold);
  background: var(--bg-soft);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}
.callout.navy { border-left-color: var(--navy); background: #eef2f7; }
.callout p:last-child { margin-bottom: 0; }
.callout .label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 6px; }

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--bg-soft); color: var(--navy-ink); }
.price-table td.price { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c6d4; font-size: .92rem; }
.site-footer .wrap { padding-top: 34px; padding-bottom: 34px; display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: #e6ecf2; }
.site-footer .fbrand { font-weight: 700; color: #fff; }
.site-footer nav a { display: block; margin-bottom: 6px; text-decoration: none; }
.site-footer .fine { flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin-top: 8px; font-size: .85rem; color: #8fa1b3; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero .wrap { padding: 38px 20px 42px; }
  .site-nav { margin-left: 0; }
  .brand img { width: 46px; height: 46px; }
}
