/* PaulAI site styles. Design notes: DESIGN.md. Change colors, fonts and spacing in :root only. */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face {
  font-family: 'Encode Sans'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/encode-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;

  --c-primary: #4B2E83;
  --c-primary-rgb: 75 46 131;
  --c-primary-hover: #3B2368;
  --c-tint: #E4DFF0;
  --c-tint-bg: #F5F3FA;
  --c-bg: #FFFFFF;
  --c-text: #2E2E38;
  --c-muted: #4B5563;
  --c-on-purple: #FFFFFF;
  --c-line-on-purple: rgba(255, 255, 255, .28);

  --font-heading: 'Encode Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --content-w: 1180px;
  --gutter: 24px;
  --header-h: 64px;
  --section-gap: 60px;
  --band-pad: 48px;
  --gap-heading: 12px;
  --gap-block: 32px;
  --radius-box: 12px;
  --radius-btn: 9px;
  --box-pad: 28px;
  --h1-size: 40px;
  --h2-size: 28px;
  --h2-lg-size: 36px;
  --banner-h1-size: 72px;
  --banner-home-h1-size: 52px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (max-width: 767px) {
  :root { --section-gap: 32px; --band-pad: 32px; --box-pad: 24px; --gap-block: 24px; --h1-size: 30px; --h2-lg-size: 28px; --banner-h1-size: 40px; --banner-home-h1-size: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--c-bg); color: var(--c-text);
  font: 400 16px/1.5 var(--font-body);
}
h1, h2, h3, p, figure, address { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--c-primary); }
h1 { font-size: var(--h1-size); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--h2-size); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1rem; line-height: 1.5; font-weight: 600; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: rgb(var(--c-primary-rgb) / .22); color: var(--c-primary); }
/* On purple areas the default highlight (purple on purple) disappears: use white with purple text */
:is(.site-header, .mobile-nav, .site-footer, .band, .banner) ::selection,
:is(.site-header, .mobile-nav, .site-footer, .band, .banner)::selection { background: var(--c-bg); color: var(--c-primary); text-shadow: none; }
.banner :is(img, video)::selection { background: transparent; }  /* select-all must not wash the photo out */
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.band :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--c-on-purple); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: var(--radius-btn);
  background: #fff; color: var(--c-primary); font: 600 .875rem var(--font-heading); text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.container { width: 100%; max-width: var(--content-w); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.narrow { max-width: 42rem; margin-inline: auto; }
.wide { max-width: 48rem; margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lead { margin-top: var(--gap-heading); font-size: 1.125rem; line-height: 1.625; color: var(--c-muted); }
.muted { color: var(--c-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--c-primary); color: var(--c-on-purple);
  border-bottom: 1px solid var(--c-line-on-purple);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .625rem; color: var(--c-on-purple); text-decoration: none; }
.logo-text { font: 700 1.125rem/1 var(--font-heading); letter-spacing: -0.01em; }
.logo-mark { fill: var(--c-on-purple); }
.logo-glyph { stroke: var(--c-primary); }
.logo-glyph-fill { fill: var(--c-primary); }

.nav-list { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.nav-link, .footer-link {
  color: var(--c-on-purple); font: 600 16px/1.4 var(--font-heading);
  text-decoration: underline transparent; text-decoration-thickness: 2px; text-underline-offset: 8px;
  transition: text-decoration-color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"], .footer-link:hover { text-decoration-color: currentColor; }
.header-actions { display: flex; flex: 1 1 0; align-items: center; justify-content: flex-end; gap: .75rem; }
.site-header .logo { flex: 1 1 0; }  /* equal side columns keep the menu centered */

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid var(--c-line-on-purple); border-radius: var(--radius-btn);
  background: transparent; color: var(--c-on-purple); cursor: pointer;
}
.mobile-nav { border-top: 1px solid var(--c-line-on-purple); background: var(--c-primary); }
.mobile-nav ul { margin: 0; padding: .5rem var(--gutter) 1rem; list-style: none; }
.mobile-nav a {
  display: block; padding: .75rem 0; border-bottom: 1px solid var(--c-line-on-purple);
  color: var(--c-on-purple); font: 600 16px/1.5 var(--font-heading); text-decoration: none;
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 767px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-btn);
  font: 600 .875rem/1.25rem var(--font-heading); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-hover); }
.btn-ghost { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-ghost:hover { background: var(--c-tint-bg); color: var(--c-primary-hover); }
.btn-sm { padding: .625rem 1rem; }
.band .btn-primary, .site-header .btn-primary { background: #fff; color: var(--c-primary); }
.band .btn-primary:hover, .site-header .btn-primary:hover { background: var(--c-tint); color: var(--c-primary-hover); }
.band .btn-ghost { border-color: #fff; color: #fff; }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; margin-top: 24px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

.more {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--c-primary); font: 600 .9375rem/1.5 var(--font-body); text-decoration: none;
}
.more:hover { color: var(--c-primary-hover); text-decoration: underline; }
.card .more { margin-top: auto; padding-top: 1rem; }

/* ---------- Sections and bands ---------- */
.section { padding-block: calc(var(--section-gap) / 2); }
main > section + section { margin-top: 1.2rem; }   /* WordPress block gap between sections */
.band { background: var(--c-primary); color: var(--c-on-purple); padding-block: var(--band-pad); }
.band h1, .band h2, .band .lead { color: var(--c-on-purple); }
.hero { padding-top: calc(var(--header-h) + var(--band-pad)); }
.hero .lead, .hero-below .lead { max-width: 42rem; margin-inline: auto; margin-top: 16px; text-wrap: balance; }
.hero-left .lead { max-width: 70ch; margin-inline: 0; text-wrap: pretty; }
.kicker {
  display: block; margin-bottom: 16px;
  font: 600 .75rem/1 var(--font-heading); letter-spacing: .18em; text-transform: uppercase; color: var(--c-tint);
}
/* Page banner: photo with the page title on top, left-aligned */
.banner { position: relative; display: flex; align-items: flex-start; min-height: 300px; padding-top: var(--header-h); color: var(--c-on-purple); overflow: hidden; }
.banner picture, .banner img, .banner video { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner img, .banner video { object-fit: cover; object-position: 60% 35%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(59, 35, 104, .88) 0%, rgba(59, 35, 104, .62) 45%, rgba(59, 35, 104, 0) 80%); }
.banner .container { position: relative; z-index: 1; padding-block: var(--band-pad); }
.banner h1 { font-size: var(--banner-h1-size); line-height: 1.05; color: var(--c-on-purple); text-align: left; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
@media (max-width: 767px) { .banner { min-height: 200px; } }

/* Home and About banners: text vertically centered on the left; the people stand on the right of the photo */
.banner-home { align-items: center; }
.banner-home img { object-position: 78% center; }
.banner-home::after { background: linear-gradient(90deg, rgba(59, 35, 104, .55) 0%, rgba(59, 35, 104, .3) 50%, rgba(59, 35, 104, 0) 75%); }
.banner-home h1 { max-width: 50%; font-size: var(--banner-home-h1-size); }
@media (max-width: 767px) {
  /* Narrow screens: text on purple above, photo below it (nothing laid over the people) */
  .banner-home { display: flex; flex-direction: column; min-height: 0; background: var(--c-primary); padding-top: calc(var(--header-h) + var(--band-pad)); }
  .banner-home::after { display: none; }
  .banner-home picture { position: static; display: block; height: 170px; }
  .banner-home img { position: static; height: 170px; }
  .banner-home .container { order: -1; padding-block: 0 var(--band-pad); }
  .banner-home h1 { max-width: none; }
}

/* About banner: solid purple left half with the text, photo on the right half; a soft 48px edge where they meet */
.banner-about { align-items: center; width: 100%; margin-top: var(--header-h); padding-top: 0; min-height: 280px; background: var(--c-primary); --about-text-w: min(600px, calc(50vw - max(0px, (100vw - 1180px) / 2) - var(--gutter) - 56px)); }
.banner-about::after { display: none; }
.banner-about picture { inset: 0 0 0 auto; width: 50%; }
.banner-about img { object-position: 0% 50%; }
.banner-about picture::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(48px + 20%); background: linear-gradient(90deg, var(--c-primary), rgb(var(--c-primary-rgb) / 0)); }  /* 20% of the photo half = 10% of the banner */
.banner-about .container { padding-block: 52px; }
.banner-about h1 { max-width: var(--about-text-w); font-size: var(--banner-home-h1-size); text-shadow: none; }
.banner-about .lead { max-width: var(--about-text-w); margin-top: 16px; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--c-on-purple); }
@media (min-width: 900px) { .banner-about { max-height: 480px; } }
@media (max-width: 699px) {
  /* Narrow screens: text on solid purple, the whole photo below it at full width */
  .banner-about { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: var(--band-pad); }
  .banner-about .container { order: -1; padding-block: 0 var(--band-pad); }
  .banner-about picture { position: static; display: block; width: 100%; }
  .banner-about picture::after { display: none; }
  .banner-about img { position: static; width: 100%; height: auto; }
  .banner-about h1, .banner-about .lead { max-width: none; }
  .banner-about .lead { font-size: 18px; }
}

main > .hero-below { margin-top: 0; }
.hero-below h2 { font-size: calc(var(--h2-size) + 5px); }

main > .closing { margin-top: calc(var(--section-gap) / 2); text-align: center; }
.closing h2 { max-width: 42rem; margin-inline: auto; }
.closing-statement {
  max-width: 42rem; margin: 0 auto 24px;
  font: 600 1.375rem/1.5 var(--font-heading); color: var(--c-on-purple);
}
.closing .btn-row { margin-top: 24px; }
.closing-contact { margin-top: 12px; font-size: 1.125rem; }
.closing-contact a { color: var(--c-on-purple); text-underline-offset: 3px; }
.closing-contact a:hover { color: var(--c-tint); }
.page-end { padding-bottom: var(--section-gap); }

/* ---------- Cards and grids ---------- */
.grid-3 { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-head + .grid-3 { margin-top: var(--gap-block); }
.card {
  display: flex; flex-direction: column;
  padding: var(--box-pad); border: 1px solid var(--c-tint); border-radius: var(--radius-box); background: var(--c-tint-bg);
}
.card h3 { margin-top: 0; }
.card .icon + h3, .card .step + h3 { margin-top: 1rem; }
.card p { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--c-muted); }
.card-lg h3 { font-size: 1.125rem; line-height: 1.75rem; }
.icon {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid rgb(var(--c-primary-rgb) / .2); border-radius: var(--radius-btn);
  background: rgb(var(--c-primary-rgb) / .1); color: var(--c-primary);
}
.icon svg { width: 1.25rem; height: 1.25rem; }
.step { font: 600 .875rem/1.25rem var(--font-heading); color: var(--c-primary); }
.after-grid { margin-top: 2rem; text-align: center; }

/* ---------- Home body (finance audience) ---------- */
.sec { padding-block: var(--section-gap); }
main > .sec { margin-top: 0; }
.sec-tint { background: var(--c-tint-bg); }
main > .sec + .closing { margin-top: 0; }
.head { max-width: 46rem; margin-inline: auto; text-align: center; }
.head + .grid-3 { margin-top: var(--gap-block); }

.block h3 { font-size: 1.125rem; line-height: 1.4; }
.block p { margin-top: 8px; line-height: 1.7; color: var(--c-muted); }

.diagram { margin-top: var(--gap-block); }
.diagram svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.diagram .d-desktop { max-width: 680px; }
.diagram .d-mobile { max-width: 380px; }
.diagram .d-mobile { display: block; }
.diagram .d-desktop { display: none; }
@media (min-width: 700px) {
  .diagram .d-mobile { display: none; }
  .diagram .d-desktop { display: block; }
}
.d-box { fill: var(--c-bg); stroke: var(--c-primary); stroke-width: 1.5; }
.d-card { fill: var(--c-tint-bg); stroke: var(--c-tint); stroke-width: 1.5; }
.d-hub { fill: var(--c-primary); }
.d-label { font: 600 15px var(--font-heading); fill: var(--c-text); text-anchor: middle; dominant-baseline: central; }
.d-sub { font: 400 13px var(--font-body); fill: var(--c-muted); text-anchor: middle; dominant-baseline: central; }
.d-hub-label { fill: var(--c-on-purple); font-size: 18px; }
.d-line path { fill: none; stroke: var(--c-primary); stroke-width: 2; }
.d-tangle path { fill: none; stroke: var(--c-muted); stroke-width: 1.5; }
.d-arrow { fill: var(--c-primary); }
.d-person { fill: var(--c-primary); }

/* Solution: headline left, blocks right, separated by hairlines */
.split { display: grid; gap: var(--gap-block); align-items: start; }
@media (min-width: 768px) { .split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; } }
.blocks .block { padding-block: 20px; border-top: 1px solid rgb(var(--c-primary-rgb) / .2); }
.blocks .block:first-child { padding-top: 0; border-top: 0; }
.blocks .block:last-child { padding-bottom: 0; }

/* How it works: diagram, then four numbered steps */
.steps { display: grid; gap: 28px; margin: var(--gap-block) 0 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; padding-top: 42px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--c-primary); color: var(--c-on-purple); font: 600 .875rem/1 var(--font-heading);
}
.steps h3 { font-size: 1.125rem; line-height: 1.4; }
.steps p { margin-top: 6px; line-height: 1.7; color: var(--c-muted); }

/* Who it's for */
.audience { display: grid; gap: 28px; margin-top: var(--gap-block); }
@media (min-width: 640px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience .block { padding-top: 16px; border-top: 3px solid var(--c-primary); }

/* ---------- Product rows ---------- */
.rows { display: grid; gap: 20px; }
.row { display: grid; gap: var(--gap-heading); }
.row p { margin-top: 0; font-size: 1.125rem; line-height: 1.625; color: var(--c-muted); }
.row p + p { margin-top: 1rem; }
.row .note { font-size: 1rem; }
.row .more { margin-top: 1rem; }
@media (min-width: 768px) { .row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; } }

/* ---------- For providers: image and text rows ---------- */
.media-row { display: grid; align-items: center; }
.media-row + .media-row { margin-top: var(--section-gap); }
.media-row img { width: 100%; border: 1px solid var(--c-tint); border-radius: 1rem; }
.label { display: block; font: 700 13px/1 var(--font-heading); letter-spacing: .18em; text-transform: uppercase; color: var(--c-primary); }
.media-row .media-text > * + * { margin-top: var(--gap-heading); }
.media-row .media-text p { line-height: 1.7; color: var(--c-muted); }
.media-row .media-text { padding-top: 1.25rem; }
@media (min-width: 601px) {
  .media-row { grid-template-columns: 1fr 1fr; }
  .media-row .media-text { padding: 0 0 0 3rem; }
  .media-row.media-right picture { order: 2; }
  .media-row.media-right .media-text { padding: 0 3rem 0 0; }
}
.benefits { margin-top: var(--section-gap); }
.benefits .card h3 { font-size: 1.125rem; line-height: 1.4; }
.benefits .card p { margin-top: 8px; font-size: .9375rem; line-height: 1.6; }


/* ---------- Home: hero text, audience cards, intro ---------- */
.hero-below .btn-row { margin-top: 28px; }
.hero-below .eyebrow { margin-bottom: 16px; }
.audience-cards { display: grid; gap: 16px; }
@media (min-width: 768px) { .audience-cards { grid-template-columns: 1fr 1fr; } }
.audience-cards .card { overflow: hidden; }
.audience-cards .card h3 { font-size: 1.25rem; line-height: 1.4; }
.audience-cards .card p { font-size: 1rem; }
.card-img { margin: calc(var(--box-pad) * -1) calc(var(--box-pad) * -1) 1.25rem; }
.card-img img { width: 100%; height: auto; border-radius: 0; }
.audience-note { margin-top: 20px; text-align: center; color: var(--c-muted); font-weight: 600; }
.intro { max-width: 46rem; margin: 0 auto var(--gap-block); text-align: center; }
.intro .label { margin-bottom: var(--gap-heading); }
.intro p { font-size: 1.125rem; line-height: 1.7; color: var(--c-muted); }
/* The hero block sits flush against the photo banner. Its kicker ("For finance teams and providers") and the
   "What is PaulAI" title use the section H2 size (--h2-size), so they stay in sync with "One system for every contract". */
.hero-below .kicker, .intro .label { font-size: var(--h2-size); font-weight: 700; line-height: 1.25; letter-spacing: .04em; text-wrap: balance; }
/* "What is PaulAI" sits right above the solution section (both tinted): keep the original 32px between them. */
.sec-what { padding-bottom: 0; }
.sec-what + .sec-tint { padding-top: var(--gap-block); }
.intro:last-child { margin-bottom: 0; }
.shot-wrap { margin-top: var(--gap-block); }

/* ---------- Browser frame for app screenshots ---------- */
.browser-outer { filter: drop-shadow(0 14px 28px rgb(var(--c-primary-rgb) / .18)); max-width: 1000px; margin-inline: auto; }
.browser {
  overflow: hidden; border: 1px solid var(--c-tint); border-radius: 14px 14px 0 0; background: var(--c-bg);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.browser-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.browser-inner { min-width: 760px; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding-inline: 14px; background: var(--c-tint-bg); border-bottom: 1px solid var(--c-tint); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-tint); border: 1px solid rgb(var(--c-primary-rgb) / .25); }
.browser img { width: 100%; height: auto; }
.shot-hint { display: none; margin-top: 8px; text-align: center; font-size: .8125rem; color: var(--c-muted); }
@media (max-width: 799px) { .shot-hint { display: block; } }

/* ---------- For Finance: sections with optional screenshot ---------- */
.rows .row .row-shot { display: none; }
.rows .row.has-shot .row-shot { display: block; }
@media (min-width: 768px) {
  .rows .row.has-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "h s" "t s"; align-content: center; column-gap: 40px; }
  .rows .row.has-shot > h2 { grid-area: h; align-self: end; }
  .rows .row.has-shot > .row-text { grid-area: t; }
  .rows .row.has-shot > .row-shot { grid-area: s; align-self: center; }
}
.row-shot { overflow: hidden; border: 1px solid var(--c-tint); border-radius: 12px; background: var(--c-bg); box-shadow: 0 8px 18px rgb(var(--c-primary-rgb) / .14); }
.row-shot::before {  /* browser bar drawn in CSS */
  content: ""; display: block; height: 30px; border-bottom: 1px solid var(--c-tint);
  background:
    radial-gradient(circle 4.5px at 19px 15px, var(--c-tint) 98%, transparent) ,
    radial-gradient(circle 4.5px at 35px 15px, var(--c-tint) 98%, transparent),
    radial-gradient(circle 4.5px at 51px 15px, var(--c-tint) 98%, transparent),
    var(--c-tint-bg);
}
.row-shot img { width: 100%; height: auto; }
.row .live { display: inline-block; margin-top: .75rem; font: 600 .8125rem/1 var(--font-heading); color: var(--c-primary); }
.included-card { max-width: 46rem; margin-inline: auto; text-align: center; align-items: center; }
.included-card h2 { font-size: var(--h2-size); }
.included-card p { font-size: 1.0625rem; margin-top: .75rem; }
.included-card .more { margin-top: 1rem; padding-top: 0; }
.hero-below .included { margin-top: 12px; font: 600 1rem/1.5 var(--font-heading); color: var(--c-tint); }
.band .more { color: #fff; }
.band .more:hover { color: var(--c-tint); }

/* ---------- About ---------- */
.h2-lg { font-size: var(--h2-lg-size); }
.contact { max-width: 36rem; }
.contact .card { display: block; margin-top: 1.5rem; line-height: 1.625; color: var(--c-muted); }
.contact .org { color: var(--c-primary); }
.contact .more { padding-top: 0; }
.contact .btn-primary { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-primary); color: var(--c-on-purple);
  border-top: 1px solid var(--c-line-on-purple); padding-block: 40px;
}
.footer-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.footer-brand { max-width: 24rem; }
.footer-brand p { margin-top: .75rem; font-size: .875rem; line-height: 1.625; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom {
  display: flex; flex-direction: column; justify-content: space-between; gap: .5rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line-on-purple); font-size: 13px; line-height: 1.6;
}
.footer-bottom a { color: var(--c-on-purple); text-underline-offset: 3px; }
.footer-legal p + p { margin-top: .25rem; }
@media (min-width: 640px) { .footer-legal { text-align: right; } }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: flex-end; } }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; } }

/* ---------- Privacy notice: a centered reading column ---------- */
.legal { max-width: 44rem; margin-inline: auto; }
.legal h2 { margin-top: calc(var(--section-gap) / 2); font-size: calc(var(--h2-size) - 6px); }
.legal p { margin-top: var(--gap-heading); line-height: 1.7; }
.legal a { color: var(--c-primary); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal > p:first-child { margin-top: 0; }

/* ---------- 404 ---------- */
.not-found { min-height: 40vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
