/* ==========================================================================
   DESIGN SYSTEM & THEME
   Palette: obsidian forest, electric emerald, warm amber/ember, crisp bone.
   Type: Space Grotesk (display/headings) + Inter (body).
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Brand Theme: Obsidian Forest & Electric Emerald */
  --forest-950: #040d0a;
  --forest-900: #071510;
  --forest-850: #0b1e17;
  --forest-800: #0f2a20;
  --forest-700: #143d2f;
  --forest-600: #1a533f;
  --forest-500: #10b981; /* Electric Emerald */
  --forest-400: #34d399;
  --forest-300: #6ee7b7;
  --forest-100: #d1fae5;
  --forest-50: #ecfdf5;

  /* Accent: Ember / Amber */
  --ember-600: #d97706;
  --ember-500: #f59e0b;
  --ember-400: #fbbf24;
  --ember-100: #fef3c7;
  --ember-50: #fffbeb;

  /* Neutrals: Clean Alabaster & Deep Inks */
  --bone-50: #faf9f6;
  --bone-100: #f3f0e8;
  --bone-200: #e9e4d8;
  --bone-300: #ded7c6;
  --bone-400: #c2b9a3;
  --ink-950: #0a0d0a;
  --ink-900: #111813;
  --ink-800: #1f2922;
  --ink-700: #334137;
  --ink-600: #4b5a4f;
  --ink-500: #647468;
  --ink-400: #8a998e;
  --ink-300: #b5c2b9;

  /* Semantic UI */
  --bg: var(--bone-50);
  --bg-alt: var(--bone-100);
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-dim: var(--ink-400);
  --border: var(--bone-300);
  --border-light: rgba(11, 30, 23, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-dark: rgba(255, 255, 255, 0.08);

  --accent: var(--forest-500);
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-strong: #059669;
  --ember-glow: rgba(245, 158, 11, 0.25);

  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --success: #059669;
  --success-bg: #ecfdf5;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid Type Scale */
  --step--2: clamp(0.74rem, 0.72rem + 0.1vw, 0.8rem);
  --step--1: clamp(0.84rem, 0.81rem + 0.16vw, 0.92rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.42rem);
  --step-2: clamp(1.44rem, 1.32rem + 0.65vw, 1.8rem);
  --step-3: clamp(1.73rem, 1.54rem + 1vw, 2.28rem);
  --step-4: clamp(2.08rem, 1.8rem + 1.5vw, 2.88rem);
  --step-5: clamp(2.5rem, 2.1rem + 2.2vw, 3.65rem);
  --step-6: clamp(3rem, 2.45rem + 3.2vw, 4.6rem);

  /* Layout */
  --container: 78rem;
  --container-narrow: 48rem;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --header-h: 4.75rem;

  /* Shadows & Glass */
  --shadow-xs: 0 1px 2px rgba(11, 26, 21, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(11, 26, 21, 0.06), 0 1px 4px -1px rgba(11, 26, 21, 0.04);
  --shadow: 0 8px 24px -6px rgba(11, 26, 21, 0.08), 0 4px 12px -2px rgba(11, 26, 21, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 26, 21, 0.14), 0 8px 20px -4px rgba(11, 26, 21, 0.08);
  --shadow-glow: 0 0 35px -5px var(--accent-glow);
  --shadow-glow-ember: 0 0 35px -5px var(--ember-glow);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 280ms;
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 0.22em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

a:hover {
  color: var(--forest-600);
  text-decoration-color: var(--forest-500);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* --- Focus & Skip Link --------------------------------------------------- */
:focus-visible {
  outline: 2.5px solid var(--forest-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 500;
  background: var(--forest-900);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout Containers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--flow, 1.5rem);
}

.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: center;
}

@media (min-width: 54rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-left {
    grid-template-columns: 1.35fr 1fr;
  }
  .split--wide-right {
    grid-template-columns: 1fr 1.35fr;
  }
  .split--sticky {
    align-items: start;
  }
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 42rem) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 66rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 36rem) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 66rem) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Typography Utilities ------------------------------------------------ */
.h1 {
  font-size: var(--step-5);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 700;
}

.h2 {
  font-size: var(--step-3);
  letter-spacing: -0.028em;
  line-height: 1.15;
  font-weight: 700;
}

.h3 {
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 600;
}

.h4 {
  font-size: var(--step-1);
  font-weight: 600;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest-500);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.muted {
  color: var(--text-muted);
}

.measure {
  max-width: 65ch;
}

/* --- Header & Navigation ------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 30, 23, 0.08);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header[data-scrolled="true"] {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(11, 30, 23, 0.12);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--forest-950);
  text-decoration: none;
}

.logo__mark {
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease-spring), filter var(--dur) var(--ease);
}

.logo:hover .logo__mark {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.logo__accent {
  color: var(--forest-500);
  margin-left: 0.15rem;
}

/* Status Pill in Nav */
.header__status-badge {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--forest-700);
  background: var(--forest-50);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-left: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .header__status-badge {
    display: inline-flex;
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest-500);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Nav Links */
.nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 62rem) {
  .nav {
    display: flex;
  }
}

.nav__link {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--forest-900);
  background: rgba(11, 30, 23, 0.04);
}

.nav__link[aria-current="page"] {
  color: var(--forest-800);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__cta {
  display: none;
}

@media (min-width: 32rem) {
  .header__cta {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 30, 23, 0.05);
  border: 1px solid var(--border-light);
  color: var(--ink-900);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.menu-toggle:hover {
  background: rgba(11, 30, 23, 0.08);
}

@media (min-width: 62rem) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__bars {
  position: relative;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background var(--dur) var(--ease);
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  bottom: -6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 21, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  z-index: 290;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.drawer[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer__link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.drawer__link:hover,
.drawer__link[aria-current="page"] {
  color: var(--forest-400);
  transform: translateX(6px);
}

.drawer__foot {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.6);
}

.drawer__meta a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

/* --- Buttons & Action Links ---------------------------------------------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--step--1);
  line-height: 1;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
}

/* Accent (Emerald Glow) */
.btn--accent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.4), 0 2px 6px -1px rgba(16, 185, 129, 0.2);
}

.btn--accent:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.55), 0 4px 12px -2px rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

/* Amber / Ember Accent */
.btn--amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px -2px rgba(245, 158, 11, 0.4);
}

.btn--amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.55);
  color: #ffffff;
}

/* Ghost / Secondary on Light */
.btn--ghost {
  background: var(--surface);
  color: var(--forest-950);
  border-color: var(--bone-300);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: var(--bone-100);
  border-color: var(--bone-400);
  color: var(--forest-950);
  box-shadow: var(--shadow-sm);
}

/* Ghost on Dark */
.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Sizes */
.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: var(--step--2);
}

.btn--lg {
  padding: 1.15rem 2.2rem;
  font-size: var(--step-0);
  border-radius: var(--radius);
}

.btn--full {
  width: 100%;
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--forest-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--forest-500);
  gap: 0.75rem;
}

.link-arrow svg {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* --- Sections & Headings ------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--bone-200);
}

.section--dark {
  background: radial-gradient(circle at 80% 20%, #14352b 0%, #071510 65%, #040d0a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}

.section--dark .muted,
.section--dark .lede {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.section-head {
  margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

.section-head--split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 52rem) {
  .section-head--split {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* --- Hero Section -------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 75% 15%, #143d2f 0%, #0b1f17 40%, #071510 80%, #040d0a 100%);
  color: #ffffff;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.hero__bg,
.page-head__bg,
.cta-band__bg,
.backdrop-3d-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.backdrop-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.backdrop-svg-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.backdrop-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.backdrop-glow-orb--1 {
  top: -15%;
  right: 12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
}

.backdrop-glow-orb--2 {
  bottom: -20%;
  left: 2%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #0f3d2f 0%, rgba(7, 21, 16, 0) 70%);
  animation-duration: 20s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(35px, 25px) scale(1.1);
  }
  100% {
    transform: translate(-25px, 45px) scale(0.95);
  }
}



.hero__inner {
  position: relative;
  z-index: 10;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .hero__inner {
    grid-template-columns: 1.25fr 0.95fr;
  }
}

.hero h1 {
  color: #ffffff;
  margin-block: 1rem 1.25rem;
  letter-spacing: -0.035em;
}

.hero__lede {
  font-size: var(--step-1);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 54ch;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.hero__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--forest-400), transparent);
}

.hero__panel h2 {
  font-size: var(--step-1);
  color: #ffffff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.hero__fact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hero__fact:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.3);
}

.hero__fact dt {
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.hero__fact dd {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  color: #ffffff;
}

/* Trust Ticker / Metrics Bar */
.trust-bar {
  background: rgba(7, 21, 16, 0.95);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
  color: #ffffff;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--forest-400);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* --- Page Head (Subpages) ------------------------------------------------ */
.page-head {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #143d2f 0%, #0b1f17 50%, #071510 100%);
  color: #ffffff;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.page-head__inner {
  position: relative;
  z-index: 10;
  max-width: var(--container-narrow);
}

.page-head h1 {
  color: #ffffff;
  font-size: var(--step-4);
  margin-block: 0.75rem 1rem;
}

.page-head p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.crumbs li:not(:last-child)::after {
  content: '/';
  color: rgba(255, 255, 255, 0.3);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--forest-400);
}

.crumbs [aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

/* --- Cards & Panels ------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--forest-300);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--forest-50);
  color: var(--forest-600);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 1.25rem;
  transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(3deg);
  background: var(--forest-500);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}

.card__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.card__line-tag {
  font-size: 0.75rem;
  background: var(--bone-100);
  color: var(--ink-700);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

.card__foot {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Category Accent Variants */
.card[data-accent="ember"] .card__icon {
  background: var(--ember-50);
  color: var(--ember-600);
  border-color: rgba(245, 158, 11, 0.25);
}
.card[data-accent="ember"]:hover .card__icon {
  background: var(--ember-500);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--ember-glow);
}

.card[data-accent="clay"] .card__icon {
  background: #fdf2f8;
  color: #be185d;
  border-color: rgba(190, 24, 93, 0.2);
}
.card[data-accent="clay"]:hover .card__icon {
  background: #db2777;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.3);
}

/* Panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.panel--flush {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.section--dark .panel,
.cta-band .panel,
.hero .panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.section--dark .panel h2,
.section--dark .panel h3,
.section--dark .panel h4,
.cta-band .panel h2,
.cta-band .panel h3,
.cta-band .panel h4 {
  color: #ffffff;
}

.section--dark .ticks li,
.cta-band .ticks li,
.hero .ticks li {
  color: rgba(255, 255, 255, 0.92);
}

/* --- Interactive Search & Filter Bar ------------------------------------- */
.search-filter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 1.25rem;
  color: var(--ink-400);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3.25rem;
  background: var(--bone-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--step-0);
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.filter-btn {
  font-size: var(--step--1);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bone-100);
  color: var(--ink-700);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.filter-btn:hover {
  background: var(--bone-200);
  color: var(--ink-900);
}

.filter-btn.active {
  background: var(--forest-800);
  color: #ffffff;
  border-color: var(--forest-800);
}

/* --- Interactive Margin Calculator --------------------------------------- */
.calc-card {
  background: radial-gradient(circle at 10% 20%, #143d2f 0%, #0b1f17 60%, #071510 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: var(--shadow-lg), 0 0 40px -10px rgba(16, 185, 129, 0.2);
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.calc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calc-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 54rem) {
  .calc-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step-0);
  font-weight: 600;
}

.calc-slider-val {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--forest-400);
  font-weight: 700;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest-400);
  cursor: pointer;
  box-shadow: 0 0 12px var(--forest-400);
  transition: transform var(--dur) var(--ease);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.calc-stat-label {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.7);
}

.calc-stat-num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: #ffffff;
}

.calc-stat-num--highlight {
  color: var(--forest-400);
  font-size: var(--step-3);
}

/* --- Comparison Matrix Table --------------------------------------------- */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bone-100);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--ink-950);
}

.comparison-table th.col-highlight {
  background: var(--forest-800);
  color: #ffffff;
}

.comparison-table td.col-highlight {
  background: rgba(16, 185, 129, 0.04);
  font-weight: 600;
  color: var(--forest-900);
}

.table-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest-600);
}

.table-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--danger);
  opacity: 0.8;
}

/* --- FAQ Accordion ------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}

.faq-item[data-open="true"] {
  border-color: var(--forest-400);
  box-shadow: var(--shadow-sm);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink-950);
  background: transparent;
  border: 0;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--bone-100);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(180deg);
  background: var(--forest-500);
  color: #ffffff;
}

.faq-panel {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.65;
  display: none;
}

.faq-item[data-open="true"] .faq-panel {
  display: block;
  animation: fadeIn 200ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Testimonials & Use Cases -------------------------------------------- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-xs);
  position: relative;
}

.testimonial-quote {
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-800);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--forest-700);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.author-meta h3 {
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.author-meta p {
  font-size: var(--step--2);
  color: var(--text-muted);
}

/* --- Steps & Processes --------------------------------------------------- */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step-counter;
}

.steps--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .steps--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 66rem) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  counter-increment: step-counter;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.section--dark .step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--forest-500);
  margin-bottom: 1rem;
  display: block;
}

.step h3 {
  font-size: var(--step-0);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* --- Lists & Ticks ------------------------------------------------------- */
.ticks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--step-0);
  line-height: 1.5;
}

.ticks svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--forest-500);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: var(--step--2);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--forest-50);
  color: var(--forest-700);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* --- CTA Band ------------------------------------------------------------ */
.cta-band {
  position: relative;
  background: radial-gradient(circle at 20% 30%, #143d2f 0%, #0b1f17 50%, #071510 100%);
  color: #ffffff;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  overflow: hidden;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.cta-band__inner {
  position: relative;
  z-index: 10;
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}

@media (min-width: 54rem) {
  .cta-band__inner {
    grid-template-columns: 1.35fr 1fr;
  }
}

.cta-band h2 {
  color: #ffffff;
  font-size: var(--step-3);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--step-1);
}

/* --- Floating Quick Help Widget ------------------------------------------ */
.quick-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 280;
}

.quick-widget__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--forest-800);
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease);
}

.quick-widget__btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--forest-700);
}

.quick-widget__popover {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeIn 180ms ease;
}

.quick-widget[data-open="true"] .quick-widget__popover {
  display: flex;
}

.quick-widget__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bone-50);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.quick-widget__link:hover {
  background: var(--forest-50);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--forest-800);
}

/* --- Forms --------------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid,
.field-row {
  display: grid;
  gap: 1.25rem;
}

.form-grid--2,
.field-row--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 38rem) {
  .form-grid--2,
  .field-row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-900);
}

.field__req {
  color: var(--danger);
  margin-left: 0.2rem;
}

.field__hint {
  font-size: var(--step--2);
  color: var(--text-muted);
}

.field__error {
  font-size: var(--step--2);
  color: var(--danger);
  font-weight: 500;
  display: none;
}

.field__error[data-visible="true"] {
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

/* Checkgroup & Fieldset */
.checkgroup {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bone-50);
  margin: 0;
}

.checkgroup legend {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink-900);
  padding: 0 0.5rem;
}

.checkgroup__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}
@media (min-width: 32rem) {
  .checkgroup__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--step--1);
  color: var(--ink-800);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-xs);
  transition: background var(--dur) var(--ease);
}

.check:hover {
  background: var(--bone-100);
}

.check input {
  accent-color: var(--forest-600);
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--step--2);
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--forest-600);
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  cursor: pointer;
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

/* Form Status */
.form__status {
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  line-height: 1.5;
  display: none;
}

.form__status[data-state="error"] {
  display: block;
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 1rem 1.25rem;
}

.form__status[data-state="info"] {
  display: block;
  background: var(--forest-50);
  color: var(--forest-800);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1rem 1.25rem;
}

.spinner {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Definition List ----------------------------------------------------- */
.deflist {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 44rem) {
  .deflist {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deflist dt {
  font-size: var(--step--2);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.deflist dd {
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--ink-900);
}

/* --- Contact Tiles ------------------------------------------------------- */
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.contact-tile .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-tile h3 {
  font-size: var(--step-0);
  margin-bottom: 0.25rem;
}

/* --- Footer -------------------------------------------------------------- */
.footer {
  background: var(--forest-950);
  color: #ffffff;
  padding-block: clamp(4rem, 3rem + 4vw, 6rem) 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo {
  color: #ffffff;
}

.footer__blurb {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--step--1);
  max-width: 36ch;
}

.footer__top {
  display: grid;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 52rem) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__group h2 {
  font-family: var(--font-display);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest-400);
  margin-bottom: 1.25rem;
}

.footer__group ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__group a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__group a:hover {
  color: #ffffff;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 52rem) {
  .footer__legal {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__reg {
  max-width: 70ch;
}

/* --- Reveal on Scroll Animation ------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .status-dot {
    animation: none !important;
  }
}

/* --- Prose & Notices (Legal Pages) -------------------------------------- */
.prose {
  max-width: 68ch;
  line-height: 1.7;
  color: var(--ink-800);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: var(--step-2);
  color: var(--ink-950);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.5rem;
}

.notice {
  background: var(--ember-50);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid var(--ember-500);
  border-radius: var(--radius-xs);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: var(--step--1);
  color: var(--ink-900);
}

/* --- World-Class Spotlight & Specular Effects --------------------------- */
[data-spotlight] {
  position: relative;
  overflow: hidden;
}

[data-spotlight]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.12),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

[data-spotlight]:hover::before {
  opacity: 1;
}

.section--dark [data-spotlight]::before,
.calc-card[data-spotlight]::before,
.sku-drawer-sheet[data-spotlight]::before {
  background: radial-gradient(
    550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.2),
    transparent 65%
  );
}

/* Card Top Bar & Quick Spec Trigger */
.card__top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card__top-bar .card__icon {
  margin-bottom: 0;
}

.card__quick-spec-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest-800);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  z-index: 2;
}

.card__quick-spec-btn:hover {
  background: var(--forest-500);
  color: #ffffff;
  border-color: var(--forest-500);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translateY(-1px);
}

.badge--glow {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest-300);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 14px -2px rgba(16, 185, 129, 0.35);
}

/* --- Pallet & Logistics Footprint Meter --------------------------------- */
.pallet-meter-box {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.pallet-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.pallet-meter-tier {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest-300);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pallet-meter-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.pallet-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 70%, #fbbf24 100%);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.pallet-meter-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

/* --- Interactive SKU Specification Modal Drawer ------------------------ */
.sku-drawer-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.sku-drawer-modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.sku-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.sku-drawer-sheet {
  position: relative;
  width: 100%;
  max-width: 38rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #0b1f17;
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.15);
  padding: clamp(1.5rem, 1.25rem + 2vw, 2.5rem);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-spring);
  z-index: 10;
}

.sku-drawer-modal[data-open="true"] .sku-drawer-sheet {
  transform: translateY(0) scale(1);
}

.sku-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}

.sku-drawer-title {
  color: #ffffff;
  font-size: var(--step-2);
  margin-top: 0.35rem;
}

.sku-drawer-close {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.sku-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.sku-drawer-intro {
  font-size: var(--step--1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.sku-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sku-spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.sku-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.sku-spec-val {
  font-size: var(--step--1);
  font-weight: 600;
  color: #ffffff;
}

.sku-drawer-lines-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.sku-drawer-lines-list li {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sku-drawer-lines-list li::before {
  content: '✓';
  color: var(--forest-400);
  font-weight: bold;
}

.sku-drawer-note {
  font-size: 0.82rem;
  color: var(--ember-400);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid var(--ember-500);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.sku-drawer-foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Mobile Floating Quick Action Dock ---------------------------------- */
.mobile-action-dock {
  display: none;
}

@media (max-width: 48rem) {
  .mobile-action-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 280;
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 1rem env(safe-area-inset-bottom, 0.65rem);
    background: rgba(4, 13, 10, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  }

  body {
    padding-bottom: 4.25rem;
  }

  .mobile-action-dock__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
  }

  .mobile-action-dock__btn--apply {
    background: var(--forest-500);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--accent-glow);
  }

  .mobile-action-dock__btn--call {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Reposition quick help widget on mobile so it doesn't overlap dock */
  .quick-widget {
    bottom: 4.75rem !important;
  }
}

/* --- Mobile Responsive & Horizontal Overflow Safeguards ------------------ */
@media (max-width: 48rem) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  main, section, header, footer, .container, .hero, .page-head, .cta-band, .section {
    max-width: 100% !important;
    overflow-x: clip;
    box-sizing: border-box;
  }

  .container {
    padding-inline: 1rem !important;
  }

  .split {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .hero__inner,
  .cta-band__inner,
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .hero__facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .calc-card {
    padding: 1.25rem 1rem !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .calc-results-box {
    padding: 1rem !important;
  }

  .panel {
    padding: 1.25rem 1rem !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .card {
    padding: 1.25rem 1rem !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  .trust-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header__inner {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .backdrop-glow-orb {
    display: none !important;
  }

  .backdrop-svg-grid {
    opacity: 0.25;
  }

  .comparison-table-wrap {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .search-filter-box {
    padding: 1rem !important;
  }

  .filter-tags {
    gap: 0.35rem;
  }

  .filter-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 26rem) {
  .hero__facts {
    grid-template-columns: 1fr;
  }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .header,
  .drawer,
  .quick-widget,
  .cta-band,
  .btn,
  .mobile-action-dock {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}
