/* ============================================================
   Chrysalis AI — site styles
   Plain CSS, no build step. Design tokens + components lifted
   from the Chrysalis AI design system (green / cream / orange,
   Poppins + Hanken Grotesk + IBM Plex Mono).
   ============================================================ */

/* Fonts */
/* Fonts are served from this site, not from Google (FIX-26).
   The privacy page says this site sets no cookies and runs no analytics; a
   stylesheet that pulls webfonts from fonts.googleapis.com hands every
   visitor's IP address to a third party before a word is read, which is not
   what a reader takes that sentence to mean.
   Latin and latin-ext subsets of each weight actually used. Poppins, Hanken
   Grotesk and IBM Plex Mono are all open-licensed (OFL / Apache 2.0), so
   redistributing them here is permitted. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-400-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-400-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-500-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-500-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-600-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-600-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-700-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-700-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-500-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/poppins-800-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/poppins-800-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* The palette is parchment-light by design. Declaring it stops mobile
     browsers' forced dark mode inverting the page into unreadable mush. */
  color-scheme: only light;
  /* Forest green */
  --green-950: #12211a;
  --green-900: #16281f;
  --green-800: #1e3227;
  --green-700: #263e30;
  --green-600: #33513f;
  --green-500: #45694f;
  --green-300: #7e9a82;
  --green-100: #c9d6c4;
  /* Parchment / cream */
  --cream-50: #fbf6ea;
  --cream-100: #f5ecd8;
  --cream-200: #ecdfc4;
  --cream-300: #decba6;
  /* Burnt orange */
  --orange-600: #b4571f;
  --orange-500: #ce6b2e;
  --orange-400: #e08a4c;
  --orange-100: #f6dec6;
  /* Logo inks */
  --logo-green: #1f342a;
  --logo-cream: #eed1a8;
  --logo-orange: #c96b18;
  /* Semantic text */
  --text-strong: #16281f;
  --text-body: #2a3e32;
  --text-muted: #5b6b5e;
  --text-accent: #a04e1c;
  /* Surfaces */
  --surface-page: var(--cream-100);
  --surface-card: var(--cream-50);
  --surface-sunk: var(--cream-200);
  --surface-dark: var(--green-800);
  /* Lines */
  --border-subtle: var(--cream-300);
  --border-strong: #c2ae83;
  --border-dark: var(--green-600);
  /* Interactive */
  /* Interactive orange is darker than the display orange: white button text
     needs 4.5:1, and hover/press must get darker, never lighter (WCAG 1.4.3). */
  --accent: var(--orange-600);
  --accent-hover: #a04e1c;
  --accent-press: #9c4a19;
  --success: #4c7b52;
  --warning: #c9902f;
  --danger: #a6402c;
  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --ls-tight: -0.02em;
  --ls-caps: 0.14em;
  /* Type scale */
  --text-2xs: 11px;
  --text-xs: 12.5px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 31px;
  --text-4xl: 38px;
  --text-5xl: 50px;
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  /* Shadow (warm, green-tinted) */
  --shadow-sm: 0 1px 3px rgba(30, 50, 39, 0.1);
  --shadow-md: 0 10px 30px rgba(30, 50, 39, 0.12);
  --shadow-lg: 0 22px 50px rgba(18, 33, 26, 0.22);
  /* Layout */
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* scroll-padding keeps the sticky header off anchor targets (WCAG 2.4.11). */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: #96471a;
}

/* Keyboard focus (WCAG 2.4.7). The browser default ring is drawn in the OS
   accent colour, which all but vanishes on the orange CTA. */
:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 2px;
}
/* Dark surfaces need a light ring. */
.site-foot :focus-visible,
.card.dark :focus-visible,
#register :focus-visible {
  outline-color: var(--cream-50);
}

/* Available to screen readers, absent from the visual layout. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Skip link (WCAG 2.4.1): off-screen until focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--green-900);
  color: var(--cream-50);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Layout helpers */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.sec {
  padding: 76px 0;
}
.sec-alt {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* Type primitives */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-accent);
}
.eyebrow.green {
  color: var(--green-700);
}
.eyebrow.orange {
  color: var(--orange-400);
}
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-5xl);
  line-height: 1.02;
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}
.lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.6;
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition:
    background 0.14s,
    transform 0.06s,
    box-shadow 0.14s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-primary:active {
  background: var(--accent-press);
  transform: translateY(1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream-50);
  border: 1px solid rgba(251, 246, 234, 0.35);
}
.btn-ghost:hover {
  background: rgba(251, 246, 234, 0.08);
  color: #fff;
}
.btn-sm {
  padding: 9px 18px;
  font-size: var(--text-sm);
}
.btn-lg {
  padding: 15px 26px;
  font-size: var(--text-lg);
}

/* Video pause/play toggle (WCAG 2.2.2). Solid background and a currentColor
   icon so it stays visible over either video and in forced-colors mode. */
.vid-toggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-50);
  border-radius: var(--radius-pill);
  background: var(--green-900);
  color: var(--cream-50);
  cursor: pointer;
}
.vid-toggle.on-dark {
  background: var(--cream-50);
  border-color: var(--green-900);
  color: var(--green-900);
}
.vid-toggle svg {
  width: 14px;
  height: 14px;
}
.vid-toggle .ic-play {
  display: none;
}
.vid-toggle[aria-pressed='true'] .ic-pause {
  display: none;
}
.vid-toggle[aria-pressed='true'] .ic-play {
  display: block;
}

/* Cards */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card.dark {
  background: var(--surface-dark);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-lg);
  color: var(--cream-100);
}

/* Audit log sample: a description list, aligned with layout rather than &nbsp; */
.audit-log {
  margin: 0;
}
.audit-log div {
  display: flex;
  gap: 8px;
}
.audit-log dt {
  min-width: 9ch;
}
.audit-log dd {
  margin: 0;
}

/* Compliance chip (Power Mark dot + label) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 7px 14px 7px 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-900);
}
.chip .pm {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
}
.badge-success {
  background: var(--success);
  color: #fff;
}

/* Sector pill */
.pill {
  border: 1px solid var(--border-strong);
  background: var(--cream-50);
  color: var(--green-900);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.18s;
}
.pill:hover {
  transform: translateY(-2px);
  border-color: var(--orange-500);
}

/* Placeholder note */
.ph-note {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.02em;
  color: #8a6a1f;
  border: 1px dashed var(--border-strong);
  background: rgba(201, 144, 47, 0.1);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: inline-block;
}
.ph-note.on-dark {
  color: #e8c57a;
  border-color: rgba(232, 197, 122, 0.5);
  background: rgba(232, 197, 122, 0.1);
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 236, 216, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-head[data-scrolled='true'] {
  box-shadow: 0 6px 20px rgba(30, 50, 39, 0.13);
}
.site-head .inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.brand .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: 6px;
}
.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: var(--text-sm);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:hover {
  color: var(--text-strong);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.head-cta {
  margin-left: auto;
}
.hamb {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamb span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-body);
  position: relative;
}
.hamb span::before,
.hamb span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text-body);
}
.hamb span::before {
  top: -5px;
}
.hamb span::after {
  top: 5px;
}

/* Footer */
.site-foot {
  background: var(--green-950);
  color: var(--green-100);
  padding: 52px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.site-foot a {
  color: var(--green-100);
}
.site-foot a:hover {
  color: #fff;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--green-600);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.social .rsv {
  width: 34px;
  height: 34px;
  border: 1px dashed var(--green-600);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
  font-size: 11px;
}
.foot-bar {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--green-800);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll progress + reveal */
.cx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange-500);
  z-index: 100;
  box-shadow: 0 0 8px rgba(206, 107, 46, 0.5);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.62s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes cxTwinkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
@keyframes cxFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes cxArrow {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}
@keyframes cxGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(206, 107, 46, 0);
  }
  50% {
    box-shadow: 0 0 26px rgba(206, 107, 46, 0.4);
  }
}
@keyframes cxBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
.spark {
  display: inline-block;
  animation: cxTwinkle 3.4s ease-in-out infinite;
}
.hero-float {
  animation: cxFloat 7.5s ease-in-out infinite;
}
.flow-arrow {
  animation: cxArrow 2.4s ease-in-out infinite;
}
.appliance-glow {
  animation: cxGlow 3.8s ease-in-out infinite;
}
.audit-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--orange-400);
  vertical-align: -2px;
  margin-left: 3px;
  animation: cxBlink 1s step-end infinite;
}

/* Responsive */
@media (max-width: 820px) {
  .two,
  .row3,
  .grid2,
  .steps3 {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nav-links,
  .head-cta {
    display: none;
  }
  .hamb {
    display: flex;
  }
  .site-head.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--surface-page);
    padding: 18px 28px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
    margin: 0;
  }
  .h1 {
    font-size: 38px;
  }
  .h2 {
    font-size: 26px;
  }
  .sec {
    padding: 52px 0;
  }
}
/* Windows High Contrast: CSS backgrounds are dropped and the logo's dark ink
   disappears against the forced background, so restate both in system colours. */
@media (forced-colors: active) {
  .hamb span,
  .hamb span::before,
  .hamb span::after {
    background: ButtonText;
  }
  .brand svg path {
    stroke: CanvasText;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spark,
  .hero-float,
  .flow-arrow,
  .appliance-glow,
  .audit-cursor,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
