/* Impact Solution Services — design system
   Tokens: brand-kits/impact-solution-services/identity-DESIGN.md (canonical)
   Light-only. Blue is identity, orange is action — ONE orange per page + nav chrome. */

:root {
  --primary: #005CAB;
  --accent: #F79321;
  --canvas: #FFFFFF;
  --surface: #F7F9FC;
  --ink: #0B2540;
  --ink-2: #46607A;
  --ink-3: #8DA3B8;
  --hairline: #DFE7EF;
  --shadow: 0 1px 2px rgba(11,37,64,.05), 0 2px 8px rgba(11,37,64,.06);
  --shadow-raised: 0 6px 20px rgba(11,37,64,.10);
  --r: 8px;
  --r-card: 12px;
  --sans: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "IBM Plex Serif", Georgia, serif;
  --max: 1200px;
  --pad-y: 96px;
}
@media (max-width: 720px) { :root { --pad-y: 56px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: var(--pad-y) 0; }
.surface { background: var(--surface); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(40px, 5vw, 62px); }
h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 8px; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
  display: block; margin-bottom: 16px;
}
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
.sub-serif {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 22px; line-height: 1.5; color: var(--ink-2);
}
.measure { max-width: 68ch; }
/* the global `* { margin: 0 }` reset strips paragraph spacing; restore it for prose
   blocks only, so cards, steps, the footer and the locked disclosure band are untouched */
.measure p + p, .measure ul, .measure ol { margin-top: 16px; }
.measure li + li { margin-top: 6px; }
.center { text-align: center; }
.center .measure, .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 17px;
  padding: 14px 28px; border-radius: var(--r); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-raised); }
.btn-accent { background: var(--accent); color: var(--ink); }         /* ink on orange: AA-safe */
.btn-blue { background: var(--primary); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.arrow-link { font-weight: 500; white-space: nowrap; }
.arrow-link::after { content: " →"; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.nav-logo img { height: 40px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin-left: auto; }
.nav-menu > li { position: relative; }
.nav-menu a { color: var(--ink); font-size: 15.5px; font-weight: 500; }
.nav-menu a:hover { color: var(--primary); text-decoration: none; }
.nav-menu .btn { color: var(--ink); font-size: 15.5px; padding: 10px 20px; }
.has-drop > a::after { content: " ▾"; font-size: 11px; color: var(--ink-3); }
.drop {
  position: absolute; top: 100%; left: -16px; min-width: 250px; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-raised);
  list-style: none; padding: 10px; display: none;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.drop a { display: block; padding: 10px 14px; border-radius: var(--r); font-weight: 400; }
.drop a:hover { background: var(--surface); color: var(--primary); }
.nav-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--hairline); border-radius: var(--r); padding: 8px 12px; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav-burger { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--canvas);
    border-bottom: 1px solid var(--hairline); padding: 12px 24px 20px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { padding: 10px 0; }
  .drop { position: static; display: block; border: none; box-shadow: none; padding: 4px 0 0 16px; }
  .has-drop > a::after { content: ""; }
}

/* ---------- hero ---------- */
.hero { padding: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 45% 55%; min-height: 560px; max-width: 1440px; margin: 0 auto; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 48px 72px max(48px, calc((min(100vw, 1440px) - var(--max)) / 2)); }
.hero-copy .sub-serif { margin: 20px 0 28px; }
.hero-ctas { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-bottom-left-radius: 16px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 24px 32px; }
  .hero-media img { height: 320px; border-bottom-left-radius: 0; }
}

/* ---------- door cards (home) ---------- */
.doors { padding: 64px 0 var(--pad-y); }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.door {
  background: var(--canvas); border: 1px solid var(--hairline); border-top: 3px solid var(--primary);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.door-body { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.door-body ul { list-style: none; color: var(--ink-2); display: grid; gap: 8px; }
.door-body ul li::before { content: "— "; color: var(--ink-3); }
.door-body .arrow-link { margin-top: auto; padding-top: 10px; }
@media (max-width: 820px) { .doors-grid { grid-template-columns: 1fr; } .doors { padding-top: 40px; } }

/* ---------- advisor intro (real portrait) ---------- */
.head-split { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-bottom: 44px; }
.portrait { text-align: center; }
.portrait img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-raised); margin: 0 auto; }
.portrait figcaption { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; line-height: 1.8; }
@media (max-width: 820px) { .head-split { grid-template-columns: 1fr; gap: 28px; } .portrait { order: -1; text-align: left; } }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 20px 0; }
.trust p { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); text-align: center; line-height: 2; }

/* ---------- card grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.card p { color: var(--ink-2); }
.card .eyebrow { margin-bottom: 4px; }
.card .arrow-link { margin-top: auto; padding-top: 6px; }
.section-head { margin-bottom: 44px; }
.section-head .lead { margin-top: 10px; }

/* ---------- split bands ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--r-card); box-shadow: var(--shadow-raised); }
/* not scoped to .split — .links also appears in single-column sections */
.links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- pull quote ---------- */
.pull { text-align: center; }
.pull blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.45; color: var(--ink);
  /* 26ch was breaking every pull quote on the site: they run 38 to 69 chars, so
     even the shortest wrapped mid-sentence. 44ch keeps the short ones on one
     line; balance evens the break when a longer one does wrap. */
  max-width: 44ch; margin: 0 auto; text-wrap: balance;
}
.pull blockquote::before { content: "“"; color: var(--ink-3); }
.pull blockquote::after { content: "”"; color: var(--ink-3); }

/* ---------- door break ----------
   Full-bleed dark band that separates Door One (Protect & Plan) from Door Two
   (Grow & Operate). The two-door split is the organizing idea of the practice,
   so the page structure earns this one bold moment. Uses existing ink tokens
   only; no orange, no new colors. */
.door-break { background: var(--ink); color: #fff; padding: 72px 0; }
.door-break .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
.door-break .marker {
  font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1.9;
  letter-spacing: 0.14em; text-transform: uppercase; color: #7FB2E0;
  border-left: 3px solid #7FB2E0; padding: 4px 0 4px 16px; white-space: nowrap;
}
.door-break h2 { color: #fff; margin: 0; max-width: none; }
.door-break p { color: #C6D6E6; margin-top: 14px; max-width: 68ch; }
@media (max-width: 820px) {
  .door-break { padding: 48px 0; }
  .door-break .wrap { grid-template-columns: 1fr; gap: 20px; }
  .door-break .marker { border-left: none; border-top: 3px solid #7FB2E0; padding: 14px 0 0; }
}

/* ---------- forms ----------
   Native markup posting to a GHL inbound webhook, not an embed. GHL rewrites
   custom CSS on embedded forms and fails silently, so the whole class of
   problem is avoided by owning the markup. */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 17px; color: var(--ink);
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r); padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 92, 171, .12);
}
.field .hint { font-size: 14px; color: var(--ink-2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { font-size: 14px; color: var(--error); display: none; }
.field.invalid .err { display: block; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.consent label { font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink-2); line-height: 1.55; }

/* honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 16px; padding: 14px 16px; border-radius: var(--r); display: none; }
.form-status.show { display: block; }
.form-status.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- data / mono tables & stats ---------- */
.data-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14.5px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; }
.data-table td { color: var(--ink-2); }
.data-table td:first-child { color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 2px solid var(--primary); padding-left: 18px; }
.stat .n { font-family: var(--mono); font-size: 26px; font-weight: 500; color: var(--primary); display: block; line-height: 1.3; }
.stat .d { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
/* The five-step spine (Analyze / Strategize / Formalize / Implement / Monitor) is the
   same process on both doors, so it renders identically everywhere. The connector rule
   between the numbers IS the illustration: no graphic, just type and a hairline. */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: step; position: relative; }
.step::before {
  content: "0" counter(step); font-family: var(--mono); font-size: 15px; color: var(--primary);
  font-weight: 500; letter-spacing: 0.1em; display: block; margin-bottom: 10px;
}
/* hairline running from each number to the next, drawn across the grid gap */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 12px; left: 32px; right: -28px;
  height: 1px; background: var(--hairline);
}
/* stacked lists (e.g. the owner's checklist) are numbered items, not a sequence:
   no connector, or the rule reads as a process it isn't */
.steps-stack .step::after { display: none; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); }
/* five is odd, so two columns always orphans the last step. Below the width that
   fits all five, stack them: a sequence reads fine as a list, badly as 2+2+1. */
@media (max-width: 1080px) {
  .steps, .steps.steps-3, .steps.steps-4 { grid-template-columns: 1fr; row-gap: 28px; }
  .step:not(:last-child)::after { display: none; }
  .step p { max-width: 68ch; }
}

/* ---------- story timeline (about) ---------- */
.story { max-width: 720px; margin: 0 auto; display: grid; gap: 40px; }
.story-block { border-left: 2px solid var(--hairline); padding-left: 28px; position: relative; }
.story-block::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary);
}
.story-block .year { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--primary); display: block; margin-bottom: 8px; }
.story-block h3 { margin-bottom: 8px; }
.story-block p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 6px 0; }
.faq summary {
  cursor: pointer; font-size: 18.5px; font-weight: 500; padding: 16px 32px 16px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--primary); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 18px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .sub-serif { margin: 10px auto 30px; }
.cta-band .alt { display: block; margin-top: 18px; }
.embed-slot {
  margin: 40px auto 0; max-width: 720px; border: 1.5px dashed var(--ink-3);
  border-radius: var(--r-card); padding: 40px 24px; background: var(--canvas);
  font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); text-align: center;
}
/* ---------- BrokerCheck badge ----------
   Deliberately TEXT ONLY. FINRA's own logo and mark are not reproduced here:
   using a regulator's branding without their official embed would be
   impersonation. If the literal FINRA-branded widget is wanted, request the
   embed code from FINRA and swap this component out. */
.bc-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid var(--hairline); border-left: 3px solid var(--primary);
  border-radius: var(--r); background: var(--canvas); padding: 12px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bc-badge:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); }
.bc-badge .bc-mark {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); white-space: nowrap;
}
.bc-badge .bc-text { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.bc-badge .bc-text strong { color: var(--ink); font-weight: 500; display: block; }
@media (max-width: 480px) { .bc-badge { width: 100%; } }

/* ---------- who this is for (the place cards) ----------
   You came through a door. This is which table is yours. */
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.seat {
  border: 1px solid var(--hairline); border-top: 3px solid var(--primary);
  border-radius: var(--r-card); background: var(--canvas); padding: 22px 22px 20px;
}
.seat h3 { font-size: 18px; margin-bottom: 6px; }
.seat p { color: var(--ink-2); font-size: 15.5px; }
.seat .arrow-link { font-size: 15px; margin-top: 10px; display: inline-block; }
@media (max-width: 900px) { .seats { grid-template-columns: 1fr; } }

/* ---------- testimonials / endorsements ----------
   Two categories, deliberately different colours: advisory clients carry Impact
   Blue, consulting carries deep ink. Orange is NOT used here, it is CTA-only.
   Slow horizontal rail because there are only four; it pauses on hover and on
   keyboard focus, and stops entirely under prefers-reduced-motion. */
.quote-rail { overflow: hidden; position: relative; margin-top: 8px; }
.quote-rail::before, .quote-rail::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.quote-rail::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.quote-rail::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.quote-track { display: flex; gap: 28px; width: max-content; animation: quoteScroll 80s linear infinite; }
.quote-rail:hover .quote-track,
.quote-rail:focus-within .quote-track { animation-play-state: paused; }
@keyframes quoteScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.quote-card {
  flex: 0 0 420px; background: var(--canvas); border: 1px solid var(--hairline);
  border-top: 3px solid var(--primary); border-radius: var(--r-card);
  padding: 30px 30px 24px; display: flex; flex-direction: column; gap: 14px;
}
.quote-card.is-advisory { border-top-color: var(--primary); background: #F2F7FC; }
.quote-card.is-consulting { border-top-color: var(--ink); background: var(--canvas); }
.quote-card .eyebrow { margin-bottom: 0; }
.quote-card.is-consulting .eyebrow { color: var(--ink); }
.quote-card blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 18px; line-height: 1.55; color: var(--ink);
}
.quote-card .who { font-weight: 500; }
.quote-card .role { font-size: 15px; color: var(--ink-2); }
.quote-card .status {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: 0.04em;
  color: var(--ink-2); border-top: 1px solid var(--hairline); padding-top: 12px; margin-top: auto;
}
@media (max-width: 600px) { .quote-card { flex-basis: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .quote-track { animation: none; width: 100%; flex-wrap: wrap; }
  .quote-rail::before, .quote-rail::after { display: none; }
  .quote-card { flex: 1 1 320px; }
}

/* /book/ appointment-type chooser. Each choice is an anchor so the page works
   without JS; the selected state is only meaningful once JS takes over. */
.choice { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.choice:hover { text-decoration: none; border-color: var(--primary); }
.choice .alt { font-size: 15px; color: var(--ink-3); margin-top: 8px; }
.choice.is-selected {
  border-color: var(--primary); border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-raised);
}
.choice.is-selected .eyebrow::after { content: " \2713"; }

/* Live GHL booking widget.
   form_embed.js resizes the iframe by postMessage. NEVER put overflow:hidden on
   this container and never set scrolling="no": if that script is slow, blocked,
   or fails, either one turns the frame into a fixed window that clips the
   calendar with no way to scroll. Generous min-height + no clipping means the
   worst case is some whitespace instead of an unusable widget. */
.booking-embed {
  margin: 40px auto 0; max-width: 820px; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-card);
}
.booking-embed iframe { width: 100%; border: 0; display: block; min-height: 950px; }
@media (max-width: 900px) { .booking-embed iframe { min-height: 1150px; } }

/* ---------- footer (per FOOTER-DISCLOSURES-SPEC) ---------- */
footer { border-top: 1px solid var(--hairline); }
.foot-main { padding: 64px 0 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid a { color: var(--ink-2); font-size: 15.5px; }
.foot-grid a:hover { color: var(--primary); }
.foot-brand img.logo { width: 170px; height: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.foot-brand .btn { margin-top: 16px; }
.elevaite-card {
  margin-top: 22px; display: inline-block; background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-card); padding: 14px 18px; box-shadow: var(--shadow);
}
.elevaite-card span { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.elevaite-card strong { color: var(--primary); font-weight: 500; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.disclosure { background: var(--surface); border-top: 1px solid var(--hairline); padding: 44px 0; }
.disclosure p { font-size: 15px; line-height: 1.75; color: var(--ink-2); max-width: 100ch; margin-bottom: 14px; }
.disclosure p strong { color: var(--ink); }
.disclosure .doc-links { font-size: 15px; }

.foot-utility { padding: 20px 0; border-top: 1px solid var(--hairline); }
.foot-utility .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 14px; color: var(--ink-2); }
.foot-utility a { color: var(--ink-2); font-size: 14px; }
.foot-utility .copy { margin-left: auto; }

/* ---------- motion system (progressive enhancement; motion.js adds classes) ---------- */
.nav { transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 2px 12px rgba(11,37,64,.08); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); transition-delay: var(--rd, 0ms); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
  @keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes photoIn { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: riseIn .8s cubic-bezier(.2,.65,.25,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .15s; }
  .hero-copy > *:nth-child(3) { animation-delay: .28s; }
  .hero-copy > *:nth-child(4) { animation-delay: .4s; }
  .hero-media img, .hero-media .portrait { animation: photoIn 1.1s ease both .1s; }
  .split img { transition: transform .6s cubic-bezier(.2,.65,.25,1), box-shadow .6s ease; }
  .split img:hover { transform: scale(1.015) translateY(-3px); box-shadow: 0 14px 34px rgba(11,37,64,.14); }
  .arrow-link::after { display: inline-block; transition: transform .25s ease; }
  .arrow-link:hover::after { transform: translateX(4px); }
  .btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
  .faq details p { animation: riseIn .35s ease both; }
}

/* ---------- ElevAIte co-branded theme (AI for Business page only; sanctioned exception) ---------- */
.elevaite-page .hero { background: #0F172A; }
.elevaite-page .hero-copy .eyebrow { color: #A78BFA; }
.elevaite-page .hero-copy h1 { color: #FFFFFF; }
.elevaite-page .hero-copy .lead, .elevaite-page .hero-copy .sub-serif { color: #CBD5E1; }
.elevaite-page .hero-copy .arrow-link { color: #93C5FD; }
.elevaite-page .hero-media { background: #0F172A !important; }
.elevaite-page .hero-brandline { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.elevaite-page .hero-brandline img { height: 44px; width: auto; border-radius: 8px; background: #fff; padding: 4px; }
.elevaite-page .hero-brandline span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; }
.elevaite-page .card { border-top: 3px solid #7C3AED; }
.elevaite-page .card .eyebrow, .elevaite-page .eyebrow { color: #2563EB; }
.elevaite-page .ai-signal { background: #F3EBFF; color: #7C3AED; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 9999px; display: inline-block; }
.elevaite-page .cta-band { background: #0F172A; }
.elevaite-page .cta-band h2 { color: #fff; }
.elevaite-page .cta-band .sub-serif { color: #CBD5E1; }
.elevaite-page .cta-band .btn-accent { background: #F59E0B; color: #0F172A; }
.elevaite-page .cta-band .embed-slot { background: rgba(255,255,255,.04); border-color: #475569; color: #94A3B8; }
.elevaite-page .step::before { color: #7C3AED; }

/* ---------- answers article template ---------- */
.article-head { max-width: 800px; margin: 0 auto; }
.author-box { display: flex; align-items: center; gap: 18px; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 18px 22px; background: var(--canvas); max-width: 800px; margin: 40px auto 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box .who { font-weight: 500; }
.author-box .meta { font-size: 14px; color: var(--ink-2); }
.author-box .meta a { font-size: 14px; }
