/* ==========================================================================
   VeriGate IT & Compliance, LLC — Global Stylesheet  v2.0
   Secure Technology. Confident Compliance.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* --- Navy palette (dark backgrounds) --- */
  --navy-950: #04111F;
  --navy-900: #081B30;
  --navy-800: #0D2744;
  --navy-700: #14365D;
  --navy-600: #1B4678;

  /* --- Blue (primary accent) --- */
  --blue-700: #1647AD;
  --blue-600: #1D58D4;
  --blue-500: #3776F5;
  --blue-400: #6B9CFF;
  --blue-300: #94B8FF;
  --blue-200: #C1D7FF;
  --blue-100: #EBF1FF;
  --blue-50:  #F5F8FF;

  /* --- Teal (secondary) --- */
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-300: #5EEAD4;
  --teal-200: #99F6E4;
  --teal-100: #E0FAF5;

  /* --- Amber (warning / sparse) --- */
  --amber-500: #F59E0B;
  --amber-100: #FEF3C7;

  /* --- Neutrals --- */
  --ink: #0B1324;
  --text: #394455;
  --text-secondary: #5A6678;
  --muted: #7B8698;
  --line: #E2E7EF;
  --line-strong: #C6D1DF;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --bg-subtle: #FAFBFE;
  --on-dark: #C9D6E8;
  --on-dark-muted: #8FA2BD;

  /* --- Semantic --- */
  --link: var(--blue-600);
  --success: #0D9488;
  --error: #B42318;

  /* --- Radii --- */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(8,27,48,0.04);
  --shadow-sm: 0 1px 3px rgba(8,27,48,0.06), 0 1px 2px rgba(8,27,48,0.04);
  --shadow-md: 0 4px 16px -4px rgba(8,27,48,0.1), 0 2px 4px -2px rgba(8,27,48,0.05);
  --shadow-lg: 0 12px 32px -8px rgba(8,27,48,0.14), 0 4px 8px -4px rgba(8,27,48,0.06);
  --shadow-xl: 0 20px 48px -12px rgba(8,27,48,0.2);
  --shadow-card-hover: 0 8px 24px -6px rgba(8,27,48,0.12), 0 2px 8px -2px rgba(8,27,48,0.05);

  /* --- Typography --- */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* --- Layout --- */
  --header-h: 72px;
  --container-max: 1220px;
  --container-gutter: 1.5rem;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);

  /* --- Motion --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration: 0.25s;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
h3 { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.35; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - var(--container-gutter) * 2, var(--container-max));
  margin-inline: auto;
}
@media (min-width: 768px) { :root { --container-gutter: 2rem; } }
@media (min-width: 1280px) { :root { --container-gutter: 2.5rem; } }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.lead { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; }
.text-muted { color: var(--muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}
.btn svg {
  width: 17px; height: 17px;
  flex: none;
  transition: transform var(--duration) var(--ease);
}
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(29,88,212,0.24), 0 4px 12px -4px rgba(29,88,212,0.32);
}
.btn--primary:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(29,88,212,0.28), 0 8px 20px -6px rgba(29,88,212,0.38);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.22);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(55,118,245,0.08);
}

.btn--light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn--light:hover {
  background: var(--blue-50);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--blue-600);
}
.text-link:hover { color: var(--blue-700); }
.text-link svg { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 8px rgba(8,27,48,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav links */
.nav__panel { display: flex; align-items: center; gap: 0.5rem; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover {
  color: var(--ink);
  background: var(--bg-alt);
}
.nav__link[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.65rem; right: 0.65rem; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
}

/* CTA in nav */
.nav__cta { margin-left: 0.5rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.nav__toggle:hover { border-color: var(--line-strong); }
.nav__toggle-bars { position: relative; width: 20px; height: 14px; }
.nav__toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 6px; }
.nav__toggle-bars span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 2.5rem;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .nav__panel.is-open { transform: none; visibility: visible; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"]::after {
    left: 0; right: auto; top: 50%; bottom: auto;
    width: 3px; height: 20px;
    transform: translate(-0.9rem, -50%);
  }
  .nav__cta { margin: 1.5rem 0 0; }
  .nav__cta .btn { width: 100%; padding: 0.9rem; font-size: 1rem; }
}

/* ---------- 6. Hero ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 1000px 500px at 85% -5%, rgba(55,118,245,0.18), transparent 60%),
    radial-gradient(ellipse 800px 500px at -8% 110%, rgba(20,184,166,0.08), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

/* Subtle grid — evokes network / data protection */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, rgba(0,0,0,0.6) 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, rgba(0,0,0,0.6) 0%, transparent 70%);
}

/* Subtle diagonal accent line — security / precision feel */
.hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 1px;
  height: 160%;
  background: linear-gradient(180deg, transparent 0%, rgba(55,118,245,0.12) 30%, rgba(20,184,166,0.08) 70%, transparent 100%);
  transform: rotate(-25deg);
  pointer-events: none;
}

.hero h1, .page-hero h1 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }

.hero {
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4.5rem, 9vw, 7.5rem);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__accent {
  background: linear-gradient(100deg, #94B8FF 0%, #5EEAD4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--on-dark);
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  letter-spacing: 0.005em;
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__points svg { width: 15px; height: 15px; color: var(--teal-400); }

/* -- Hero panel (engagement lifecycle) -- */
.panel {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.5);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.panel__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-400);
}
.panel__status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.15);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45,212,191,0.15); }
  50%      { box-shadow: 0 0 0 6px rgba(45,212,191,0.04); }
}
.panel__steps { list-style: none; margin: 0; padding: 0; }
.panel__step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.panel__step:last-child { border-bottom: 0; }
.panel__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(148,184,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(55,118,245,0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-300);
}
.panel__title {
  display: block;
  margin-bottom: 0.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
}
.panel__desc {
  display: block;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.chip {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--on-dark);
}

/* -- Inner page hero -- */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2.25rem, 4.8vw, 3.25rem); }
.page-hero__lead { max-width: 60ch; font-size: 1.0625rem; color: var(--on-dark); line-height: 1.75; }
.breadcrumb { margin-bottom: 1.5rem; font-size: 0.8125rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--on-dark-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(255,255,255,0.25); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- 7. Framework strip ---------- */
.framework-strip {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}
.framework-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}
.framework-strip__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.framework-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0; padding: 0;
  list-style: none;
}
.framework-strip li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: -0.01em;
}

/* ---------- 8. Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section--dark {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 800px 400px at 100% 0%, rgba(55,118,245,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
/* Subtle dot grid overlay for dark sections */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle 1px at center, rgba(255,255,255,0.04) 0%, transparent 100%);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--blue-300); }
.section--dark .lead { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--blue-300); }
.section--dark a:not(.btn):hover { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}
.section-head--split > div { max-width: 680px; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- 9. Grid & cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}
.card h3 { margin-bottom: 0.45rem; }
.card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }
.card > p:last-child { margin-bottom: 0; }

/* Accent top border on card hover */
.card::before {
  content: "";
  position: absolute;
  top: -1px; left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.card:hover::before { opacity: 1; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.15rem;
  border: 1px solid #D4E2F8;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--teal-100) 100%);
  color: var(--blue-600);
  flex: none;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--sm { width: 38px; height: 38px; margin-bottom: 0; border-radius: 8px; }
.icon-badge--sm svg { width: 18px; height: 18px; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card__link svg { transform: translateX(3px); }

/* Dark feature card */
.card--feature {
  color: var(--on-dark);
  border-color: transparent;
  background:
    radial-gradient(ellipse 350px 200px at 100% 0%, rgba(55,118,245,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.card--feature::before { display: none; }
.card--feature h3 { color: #fff; }
.card--feature p { color: var(--on-dark-muted); }
.card--feature .icon-badge { background: rgba(55,118,245,0.12); border-color: rgba(148,184,255,0.22); color: var(--blue-300); }
.card--feature .card__link { color: #fff; }

/* Dark card (used in dark sections) */
.card--dark {
  background: rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
.card--dark::before { background: linear-gradient(90deg, var(--blue-400), var(--teal-400)); }
.card--dark:hover {
  border-color: rgba(148,184,255,0.25);
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}
.card--dark p { color: var(--on-dark-muted); }
.card--dark .icon-badge { background: rgba(55,118,245,0.1); border-color: rgba(148,184,255,0.2); color: var(--blue-300); }

.card__list {
  list-style: none; margin: 0.35rem 0 0; padding: 0;
  display: grid; gap: 0.35rem; font-size: 0.875rem;
}
.card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
  line-height: 1.5;
}
.card__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-500);
}
.card--dark .card__list li { color: var(--on-dark); }

/* ---------- 10. Checklist ---------- */
.checklist { display: grid; gap: 0.65rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D58D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--blue-100);
  flex: none;
}
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 2rem; }
@media (max-width: 680px) { .checklist--2col { grid-template-columns: 1fr; } }
.section--dark .checklist li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(45,212,191,0.1);
}

/* ---------- 11. Split layouts & feature panels ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.feature-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.feature-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-panel__dots { display: inline-flex; gap: 5px; }
.feature-panel__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.feature-panel__rows { list-style: none; margin: 0; padding: 0; }
.feature-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row:hover { background: var(--bg-subtle); }
.feature-row .icon-badge { margin: 0; }
.feature-row__body { min-width: 0; }
.feature-row__body strong { display: block; font-size: 0.9375rem; }
.feature-row__body span { display: block; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

.tag {
  flex: none;
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--blue-100);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blue-700);
}
.tag--teal { background: var(--teal-100); color: #0B6B62; }
@media (max-width: 420px) { .feature-row .tag { display: none; } }

/* ---------- 12. Industries ---------- */
.industry {
  display: flex;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.industry:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.industry h3 { margin-bottom: 0.2rem; font-size: 1rem; }
.industry p { margin: 0; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; }

/* ---------- 13. Why choose / numbered list ---------- */
.why {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: num; }
.numbered li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  counter-increment: num;
}
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before {
  content: counter(num, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-600);
  padding-top: 0.15rem;
}
.numbered h3 { margin-bottom: 0.3rem; }
.numbered p { margin: 0; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }
.section--dark .numbered li { border-color: rgba(255,255,255,0.08); }
.section--dark .numbered li::before { color: var(--blue-300); }
.section--dark .numbered p { color: var(--on-dark-muted); }

/* ---------- 14. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .steps, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps, .steps--5 { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: "Step " counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
}
.step h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 15. Service blocks (Services page) ---------- */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0; padding: 0;
  list-style: none;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.subnav a:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(55,118,245,0.06);
}
.subnav svg { width: 15px; height: 15px; color: var(--blue-600); }

.service-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block__intro { align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.service-block__intro p { color: var(--text-secondary); }
@media (max-width: 960px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block__intro { position: static; }
}
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
@media (max-width: 680px) { .mini-grid { grid-template-columns: 1fr; } }
.mini {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.mini:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.mini h3 { margin: 0 0 0.2rem; font-size: 0.9375rem; }
.mini p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--text-secondary); }

/* ---------- 16. Data table (Government) ---------- */
.data-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table caption {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}
.data-table th,
.data-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9375rem;
}
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 36%; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) {
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { padding-bottom: 0.15rem; border-bottom: 0; }
  .data-table td { padding-top: 0; }
}
.placeholder {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border: 1px dashed #92ABD4;
  border-radius: 5px;
  background: var(--blue-50);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #34537F;
}
.section--dark .placeholder,
.site-footer .placeholder {
  border-color: rgba(148,184,255,0.3);
  background: rgba(55,118,245,0.06);
  color: var(--blue-300);
}

/* ---------- 17. Profile / leadership ---------- */
.profile-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 560px) { .profile-card { grid-template-columns: 1fr; } }
.profile-card__avatar {
  display: grid;
  place-items: center;
  width: 110px; height: 110px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--blue-300);
}
.profile-card__avatar svg { width: 48px; height: 48px; }
.profile-card h3 { margin-bottom: 0.2rem; }
.profile-card__role {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* ---------- 18. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 500px 250px at 100% 0%, rgba(55,118,245,0.25), transparent 60%),
    radial-gradient(ellipse 400px 200px at 0% 100%, rgba(20,184,166,0.1), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
}
/* Decorative ring — subtle geometric element */
.cta::after {
  content: "";
  position: absolute;
  right: -100px; bottom: -140px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255,255,255,0.015), 0 0 0 100px rgba(255,255,255,0.008);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 0.4rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin: 0; max-width: 56ch; font-size: 0.9375rem; line-height: 1.7; }
.cta .eyebrow { color: var(--blue-300); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- 19. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.15rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 17px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(55,118,245,0.12);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 0; font-size: 0.8125rem; color: var(--error); }
.field-error:empty { display: none; }
.form-note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.form-status {
  display: none;
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid #ABEFC6;
  border-radius: var(--radius-sm);
  background: #ECFDF3;
  font-size: 0.9rem;
  color: #05603A;
}
.form-status.is-visible { display: block; }
.form-status a { color: #05603A; font-weight: 600; }
.form-status--error {
  border-color: #FECDCA;
  background: #FEF3F2;
  color: #912018;
}
.form-status--error a { color: #912018; font-weight: 600; }

.card__email {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}
.card__email a {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.card__email a:hover { text-decoration: underline; }

.contact-list { display: grid; gap: 0.75rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.contact-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.contact-card strong { display: block; font-size: 0.9375rem; }
.contact-card span { display: block; font-size: 0.84rem; color: var(--text-secondary); }
.contact-card em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--blue-600);
  word-break: break-all;
}

.aside-box {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.aside-box h2, .aside-box h3 { font-size: 1.0625rem; }
.aside-box ol {
  margin: 0; padding-left: 1.15rem;
  display: grid; gap: 0.6rem;
  font-size: 0.9rem;
}
.aside-box ol li::marker { font-family: var(--font-mono); color: var(--blue-600); }

/* ---------- 20. Footer ---------- */
.site-footer {
  padding: 4rem 0 1.75rem;
  background: var(--navy-950);
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

/* Subtle top border accent */
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(55,118,245,0.2) 20%, rgba(20,184,166,0.15) 80%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-top: 0.5rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand__sub { color: var(--on-dark-muted); }
.footer-tagline { margin: 1.1rem 0 0.6rem; font-weight: 600; font-size: 0.9375rem; color: #fff; }
.footer-about { max-width: 36ch; margin: 0; font-size: 0.84rem; line-height: 1.6; }
.footer-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.footer-links { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links small {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.footer-ids { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; }
.back-to-top { color: var(--on-dark); text-decoration: none; font-size: 0.8rem; }
.back-to-top:hover { color: #fff; }

/* ---------- 21. Error page ---------- */
.error-page { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.error-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--blue-300);
}

/* ---------- 22. Reveal animation ---------- */
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-pending { opacity: 1; transform: none; }
}

/* ---------- 24. Print ---------- */
@media print {
  .site-header, .nav__toggle, .cta, .site-footer .footer-grid { display: none; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000; }
  .hero h1, .page-hero h1, .section--dark h2, .section--dark h3 { color: #000; }
  .hero::before, .hero::after, .page-hero::before, .section--dark::before { display: none; }
}

/* ---------- 25. Responsive hero ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .panel { max-width: 520px; }
  .hero::after { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(3rem, 7vw, 4rem); }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero__points { flex-direction: column; gap: 0.35rem; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}
