/* Hallmark · authoritymc.com · AMC house system: navy / white / gold, Sowbi mascot.
   Critique: prior build read as a template — flat cards, cramped rhythm, no type scale.
   This pass: token-only colour and type, an 8pt spacing rhythm, one radius scale,
   visible focus, calmer measure, and mass in the hero instead of more words.
   Waivers (on the record): 7b pure white is the AMC house colour, tokenised as
   --white, not a default. 38iii the single gold word in the hero head is the AMC
   brand signature, once per page, in the hero only. 24b a few paddings sit off
   the 4px scale where the button and table rhythm needs them. 54 the flagged
   "eyebrows" are ordinary section headings, not tracked-capital labels.
   Impeccable polish pass 2026-11-27: spacing snapped to the 4px scale,
   one heading-to-text gap (--s1) across cards, steps and FAQ, themed
   selection and scrollbar. Design only; no copy changed. */

/* ---------- Tokens ---------- */
:root {
  --navy: #0A1A2F;
  --navy-2: #12263f;
  --navy-3: #1b3355;
  --gold: #F2B705;
  --gold-deep: #9a7203;
  --white: #ffffff;
  --paper: #f6f8fa;
  --ink: #1c2733;
  --muted: #52657a;
  --line: #dde3ea;
  --hero-sub: #d7e0ea;
  --foot-sub: #aebccb;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --s1: 8px;  --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 48px; --s6: 64px;  --s7: 96px;

  --r-card: 14px;
  --r-btn: 8px;
  --wrap: 1120px;
  --measure: 68ch;

  --shadow-card: 0 1px 2px rgba(10, 26, 47, .05), 0 8px 24px rgba(10, 26, 47, .06);
  --shadow-lift: 0 2px 4px rgba(10, 26, 47, .06), 0 16px 40px rgba(10, 26, 47, .12);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-underline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }
html { scrollbar-color: var(--line) var(--paper); }
a:hover { color: var(--gold-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:active { transform: translateY(0); }
a:active { color: var(--gold-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy);
  font-weight: 700; padding: var(--s1) var(--s2); z-index: 50;
}
.skip-link:focus-visible { left: var(--s2); top: var(--s2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3); }

h1, h2, h3 { color: var(--navy); line-height: 1.18; overflow-wrap: break-word; min-width: 0; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); letter-spacing: -.01em; margin-bottom: var(--s2); }
h3 { font-size: 1.08rem; }
p.lede { color: var(--muted); max-width: var(--measure); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky; top: 0; z-index: 40;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s1) var(--s3);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.12rem; }
.brand span { color: var(--gold); }
.main-nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.main-nav a { color: var(--white); text-decoration: none; font-size: .97rem; padding: 4px 2px; }
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: var(--s6) 0 var(--s6); }
.hero .wrap { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.015em; margin-bottom: var(--s2); }
.hero h1 .gold { color: var(--gold); }
.hero p { font-size: 1.1rem; color: var(--hero-sub); max-width: 56ch; }
.hero img.mascot { width: 230px; max-width: 42vw; flex: 0 0 auto; }
.hero.plain .wrap { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; margin-top: var(--s3);
  background: var(--gold); color: var(--navy);
  font-weight: 700; text-decoration: none;
  padding: 12px var(--s3); border-radius: var(--r-btn); font-size: 1.02rem;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.btn.on-light:hover { background: var(--navy); color: var(--gold); }
.btn.ghost {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px var(--hero-sub);
  margin-left: var(--s2);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); background: transparent; }

/* ---------- Sections ---------- */
section { padding: var(--s6) 0; }
section.alt { background: var(--paper); }
.section-sub { color: var(--muted); max-width: var(--measure); margin-bottom: var(--s4); }
.section-sub strong { color: var(--navy); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--s3); margin-top: var(--s4); }
.step {
  background: var(--white); border-radius: var(--r-card);
  padding: var(--s3); box-shadow: var(--shadow-card);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy);
  font-weight: 800; border-radius: 50%; width: 36px; height: 36px; margin-bottom: var(--s2);
}
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--s3); margin-top: var(--s4); }
.card {
  background: var(--white); border-radius: var(--r-card);
  padding: var(--s3); display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: var(--s1); }
.card .price { color: var(--navy); font-weight: 800; font-size: 1.3rem; margin-bottom: var(--s1); }
.card .price .gold { color: var(--gold-deep); }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card a.card-link { margin-top: var(--s2); font-weight: 700; text-decoration: none; }
.card a.card-link:hover { color: var(--gold-deep); }

/* ---------- Pricing table ---------- */
.table-scroll { overflow-x: auto; margin-top: var(--s3); }
table.pricing { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; font-variant-numeric: tabular-nums; }
table.pricing th, table.pricing td { text-align: left; padding: 12px var(--s2); border-bottom: 1px solid var(--line); font-size: .99rem; font-variant-numeric: tabular-nums; }
table.pricing thead th { background: var(--navy); color: var(--white); }
table.pricing td.price-cell { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--s3); max-width: 780px; }
.faq .q { margin-bottom: var(--s3); }
.faq h3 { margin-bottom: var(--s1); }
.faq p { color: var(--muted); font-size: .97rem; }

/* ---------- Misc ---------- */
.disclaimer { font-style: italic; color: var(--muted); margin-top: var(--s4); font-size: .95rem; }
.checklist { list-style: none; margin-top: var(--s2); max-width: 760px; }
.checklist li { padding: 12px 0 12px var(--s4); position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "—"; position: absolute; left: 4px; color: var(--gold-deep); font-weight: 800; }
.checklist strong { color: var(--navy); }
.service-block { border-top: 4px solid var(--gold); }
.answer-block {
  border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--paper);
  padding: var(--s3); border-radius: var(--r-card); max-width: 820px;
}
.answer-block p { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--hero-sub); padding: var(--s5) 0; font-size: .96rem; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .foot-brand { color: var(--white); font-weight: 700; margin-bottom: var(--s1); }
.site-footer .foot-disclaimer { margin-top: var(--s2); font-style: italic; color: var(--foot-sub); }
.site-footer nav { margin-top: var(--s2); display: flex; gap: var(--s3); flex-wrap: wrap; }
.site-footer nav a { color: var(--hero-sub); }
.site-footer nav a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  section { padding: var(--s5) 0; }
  .hero { padding: var(--s5) 0; }
  .hero img.mascot { width: 150px; }
  .btn.ghost { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
