/* =====================================================================
   GrowCert Solutions — website styles
   Design tokens first; change colours and fonts here only.
   ===================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Brand colours from the GrowCert logo (bars: green, red, plum; text: charcoal) */
  --logo-green: #009846;
  --logo-red: #e31e24;
  --logo-plum: #ae4a84;
  --logo-stripe: linear-gradient(90deg, var(--logo-green) 0 33.33%, var(--logo-red) 33.33% 66.66%, var(--logo-plum) 66.66%);

  /* Neutrals (dark sections, headings) */
  --charcoal-950: #161a1b;
  --charcoal: #22282a;
  --charcoal-800: #2c3336;
  --charcoal-700: #3a4245;
  --charcoal-600: #4d5659;
  --paper: #f7f8f8;
  --mist: #eef0f1;

  /* Accent green: --accent on dark backgrounds, --accent-ink for text on white, --accent-btn for buttons */
  --accent: #3cc47f;
  --accent-light: #bfe6cf;
  --accent-wash: #e8f5ee;
  --accent-ink: #00703a;
  --accent-btn: #007a3d;
  --accent-btn-hover: #00632f;

  --slate: #5f686c;
  --ink: #22282a;
  --body: #3a4043;
  --line: #e3e6e7;
  --line-strong: #cdd2d4;
  --success: #1f7a4d;
  --danger: #b42318;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-sm: 2px;
  --shadow-card: 0 1px 2px rgb(34 40 42 / 0.04), 0 8px 24px -12px rgb(34 40 42 / 0.12);
  --shadow-lift: 0 2px 4px rgb(34 40 42 / 0.04), 0 24px 48px -20px rgb(34 40 42 / 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tile-ease: cubic-bezier(0.45, 0, 0.25, 1); /* gentle ease-in-out for hover fades */
  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 7vw, 6rem);
  --header-h: 4.75rem;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--charcoal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 650; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-btn); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .bg-dark :focus-visible, .panel-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .admin-bar :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent-light); color: var(--charcoal); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0.75rem; z-index: 100; background: var(--charcoal); color: #fff; padding: 0.6rem 1rem; }
.skip-link:focus { left: 1rem; }

.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.7; color: var(--slate); }
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--accent); }
.accent-rule { display: block; width: 2.5rem; height: 2px; background: var(--accent); margin-bottom: 1.5rem; }

/* Icons */
.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.8rem; height: 0.8rem; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 650; font-size: 0.9375rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.5rem; padding: 0 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: var(--charcoal-700); box-shadow: 0 10px 24px -14px rgb(34 40 42 / 0.6); }
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover { background: var(--accent-btn-hover); box-shadow: 0 10px 24px -12px rgb(0 122 61 / 0.55); }
.btn-outline { border-color: rgb(34 40 42 / 0.22); color: var(--charcoal); background: #fff; }
.btn-outline:hover { border-color: var(--charcoal); background: var(--paper); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.3); color: #fff; }
.btn-outline-light:hover { border-color: rgb(255 255 255 / 0.7); background: rgb(255 255 255 / 0.06); }
.btn-text { min-height: auto; padding: 0; color: var(--charcoal); }
.btn-text:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------------------------ Header & navigation */
.announcement { background: var(--charcoal); color: #fff; font-size: 0.85rem; text-align: center; padding: 0.5rem 0; overflow: hidden; }
.announcement-link { color: #fff; text-decoration: none; }
a.announcement-link:hover .announcement-text { text-decoration: underline; text-underline-offset: 3px; }
.announcement-cta { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.6rem; color: var(--accent); font-weight: 650; white-space: nowrap; }
.announcement-cta .icon { width: 0.85rem; height: 0.85rem; }
/* Moving text: two copies side by side slide left forever; pauses on hover/focus. */
.announcement.is-scrolling { text-align: left; }
.announcement-track { display: flex; width: max-content; animation: announcement-scroll 36s linear infinite; }
.announcement-track > * { padding-right: 6rem; white-space: nowrap; }
.announcement.is-scrolling:hover .announcement-track, .announcement.is-scrolling:focus-within .announcement-track { animation-play-state: paused; }
@keyframes announcement-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announcement-track { animation: none; } .announcement-track > [aria-hidden] { display: none; } .announcement.is-scrolling { text-align: center; } .announcement-track { width: auto; justify-content: center; } }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(34 40 42 / 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
/* 53px (3.3125rem) logo height: the bars in the logo files are drawn for this size (4px bars, 3px gaps; see tools/build-logo-svg.py). */
.brand-logo { display: block; width: auto; height: 3.3125rem; }
.site-footer .brand-logo { height: 3.3125rem; }
@media (max-width: 480px) { .site-header .brand-logo { height: 2.84375rem; } }
/* Three-colour stripe from the logo bars, under the header */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--logo-stripe); }
.brand-sub { font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate); }
.brand-light .brand-sub { color: rgb(255 255 255 / 0.65); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 0.3rem; height: var(--header-h); padding: 0 0.8rem;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: rgb(34 40 42 / 0.72); text-decoration: none;
}
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { color: var(--charcoal); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.dropdown {
  position: absolute; top: 100%; left: 50%; min-width: 15rem; display: block !important;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}
.has-children:hover .dropdown, .has-children:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--charcoal); text-decoration: none; }
.dropdown a:hover { background: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-search { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--charcoal); transition: background-color 0.2s, color 0.2s; }
.header-search:hover { background: var(--accent-wash); color: var(--accent-ink); }
.header-search .icon { width: 1.15rem; height: 1.15rem; }
.mobile-search { display: flex; margin: 1rem 0 0.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.mobile-search input { flex: 1; min-width: 0; border: 0; padding: 0.75rem 0.9rem; font: inherit; }
.mobile-search input:focus { outline: none; }
.mobile-search button { border: 0; background: var(--accent-btn); color: #fff; padding: 0 1rem; cursor: pointer; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 0; background: none; color: var(--charcoal); cursor: pointer; border-radius: var(--radius); }
.menu-toggle:hover { background: var(--paper); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { list-style: none; }
.mobile-nav > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav > nav > ul > li > a { display: block; padding: 0.95rem 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 650; color: var(--charcoal); text-decoration: none; }
.mobile-nav li ul { margin: -0.25rem 0 0.75rem; padding-left: 1rem; border-left: 2px solid var(--accent); }
.mobile-nav li ul a { display: block; padding: 0.4rem 0; color: var(--body); text-decoration: none; }
.mobile-nav .btn { margin: 1.5rem 0 2rem; }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1081px) { .mobile-nav { display: none !important; } }
.main-nav > ul > li > a { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1240px) { .main-nav > ul > li > a { padding: 0 0.55rem; font-size: 0.86rem; } .header-inner { gap: 1rem; } }

/* ------------------------------------------------------------------ Sections */
.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(3.5rem, 6vw, 5rem); }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--charcoal); color: rgb(255 255 255 / 0.78); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.border-top { border-top: 1px solid var(--line); }
.section-header { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-header .lead { margin-top: 1.1rem; }
.section-header.is-center { margin-inline: auto; text-align: center; }
.section-header.is-center .eyebrow { justify-content: center; }
.section-header.is-dark h2 { color: #fff; }
.section-header.is-dark .lead { color: rgb(255 255 255 / 0.72); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head-row .section-header { margin-bottom: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }
.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
/* Heading next to a long list: keep it at the top (and in view while scrolling) instead of centred in empty space. */
.split-top { align-items: start; }
@media (min-width: 900px) { .split-top > :first-child { position: sticky; top: 7rem; } }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-60 { grid-template-columns: 1.15fr 0.85fr; } .split-40 { grid-template-columns: 0.85fr 1.15fr; } }

/* ------------------------------------------------------------------ Home hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); color: rgb(255 255 255 / 0.78); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.04); will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(34 40 42 / 0.97) 0%, rgb(34 40 42 / 0.9) 42%, rgb(34 40 42 / 0.55) 100%); }
.hero-inner { display: grid; gap: 3rem; padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem); align-items: center; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.3fr 0.7fr; } }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: rgb(255 255 255 / 0.78); margin-top: 1.75rem; max-width: 40rem; }
.hero .btn-row { margin-top: 2.5rem; }
.hero-meta { margin-top: 2.75rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; color: rgb(255 255 255 / 0.68); }
.hero-meta::before { content: ""; width: 2rem; height: 1px; background: rgb(60 196 127 / 0.7); }
.hero-panel { position: relative; background: rgb(44 51 54 / 0.88); border: 1px solid rgb(255 255 255 / 0.12); border-top: 2px solid var(--accent); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); backdrop-filter: blur(6px); }
.hero-panel-title { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); }
.hero-panel ol { list-style: none; margin-top: 1.25rem; }
.hero-panel li { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgb(255 255 255 / 0.1); font-family: var(--font-display); font-weight: 600; color: #fff; }
.hero-panel li:first-child { border-top: 0; }
.hero-panel .num { font-size: 0.75rem; color: rgb(255 255 255 / 0.65); font-variant-numeric: tabular-nums; width: 1.5rem; }
.hero-panel .tick { margin-left: auto; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border: 1px solid rgb(60 196 127 / 0.55); border-radius: 50%; color: var(--accent); }
.hero-panel .tick .icon { width: 0.85rem; height: 0.85rem; }

/* Standards strip */
.standards-strip { border-bottom: 1px solid var(--line); }
.standards-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 2rem; }
.standards-inner p { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); max-width: 13rem; }
.standards-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; }
.standards-inner li { font-family: var(--font-display); font-weight: 650; color: rgb(34 40 42 / 0.8); }

/* ------------------------------------------------------------------ Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); color: rgb(255 255 255 / 0.75); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 95%); }
.page-hero-media { position: absolute; inset: 0 0 0 auto; width: min(52%, 46rem); z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero-has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--charcoal) 45%, rgb(34 40 42 / 0.55) 75%, rgb(34 40 42 / 0.35)); }
@media (max-width: 899px) { .page-hero-media { width: 100%; } .page-hero-media img { opacity: 0.2; } }
.page-hero-inner { padding-block: 2.25rem clamp(3.5rem, 7vw, 5.5rem); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .eyebrow { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero .lead { color: rgb(255 255 255 / 0.75); margin-top: 1.4rem; max-width: 46rem; }
.page-hero .btn-row { margin-top: 2.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.82rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; color: rgb(255 255 255 / 0.9); }
.breadcrumbs li + li::before { content: "/"; color: rgb(255 255 255 / 0.4); }
.breadcrumbs a { color: rgb(255 255 255 / 0.68); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ------------------------------------------------------------------ Cards */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
a.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
a.card:hover { transform: translateY(-3px); border-color: rgb(34 40 42 / 0.2); box-shadow: var(--shadow-lift); }
a.card:hover::before { transform: scaleX(1); }
.card h3 { margin-top: 1.5rem; }
.card p { margin-top: 0.75rem; font-size: 0.94rem; color: var(--slate); }
.card-link { margin-top: auto; padding-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 650; color: var(--charcoal); }
.card-link .icon { transition: transform 0.3s var(--ease); }
a.card:hover .card-link .icon { transform: translateX(4px); }
.icon-tile { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); color: var(--charcoal); }
.icon-tile .icon { width: 1.4rem; height: 1.4rem; }
.bg-dark .icon-tile { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.15); color: var(--accent); }

/* Hairline grid (cells separated by 1px lines) */
.hairline { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hairline > * { background: #fff; padding: clamp(1.5rem, 3vw, 2rem); flex: 1 1 17rem; min-width: 0; }
/* Flex rows: the last row stretches to fill the width instead of leaving an empty grey cell. */
.hairline-2 > * { flex-basis: 18rem; }
.hairline-3 > * { flex-basis: 17rem; }
.hairline h3, .hairline h4 { margin-top: 1rem; }
.hairline p { margin-top: 0.5rem; font-size: 0.93rem; color: var(--slate); }
.hairline .icon-feature { color: var(--accent-ink); width: 1.75rem; height: 1.75rem; }
.bg-dark .hairline { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.1); }
.bg-dark .hairline > * { background: var(--charcoal); }
.bg-dark .hairline p { color: rgb(255 255 255 / 0.68); }
.bg-dark .hairline .icon-feature { color: var(--accent); }

/* Intro block */
.intro-points { display: grid; gap: 1.5rem; margin-top: 2rem; }
.intro-point { display: flex; gap: 1rem; }
.intro-point .icon { color: var(--accent-ink); margin-top: 0.15rem; }
.intro-point h3 { font-size: 1.05rem; }
.intro-point p { margin-top: 0.25rem; color: var(--slate); font-size: 0.95rem; }

/* Media frames */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.03); }
.media-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); }
.media-badge { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; background: rgb(34 40 42 / 0.88); color: #fff; padding: 0.55rem 0.9rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; }
.media-badge .icon { width: 1rem; height: 1rem; color: var(--accent); }

/* Feature rows (alternating image / text) */
.feature-rows { display: grid; gap: clamp(4rem, 9vw, 7rem); }
@media (min-width: 900px) { .feature-row:nth-child(even) .feature-media { order: 2; } }
.feature-row h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; }
.feature-row .lead { margin-top: 1rem; font-size: 1.05rem; }
.feature-row .check-list { margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.feature-row .btn { margin-top: 2rem; }

/* Check list */
.check-list { list-style: none; display: grid; gap: 0.8rem; }
.check-list li { display: flex; gap: 0.7rem; line-height: 1.55; }
.icon-check { width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; color: var(--accent-ink); stroke-width: 2.4; }
.bg-dark .icon-check, .panel-dark .icon-check { color: var(--accent); }
.check-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); column-gap: 2rem; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; cursor: default; }
/* Hover: a soft logo-green wash fades in behind the content and a green line draws across the top; text stays dark.
   The wash is a pseudo-element because the tile's own transition is taken by the scroll-in (.reveal) animation. */
.industry::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-wash); opacity: 0; transition: opacity 0.6s var(--tile-ease); will-change: opacity; }
.industry::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent-btn); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--tile-ease); }
.industry .icon { width: 1.9rem; height: 1.9rem; color: var(--charcoal); transition: color 0.6s var(--tile-ease); }
.industry h3 { font-size: 1.08rem; }
.industry p { margin-top: 0.5rem; font-size: 0.88rem; color: var(--slate); }
.industry:hover::after { opacity: 1; }
.industry:hover::before { transform: scaleX(1); }
.industry:hover .icon { color: var(--accent-ink); }
.industry-detail ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.35rem; font-size: 0.86rem; }
.industry-detail li { display: flex; gap: 0.5rem; color: var(--body); }
.industry-detail li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; margin-top: 0.55rem; background: var(--accent); }

/* Process (home) */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 960px) { .process { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem; } }
.process li { position: relative; display: flex; gap: 1.25rem; padding-bottom: 2.25rem; }
@media (min-width: 960px) { .process li { display: block; padding: 0; } }
.process li::after { content: ""; position: absolute; left: 1.2rem; top: 2.75rem; bottom: 0; width: 1px; background: var(--line-strong); }
.process li:last-child::after { display: none; }
@media (min-width: 960px) { .process li::after { left: 3rem; right: -1rem; top: 1.2rem; bottom: auto; width: auto; height: 1px; } }
.step-num { position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--charcoal); background: #fff; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--charcoal); }
.process h3 { font-size: 1.05rem; }
@media (min-width: 960px) { .process h3 { margin-top: 1.5rem; } }
.process p { margin-top: 0.4rem; font-size: 0.92rem; color: var(--slate); }
.bg-dark .step-num { background: var(--charcoal); border-color: rgb(60 196 127 / 0.6); color: var(--accent); }
.bg-dark .process li::after { background: rgb(255 255 255 / 0.15); }
.bg-dark .process p { color: rgb(255 255 255 / 0.65); }

/* Workflow timeline (Audit & Compliance) */
.workflow { list-style: none; position: relative; display: grid; gap: 1.25rem; counter-reset: wf; }
.workflow::before { content: ""; position: absolute; left: 1.75rem; top: 1rem; bottom: 1rem; width: 1px; background: linear-gradient(var(--accent), rgb(60 196 127 / 0.15)); }
.workflow li { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; align-items: start; }
.wf-marker { position: relative; z-index: 1; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--charcoal); color: var(--accent); box-shadow: 0 0 0 6px var(--paper); }
.wf-marker .icon { width: 1.35rem; height: 1.35rem; }
.wf-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.wf-card:hover { box-shadow: var(--shadow-card); transform: translateX(3px); }
.wf-step { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.wf-card h3 { margin-top: 0.3rem; font-size: 1.12rem; }
.wf-card p { margin-top: 0.4rem; font-size: 0.94rem; color: var(--slate); }
@media (min-width: 960px) {
  .workflow::before { left: 50%; transform: translateX(-0.5px); }
  .workflow li { grid-template-columns: 1fr 3.5rem 1fr; gap: 2rem; }
  .workflow li .wf-marker { grid-column: 2; grid-row: 1; }
  .workflow li .wf-card { grid-column: 3; grid-row: 1; }
  .workflow li:nth-child(even) .wf-card { grid-column: 1; text-align: right; }
  .workflow li:nth-child(even) .wf-card:hover { transform: translateX(-3px); }
}

/* Panels */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.panel-dark { background: var(--charcoal); border: 0; color: rgb(255 255 255 / 0.8); border-top: 2px solid var(--accent); }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel h3 + .check-list, .panel h2 + .check-list { margin-top: 1.25rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; padding: 0.35rem 0.7rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }
.label-list { list-style: none; display: grid; gap: 0.6rem; }
.label-list li { padding-left: 0.9rem; border-left: 2px solid var(--accent); color: var(--charcoal); font-weight: 500; }

/* Quote / philosophy */
.quote-block { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }

/* Values */
.values { list-style: none; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.values li { border-top: 1px solid rgb(255 255 255 / 0.15); padding-top: 1.1rem; }
.values strong { display: block; font-family: var(--font-display); color: var(--accent); }
.values span { display: block; margin-top: 0.35rem; font-size: 0.92rem; color: rgb(255 255 255 / 0.72); }

/* Facts list */
.facts { display: grid; gap: 0; border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius); background: rgb(44 51 54 / 0.9); padding: 0.5rem 1.5rem; }
.facts div { padding: 0.9rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.78rem; color: rgb(255 255 255 / 0.62); }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; color: #fff; }

/* Training cards */
.program { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.program:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.program-head { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); }
.program-head .icon-tile { flex-shrink: 0; }
.program-head h3 { font-size: 1.15rem; }
.program-body { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem 1.75rem 1.75rem; flex: 1; }
.program-body > p { color: var(--slate); font-size: 0.95rem; }
.program-meta { display: grid; gap: 0.5rem; font-size: 0.88rem; }
.program-meta div { display: flex; gap: 0.6rem; align-items: flex-start; }
.program-meta .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; color: var(--slate); }
.program-meta strong { color: var(--charcoal); font-weight: 600; }
.program h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.program .check-list { font-size: 0.92rem; gap: 0.5rem; margin-top: 0.65rem; }
.program-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }

/* Resources */
.resource { display: flex; gap: 1.1rem; align-items: flex-start; }
.file-glyph { position: relative; flex-shrink: 0; width: 2.75rem; height: 3.4rem; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); color: var(--charcoal); }
.file-glyph::after { content: "PDF"; position: absolute; bottom: -0.45rem; left: 50%; transform: translateX(-50%); background: var(--charcoal); color: #fff; font-family: var(--font-display); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.1rem 0.25rem; border-radius: 2px; }
.file-glyph.is-web::after { content: "WEB"; background: #1d4f91; }
.badge { display: inline-block; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent-wash); color: var(--accent-ink); }
.badge-official { background: #eaf1fb; color: #1d4f91; }
.resource h3 { font-size: 1.02rem; margin-top: 0.45rem; }
.resource p { font-size: 0.9rem; color: var(--slate); margin-top: 0.35rem; }
.resource .btn { margin-top: 1rem; }

/* Disclaimer */
.disclaimer { display: flex; gap: 0.75rem; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.82rem; line-height: 1.6; color: var(--slate); }
.disclaimer .icon { margin-top: 0.2rem; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.04) 1px, transparent 1px); background-size: 64px 64px; }
.cta-inner { display: grid; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 5.5rem); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 4rem; } }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band .lead { color: rgb(255 255 255 / 0.72); margin-top: 1rem; max-width: 40rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; color: var(--charcoal); }
.faq summary::-webkit-details-marker { display: none; }
.icon-faq { width: 1.25rem; height: 1.25rem; color: var(--accent-ink); transition: transform 0.3s var(--ease); }
.faq details[open] .icon-faq { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.5rem 0; color: var(--body); }

/* Prose (legal pages, long text) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.prose p { margin-top: 0.85rem; }
.prose-lead p + p { margin-top: 1.1rem; }

/* ------------------------------------------------------------------ Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 0.45rem; font-family: var(--font-display); font-size: 0.84rem; font-weight: 650; color: var(--charcoal); }
.field .req { color: var(--danger); }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: 0.97rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1rem; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px rgb(60 196 127 / 0.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin-top: 0.4rem; font-size: 0.8rem; font-weight: 500; color: var(--danger); }
.field-hint { margin-top: 0.4rem; font-size: 0.8rem; color: var(--slate); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--body); }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--charcoal); flex-shrink: 0; }
.field label.consent { display: flex; margin-bottom: 0; font-family: inherit; font-size: 0.9rem; font-weight: 400; color: var(--body); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.alert { display: flex; gap: 0.75rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 0.93rem; margin-bottom: 1.5rem; }
.alert .icon { margin-top: 0.1rem; }
.alert-success { background: #eef7f2; border: 1px solid rgb(31 122 77 / 0.25); color: #155f3b; }
.alert-error { background: #fdf3f2; border: 1px solid rgb(180 35 24 / 0.25); color: var(--danger); }
.success-panel { text-align: left; }
.success-panel .icon { width: 2.25rem; height: 2.25rem; color: var(--success); }
.success-panel h2 { font-size: 1.5rem; margin-top: 1rem; }
.success-panel p { margin-top: 0.75rem; }

/* Contact sidebar */
.contact-list { list-style: none; display: grid; }
.contact-list li { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .icon { color: var(--accent-ink); margin-top: 0.1rem; }
.contact-list .field-hint { display: block; margin-top: 0.3rem; }
.contact-follow { margin-top: 1.5rem; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.contact-list .k { display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.contact-list .v { display: block; margin-top: 0.2rem; color: var(--charcoal); font-weight: 500; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--charcoal-950); color: rgb(255 255 255 / 0.72); font-size: 0.94rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.footer-cta-title { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.footer-cta .eyebrow { margin-bottom: 0.5rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-brand p { margin-top: 1.25rem; max-width: 24rem; line-height: 1.7; }
.footer-contact { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.footer-contact li { display: flex; gap: 0.7rem; }
.footer-contact .icon { color: var(--accent); margin-top: 0.3rem; }
.footer-contact a { color: rgb(255 255 255 / 0.8); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-label { display: block; font-size: 0.75rem; color: rgb(255 255 255 / 0.62); }
.social-links { list-style: none; display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-links a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.22); color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.social-links a:hover { background: var(--accent-btn); border-color: var(--accent-btn); }
.social-links .icon { width: 1.1rem; height: 1.1rem; }
.social-links-light { margin-top: 0.5rem; }
.social-links-light a { border-color: var(--line-strong); color: var(--charcoal); }
.social-links-light a:hover { color: #fff; }
.footer-heading { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.footer-links { list-style: none; margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.footer-links a { color: rgb(255 255 255 / 0.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer { font-size: 0.78rem; line-height: 1.6; color: rgb(255 255 255 / 0.65); max-width: 62rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; font-size: 0.82rem; color: rgb(255 255 255 / 0.65); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom a { color: rgb(255 255 255 / 0.65); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--charcoal); color: var(--accent); box-shadow: var(--shadow-lift); border: 1px solid rgb(60 196 127 / 0.4); transition: transform 0.2s var(--ease); }
.whatsapp-float:hover { transform: translateY(-2px); }

/* Counters */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.75rem; background: rgb(255 255 255 / 0.1); border-radius: var(--radius-sm); overflow: hidden; text-align: center; }
.stats div { background: var(--charcoal-800); padding: 1rem 0.5rem; }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 0.2rem; font-size: 0.7rem; line-height: 1.3; color: rgb(255 255 255 / 0.68); }

/* ------------------------------------------------------------------ Motion */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none !important; }
}

/* 404 */
.error-page { text-align: center; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }
.error-page .lead { margin-top: 1rem; }

@media print {
  .site-header, .site-footer, .cta-band, .whatsapp-float { display: none; }
}

/* Linked hairline cells (home "What we do") */
.pillar { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background-color 0.3s var(--ease); }
.pillar:hover { background: var(--paper); }
.pillar .card-link { padding-top: 1.25rem; }
.pillar:hover .card-link .icon { transform: translateX(4px); }

.mt-md { margin-top: 1.25rem; }
.mt-lg { margin-top: 2rem; }
.panel .check-list { gap: 0.6rem; font-size: 0.95rem; }

.h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 650; line-height: 1.3; }
.h4 { font-size: 1.05rem; font-weight: 650; line-height: 1.35; letter-spacing: -0.01em; }
.program-head h2 a { color: inherit; text-decoration: none; }
.program-head h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.purpose { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 650; line-height: 1.25; letter-spacing: -0.02em; color: var(--charcoal); }
.panel-dark .facts { background: transparent; border-color: rgb(255 255 255 / 0.12); }

.eyebrow-center { justify-content: center; }

/* ------------------------------------------------------------------ Search */
.search-page { max-width: 52rem; }
.search-form { position: relative; display: flex; gap: 0.75rem; }
.search-form-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.2rem; height: 1.2rem; color: var(--slate); pointer-events: none; }
.search-form input { flex: 1; min-width: 0; height: 3rem; padding: 0 1rem 0 2.8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: 1rem; background: #fff; }
.search-form input:focus { outline: none; border-color: var(--accent-btn); box-shadow: 0 0 0 3px rgb(0 122 61 / 0.15); }
.search-hint, .search-count { margin-top: 1.75rem; font-size: 0.9rem; color: var(--slate); }
.search-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.search-chips a { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.88rem; color: var(--charcoal); text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.search-chips a:hover { background: var(--accent-wash); border-color: var(--accent-btn); }
.search-results { list-style: none; margin-top: 0.75rem; border-top: 1px solid var(--line); }
.search-results li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.search-type { display: inline-block; margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.search-title { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 650; color: var(--charcoal); text-decoration: none; }
.search-title:hover { color: var(--accent-ink); text-decoration: underline; }
.search-results p { margin-top: 0.35rem; font-size: 0.92rem; color: var(--body); }
.search-results mark { background: var(--accent-wash); color: inherit; padding: 0 0.1em; border-radius: 2px; }
.search-empty { margin-top: 2rem; }
.search-empty p { margin-top: 0.5rem; }
@media (max-width: 560px) { .search-form { flex-direction: column; } }

/* ------------------------------------------------------------------ FAQ page */
.faq-page { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq-page { grid-template-columns: 15rem 1fr; gap: 4rem; align-items: start; } .faq-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.faq-toc ul { list-style: none; display: grid; gap: 0.15rem; margin-top: 0.75rem; }
.faq-toc li a { display: block; padding: 0.45rem 0.75rem; border-left: 2px solid var(--line); color: var(--body); text-decoration: none; font-size: 0.93rem; transition: border-color 0.2s, color 0.2s; }
.faq-toc li a:hover { border-color: var(--accent-btn); color: var(--accent-ink); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-group h2 { margin-bottom: 1rem; }
.faq-groups .disclaimer { margin-top: 3rem; }

/* ------------------------------------------------------------------ Website assistant (FAQ chat) */
.assistant { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 0.75rem; }
.assistant ~ .whatsapp-float { bottom: 5.25rem; }
.assistant-toggle { display: inline-flex; align-items: center; gap: 0.5rem; height: 3.25rem; padding: 0 1.15rem 0 1rem; border: 0; border-radius: 999px; background: var(--accent-btn); color: #fff; font-family: var(--font-display); font-weight: 650; font-size: 0.92rem; cursor: pointer; box-shadow: 0 12px 28px -12px rgb(0 99 47 / 0.6); transition: background-color 0.2s, transform 0.2s var(--ease); }
.assistant-toggle:hover { background: var(--accent-btn-hover); transform: translateY(-2px); }
.assistant-toggle .icon { width: 1.25rem; height: 1.25rem; }
.assistant-icon-close, .assistant-toggle[aria-expanded="true"] .assistant-icon-open { display: none; }
.assistant-toggle[aria-expanded="true"] .assistant-icon-close { display: block; }
.assistant-panel { display: flex; flex-direction: column; width: min(24rem, calc(100vw - 2.5rem)); height: min(34rem, calc(100dvh - var(--header-h) - 6.5rem)); min-height: 18rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px -20px rgb(34 40 42 / 0.45); overflow: hidden; }
.assistant-panel[hidden] { display: none; }
/* Smooth open/close: the window grows out of the "Ask us" button and shrinks back into it. */
.assistant-panel { opacity: 0; transform: translateY(14px) scale(0.94); transform-origin: bottom right; transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
.assistant-panel.is-visible { opacity: 1; transform: none; }
@keyframes assistant-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.assistant-msg, .assistant-chips { animation: assistant-msg-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.assistant-panel.is-visible .assistant-chips { animation-delay: 0.12s; }
.assistant-toggle .icon { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.assistant-toggle[aria-expanded="true"] .assistant-icon-close { transform: rotate(90deg); }
.assistant-head { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; background: var(--charcoal); color: #fff; }
.assistant-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--logo-stripe); }
.assistant-mark { display: flex; gap: 3px; height: 1.6rem; }
.assistant-mark i { width: 5px; height: 100%; background: var(--logo-green); }
.assistant-mark i:nth-child(2) { background: var(--logo-red); }
.assistant-mark i:nth-child(3) { background: var(--logo-plum); }
.assistant-title { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.assistant-sub { font-size: 0.75rem; color: rgb(255 255 255 / 0.65); }
.assistant-head-actions { margin-left: auto; display: flex; gap: 0.15rem; }
.assistant-close { display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.assistant-close:hover { background: rgb(255 255 255 / 0.1); }
.assistant-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; background: var(--paper); }
.assistant-msg { max-width: 88%; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.55; }
.assistant-msg.is-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--body); }
.assistant-msg.is-user { align-self: flex-end; background: var(--accent-btn); color: #fff; border-bottom-right-radius: 4px; }
.assistant-msg.is-typing { color: var(--slate); font-style: italic; }
.assistant-links { list-style: none; margin-top: 0.55rem; display: grid; gap: 0.35rem; }
.assistant-links a { display: block; padding: 0.4rem 0.6rem; border-radius: 6px; background: var(--accent-wash); color: var(--accent-ink); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
.assistant-links a:hover { text-decoration: underline; }
.assistant-links span { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.assistant-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: -0.25rem; }
.assistant-chips button { padding: 0.3rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--charcoal); font: inherit; font-size: 0.8rem; cursor: pointer; }
.assistant-chips button:hover { border-color: var(--accent-btn); background: var(--accent-wash); }
.assistant-form { display: flex; gap: 0.5rem; padding: 0.7rem 0.75rem 0.4rem; background: #fff; border-top: 1px solid var(--line); }
.assistant-form input { flex: 1; min-width: 0; height: 2.6rem; padding: 0 0.8rem; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: 0.9rem; }
.assistant-form input:focus { outline: none; border-color: var(--accent-btn); box-shadow: 0 0 0 3px rgb(0 122 61 / 0.15); }
.assistant-form button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 8px; background: var(--accent-btn); color: #fff; cursor: pointer; }
.assistant-note { padding: 0 0.85rem 0.7rem; font-size: 0.72rem; color: var(--slate); background: #fff; }
.assistant-note a { color: var(--accent-ink); }
@media (max-width: 560px) {
  .assistant { right: 0.85rem; bottom: 0.85rem; }
  .assistant-toggle-label { display: none; }
  .assistant-toggle { width: 3.25rem; padding: 0; justify-content: center; }
  .assistant.is-open { left: 0.85rem; }
  .assistant.is-open .assistant-panel { width: 100%; height: calc(100dvh - 6rem); }
}
@media print { .assistant { display: none; } }

/* ------------------------------------------------------------------ Smoothness */
/* Soft cross-fade between pages in browsers that support it (Chrome, Edge, Safari 18+); others load normally. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: ease; }
/* Mobile menu slides down instead of appearing instantly. */
.mobile-nav.is-opening { animation: mobile-nav-in 0.35s var(--ease) both; }
.mobile-nav.is-closing { animation: mobile-nav-in 0.25s ease reverse both; }
@keyframes mobile-nav-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* FAQ answers open and close smoothly (where supported), with the answer fading in. */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] p { animation: faq-answer-in 0.45s var(--ease) both; }
@keyframes faq-answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq summary { transition: color 0.2s; }
.faq summary:hover { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.menu-open .assistant, .menu-open .whatsapp-float { opacity: 0; pointer-events: none; }
.assistant { transition: opacity 0.25s ease; }
.whatsapp-float { transition: transform 0.2s var(--ease), opacity 0.25s ease; }

/* ------------------------------------------------------------------ Logo loading screen (first visit only) */
/* Hidden unless the head script marks this as the visitor's first page; it can never block the site:
   the page script removes it on load, and a CSS timer fades it out after 2.5s regardless. */
.preloader { display: none; }
.show-preloader .preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #fff; animation: preloader-failsafe 0.4s ease 2.5s forwards; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.preloader-inner { display: grid; justify-items: center; gap: 1.4rem; animation: preloader-in 0.5s var(--ease) both; }
.preloader-inner img { width: min(15rem, 60vw); height: auto; }
.preloader-bar { display: flex; gap: 6px; height: 4px; width: 7.5rem; }
.preloader-bar i { flex: 1; border-radius: 2px; background: var(--logo-green); animation: preloader-pulse 0.9s ease-in-out infinite; }
.preloader-bar i:nth-child(2) { background: var(--logo-red); animation-delay: 0.15s; }
.preloader-bar i:nth-child(3) { background: var(--logo-plum); animation-delay: 0.3s; }
@keyframes preloader-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes preloader-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .show-preloader .preloader { display: none; } }

/* ------------------------------------------------------------------ Animated home-page logo
   The bars are an inline SVG with the same sizes as the bars in logo.svg (4px wide, 3px apart, 51px high at the 53px logo
   size); the lettering image starts where the artwork's lettering starts. Both are 1em high. */
.brand-anim { display: inline-flex; align-items: flex-start; height: 3.3125rem; font-size: 3.3125rem; }
.brand-anim svg { display: block; height: 1em; width: calc(24.04em / 53); overflow: visible; }
.brand-anim rect { transform-box: fill-box; transform-origin: bottom;
  /* Rise once slowly, then a gentle continuous wave (dip and rise) every 6 seconds. */
  animation: logo-bar-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, logo-bar-wave 6s ease-in-out 2.4s infinite; }
.brand-anim rect:nth-child(2) { animation-delay: 0.3s, 2.7s; }
.brand-anim rect:nth-child(3) { animation-delay: 0.6s, 3s; }
.brand-anim img { display: block; height: 1em; width: auto; animation: logo-text-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both; }
@keyframes logo-bar-rise { from { transform: scaleY(0); } to { transform: none; } }
@keyframes logo-bar-wave { 0%, 76%, 100% { transform: none; } 84% { transform: scaleY(0.55); } 92% { transform: scaleY(1.04); } }
@keyframes logo-text-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.show-preloader .brand-anim rect, .show-preloader .brand-anim img { animation-play-state: paused; }
@media (max-width: 480px) { .brand-anim { height: 2.84375rem; font-size: 2.84375rem; } }
@media (prefers-reduced-motion: reduce) { .brand-anim rect, .brand-anim img { animation: none; } }

/* ------------------------------------------------------------------ Home headline: lines slide up one by one, then "Confidence." is underlined */
.hero-title .ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .ht-line > span { display: inline-block; animation: ht-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-title .ht-line:nth-child(1) > span { animation-delay: 0.25s; }
.hero-title .ht-line:nth-child(2) > span { animation-delay: 0.45s; }
.hero-title .ht-line:nth-child(3) > span { animation-delay: 0.65s; }
.hero-title .ht-line:nth-child(4) > span { animation-delay: 0.85s; }
.hero-title .accent { position: relative; }
.hero-title .accent::after { content: ""; position: absolute; left: 0.04em; right: 0.3em; bottom: 0.02em; height: 0.07em; border-radius: 0.04em; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: ht-underline 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--ul-delay, 1.7s) both; }
/* Letter-by-letter version (site.js splits each line into letters and adds .ht-letters to the heading). */
.hero-title.ht-letters .ht-line > span { animation: none; }
.hero-title .ht-word { display: inline-block; white-space: nowrap; }
.hero-title .ht-ch { display: inline-block; opacity: 0; animation: ht-ch-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards, ht-wave 7s ease-in-out infinite; animation-delay: var(--in, 0s), var(--wave, 4s); }
@keyframes ht-ch-in { from { opacity: 0; transform: translateY(0.45em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ht-wave { 0%, 12%, 100% { transform: none; } 6% { transform: translateY(-0.07em); } }
.show-preloader .hero-title .ht-ch { animation-play-state: paused; }
@keyframes ht-rise { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes ht-underline { to { transform: scaleX(1); } }
.show-preloader .hero-title .ht-line > span, .show-preloader .hero-title .accent::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero-title .ht-line > span, .hero-title .accent::after, .hero-title .ht-ch { animation: none; opacity: 1; } .hero-title .accent::after { transform: none; } }

/* ---------- Earning features: packages, training dates, document kits, free self-check, Insights ---------- */
.border-bottom { border-bottom: 1px solid var(--line); }
.form-grid.form-grid-1 { grid-template-columns: 1fr; }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.01em; }
.price-note { font-size: 0.82rem; color: var(--slate); margin-top: 0.15rem; }
.link-light { color: var(--accent); font-weight: 600; text-decoration: none; }
.link-light:hover { text-decoration: underline; }

.package-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.package:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.package.is-featured { border-color: var(--accent-btn); box-shadow: var(--shadow-card); border-top: 3px solid var(--accent-btn); }
.package-flag { position: absolute; top: -0.8rem; left: clamp(1.5rem, 3vw, 2rem); background: var(--accent-btn); color: #fff; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); }
.package-summary { color: var(--slate); font-size: 0.95rem; margin-top: 0.75rem; }
.package .price { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.package .check-list { font-size: 0.93rem; gap: 0.55rem; }
.package-cta { margin-top: auto; padding-top: 1.75rem; }

.session-list { display: grid; gap: 1rem; }
.session { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.session-date { display: grid; place-items: center; width: 4rem; height: 4.25rem; border-radius: var(--radius); background: var(--charcoal); color: #fff; text-align: center; line-height: 1.05; border-top: 3px solid var(--accent); }
.session-date span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); font-weight: 700; }
.session-date strong { font-family: var(--font-display); font-size: 1.6rem; }
.session-when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.session h3 { font-size: 1.08rem; margin-top: 0.2rem; }
.session-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin-top: 0.55rem; font-size: 0.87rem; color: var(--slate); }
.session-meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.session-side { text-align: right; display: grid; gap: 0.5rem; justify-items: end; }
.session-side .price { font-size: 1.1rem; }
.session-side .price-note { margin-top: -0.4rem; }
.session-compact { grid-template-columns: auto 1fr; padding: 0.9rem; gap: 0.9rem; }
.session-compact .session-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; text-align: left; justify-items: start; }
.session-compact .session-side .btn { justify-self: end; }
.panel-dark .session { color: var(--ink); }
@media (max-width: 640px) {
  .session { grid-template-columns: auto 1fr; align-items: start; }
  .session-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; text-align: left; justify-items: start; }
  .session-side .btn { justify-self: end; }
}

.kit-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.kit { display: flex; flex-direction: column; gap: 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.kit-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kit-summary { color: var(--slate); font-size: 0.95rem; }
.kit-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); font-weight: 700; margin-top: 0.25rem; }
.kit .check-list { font-size: 0.92rem; gap: 0.5rem; }
.kit-foot { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

.lead-band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; background: var(--accent-wash); border: 1px solid var(--accent-light); border-left: 4px solid var(--accent-btn); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.lead-band-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; color: var(--accent-btn); }
.lead-band-icon .icon { width: 1.6rem; height: 1.6rem; }
.lead-band-text h2 { margin-top: 0.35rem; }
.lead-band-text p:last-child { margin-top: 0.5rem; color: var(--slate); max-width: 44rem; }
@media (max-width: 760px) { .lead-band { grid-template-columns: 1fr; } .lead-band-icon { display: none; } }

.article-card time { margin-top: 1.25rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.article-card h3 { margin-top: 0.5rem; }
.article-card-media { display: block; margin: calc(-1 * clamp(1.5rem, 3vw, 2rem)) calc(-1 * clamp(1.5rem, 3vw, 2rem)) 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-media + time { margin-top: 1.5rem; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.article-body ul { margin-top: 0.85rem; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.mode-badge { display: inline-block; margin-left: 0.5rem; padding: 0.12rem 0.45rem; border-radius: var(--radius-sm); background: var(--accent-wash); color: var(--accent-ink); font-size: 0.66rem; letter-spacing: 0.08em; vertical-align: 0.1em; }
.mode-badge.is-offline { background: #eef0f1; color: var(--charcoal); }
.filter-tabs { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.filter-tabs a { padding: 0.45rem 1rem; border-radius: 999px; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--slate); text-decoration: none; transition: background 0.2s, color 0.2s; }
.filter-tabs a:hover { color: var(--charcoal); }
.filter-tabs a.is-active { background: var(--charcoal); color: #fff; }
.empty-state { display: flex; gap: 1.25rem; align-items: flex-start; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.empty-state > .icon { width: 2rem; height: 2rem; color: var(--accent-btn); flex-shrink: 0; }
.empty-state h3 { font-size: 1.1rem; }
.empty-state p { margin-top: 0.5rem; color: var(--slate); max-width: 46rem; }
