/* Anchorlog landing page — page styles
   Tokens imported from the published Anchorlog Design System.
   Locked palette + type stack only — no invented values.

   CD-4 batch C-M3 redesign (2026-08-03): band rhythm owned by stylesheet
   section classes (the former §4/§9 inline backgrounds retire into
   .section--tint); the §3 notice callout re-grounds on EARTH (amber is
   CTA-only); dialogs rebuild on the native <dialog> element; MC2 mobile
   nav sheet added; MC5 off-site signal on origin-leaving links.
   Removed here as unreferenced dead CSS (prior versions recoverable via
   version control): .hero__transitional (+ its link/button rules),
   .section--earth-divide, .density-compact, .density-spacious. */

@import url("assets/colors_and_type.css");

* { box-sizing: border-box; }

:root { --al-nav-h: 64px; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--al-bg);
  color: var(--al-fg);
}
html.is-scroll-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }

/* Shared visibility utilities */
.is-hidden { display: none; }
.reserved-hidden { display: none !important; }  /* compliance-reserved slots — always hidden until their documented unhide trigger */

/* ── Layout primitives ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--al-container);
  margin: 0 auto;
  padding: 0 var(--al-gutter);
}
@media (min-width: 880px) {
  .container { padding: 0 32px; }
}

/* ── Sticky nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--al-bg);   /* fallback: a solid nav beats a transparent one */
  background: color-mix(in srgb, var(--al-bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--al-line);
}
.nav__inner {
  height: var(--al-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { width: var(--al-logo-size, 124px); height: auto; display: block; }
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--al-fg-muted);
}
.nav__links a {
  color: inherit;
  text-decoration: none;
  transition: color var(--al-dur-base) var(--al-ease);
  display: inline-flex;
  align-items: center;
}
.nav__links a:hover { color: var(--al-primary); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta .al-btn,
.nav__actions .nav__cta-btn {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
/* MC2 hamburger — visible below the desktop breakpoint only */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--al-primary-900);
  transition: transform var(--al-dur-base) var(--al-ease), opacity var(--al-dur-base) var(--al-ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}
/* While the sheet is open, hide the header CTA so only one amber shows per fold */
html.is-nav-open .nav__cta-btn { display: none; }

/* ── MC2 mobile nav sheet (full-width, under the sticky header) ──── */
.nav-sheet-backdrop {
  position: fixed;
  inset: var(--al-nav-h) 0 0;
  background: color-mix(in srgb, var(--al-primary-900) 35%, transparent);
  z-index: 30;
  display: none;
}
.nav-sheet-backdrop.is-open { display: block; }
.nav-sheet {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--al-nav-h);
  z-index: 31;
  background: var(--al-bg);
  border-bottom: 1px solid var(--al-line);
  box-shadow: var(--al-shadow-md);
  display: none;
  flex-direction: column;
  max-height: calc(100dvh - var(--al-nav-h));
  overflow-y: auto;
}
.nav-sheet.is-open { display: flex; }
.nav-sheet__link {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--al-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--al-steel-50);
}
.nav-sheet__link:hover { background: var(--al-bg-subtle); }
.nav-sheet__foot {
  padding: 24px 20px 36px;
  border-top: 1px solid var(--al-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-sheet__foot .al-btn { width: 100%; }
@media (min-width: 880px) {
  .nav-sheet, .nav-sheet-backdrop { display: none !important; }
}

/* ── §1 HERO ───────────────────────────────────────────────────── */
.hero { padding: 40px 0 24px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--al-font-mono);
  font-size: var(--al-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-earth-700);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--al-earth);
}
.hero h1 {
  font-family: var(--al-font-sans);
  font-size: var(--al-fs-hero);
  line-height: var(--al-lh-hero);
  letter-spacing: var(--al-tr-hero);
  font-weight: 700;
  color: var(--al-primary);
  margin: 0 0 18px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__sub {
  font-size: var(--al-fs-hero-sub);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--al-steel);
  margin: 0 0 28px;
  max-width: 32ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 24px;
}

/* Hero "no email gate" microcopy beneath the CTA pair */
.hero__nogate {
  margin: 18px 0 0;
  font-family: var(--al-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--al-fg-subtle);
  line-height: 1.5;
  max-width: 56ch;
}
.hero__nogate span { color: var(--al-cta-press); margin-right: 4px; font-weight: 500; }

.hero__valuestack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--al-line);
}
.valueitem {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--al-fg-muted);
}
.valueitem__icon {
  flex: 0 0 40px;   /* MC1: feature icons in 40px bg-primary-50 containers */
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--al-primary);
  background: var(--al-primary-50);
  border-radius: var(--al-radius-md);
}
.valueitem__icon svg { width: 18px; height: 18px; stroke: currentColor; }
.valueitem b { color: var(--al-primary); font-weight: 600; }

@media (min-width: 720px) {
  .hero__valuestack { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 18px; }
}
@media (min-width: 960px) {
  .hero { padding: 80px 0 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

/* ── Photo slot (image substrate + reserved placeholder) ───────── */
.photoslot {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--al-bg-subtle);
  border: 1px dashed var(--al-line-strong);
  border-radius: var(--al-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  color: var(--al-fg-muted);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photoslot__label {
  font-family: var(--al-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--al-fg-subtle);
  margin: 0 0 12px;
}
.photoslot__primary {
  font-family: var(--al-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--al-steel-700);
  margin: 0 0 8px;
  max-width: 28ch;
  line-height: 1.4;
}
.photoslot__rotation {
  font-family: var(--al-font-mono);
  font-size: 11px;
  color: var(--al-fg-subtle);
  margin-top: 10px;
}
.photoslot--hero { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .photoslot--hero { min-height: 320px; } }

/* Photo slot with real image substrate */
.photoslot--filled {
  padding: 0;
  border: 1px solid var(--al-line);
  background: var(--al-primary);   /* branded fill shown while the image loads */
  position: relative;
}
.photoslot--filled .photoslot__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photoslot__disclaimer {
  font-family: var(--al-font-mono);
  font-size: 10px;
  color: var(--al-fg-subtle);
  margin: 6px 0 0;
}
.photoslot--wide { aspect-ratio: 4 / 3; }
.photoslot--reserved {
  border-style: dashed;
  border-color: var(--al-earth-300);
  background: var(--al-earth-50);
}
.photoslot--reserved .photoslot__label { color: var(--al-earth-700); }

/* ── Generic section ──────────────────────────────────────────── */
.section { padding: 64px 0; }
@media (min-width: 880px) { .section { padding: 96px 0; } }

/* Band-rhythm classes — the §4/§9 inline backgrounds retire here (TM2). */
.section--dark {
  background: var(--al-primary);
  color: var(--al-fg-on-primary);
}
.section--dark h2,
.section--dark .section__title { color: var(--al-fg-on-primary); }
.section--dark .section__eyebrow { color: color-mix(in srgb, var(--al-fg-on-primary) 70%, transparent); }
.section--tint {
  background: var(--al-bg-subtle);
  border-top: 1px solid var(--al-line);
}
.section--framed { border-bottom: 1px solid var(--al-line); }

.section__eyebrow {
  font-family: var(--al-font-mono);
  font-weight: 500;
  font-size: var(--al-fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-earth-700);
  margin: 0 0 14px;
}
.section__title {
  font-family: var(--al-font-sans);
  font-size: var(--al-fs-section);
  line-height: var(--al-lh-section);
  letter-spacing: var(--al-tr-section);
  font-weight: 700;
  color: var(--al-primary);
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.section__sub {
  font-size: var(--al-fs-section-sub);
  line-height: 1.4;
  font-weight: 600;
  color: var(--al-steel);
  margin: 0 0 32px;
  max-width: 44ch;
}

/* ── §2 STAKES (dark) ─────────────────────────────────────────── */
.stakes__body {
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--al-fg-on-primary) 88%, transparent);
  max-width: 62ch;
  margin: 0 0 28px;
}
.stakes__body + .stakes__body { margin-top: 18px; }
.stakes__transition {
  display: block;
  font-size: clamp(20px, 1.6vw + 12px, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--al-fg-on-primary);
  margin: 36px 0 0;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--al-fg-on-primary) 18%, transparent);
  font-style: italic;
  max-width: 38ch;
  text-wrap: balance;
}
.stakes__transition .ts {
  font-family: var(--al-font-mono);
  font-style: normal;
  font-weight: 500;
  background: color-mix(in srgb, var(--al-fg-on-primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--al-fg-on-primary) 18%, transparent);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.92em;
}

/* ── §3 VALUE PROP ────────────────────────────────────────────── */
/* Notice callout — EARTH-grounded (amber retires; amber is CTA-only). */
.section-callout {
  background: var(--al-earth-50);
  border-left: 3px solid var(--al-earth);
  border-radius: 0 var(--al-radius-lg) var(--al-radius-lg) 0;
  padding: 20px 26px;
  margin: 0 0 44px;
  max-width: 760px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.section-callout svg { flex: none; margin-top: 1px; }
.section-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--al-primary);
}
.section-callout b { font-weight: 600; }

.value__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.value__bullets {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.value__bullet {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
}
.value__num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--al-primary-50);
  border: 1px solid var(--al-primary-100);
  color: var(--al-primary);
  font-family: var(--al-font-mono);
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value__bullet h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 4px 0 6px;
  line-height: 1.3;
}
.value__bullet p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--al-fg-muted);
  margin: 0;
  max-width: 48ch;
}
@media (min-width: 880px) {
  .value__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ── §4 GUIDE — Empathy + Competency ─────────────────────────── */
.guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.guide__col h3 {
  font-family: var(--al-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-earth-700);
  margin: 0 0 18px;
}
.guide__quote {
  font-size: clamp(22px, 2.4vw + 8px, 30px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 0 0 24px;
  max-width: 28ch;
  text-wrap: balance;
}
.guide__quote .warm { color: var(--al-earth-700); font-style: italic; }
.guide__quote .mono {
  font-family: var(--al-font-mono);
  font-weight: 400;
  font-style: normal;
  color: var(--al-earth-700);
  font-size: 0.88em;
}
.guide__competency {
  font-size: 18px;
  line-height: 1.55;
  color: var(--al-primary);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 38ch;
}
.guide__competency em {
  font-style: normal;
  color: var(--al-fg-muted);
  font-weight: 400;
  display: block;
  font-size: 14px;
  margin-top: 16px;
  letter-spacing: 0;
}
.guide__reserved {
  margin-top: 28px;
}

@media (min-width: 880px) {
  .guide__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ── §5 PLAN (earth wash) ─────────────────────────────────────── */
.plan-wrap {
  background:
    linear-gradient(180deg, var(--al-earth-50) 0%, var(--al-bg) 100%);
}
.plan__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.plan__step {
  background: var(--al-bg);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-lg);
  padding: 24px;
  box-shadow: var(--al-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--al-primary);
  color: var(--al-fg-on-primary);
  font-family: var(--al-font-mono);
  font-weight: 500;
  font-size: 15px;
}
.plan__step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 0;
  line-height: 1.3;
}
.plan__step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--al-fg-muted);
  margin: 0;
}
.plan__photo { width: 100%; }
@media (min-width: 880px) {
  .plan__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Anchorlog Promise card */
.promise {
  margin-top: 64px;
  background: var(--al-bg);
  border: 1px solid var(--al-line-strong);
  border-left: 4px solid var(--al-earth);
  border-radius: var(--al-radius-lg);
  padding: 32px 28px;
  box-shadow: var(--al-shadow-sm);
  max-width: 720px;
}
.promise__eyebrow {
  font-family: var(--al-font-mono);
  font-size: var(--al-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-earth-700);
  margin: 0 0 8px;
}
.promise h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 0 0 18px;
}
.promise ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: promise;
}
.promise li {
  counter-increment: promise;
  padding: 14px 0;
  padding-left: 40px;
  position: relative;
  border-top: 1px solid var(--al-line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--al-fg);
}
.promise li:first-child { border-top: none; padding-top: 4px; }
.promise li::before {
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--al-font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--al-earth-700);
}
.promise li:first-child::before { top: 4px; }
.promise li b { color: var(--al-primary); font-weight: 600; }

/* ── §6 EXPLANATORY ─────────────────────────────────────────── */
.explainer { max-width: 68ch; margin: 0 auto; }
.explainer .section__eyebrow { text-align: left; margin-bottom: 14px; }
.explainer .section__title { max-width: none; margin-bottom: 28px; }
.explainer p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--al-fg);
  margin: 0 0 24px;
  max-width: none;
}
/* Spec strip — typography-only authority: mono citation row, hairline, body. */
.al-callout {
  background: var(--al-primary-50);
  border: 1px solid var(--al-primary-100);
  border-left: 4px solid var(--al-primary);
  border-radius: 0 var(--al-radius-lg) var(--al-radius-lg) 0;
  padding: 0;
  margin: 32px 0 16px;
  overflow: hidden;
}
.al-callout__citation {
  display: block;
  padding: 18px 28px;
  border-bottom: 1px solid var(--al-primary-100);
  background: color-mix(in srgb, var(--al-bg) 50%, transparent);
  font-family: var(--al-font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--al-fg-statute);
}
.al-callout__body {
  margin: 0;
  padding: 16px 28px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--al-primary);
  font-weight: 500;
}

/* ── §7 LEAD GENERATOR (steel-banded) ───────────────────────── */
.leadgen-wrap {
  background: color-mix(in srgb, var(--al-primary) 4%, transparent);
  border-top: 4px solid var(--al-steel);
  border-bottom: 4px solid var(--al-steel);
}
.leadgen {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.leadgen__title {
  font-size: clamp(22px, 1.8vw + 14px, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 0 0 14px;
  line-height: 1.25;
  text-wrap: balance;
}
.leadgen__title b { font-weight: 700; }
.leadgen__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--al-fg-muted);
  margin: 0 0 28px;
  max-width: 50ch;
}
.leadgen__cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.leadgen__nogate {
  font-family: var(--al-font-mono);
  font-size: 12px;
  color: var(--al-fg-subtle);
}

/* ── §8 PRICING (TM4 grid) ──────────────────────────────────── */
.pricing__head { text-align: center; margin-bottom: 40px; }
.pricing__head .section__title { margin: 0 auto 14px; max-width: none; }
.pricing__tagline {
  font-size: var(--al-fs-section-sub);
  font-weight: 600;
  color: var(--al-steel);
  margin: 0 auto;
  max-width: 44ch;
  letter-spacing: -0.01em;
}
.pricing__toggle {
  display: inline-flex;
  margin: 22px auto 0;
  border: 1px solid var(--al-line-strong);
  border-radius: var(--al-radius-md);
  overflow: hidden;
}
.pricing__toggle-btn {
  font-family: var(--al-font-mono);
  font-size: var(--al-fs-legal);
  padding: 9px 18px;
  background: var(--al-bg);
  color: var(--al-fg-muted);
  border: none;
  cursor: pointer;
}
.pricing__toggle-btn.is-active {
  background: var(--al-primary);
  color: var(--al-fg-on-primary);
}
.pricing__toggle-note { opacity: 0.75; }
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;   /* TM4: equal-height cards → shared rows */
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 960px) {
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--al-bg);
  border: 1px solid var(--al-line-strong);
  border-radius: var(--al-radius-lg);
  padding: 32px 24px;              /* MC1 Card density (24/32) */
  box-shadow: var(--al-shadow-sm); /* MC1: shadow-sm; the featured card keeps its lift */
}
.pricing__card--featured {
  border: 2px solid var(--al-primary);
  box-shadow: var(--al-shadow-lg);
}
.pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--al-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--al-primary);
  color: var(--al-fg-on-primary);
  padding: 4px 12px;
  border-radius: var(--al-radius-sm);
  white-space: nowrap;
  margin: 0;
}
.pricing__name {
  font-family: var(--al-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--al-earth-700);
  margin: 0 0 12px;
  font-weight: 500;
}
.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.pricing__price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--al-primary);
  line-height: 1;
}
.pricing__per {
  font-family: var(--al-font-mono);
  font-size: 15px;
  color: var(--al-fg-muted);
}
.pricing__incl {
  font-size: 14px;
  color: var(--al-fg-subtle);
  margin: 0 0 20px;
}
.pricing__list { list-style: none; padding: 0; margin: 0 0 28px; }
.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid var(--al-line);
  color: var(--al-fg);
}
.pricing__list li:first-child { border-top: none; }
.pricing__check {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--al-primary);
}
.pricing__cta { width: 100%; margin-top: auto; }   /* TM4: CTA sits on the shared bottom row */
.pricing__selfserve {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--al-fg-muted);
}
.pricing__selfserve a {
  color: var(--al-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing__pillars {
  margin: 30px auto 0;
  text-align: center;
  font-family: var(--al-font-mono);
  font-size: 13px;
  color: var(--al-fg-muted);
  max-width: 72ch;
}
.pricing__fineprint {
  margin: 10px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--al-fg-subtle);
  max-width: 64ch;
}

/* ── §9 JUNK DRAWER ─────────────────────────────────────────── */
.junk__about .section__title { max-width: 28ch; }
.junk__about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--al-fg);
  margin: 0 0 16px;
  max-width: 64ch;
}
.junk__about .acn {
  font-family: var(--al-font-mono);
  font-size: 14px;
  color: var(--al-fg-muted);
}

.faq {
  margin-top: 56px;
  border-top: 1px solid var(--al-line);
  max-width: 800px;
}
.faq .section__eyebrow { margin-bottom: 16px; }
.faq__item {
  border-bottom: 1px solid var(--al-line);
}
.faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--al-font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--al-primary);
  letter-spacing: -0.005em;
  line-height: 1.35;
  list-style: none;
}
.faq__btn::-webkit-details-marker { display: none; }
.faq__btn:hover { color: var(--al-primary-900); }
.faq__btn .chev {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  color: var(--al-fg-muted);
  transition: transform var(--al-dur-base) var(--al-ease);
}
.faq__item[open] .chev { transform: rotate(180deg); }
.faq__body {
  padding: 0 4px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--al-fg-muted);
  max-width: 64ch;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--al-bg-subtle);
  border-top: 1px solid var(--al-line);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand img { width: calc(var(--al-logo-size, 124px) * 0.85); height: auto; }
.footer__brand p {
  font-size: 14px;
  color: var(--al-fg-muted);
  line-height: 1.55;
  max-width: 32ch;
  margin: 18px 0 0;
}
.footer__col h4 {
  font-family: var(--al-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-fg-subtle);
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--al-fg-muted);
  text-decoration: none;
  transition: color var(--al-dur-base) var(--al-ease);
  display: inline-flex;
  align-items: center;
}
.footer__col a:hover { color: var(--al-primary); }
.footer__col a[aria-disabled="true"] {
  color: var(--al-fg-subtle);
  cursor: not-allowed;
}
.footer__col a[aria-disabled="true"]:hover { color: var(--al-fg-subtle); }
.footer__col .reserved {
  font-family: var(--al-font-mono);
  font-size: 11px;
  color: var(--al-fg-subtle);
  letter-spacing: 0.04em;
  display: block;
  padding: 8px 10px;
  border: 1px dashed var(--al-line-strong);
  border-radius: var(--al-radius-sm);
  background: var(--al-bg);
  margin-top: 6px;
}
/* MC5 off-site signal — trailing glyph on origin-leaving links */
.ext-arrow {
  font-size: 11px;
  color: var(--al-fg-subtle);
  margin-left: 4px;
}
.footer__legal {
  padding-top: 24px;
  border-top: 1px solid var(--al-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--al-fg-subtle);
}
.footer__legal .mono { font-family: var(--al-font-mono); }

/* ── Buttons (override + sizes specific to landing) ───────────── */
.al-btn--cta-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 17px;
}
.al-btn--outline-cta {
  background: transparent;
  color: var(--al-cta-press);
  border: 1.5px solid var(--al-cta);
  font-weight: 600;
  font-size: 15px;
  height: 44px;
  padding: 0 20px;
}
.al-btn--outline-cta:hover {
  background: color-mix(in srgb, var(--al-cta) 8%, transparent);
  color: var(--al-cta-press);
  border-color: var(--al-cta-hover);
}
.al-btn--outline-cta-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
}

/* ── Modal dialogs (native <dialog> + showModal) ──────────────── */
.al-dialog {
  width: min(480px, calc(100% - 48px));
  max-width: 480px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--al-fg);
  margin: auto;   /* centred in the top layer */
}
.al-dialog::backdrop {
  background: color-mix(in srgb, var(--al-primary-900) 50%, transparent);
}
.al-dialog[open] { animation: fadeIn 200ms var(--al-ease); }
.al-dialog__panel {
  background: var(--al-bg);   /* the locked token set has no --al-surface; --al-bg IS the surface */
  border-radius: var(--al-radius-lg);
  padding: 32px;
  box-shadow: var(--al-shadow-lg);
  animation: slideUp 200ms var(--al-ease);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
.al-dialog__panel h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--al-primary);
  margin: 8px 0 12px;
}
.al-dialog__panel p {
  font-size: 14px;
  color: var(--al-fg-muted);
  line-height: 1.55;
  margin: 0 0 20px;
}
.al-dialog__panel label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--al-primary);
}
.al-dialog__panel label span { display: block; margin-bottom: 6px; }
.dialog__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}
@media (min-width: 420px) {
  .dialog__row { grid-template-columns: 1fr 1.4fr; }
}
.dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.dialog__error {
  display: none;
  margin: 4px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--al-danger);
  /* #FBEDEA was an invented danger-50; the locked palette ships no danger tint, so
     this uses the one sanctioned warm tint. The danger signal is carried by the
     border + text, both already --al-danger. */
  background: var(--al-earth-50);
  border: 1px solid var(--al-danger);
  border-radius: var(--al-radius-md);
}
.dialog__error.is-visible { display: block; }
.dialog__error a { color: var(--al-danger); }
.dialog__success { display: none; }
.dialog__success.is-visible { display: block; }
.dialog__success .al-eyebrow { color: var(--al-primary); }
.dialog__success h3 { margin-top: 8px; }

/* Checklist download chip (inline styles retire here — MC1) */
.filechip {
  background: var(--al-primary-50);
  border: 1px solid var(--al-primary-100);
  border-radius: var(--al-radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.filechip__name { font-weight: 600; font-size: 14px; color: var(--al-primary); }
.filechip__meta { font-family: var(--al-font-mono); font-size: 12px; color: var(--al-fg-muted); }
.filechip__download {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Small-screen tightening ─────────────────────────────────── */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 16px; }
  .promise { padding: 24px 20px; }
  .pricing__card { padding: 28px 22px; }
  .pricing__price { font-size: 40px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
