/* ==========================================================================
   ChannelGrowth — Layout & Components
   ========================================================================== */

/* --------------------------------------------------------- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

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

/* ------------------------------------------------------------ Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--site-header);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--site-border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__logo {
  height: 27px;
  width: auto;
  flex-shrink: 0;
}

.brand__divider {
  width: 1px;
  height: 26px;
  background: var(--site-border);
  flex-shrink: 0;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--site-ink);
}

.brand__title em {
  font-style: normal;
  color: var(--brand-orange);
}

.brand__tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--site-faint);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--site-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover {
  color: var(--site-ink);
  background: var(--site-panel);
}

.nav__link[aria-current="page"] {
  color: var(--site-ink);
  font-weight: 650;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .site-header__inner {
    gap: 0.75rem;
    min-height: 66px;
  }
  .brand__tag {
    display: none;
  }
}

@media (max-width: 620px) {
  /* The mobile drawer carries this CTA, so the header can drop it and fit */
  .header__actions .btn--primary {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand__divider {
    display: none;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand__logo {
    height: 23px;
  }
}

.header__signin {
  display: none;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--site-muted);
  padding: 0.5rem 0.5rem;
}

.header__signin:hover {
  color: var(--brand-orange);
}

@media (min-width: 640px) {
  .header__signin {
    display: inline-block;
  }
}

/* ------------------------------------------------------- Mobile menu ---- */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--site-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--site-ink);
  cursor: pointer;
}

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

.menu-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}

.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--site-border-soft);
  background: var(--site-page);
}

.mobile-nav[data-open="true"] {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-nav[data-open="true"] {
    display: none;
  }
}

.mobile-nav__inner {
  padding: 1rem 0 1.75rem;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav__link {
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--site-ink);
  border-bottom: 1px solid var(--site-border-soft);
}

.mobile-nav__cta {
  margin-top: 1rem;
}

/* ---------------------------------------------------------- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s var(--ease), background-color 0.15s ease,
    color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--brand-orange-hover);
}

.btn--secondary {
  background: var(--site-ink);
  color: var(--site-on-dark);
}

.btn--secondary:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--site-ink);
  border-color: var(--site-border);
}

.btn--ghost:hover {
  border-color: var(--site-ink);
  background: var(--site-panel);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--site-on-dark);
  border-color: rgba(255, 253, 248, 0.28);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

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

/* ------------------------------------------------------- Text utils ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.eyebrow--plain::before {
  display: none;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--site-muted);
}

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

.small {
  font-size: 0.875rem;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.accent {
  color: var(--brand-orange);
}

.teal {
  color: var(--brand-teal);
}

/* --------------------------------------------------------- Sections ---- */
.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
}

.section--panel {
  background: var(--site-surface);
  border-block: 1px solid var(--site-border-soft);
}

.section--panel-top {
  background: var(--site-surface);
  border-top: 1px solid var(--site-border-soft);
}

.section--dark {
  background: var(--site-ink);
  color: var(--site-on-dark-muted);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--site-on-dark);
}

.section--dark .lead,
.section--dark .muted {
  color: var(--site-on-dark-muted);
}

.section--grid {
  background-image: linear-gradient(var(--site-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section--dark.section--grid {
  background-image: linear-gradient(rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.05) 1px, transparent 1px);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

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

.section__head h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
  margin: 0.9rem 0 1rem;
}

/* ----------------------------------------------------------- Grids ---- */
.grid {
  display: grid;
  gap: 1.25rem;
}

/* Prevent long unbroken tokens (URLs, SKUs, system names) from forcing a
   grid track wider than its share and squeezing neighbouring columns. */
.grid > *,
.split > *,
.hero__inner > *,
.steps > *,
.outcomes > * {
  min-width: 0;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.grid--top { align-items: start; }

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

.grid--gap-lg { gap: 1.75rem; }

/* ----------------------------------------------------------- Cards ---- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.6rem;
  background: var(--site-elevated);
  border: 1px solid var(--site-border-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.card--hover:hover {
  border-color: var(--brand-orange-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card--panel {
  background: var(--site-surface);
}

.card--flat {
  background: transparent;
  border: 1px solid var(--site-border);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  flex-shrink: 0;
}

.card__icon--teal {
  background: var(--brand-teal-soft);
  color: var(--brand-teal);
}

.card__icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 0.9375rem;
  color: var(--site-muted);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--site-faint);
  letter-spacing: 0.02em;
}

.card__list {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.card__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--site-muted);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.card__list--teal li::before {
  background: var(--brand-teal);
}

/* --------------------------------------------------------- Hero ------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(2.25rem, 1.8rem + 2.5vw, 3.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--site-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 78%);
  pointer-events: none;
}

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

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  border: 1px solid var(--site-border);
  border-radius: var(--radius-pill);
  background: var(--site-elevated);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--site-muted);
  box-shadow: var(--shadow-sm);
}

.hero__badge b {
  color: var(--site-ink);
  font-weight: 700;
}

.hero__badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 1.35rem 0 1.35rem;
}

.hero h1 .u {
  background: linear-gradient(transparent 62%, var(--brand-orange-soft) 62%);
  padding-inline: 0.08em;
}

.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.58;
  color: var(--site-muted);
  max-width: 38rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--site-border-soft);
}

.hero__proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--site-muted);
}

.hero__proof-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* --------------------------------------------------- Outcome strip ---- */
.outcomes {
  display: grid;
  gap: 1px;
  background: var(--site-border-soft);
  border: 1px solid var(--site-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .outcomes { grid-template-columns: repeat(4, 1fr); }
}

.outcome {
  background: var(--site-page);
  padding: 1.6rem 1.5rem;
}

.outcome__k {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 0.65rem;
}

.outcome h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}

.outcome p {
  font-size: 0.875rem;
}

/* ---------------------------------------------------- Worker cards ---- */
.worker {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.4rem;
  background: var(--site-elevated);
  border: 1px solid var(--site-border-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.worker:hover {
  border-color: var(--brand-orange-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

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

.worker__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--site-ink);
  color: var(--site-on-dark);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.worker--teal .worker__avatar {
  background: var(--brand-teal);
}

.worker__name {
  font-size: 1.125rem;
  font-weight: 750;
  color: var(--site-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.worker__role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.worker--teal .worker__role {
  color: var(--brand-teal);
}

.worker__desc {
  font-size: 0.9375rem;
}

.worker__does {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--site-border-soft);
}

.worker__does li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  color: var(--site-muted);
}

.worker__does li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.worker--teal .worker__does li::before {
  background: var(--brand-teal);
}

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

@media (min-width: 900px) {
  .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 2px solid var(--site-border-soft);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.85rem;
  left: 0;
  padding-right: 0.5rem;
  background: var(--site-page);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.section--panel .step::before {
  background: var(--site-surface);
}

.section--dark .step {
  border-top-color: rgba(255, 253, 248, 0.18);
}

.section--dark .step::before {
  background: var(--site-ink);
}

.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.875rem;
}

/* ------------------------------------------------------ Stack chain --- */
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.chain__item {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--site-border);
  border-radius: var(--radius-sm);
  background: var(--site-elevated);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--site-ink);
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.chain__link {
  color: var(--site-faint);
  font-size: 0.875rem;
  line-height: 1;
}

.section--dark .chain__item {
  background: rgba(255, 253, 248, 0.06);
  border-color: rgba(255, 253, 248, 0.16);
  color: var(--site-on-dark);
}

.section--dark .chain__link {
  color: rgba(255, 253, 248, 0.4);
}

/* ------------------------------------------------------ Arch layers --- */
.arch {
  display: grid;
  gap: 0.85rem;
}

.arch__layer {
  display: grid;
  gap: 0.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--site-border);
  background: var(--site-elevated);
}

.arch__layer--top {
  border-color: var(--site-ink);
  background: var(--site-ink);
  color: var(--site-on-dark);
}

.arch__layer--top h3 { color: var(--site-on-dark); }
.arch__layer--top p { color: var(--site-on-dark-muted); }

.arch__layer--mid {
  border-color: var(--brand-orange-line);
  background: var(--brand-orange-soft);
}

.arch__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-faint);
}

.arch__layer--top .arch__label { color: var(--brand-amber); }
.arch__layer--mid .arch__label { color: var(--brand-orange); }

.arch__layer h3 {
  font-size: 1.0625rem;
}

.arch__layer p {
  font-size: 0.875rem;
}

.arch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.arch__chip {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--site-panel);
  border: 1px solid var(--site-border-soft);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--site-ink);
}

.arch__layer--top .arch__chip {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.16);
  color: var(--site-on-dark);
}

/* ---------------------------------------------------------- Tables --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--site-border-soft);
  border-radius: var(--radius-lg);
  background: var(--site-elevated);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.data th,
table.data td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--site-border-soft);
  vertical-align: top;
}

table.data thead th {
  background: var(--site-surface);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-ink);
  white-space: nowrap;
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

table.data td strong {
  color: var(--site-ink);
  font-weight: 650;
}

/* ------------------------------------------------------------ FAQ ---- */
.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 52rem;
}

.faq details {
  border: 1px solid var(--site-border-soft);
  border-radius: var(--radius);
  background: var(--site-elevated);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 650;
  font-size: 1rem;
  color: var(--site-ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand-orange);
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--site-muted);
  max-width: 46rem;
}

/* --------------------------------------------------------- CTA band --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--site-ink);
  color: var(--site-on-dark-muted);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 1.8rem + 3vw, 4rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }
}

.cta-band h2 {
  color: var(--site-on-dark);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  margin: 0.85rem 0 1rem;
}

.cta-band p {
  max-width: 36rem;
  color: var(--site-on-dark-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --------------------------------------------------------- Footer ---- */
.site-footer {
  background: var(--site-surface);
  border-top: 1px solid var(--site-border-soft);
  padding-top: clamp(3rem, 2.5rem + 3vw, 4.5rem);
  margin-top: 0;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  }
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  max-width: 24rem;
}

.footer__contact {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.footer__contact a {
  color: var(--site-muted);
}

.footer__contact a:hover {
  color: var(--brand-orange);
}

.footer__col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--site-faint);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: grid;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--site-muted);
}

.footer__col a:hover {
  color: var(--brand-orange);
}

.footer__bottom {
  border-top: 1px solid var(--site-border-soft);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--site-faint);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__legal a:hover {
  color: var(--brand-orange);
}

/* --------------------------------------------------------- Forms ---- */
.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--site-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--site-ink);
  background: var(--site-elevated);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-soft);
}

.field__hint {
  font-size: 0.75rem;
  color: var(--site-faint);
}

/* Checkbox group — usable on touch, unlike a multi-select */
.checks {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.checks legend {
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--site-ink);
}

.checks .field__hint {
  margin: 0.15rem 0 0.55rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9125rem;
  font-weight: 500;
  color: var(--site-muted);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.check:hover {
  background: var(--site-panel);
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.check:has(input:checked) {
  background: var(--brand-orange-soft);
  color: var(--site-ink);
  font-weight: 600;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--site-faint);
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 550;
}

.form-status[data-state="success"] {
  display: block;
  background: var(--brand-teal-soft);
  border: 1px solid rgba(0, 148, 137, 0.3);
  color: #00635c;
}

.form-status[data-state="error"] {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #a01a1a;
}

/* Honeypot: hidden from people, visible to naive bots. Not display:none,
   because some bots skip display:none fields. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ----------------------------------------------------- Page header --- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2.4rem + 4vw, 5.5rem) clamp(2rem, 1.6rem + 2.5vw, 3.25rem);
  border-bottom: 1px solid var(--site-border-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--site-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000 10%, transparent 75%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: 52rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  margin: 1rem 0 1.25rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--site-faint);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--brand-orange);
}

/* ------------------------------------------------------- Split layout */
.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

@media (min-width: 960px) {
  .split--60-40 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .split--65-35 { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--40-60 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
}

.split__sticky {
  position: static;
}

@media (min-width: 960px) {
  .split__sticky {
    position: sticky;
    top: 100px;
  }
}

/* --------------------------------------------------------- Callouts -- */
.callout {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-orange-line);
  background: var(--brand-orange-soft);
}

.callout--teal {
  border-color: rgba(0, 148, 137, 0.3);
  background: var(--brand-teal-soft);
}

.callout--ink {
  border-color: var(--site-ink);
  background: var(--site-ink);
}

.callout--ink h3,
.callout--ink h4 { color: var(--site-on-dark); }
.callout--ink p,
.callout--ink li { color: var(--site-on-dark-muted); }

.callout h3,
.callout h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.callout p,
.callout li {
  font-size: 0.9125rem;
}

.callout__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 0.6rem;
}

.callout--teal .callout__label { color: var(--brand-teal); }
.callout--ink .callout__label { color: var(--brand-amber); }

/* ------------------------------------------------------- Stat blocks */
.stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat__num {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--site-ink);
  line-height: 1;
}

.section--dark .stat__num { color: var(--brand-amber); }

.stat__label {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  font-weight: 550;
}

.stat__src {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--site-faint);
}

/* ------------------------------------------------------- Reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animation-free capture mode. Enabled only by the screenshot verification
   harness so full-page captures are never taken mid-reveal. Never applied in
   normal browsing. */
html.capture-mode .reveal,
html.capture-mode .reveal[data-delay] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------- Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stack-sm > * + * { margin-top: 0.75rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.75rem; }

.center { text-align: center; }

/* Comfortable line length for long prose in wide columns */
.measure { max-width: 42rem; }
.measure-sm { max-width: 34rem; }

.divider {
  height: 1px;
  background: var(--site-border-soft);
  border: 0;
  margin: 0;
}

/* Keep compound hyphenated terms intact in headlines */
.nowrap { white-space: nowrap; }
