/* aireadyerp.com — site stylesheet
   Palette matches the values already shipped in newsletter-signup/signup-form.html
   and the confirmation email HTML, so the site, emails, and PDF report read as
   one system rather than three different tools' default styles. */

:root {
  --charcoal-900: #0D2B5C;
  --blue-dark: #1B4F8C;
  --blue-mid: #2E6DB4;
  --blue-light: #E8F0F8;
  --accent: #0FA3B1;
  --accent-light: #6EDFEA;
  --text: #1A1A2E;
  --text-secondary: #374151;
  --muted: #6B7280;
  --steel-300: #B9C6D6;
  --grey-50: #F7F9FC;
  --grey-200: #E5E7EB;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --success: #1B5E20;
  --warn: #C62828;

  --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --font-display: 'Montserrat', var(--font-sans);

  --max-width: 1160px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 4px; background: var(--charcoal-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: var(--accent-light); font-size: 13px; font-weight: 600;
}
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--charcoal-900); letter-spacing: -0.01em; }
.logo-tld { font-family: var(--font-mono); font-weight: 600; font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }

.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-link { font-weight: 600; font-size: 13px; color: var(--text-secondary); text-decoration: none; white-space: nowrap; background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-dd { position: relative; }
.nav-dd__trigger::after { content: '\25BE'; display: inline-block; margin-left: 4px; transition: transform 120ms ease; }
.nav-dd:hover > .nav-dd__trigger::after, .nav-dd.is-open > .nav-dd__trigger::after { transform: rotate(180deg); }
.nav-dd__panel {
  /* top:100% with no margin, plus padding-top standing in for the visual gap:
     the gap has to be part of this element's own box (padding), not space
     outside it (margin), or the mouse loses :hover crossing a dead zone
     between the trigger and the panel and the menu closes mid-move. */
  position: absolute; top: 100%; left: 0; transform: translateY(-4px);
  padding-top: 14px; z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity 120ms ease, transform 120ms ease;
}
.nav-dd__panel-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; box-shadow: 0 12px 32px rgba(13,43,92,0.14); padding: 6px; min-width: 220px;
}
.nav-dd:hover .nav-dd__panel, .nav-dd.is-open .nav-dd__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd__link { display: block; padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 4px; white-space: nowrap; }
.nav-dd__link:hover { background: var(--grey-50); color: var(--accent); }
.nav-dd__divider { height: 1px; background: var(--grey-200); margin: 6px 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
a.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0; border: none; background: none; cursor: pointer; flex-shrink: 0;
}
.nav-toggle__bar { width: 20px; height: 2px; background: var(--charcoal-900); border-radius: 1px; transition: transform 150ms ease, opacity 150ms ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px; text-decoration: none;
  border-radius: 8px; border: none; cursor: pointer; padding: 12px 22px; line-height: 1;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: scale(0.98); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, #0D8A97 100%); color: var(--white); }
.btn-outline { background: transparent; color: var(--blue-dark); border: 1.5px solid var(--blue-dark); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }

/* ── Hero / sections ────────────────────────────────────── */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-dark { background: var(--charcoal-900); color: var(--white); }
.section-grey { background: var(--grey-50); }
.overline {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.section-dark .overline { color: var(--accent-light); }
h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--charcoal-900); }
.section-dark h1, .section-dark h2 { color: var(--white); }
h2 { font-family: var(--font-display); font-size: 26px; line-height: 1.25; margin: 40px 0 14px; color: var(--charcoal-900); }
h3 { font-family: var(--font-display); font-size: 19px; margin: 28px 0 10px; color: var(--charcoal-900); }
p { margin: 0 0 16px; }

/* Collapsible <h3> sections (see build.js's makeSectionsCollapsible) —
   long category lists like the joule-ai-agents catalog. */
details.collapsible-section {
  border-bottom: 1px solid var(--border);
  padding: 6px 0 18px;
}
details.collapsible-section summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0 0;
  font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--charcoal-900);
}
details.collapsible-section summary::-webkit-details-marker { display: none; }
details.collapsible-section summary::after {
  content: '+'; flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 20px; font-weight: 400; color: var(--accent);
}
details.collapsible-section[open] summary::after { content: '−'; }
details.collapsible-section summary:hover { color: var(--accent); }
details.collapsible-section ul { margin-top: 12px; }
.lede { font-size: 18px; color: var(--text-secondary); max-width: 680px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ── Article body ───────────────────────────────────────── */
.article { max-width: 760px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.article th { background: var(--grey-50); font-weight: 700; }
.article blockquote { border-left: 3px solid var(--accent); margin: 20px 0; padding: 4px 20px; color: var(--text-secondary); background: var(--grey-50); border-radius: 0 6px 6px 0; }
.article code { font-family: var(--font-mono); font-size: 0.9em; background: var(--grey-50); padding: 2px 5px; border-radius: 3px; }
.tldr { background: var(--blue-light); border-radius: 8px; padding: 18px 22px; margin: 24px 0; }
.tldr strong { color: var(--blue-dark); }

/* ── Cards / grids ──────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: block; padding: 22px; border: 1px solid var(--border); border-radius: 8px;
  text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.1s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-title { font-weight: 700; font-size: 16px; color: var(--charcoal-900); margin: 0 0 6px; }
.card-desc { font-size: 14px; color: var(--muted); margin: 0; }
.card-count { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 10px; display: block; }

/* ── Newsletter inline ──────────────────────────────────── */
.nl-inline {
  display: flex; align-items: center; gap: 16px; background: var(--blue-light);
  border-radius: 10px; padding: 20px 24px; flex-wrap: wrap;
}
.nl-inline strong { display: block; font-size: 16px; color: var(--blue-dark); }
.nl-inline span { font-size: 13px; color: var(--muted); }
.nl-inline form { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.nl-inline input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--charcoal-900); color: var(--white); padding: 56px 0 28px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-link-cols { column-count: 2; column-gap: 24px; }
.footer-link-cols .footer-link { break-inside: avoid; }
.footer-h { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-300); margin: 0 0 14px; }
.footer-link { font-size: 13px; color: var(--grey-200); text-decoration: none; display: block; padding: 5px 0; }
.footer-link:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: var(--grey-200); }
.footer-bottom a { color: var(--steel-300); }

/* ── Assessment tool ────────────────────────────────────── */
.assess-options { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.assess-option {
  text-align: left; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--white); font-family: var(--font-sans); font-size: 15px; color: var(--text);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.assess-option:hover { border-color: var(--accent); }
.assess-option.selected { border-color: var(--accent); background: var(--blue-light); font-weight: 600; }
.assess-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.assess-nav button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Live-read sidebar next to the questionnaire — desktop only (see the
   .assess-insight display:none in the mobile breakpoint below). Not part
   of scoring or the final report, just a per-answer visual hook. */
.assess-live-layout { display: flex; align-items: flex-start; gap: 28px; }
.assess-live-layout > #assessment-app { flex: 1 1 auto; min-width: 0; }
.assess-insight {
  flex: 0 0 260px;
  position: sticky; top: 96px;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; background: var(--grey-50);
}
.assess-insight__label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--accent); margin: 0 0 8px;
}
.assess-insight__text { font-size: 14px; line-height: 1.55; color: var(--charcoal-900); margin: 0; transition: opacity 0.15s ease; }
.assess-scores { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.assess-score-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
}
.assess-band { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ── Homepage hero (text + Readiness Snapshot card) ─────── */
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }

/* ── Homepage "The Shift" / "The Assessment" / final CTA sections ── */
.shift-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.assess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.final-cta-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }

/* ── Category card icons ────────────────────────────────── */
.cat-icon {
  width: 40px; height: 40px; border-radius: 6px; background: var(--grey-50); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--blue-dark);
}

/* ── Readiness Snapshot hero card ───────────────────────── */
.snapshot-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 32px rgba(13,43,92,0.08); padding: 24px; max-width: 320px; width: 100%; justify-self: end;
}
.snapshot-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.snapshot-card__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.snapshot-row { margin-bottom: 16px; }
.snapshot-row__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.snapshot-row__name { font-size: 13px; font-weight: 600; color: var(--text); }
.snapshot-row__score { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.snapshot-bar { height: 6px; background: var(--grey-200); border-radius: 3px; overflow: hidden; }
.snapshot-bar__fill { height: 100%; background: var(--accent); border-radius: 3px; }
.snapshot-card__footnote { font-size: 11px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.snapshot-card__link { display: block; text-align: center; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); border-top: 1px solid var(--border); padding-top: 16px; text-decoration: none; }

/* ── Dimension list (Assessment section / page) ─────────── */
.dim-grid { display: grid; gap: 16px; }
.dim-item { padding: 20px; border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; display: flex; align-items: center; gap: 16px; }
.dim-item__index {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-light);
}
.dim-item__name { margin: 0 0 4px; font-weight: 700; color: var(--white); font-size: 15px; }
.dim-item__desc { margin: 0; color: var(--grey-200); font-size: 13px; }
.dim-item--light { border-color: var(--border); background: var(--grey-50); }
.dim-item--light .dim-item__index { background: var(--white); border-color: var(--border); color: var(--accent); }
.dim-item--light .dim-item__name { color: var(--charcoal-900); }
.dim-item--light .dim-item__desc { color: var(--muted); }

/* ── Hub 2-column layout (category hub, sidebar) ────────── */
.hub-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.hub-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-h { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.sidebar-link { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); text-decoration: none; }
.sidebar-link:hover { color: var(--accent); }
.sidebar-box { padding: 20px; background: var(--grey-50); border: 1px solid var(--border); border-radius: 6px; }
.sidebar-box p { margin: 0 0 8px; }
.sidebar-box a { font-family: var(--font-mono); font-size: 13px; color: var(--accent); text-decoration: none; }
.mid-cta {
  margin: 32px 0; padding: 28px; background: var(--charcoal-900); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.mid-cta p { margin: 0; color: var(--white); font-weight: 700; font-size: 16px; }
.glossary-cta {
  margin-top: 20px; padding: 24px 28px; background: var(--grey-50); border: 1px solid var(--border);
  border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  text-decoration: none;
}
.glossary-cta .overline { margin-bottom: 6px; }
.glossary-cta__title { margin: 0; font-weight: 700; font-size: 18px; color: var(--charcoal-900); font-family: var(--font-display); }
.glossary-cta__link { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

/* ── News blog list (wider main column + month archive) ─── */
.news-layout { display: grid; grid-template-columns: 2.6fr 1fr; gap: 48px; align-items: start; }
.news-month { margin-bottom: 8px; }
.news-month__label {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); border-bottom: 2px solid var(--border); padding-bottom: 10px; margin: 0 0 8px;
}
.news-item {
  display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--grey-200);
  text-decoration: none; color: inherit;
}
.news-item:hover .news-item__title { color: var(--accent); }
.news-item__date { flex-shrink: 0; width: 92px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.news-item__body { display: flex; flex-direction: column; gap: 6px; }
.news-item__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--charcoal-900); transition: color 0.15s; }
.news-item__desc { font-size: 15px; color: var(--muted); }

/* ── Article layout (TL;DR, takeaways, sidebar) ─────────── */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.takeaways { background: var(--grey-50); border-radius: 6px; padding: 22px 26px; margin-top: 36px; }
.takeaways p.h { font-weight: 700; color: var(--charcoal-900); margin: 0 0 10px; }
.takeaways ul { margin: 0; padding-left: 20px; color: var(--text-secondary); }

/* ── Glossary A-Z nav ────────────────────────────────────── */
.glossary-layout { display: grid; grid-template-columns: 90px 1fr; gap: 40px; }
.az-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.az-nav a { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 3px 0; }
.az-nav a.active { color: var(--accent); }
.term-group { margin-bottom: 36px; }
.term-group h2 { font-family: var(--font-mono); font-size: 22px; color: var(--accent); border-bottom: 2px solid var(--border); padding-bottom: 10px; margin: 0 0 16px; }
.term-entry { padding: 16px 0; border-bottom: 1px solid var(--grey-200); }
.term-entry p.term { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--charcoal-900); margin: 0 0 6px; }
.term-entry p.def { color: var(--muted); font-size: 14px; margin: 0; }

/* ── Assessment page marketing sections ─────────────────── */
.assess-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.assess-list-box { padding: 28px; border: 1px solid var(--border); border-radius: 6px; }
.assess-list-box ul { padding-left: 20px; color: var(--text-secondary); margin: 0; }
.assess-list-box li { margin-bottom: 8px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-cols-1 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hub-layout, .article-layout, .assess-cols, .hero-grid, .shift-grid, .assess-grid, .news-layout { grid-template-columns: 1fr; }
  .shift-grid, .assess-grid { gap: 16px; }
  .snapshot-card { justify-self: stretch; max-width: none; }
  .assess-insight { display: none; }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-link-cols { column-count: 1; }
  body { font-size: 16px; }
  .glossary-layout { grid-template-columns: 1fr; }
  .az-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .news-item { flex-direction: column; gap: 6px; }
  .news-item__date { width: auto; }

  .nav-toggle { display: flex; }
  .header-actions { display: none; }
  /* backdrop-filter on .site-header makes it the containing block for any
     position:fixed descendant (same effect as transform) — that breaks the
     fixed, viewport-relative mobile nav overlay below, so drop it here. */
  .site-header { backdrop-filter: none; }
  .main-nav {
    display: none; position: fixed; inset: 64px 0 0 0; z-index: 55;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px;
    background: var(--white); padding: 16px 24px; overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav .nav-dd { border-bottom: 1px solid var(--border); }
  .main-nav .nav-dd__trigger { width: 100%; text-align: left; padding: 12px 0; border-bottom: none; }
  .main-nav .nav-dd__panel {
    position: static; transform: none; padding-top: 0; opacity: 1; visibility: visible;
    max-height: 0; overflow: hidden; transition: max-height 150ms ease;
  }
  .main-nav .nav-dd.is-open .nav-dd__panel { max-height: 400px; }
  .main-nav .nav-dd__panel-inner { border: none; box-shadow: none; padding: 0 0 10px; min-width: 0; }
  a.nav-cta-mobile { display: block; margin-top: 16px; }
  body.nav-open { overflow: hidden; }
}

/* Cookie consent banner (see assets/cookie-consent.js) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 720px; margin: 0 auto;
  background: var(--charcoal-900); color: var(--white);
  border-radius: 10px; box-shadow: 0 8px 30px rgba(13,43,92,0.35);
  padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cookie-banner__text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.88); flex: 1 1 320px; }
.cookie-banner__text a { color: var(--accent-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cookie-banner .btn-outline:hover { border-color: var(--white); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* "Use your AI to talk to AiReadyERP.com" homepage CTA + modal (see
   assets/ai-chat-modal.js) — a plain link next to the hero overline, not a
   card, so it doesn't compete with the two primary CTA buttons below it. */
.hero-overline-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ai-prompt-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--accent); text-decoration: none;
  white-space: nowrap;
}
.ai-prompt-link:hover { text-decoration: underline; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,43,92,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white); border-radius: 12px; max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 30px; box-shadow: 0 24px 64px rgba(13,43,92,0.28);
}
.modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.modal__title { margin: 0; font-family: var(--font-display); font-size: 20px; color: var(--charcoal-900); }
.modal__close {
  flex: 0 0 auto; background: none; border: none; cursor: pointer; font-size: 24px;
  line-height: 1; color: var(--muted); padding: 2px 4px;
}
.modal__close:hover { color: var(--charcoal-900); }
.modal__steps { margin: 4px 0 18px; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.modal__steps li + li { margin-top: 4px; }
.modal__prompt {
  width: 100%; min-height: 220px; resize: vertical; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 8px; padding: 16px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  color: var(--charcoal-900); background: var(--grey-50);
}
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.modal__copy-btn.copied { background: var(--success); }
.modal__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
