/* =====================================================
   Design tokens
   ===================================================== */
:root {
  /* Colors */
  --gray-100: #fcf9f2;
  --gray-200: #f2ede3;
  --gray-300: #d5cfc4;
  --gray-400: #c4bfb4;
  --gray-500: #83817c;
  --gray-600: #2c2e30;
  --gray-700: #222426;
  --gray-800: #1b1d20;
  --gray-900: #101214;
  --accent-700: #c89c49;
  --accent-800: #9a7031;
  --secondary-700: #6f788a;

  /* Decorative chip colors */
  --chip-orange: #8e391a;
  --chip-purple: #443c6c;
  --chip-purple-edge: #29224c;
  --chip-green: #396953;
  --chip-green-edge: #21513b;

  /* Type families */
  --ff-display: "Newsreader", Georgia, serif;
  --ff-body: "Poppins", system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale (mobile-first defaults; overridden up the breakpoints) */
  --fs-hero-title: 40px;
  --fs-hero-sub: 16px;
  --fs-h2: 24px;
  --fs-h3: 26px;
  --fs-cta: 40px;
  --fs-card-title: 20px;
  --fs-card-text: 13px;
  --fs-body-lg: 14px;
  --fs-body: 15px;
  --fs-body-sm: 14px;
  --fs-eyebrow: 11px;

  /* Layout — gutter matches design's section padding per breakpoint */
  --gutter: 16px;
  --section-py: 32px;
  --section-gap: 24px;
  --section-header-gap: 8px;

  /* Cards */
  --card-pad: 20px;
  --card-gap: 8px;
  --card-body-gap: 4px;
  --card-text-lh: 1.5;

  /* Hero */
  --hero-h: 560px;
  --hero-py: 40px;
  --hero-main-maxw: 460px;
  --hero-main-gap: 12px;

  /* Bring your own */
  --bring-photo-w: 300px;

  /* Disciplines list */
  --disc-pad: 12px;
  --disc-col-gap: 8px;
  --disc-num-col: auto;
  --disc-name-col: 1fr;
  --disc-text-lh: 1.5;
  --fs-disc-num: 20px;
  --fs-disc-name: 20px;
  --fs-disc-text: 14px;

  /* Security cards */
  --sec-pad: 12px;
  --sec-gap: 12px;
  --sec-cols: 1;
  --fs-sec-title: 20px;
  --sec-icon-pad: 4px;
  --sec-icon-size: 20px;

  /* Pricing tiers */
  --tiers-cols: 1;
  --tier-px: 20px;
  --tier-py: 20px;
  --tier-gap: 8px;
  --fs-tier-title: 24px;
  --fs-tier-desc: 12px;
  --fs-tier-feat: 12px;

  /* CTA */
  --cta-py: 48px;
  --cta-gap: 24px;
  --cta-content-maxw: 540px;

  /* Footer */
  --footer-py: 24px;

  /* Designed With */
  --designed-py-top: 100px;
  --designed-py-bot: 60px;
  --designed-content-gap: 32px;
  --designed-title-gap: 10px;
  /* Extra clearance applied only to the body so the analyst chip + arrow
     hanging below the title column don't overlap the description. Reset
     to 0 once the layout switches to row direction at 1024+. */
  --designed-body-mt: 32px;
  --fs-designed-title: 24px;
  --fs-designed-body: 16px;
  --designed-underline-w: 79px;
  --designed-underline-bottom: -16px;
  --designed-analyst-offset: 12px;
  --designed-analyst-bottom: -52px;
  /* Mobile: line grows right, chip moves right with the right end */
  --designed-analyst-move: var(--designed-underline-w);
  --designed-client-mt: 24px;
  --designed-client-mr: 12px;

  /* How it works — desktop sticky-scroll values default to 0; set at 768+ */
  --how-gap: 0px;
  --how-wheel-w: 0px;
  --how-row-h: 0px;
  --how-step-fs: 14px;
  --how-step-lh: 1.5;

  /* Buttons */
  --btn-px: 10px;
  --btn-py: 6px;
  --btn-fs: 12px;
  --btn-gap: 8px;
  --btn-icon: 18px;

  /* Radius */
  --r-sm: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--gray-100);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

em {
  color: var(--accent-700);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
}

/* Lucide sets svg sizes via attributes. Default sizing safety: */
svg {
  display: block;
}

/* =====================================================
   Layout helpers
   ===================================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
}

.section--cream {
  background: var(--gray-100);
}

.section--sand {
  background: var(--gray-200);
}

.section--dark {
  background: var(--gray-900);
  color: var(--gray-200);
}

.section__inner,
.section__header {
  display: flex;
  flex-direction: column;
}

.section__inner {
  gap: var(--section-gap);
}

.section__header {
  gap: var(--section-header-gap);
  max-width: 860px;
}

.section__header--narrow {
  max-width: 640px;
}

.section__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  text-wrap: balance;
}

.section__title--light {
  color: var(--gray-200);
}

.section__lede {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--gray-800);
}

.section__lede--muted {
  color: var(--gray-400);
}

/* =====================================================
   Typography utilities
   ===================================================== */
.eyebrow {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  color: var(--secondary-700);
  text-transform: uppercase;
}

.eyebrow--muted {
  color: var(--gray-400);
}

.link-accent {
  color: var(--accent-800);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--btn-gap);
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-sm);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--btn-fs);
  line-height: 20px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.btn i[data-lucide],
.btn svg {
  width: var(--btn-icon);
  height: var(--btn-icon);
}

.btn--light {
  background: var(--gray-200);
  color: var(--gray-900);
}

.btn--light:hover {
  background: var(--gray-300);
}

.btn--dark {
  background: var(--gray-800);
  color: var(--gray-100);
}

.btn--dark:hover {
  background: var(--gray-700);
}

/* =====================================================
   Header — fixed, theme-aware
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--gray-200);
  /* Entrance: starts shifted up 50% of its own height + faded, then slides
     down into place once the hero image has loaded (body.is-ready). */
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity 600ms 850ms ease-out,
    transform 600ms 850ms ease-out,
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
  border-bottom: 1px solid transparent;
}

.is-ready .header {
  opacity: 1;
  transform: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  transition: color 240ms ease;
}

.logo__svg {
  display: block;
  height: 28px;
  width: auto;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: currentColor;
}

.nav a {
  position: relative;
  opacity: 0.92;
  transition: opacity 160ms ease, color 240ms ease;
}

/* Underline — invisible by default (scaleX 0 from center), expands on hover.
   Color matches the current text color (currentColor) so it follows the
   header's theme inversion. */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease, background-color 240ms ease;
}

.nav a:hover {
  opacity: 1;
  /* Pure white on dark theme, pure black on light theme (set per theme below). */
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header.is-on-light .nav a:hover {
  color: #000;
}

.header__cta {
  display: inline-flex;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

/* Scrolled — translucent themed background */
.header.is-scrolled {
  background: rgba(16, 18, 20, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Inverted — header is sitting over a light section */
.header.is-on-light {
  color: var(--gray-900);
}

.header.is-on-light.is-scrolled {
  background: rgba(252, 249, 242, 0.82);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* CTA inverts to a dark pill when over a light section */
.header.is-on-light .header__cta {
  background: var(--gray-900);
  color: var(--gray-100);
}

.header.is-on-light .header__cta:hover {
  background: var(--gray-700);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  max-height: var(--hero-h);
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  background: var(--gray-900);
  color: var(--gray-200);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(84deg, rgba(16, 18, 20, 0.8) 3%, rgba(16, 18, 20, 0) 68%),
    url("./hero.jpg") right / cover no-repeat,
    var(--gray-900);
  z-index: 0;
  opacity: 0;
  transform: scale(1.2);
  transform-origin: center;
  transition:
    opacity 1200ms ease-out,
    transform 1200ms ease-out;
}

.is-ready .hero::before {
  opacity: 1;
  transform: scale(1);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--hero-py);
  padding-bottom: var(--hero-py);
}

.hero__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-main-gap);
  max-width: var(--hero-main-maxw);
  width: 100%;
}

.hero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-hero-title);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--gray-200);
  text-wrap: balance;
}

.hero__sub {
  font-size: var(--fs-hero-sub);
  line-height: 1.45;
  color: var(--gray-200);
  width: 100%;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Entrance — title / sub / buttons fade in & slide up after the hero image
   has loaded (body.is-ready). Staggered delays: title → 200 ms, sub → 400 ms,
   buttons → 600 ms. */
.hero__title,
.hero__sub,
.hero__buttons {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

.hero__title {
  transition-delay: 250ms;
}

.hero__sub {
  transition-delay: 500ms;
}

.hero__buttons {
  transition-delay: 750ms;
}

.is-ready .hero__title,
.is-ready .hero__sub,
.is-ready .hero__buttons {
  opacity: 1;
  transform: none;
}

/* =====================================================
   Designed With
   --------------------------------------------------------
   Mobile: title above, description below, single column.
   Desktop (1024+): title left (right-aligned), description right.
   Three looped illustrative animations:
     • Analyst — line "draws" under the title and unwinds back
     • Reviewer — text caret + selection sweeps over "accounting firms"
     • Client — cursor (with spreadsheet) swings as if dragging a file
   ===================================================== */
.designed {
  background: var(--gray-200);
  padding: var(--designed-py-top) 0 var(--designed-py-bot);
  position: relative;
}

/* Second horizontal stroke creating the "avatars band" at the top.
   Draws left-to-right (scaleX) during the entry sequence; exit is fade-only
   (the scaleX snap is delayed until after the fade so it's invisible). */
.designed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  height: 1px;
  background: var(--gray-300);
  pointer-events: none;
  opacity: 0;
  transform-origin: left;
  transition: opacity 400ms ease-out;
}

.designed__inner {
  position: relative;
}

/* Avatars sit absolutely in the band defined by the two strokes.
   Inset by --gutter so the right edge lines up with every other section's
   content column (which lives inside the same gutter). */
.designed__avatars {
  position: absolute;
  top: calc(-1 * var(--designed-py-top) + 16px);
  right: var(--gutter);
  display: flex;
  z-index: 2;
}

.designed__avatar {
  width: 36px;
  height: 36px;
  margin-left: -9px;
  display: block;
  /* Exit fades opacity only. The scale-snap is delayed until after the
     fade so the user never sees the avatar shrink. */
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.designed__avatar:first-child {
  margin-left: 0;
}

.designed__content {
  display: flex;
  flex-direction: column;
  gap: var(--designed-content-gap);
  position: relative;
}

/* Title column */
.designed__title-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--designed-title-gap);
  position: relative;
  /* Entry: fade in & slide up. Exit: fade out only — transform snaps back
     to the hidden state after the opacity fade has completed (400 ms delay
     with 0 s duration = invisible snap once opacity is already 0). */
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.designed__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-designed-title);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--gray-900);
}

/* Underline as a plain element so we can animate its width directly.
   Anchored LEFT below 1024 (grows right) and RIGHT at 1024+ (grows left).
   Chip translateX is synchronised to the moving end. */
.designed__underline {
  display: block;
  position: absolute;
  left: 0;
  bottom: var(--designed-underline-bottom);
  width: var(--designed-underline-w);
  height: 2px;
  background: var(--gray-900);
  transform-origin: left;
  /* Scroll-driven: scaleX goes from 0 to 1 as the section moves from the
     bottom of the viewport up to the header bottom (--p drives it). */
  scale: var(--p, 0) 1;
  pointer-events: none;
  will-change: scale;
}

.designed__body {
  font-size: var(--fs-designed-body);
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin-top: var(--designed-body-mt, 0);
  /* Same fade-out-only pattern as the title. */
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
  color: var(--gray-900);
  position: relative;
}

/* "accounting firms" — selection grows letter-by-letter (each letter span
   gets the .is-selected class via JS). Letter widths drive the steps; the
   chip + its 2 px caret follow the right edge of the growing selection. */
.designed__highlight {
  position: relative;
}

.designed__letter {
  display: inline;
}

.designed__letter.is-selected {
  background: rgba(142, 57, 26, 0.22);
}

/* Reviewer chip carries a 2 px vertical caret as its stem, pinned to the
   right edge of the chip. JS writes --caret-x (the right edge of the last
   selected letter, in px) onto the highlight; the chip translates so its
   right edge / caret lines up with that x. */

/* Chip labels — small annotation tags. All three are hidden by default and
   fade in alongside their group during the entry sequence. */
.designed__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  border-radius: var(--r-sm);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms ease-out;
}

.designed__chip--analyst {
  background: var(--chip-purple);
  border: 1px solid var(--chip-purple-edge);
  position: absolute;
  left: 0;
  bottom: var(--designed-analyst-bottom);
  margin-left: var(--designed-analyst-offset);
  /* Scroll-driven: chip tracks the moving end of the underline via --p. */
  transform: translateX(calc(var(--designed-analyst-move, 0px) * var(--p, 0)));
  will-change: transform;
}

/* Reviewer chip sits above its host highlight, with a 2 px caret line
   hanging from its right edge. Both chip and caret translate to the right
   edge of the current selection via --caret-x (set by JS). */
.designed__chip--reviewer {
  background: var(--chip-orange);
  border-radius: var(--r-sm) var(--r-sm) 0 var(--r-sm);
  position: absolute;
  left: 0;
  bottom: calc(100% + 2px);
  transform: translateX(calc(var(--caret-x, 0px) - 100% + 1px));
  transition: transform 0s, opacity 400ms ease-out;
  white-space: nowrap;
}

/* The 2 px caret — chip's stem dropping down to the selection. */
.designed__chip--reviewer::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  width: 3px;
  height: calc(var(--fs-designed-body) * 1.5);
  background: var(--chip-orange);
}

.designed__chip--client {
  background: var(--chip-green);
  border: 1px solid var(--chip-green-edge);
  align-self: flex-end;
  position: relative;
  margin-top: var(--designed-client-mt);
  margin-right: var(--designed-client-mr);
  /* Scroll-driven, one-direction: the document drags up & to the left as
     the user scrolls into the section, landing at its drop position by p=1. */
  transform: translate(calc(var(--p, 0) * -80px),
      calc(var(--p, 0) * -25px));
  will-change: transform;
}

/* Pins — arrow ornaments attached to chips */
.designed__pin {
  position: absolute;
  pointer-events: none;
}

/* Analyst arrow — sits on the right side of the chip, tip rotated upward
   so it points toward the moving end of the underline. */
.designed__pin--analyst {
  width: 20px;
  height: 20px;
  top: -16px;
  left: -16px;
  scale: -1 1;
}

/* Client arrow — cursor with spreadsheet. No rotation — moves only with
   the chip (animation lives on .designed__chip--client itself). */
.designed__pin--client {
  width: 44px;
  height: 46px;
  top: -41px;
  left: -39px;
}

/* =====================================================
   Designed With — entry choreography (when .is-in is on the section).
   Avatars pop in one-by-one, each at the rightmost slot, pushing the
   previous ones left. The line under avatars then draws left-to-right.
   Title (with analyst chip + underline) fades & slides up next, then
   description (with reviewer chip), then client. Removing .is-in falls
   back to the base transitions above (no delays) so everything fades
   out together; JS makes sure exit completes before re-entry.
   ===================================================== */

/* Line under avatars draws after the avatars finish popping. Opacity flips
   on instantly when the draw starts (the scaleX is the visible motion). */
.designed.is-in::after {
  opacity: 1;
  transition: opacity 400ms 900ms;
}

/* Per-avatar keyframes: pop at slot 3, then slide one slot left each
   time a new avatar pops behind it. Slot offset = 36 - 9 = 27 px. */
.designed.is-in .designed__avatar {
  /* Opacity flips on instantly so the keyframe pop is the only visible
     entry motion; transform is driven by the @keyframes animation. */
  opacity: 1;
  transition: none;
}

.designed.is-in .designed__avatar:nth-child(1) {
  animation: designed-avatar-1 1200ms cubic-bezier(0.34, 1.5, 0.64, 1) forwards;
}

.designed.is-in .designed__avatar:nth-child(2) {
  animation: designed-avatar-2 1200ms cubic-bezier(0.34, 1.5, 0.64, 1) forwards;
}

.designed.is-in .designed__avatar:nth-child(3) {
  animation: designed-avatar-3 1200ms cubic-bezier(0.34, 1.5, 0.64, 1) forwards;
}

@keyframes designed-avatar-1 {
  0% {
    transform: translateX(54px) scale(0);
  }

  25% {
    transform: translateX(54px) scale(1);
  }

  35% {
    transform: translateX(54px) scale(1);
  }

  50% {
    transform: translateX(27px) scale(1);
  }

  65% {
    transform: translateX(27px) scale(1);
  }

  80% {
    transform: translateX(0) scale(1);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes designed-avatar-2 {

  0%,
  33% {
    transform: translateX(27px) scale(0);
  }

  58% {
    transform: translateX(27px) scale(1);
  }

  65% {
    transform: translateX(27px) scale(1);
  }

  80% {
    transform: translateX(0) scale(1);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes designed-avatar-3 {

  0%,
  65% {
    transform: translateX(0) scale(0);
  }

  90% {
    transform: translateX(0) scale(1);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

/* Title group: title slides up + analyst chip + underline fade in.
   Starts shortly after the first avatar pops in — overlaps with the
   avatar sequence rather than waiting for it. */
.designed.is-in .designed__title-col {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease-out 200ms,
    transform 700ms ease-out 200ms;
}

.designed.is-in .designed__chip--analyst {
  opacity: 1;
  transition: opacity 500ms ease-out 200ms;
}

/* Body group: description slides up + reviewer chip fades in
   (small delay after the title group). */
.designed.is-in .designed__body {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease-out 450ms,
    transform 700ms ease-out 450ms;
}

.designed.is-in .designed__chip--reviewer {
  opacity: 1;
  transition: opacity 700ms ease-out 450ms;
}

/* Client chip: fades in last, double delay after the title group. */
.designed.is-in .designed__chip--client {
  opacity: 1;
  transition: opacity 700ms ease-out 800ms;
}

@media (prefers-reduced-motion: reduce) {

  /* Skip all delays / motion — show immediately when .is-in is added. */
  .designed.is-in .designed__avatar,
  .designed.is-in::after,
  .designed.is-in .designed__title,
  .designed.is-in .designed__body,
  .designed.is-in .designed__chip,
  .designed.is-in .designed__underline {
    animation: none !important;
    transition: none !important;
  }

  .designed.is-in .designed__avatar {
    transform: scale(1);
  }
}

/* =====================================================
   Trust Fabric — entry / exit choreography.
   The header and the cards grid are triggered separately (each when its
   own top edge crosses the bottom-20% line). Exit is a uniform fade for
   each group; JS gates re-entry until the previous exit completes.
   ===================================================== */

/* Header group — title, lede, eyebrow. Title slides up first, lede 200 ms
   after, eyebrow typewrites in 400 ms after (double delay). */
#platform .section__title,
#platform .section__lede {
  /* Exit fades opacity only; transform snaps back after the fade. */
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

#platform .section__header > .eyebrow {
  /* width: max-content so clip-path 100% corresponds to text width — every
     step of the steps() reveal lands on a real letter (JetBrains Mono is
     monospace, so 16 steps ≈ "THE TRUST FABRIC"'s 16 characters).
     Exit fades opacity only; clip-path snaps closed after the fade. */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

#platform .section__header.is-in .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

#platform .section__header.is-in .section__lede {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

#platform .section__header.is-in > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  /* Opacity flips on instantly at the moment the typewriter starts (400 ms),
     so the typewriter reveal is the only visible entry motion. */
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(16, jump-start) 500ms;
}

/* Cards group — each card fades in; its inner content scales from 110% to
   100% (the card has overflow:hidden so the over-scaled content is clipped).
   Cards stagger by 150 ms via --card-delay. */
#platform .card {
  opacity: 0;
  transition: opacity 400ms ease-out;
}

#platform .card .card__content {
  transform: scale(1.1);
  transform-origin: center;
  /* Exit: transform snaps back to scale(1.1) only after the card's opacity
     has finished fading (400 ms), so the shrink is never visible. */
  transition: transform 0s linear 400ms;
}

#platform .card:nth-child(1) {
  --card-delay: 0;
}

#platform .card:nth-child(2) {
  --card-delay: 1;
}

#platform .card:nth-child(3) {
  --card-delay: 2;
}

#platform .card:nth-child(4) {
  --card-delay: 3;
}

#platform .card-grid.is-in .card {
  opacity: 1;
  transition: opacity 800ms ease-out calc(var(--card-delay, 0) * 150ms + 500ms);
}

#platform .card-grid.is-in .card .card__content {
  transform: scale(1);
  transition: transform 800ms ease-out calc(var(--card-delay, 0) * 150ms + 500ms);
}

@media (prefers-reduced-motion: reduce) {

  #platform .section__title,
  #platform .section__lede,
  #platform .section__header > .eyebrow,
  #platform .card,
  #platform .card .card__content {
    transition: none !important;
  }
}

/* =====================================================
   How It Works — entry / exit choreography.
   Triggers (each at the bottom-20% line of the viewport):
     • .how__inner — title / eyebrow / active description / wheel / line
     • .how__steps — mobile only: whole-item slide-up step list
   Mobile (max-width: 767.98px): the wheel and line aren't rendered, and
   the step list animates row-by-row like the Disciplines mobile list.
   Desktop (768+): heading + sticky scroll. The wheel items fade & slide
   from the left starting after the active description; the connector
   line scales in from the left after the wheel finishes.
   ===================================================== */

/* Heading title + eyebrow (both layouts) */
.how__heading .section__title {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.how__heading > .eyebrow {
  /* 12 characters in "HOW IT WORKS" → steps(12) lands on each glyph. */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

.how__inner.is-in .how__heading .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

.how__inner.is-in .how__heading > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(12, jump-start) 500ms;
}

/* Mobile: step cards fade + slide up (whole item), borders fade in last. */
@media (max-width: 767.98px) {
  .how__steps .how__step {
    opacity: 0;
    transform: translateY(48px);
    border-top-color: transparent;
    transition:
      opacity 400ms ease-out,
      transform 0s linear 400ms,
      border-color 0s linear 400ms;
  }

  .how__steps .how__step:last-child {
    border-bottom-color: transparent;
  }

  .how__steps .how__step:nth-child(1) {
    --how-step-delay: 0;
  }

  .how__steps .how__step:nth-child(2) {
    --how-step-delay: 1;
  }

  .how__steps .how__step:nth-child(3) {
    --how-step-delay: 2;
  }

  .how__steps .how__step:nth-child(4) {
    --how-step-delay: 3;
  }

  .how__steps .how__step:nth-child(5) {
    --how-step-delay: 4;
  }

  .how__steps .how__step:nth-child(6) {
    --how-step-delay: 5;
  }

  .how__steps.is-in .how__step {
    opacity: 1;
    transform: translateY(0);
    border-top-color: var(--gray-300);
    transition:
      opacity 600ms ease-out calc(var(--how-step-delay, 0) * 150ms),
      transform 600ms ease-out calc(var(--how-step-delay, 0) * 150ms),
      border-color 400ms ease-out calc(var(--how-step-delay, 0) * 150ms + 600ms);
  }

  .how__steps.is-in .how__step:last-child {
    border-bottom-color: var(--gray-300);
  }
}

/* Desktop: wheel + line + active description (first-entry only delay) */
@media (min-width: 768px) {

  .how__steps {
    opacity: 0;
    transform: translateY(48px);
    transition:
      opacity 400ms ease-out,
      transform 0s linear 400ms;
  }

  .how__inner.is-in .how__steps {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 800ms ease-out 250ms,
      transform 800ms ease-out 250ms;
  }

  /* Wheel items — inner wrapper hidden by default (fades from left).  */
  .how__wheel-inner {
    opacity: 0;
    transform: translateX(-48px);
    transition:
      opacity 400ms ease-out,
      transform 0s linear 400ms;
  }

  /* Stagger: starts AFTER the active description (200 + 600 = 800 ms),
     100 ms between items. */
  .how__wheel .how__wheel-item:nth-child(1) {
    --how-wheel-item: 0;
  }

  .how__wheel .how__wheel-item:nth-child(2) {
    --how-wheel-item: 1;
  }

  .how__wheel .how__wheel-item:nth-child(3) {
    --how-wheel-item: 2;
  }

  .how__wheel .how__wheel-item:nth-child(4) {
    --how-wheel-item: 3;
  }

  .how__wheel .how__wheel-item:nth-child(5) {
    --how-wheel-item: 4;
  }

  .how__wheel .how__wheel-item:nth-child(6) {
    --how-wheel-item: 5;
  }

  .how__inner.is-in .how__wheel-item .how__wheel-inner {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 600ms ease-out calc(var(--how-wheel-item, 0) * 150ms + 800ms),
      transform 600ms ease-out calc(var(--how-wheel-item, 0) * 150ms + 800ms);
  }

  /* Connector line: scaleX from the left, after the wheel completes
     (1300 + 600 = 1900 ms; small breathing room → 2000 ms). */
  .how__steps::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0s linear 400ms;
  }

  .how__inner.is-in .how__steps::before {
    transform: scaleX(1);
    transition: transform 300ms ease-out 1400ms;
  }
}

@media (prefers-reduced-motion: reduce) {

  .how__heading .section__title,
  .how__heading > .eyebrow,
  .how__steps .how__step,
  .how__wheel-inner,
  .how__steps::before {
    transition: none !important;
  }
}

/* =====================================================
   Disciplines (Across the Practice) — entry / exit choreography.
   Two independent triggers: header (title / lede / eyebrow) and list (per
   discipline row). Header timing matches the Trust Fabric pattern; list
   items fade & slide from the LEFT, with the row's num + title arriving
   together and the text arriving a beat later. Items stagger 100 ms apart.
   Exit: opacity-only — transforms / clip-path snap back after the fade.
   ===================================================== */
.disciplines .section__header .section__title,
.disciplines .section__header .section__lede {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.disciplines .section__header > .eyebrow {
  /* width: max-content so clip-path 100% corresponds to text width — 19
     characters in "ACROSS THE PRACTICE" land per typewriter step. */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

.disciplines .section__header.is-in .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

.disciplines .section__header.is-in .section__lede {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

.disciplines .section__header.is-in > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(19, jump-start) 500ms;
}

/* Per-row stagger driver — applies to both mobile (whole row) and desktop
   (per child) animations below. */
.disciplines .disc-list .disc:nth-child(1) {
  --disc-delay: 0;
}

.disciplines .disc-list .disc:nth-child(2) {
  --disc-delay: 1;
}

.disciplines .disc-list .disc:nth-child(3) {
  --disc-delay: 2;
}

.disciplines .disc-list .disc:nth-child(4) {
  --disc-delay: 3;
}

/* Mobile (default): whole row fades + slides up. Borders start transparent
   and fade in only after the row's slide has settled. */
.disciplines .disc {
  opacity: 0;
  transform: translateY(48px);
  border-top-color: transparent;
  /* Exit: opacity fades, transform & border snap back after the fade. */
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms,
    border-color 0s linear 400ms;
}

.disciplines .disc:last-child {
  border-bottom-color: transparent;
}

.disciplines .disc-list.is-in .disc {
  opacity: 1;
  transform: translateY(0);
  border-top-color: var(--gray-600);
  transition:
    opacity 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms),
    transform 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms),
    border-color 400ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms);
}

.disciplines .disc-list.is-in .disc:last-child {
  border-bottom-color: var(--gray-600);
}

@media (min-width: 768px) {

  /* Desktop: revert the whole-row animation so each row stays in place;
     children slide in from the LEFT instead. Borders fade in after the
     text — the last visible motion in the row. */
  .disciplines .disc {
    opacity: 1;
    transform: none;
    transition: border-color 0s linear 400ms;
  }

  .disciplines .disc-list.is-in .disc {
    opacity: 1;
    transform: none;
    transition: border-color 400ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms);
  }

  .disciplines .disc .disc__num,
  .disciplines .disc .disc__title,
  .disciplines .disc .disc__text {
    opacity: 0;
    transform: translateX(-48px);
    transition:
      opacity 400ms ease-out,
      transform 0s linear 400ms;
  }

  .disciplines .disc-list.is-in .disc .disc__num,
  .disciplines .disc-list.is-in .disc .disc__title {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms),
      transform 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 500ms);
  }

  .disciplines .disc-list.is-in .disc .disc__text {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 700ms),
      transform 600ms ease-out calc(var(--disc-delay, 0) * 150ms + 700ms);
  }
}

@media (prefers-reduced-motion: reduce) {

  .disciplines .section__header .section__title,
  .disciplines .section__header .section__lede,
  .disciplines .section__header > .eyebrow,
  .disciplines .disc,
  .disciplines .disc .disc__num,
  .disciplines .disc .disc__title,
  .disciplines .disc .disc__text {
    transition: none !important;
  }
}

/* =====================================================
   Security and Privacy — entry / exit choreography.
   Mirrors the Trust Fabric pattern. Two triggers (header + grid). Cards
   fade in; inner .sec__content scales from 110%. Exit is opacity-only.
   ===================================================== */
#security .section__title,
#security .section__lede {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

#security .section__header > .eyebrow {
  /* "SECURITY AND PRIVACY" = 20 characters → steps(20). */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

#security .section__header.is-in .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

#security .section__header.is-in .section__lede {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

#security .section__header.is-in > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(20, jump-start) 500ms;
}

#security .sec {
  opacity: 0;
  /* Keep the hover-fade transition that .sec-grid .sec normally carries. */
  transition: opacity 400ms ease-out, background-color 250ms ease;
}

#security .sec .sec__content {
  transform: scale(1.1);
  transform-origin: center;
  /* Exit: scale snaps back only after the card's opacity finishes fading. */
  transition: transform 0s linear 400ms;
}

#security .sec:nth-child(1) {
  --sec-delay: 0;
}

#security .sec:nth-child(2) {
  --sec-delay: 1;
}

#security .sec:nth-child(3) {
  --sec-delay: 2;
}

#security .sec:nth-child(4) {
  --sec-delay: 3;
}

#security .sec:nth-child(5) {
  --sec-delay: 4;
}

#security .sec:nth-child(6) {
  --sec-delay: 5;
}

#security .sec:nth-child(7) {
  --sec-delay: 6;
}

#security .sec:nth-child(8) {
  --sec-delay: 7;
}

#security .sec:nth-child(9) {
  --sec-delay: 8;
}

#security .sec-grid.is-in .sec {
  opacity: 1;
  transition: opacity 400ms ease-out calc(var(--sec-delay, 0) * 100ms + 500ms);
}

#security .sec-grid.is-in .sec .sec__content {
  transform: scale(1);
  transition: transform 800ms ease-out calc(var(--sec-delay, 0) * 100ms + 500ms);
}

@media (prefers-reduced-motion: reduce) {

  #security .section__title,
  #security .section__lede,
  #security .section__header > .eyebrow,
  #security .sec,
  #security .sec .sec__content {
    transition: none !important;
  }
}

/* =====================================================
   Pricing — entry / exit choreography.
   Header / cards / footer trigger together when the section's top hits
   the bottom-20% line.  Tier cards fade + scale from 110% (inside their
   frame), staggered.  The footer (rule + note) follows the tiers with
   a fade + slide-up.
   ===================================================== */
#pricing .section__title,
#pricing .section__lede {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

#pricing .section__header > .eyebrow {
  /* "PRICING" = 7 characters → steps(7). */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

#pricing .section__header.is-in .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

#pricing .section__header.is-in .section__lede {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

#pricing .section__header.is-in > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(7, jump-start) 500ms;
}

#pricing .tier {
  opacity: 0;
  transition: opacity 400ms ease-out;
}

#pricing .tier .tier__content {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 0s linear 400ms;
}

#pricing .tiers .tier:nth-child(1) {
  --tier-delay: 0;
}

#pricing .tiers .tier:nth-child(2) {
  --tier-delay: 1;
}

#pricing .tiers .tier:nth-child(3) {
  --tier-delay: 2;
}

#pricing .tiers.is-in .tier {
  opacity: 1;
  transition: opacity 400ms ease-out calc(var(--tier-delay, 0) * 150ms);
}

#pricing .tiers.is-in .tier .tier__content {
  transform: scale(1);
  transition: transform 800ms ease-out calc(var(--tier-delay, 0) * 150ms);
}

/* Footer: own trigger so it lands when its own top hits the bottom-20% line.
   Fade + slide-up, same as the section's main entry pattern. */
#pricing .pricing__footer {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

#pricing .tiers.is-in + .pricing__footer {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 600ms ease-out,
    transform 600ms ease-out;
}

@media (prefers-reduced-motion: reduce) {

  #pricing .section__title,
  #pricing .section__lede,
  #pricing .section__header > .eyebrow,
  #pricing .tier,
  #pricing .tier .tier__content,
  #pricing .pricing__footer {
    transition: none !important;
  }
}

/* =====================================================
   Bring Your Own — entry / exit choreography.
   Section trigger fires when the section's top crosses the bottom-20% line.
   Photo scales inside its frame, title slides up, description slides up
   after a delay, eyebrow typewriter reveals after a double delay.
   Exit: all elements fade out together; transforms / clip-path snap back
   only after the opacity fade finishes, so the exit is fade-only visually.
   ===================================================== */
.bring .bring__photo {
  opacity: 0;
  transition: opacity 400ms ease-out;
}

.bring .section__title,
.bring .section__lede {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.bring .bring__text > .eyebrow {
  /* width: max-content so clip-path's 100% corresponds to the text width and
     each step lands on a real letter (14 characters in "BRING YOUR OWN"). */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

.bring.is-in .bring__photo {
  opacity: 1;
  transition: opacity 1200ms ease-out;
}

.bring.is-in .bring__photo::before {
  transform: scale(1);
  transition: transform 1200ms ease-out;
}

.bring.is-in .section__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

.bring.is-in .section__lede {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

.bring.is-in .bring__text > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  /* Opacity snaps on at the moment the typewriter starts (400 ms in) so the
     typewriter reveal is the only visible entry motion. */
  transition:
    opacity 0s linear 500ms,
    clip-path 800ms steps(14, jump-start) 500ms;
}

@media (prefers-reduced-motion: reduce) {

  .bring .bring__photo,
  .bring .bring__photo::before,
  .bring .section__title,
  .bring .section__lede,
  .bring .bring__text > .eyebrow {
    transition: none !important;
  }
}

/* =====================================================
   Cards (Trust Fabric, generic numbered card)
   ===================================================== */
.card-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--gray-300);
  padding: var(--card-pad);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  margin-top: -1px;
  /* Inner content can be scaled on entry; the card edges clip the overflow. */
  overflow: hidden;
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  width: 100%;
  height: 100%;
}

.card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
}

.card__num {
  color: var(--accent-800);
}

.card__rule {
  width: 22px;
  height: 1px;
  background: var(--gray-300);
}

.card__label {
  color: var(--secondary-700);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--card-body-gap);
}

.card__title {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--gray-900);
  font-size: 24px;
  text-wrap: balance;
}

.card__title--lg {
  font-size: var(--fs-card-title);
}

.card__text {
  font-size: var(--fs-card-text);
  line-height: var(--card-text-lh);
  color: var(--gray-800);
}

/* =====================================================
   Hover lists — uniform default, hover state per family
   ===================================================== */

/* Trust Fabric cards: hover adds sand fill */
.hover-list .card {
  transition: background-color 200ms ease;
}

.hover-list .card:hover,
.hover-list .card:focus-within,
.hover-list .card.is-hovered {
  background: var(--gray-200);
}

/* Discipline rows */
.disc-list .disc {
  transition: background-color 200ms ease;
}

.disc-list .disc:hover,
.disc-list .disc:focus-within,
.disc-list .disc.is-hovered {
  background: var(--gray-800);
}

/* Security cards */
.sec-grid .sec {
  transition: background-color 200ms ease;
}

.sec-grid .sec:hover,
.sec-grid .sec:focus-within,
.sec-grid .sec.is-hovered {
  background: var(--gray-100);
}

/* =====================================================
   Bring Your Own
   ===================================================== */
.bring__inner {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  align-items: stretch;
}

.bring__photo {
  width: var(--bring-photo-w);
  max-width: 100%;
  flex-shrink: 0;
  aspect-ratio: 14 / 15;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}

/* Image lives on a pseudo-element so it can scale inside the fixed frame. */
.bring__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./bring.jpg") center / cover no-repeat;
  transform: scale(1.2);
  transform-origin: center;
  /* Exit: scale snaps back to 120% only after the photo's opacity fade. */
  transition: transform 0s linear 400ms;
}

.bring__text {
  display: flex;
  flex-direction: column;
  gap: var(--section-header-gap);
}

/* =====================================================
   Disciplines
   ===================================================== */
.disciplines .section__header {
  max-width: 640px;
}

.disc-list {
  display: flex;
  flex-direction: column;
}

.disc {
  display: grid;
  grid-template-columns: var(--disc-num-col) var(--disc-name-col);
  grid-template-areas:
    "num title"
    "text text";
  column-gap: var(--disc-col-gap);
  row-gap: 8px;
  padding: var(--disc-pad);
  border-top: 1px solid var(--gray-600);
}

.disc:last-child {
  border-bottom: 1px solid var(--gray-600);
}

.disc__num {
  grid-area: num;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-disc-num);
  line-height: 1.1;
  color: var(--gray-400);
}

.disc__title {
  grid-area: title;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-disc-name);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--gray-200);
}

.disc__text {
  grid-area: text;
  font-size: var(--fs-disc-text);
  line-height: var(--disc-text-lh);
  color: var(--gray-400);
}

/* =====================================================
   How it works
   --------------------------------------------------------
   Mobile (default): vertical list of all 6 steps with content.
   Desktop (768+): section becomes tall; inner is sticky;
   wheel widget on the left, eyebrow + title + active step's
   description on the right. JS drives `.is-active` on steps
   and `.is-active / .is-near / .is-far / .is-hidden` on wheel
   items based on scroll progress.
   ===================================================== */
.how {
  background: var(--gray-100);
  padding: var(--section-py) 0;
}

.how__sticky {
  /* Wrapper — becomes the sticky element on 768+ */
}

.how__inner {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.how__wheel {
  display: none;
}

.how__heading {
  display: flex;
  flex-direction: column;
  gap: var(--section-header-gap);
}

/* Mobile step list: each step as a card with top/bottom borders */
.how__steps {
  display: flex;
  flex-direction: column;
}

.how__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--gray-300);
}

.how__step:last-child {
  border-bottom: 1px solid var(--gray-300);
}

.how__step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
  white-space: nowrap;
}

.how__num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--secondary-700);
}

.how__name {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--gray-900);
}

.how__step-text {
  font-size: var(--how-step-fs);
  line-height: var(--how-step-lh);
  color: var(--gray-900);
}

/* =====================================================
   Security grid (small cards w/ icon)
   ===================================================== */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(var(--sec-cols), minmax(0, 1fr));
}

.sec {
  border: 1px solid var(--gray-300);
  background: transparent;
  /* Collapse borders with neighbors */
  margin-left: -1px;
  margin-top: -1px;
  /* Inner content can be scaled on entry; the card edges clip the overflow. */
  overflow: hidden;
}

.sec-grid .sec:nth-child(odd) {
  margin-left: 0;
}

.sec__content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sec-gap);
  padding: var(--sec-pad);
  width: 100%;
  height: 100%;
}

.sec__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  padding: var(--sec-icon-pad);
  color: var(--accent-800);
  flex-shrink: 0;
}

.sec__icon i[data-lucide],
.sec__icon svg {
  width: var(--sec-icon-size);
  height: var(--sec-icon-size);
}

.sec__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.sec__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-sec-title);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-top: 4px;
}

.sec__text {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--gray-800);
}

/* When inside a sand-background section, hovered sec uses cream */
.section--sand .sec-grid .sec:hover,
.section--sand .sec-grid .sec.is-hovered {
  background: var(--gray-100);
}

.section--sand .sec-grid .sec:hover .sec__icon,
.section--sand .sec-grid .sec.is-hovered .sec__icon {
  background: var(--gray-200);
}

/* =====================================================
   Pricing
   ===================================================== */
.tiers {
  display: grid;
  grid-template-columns: repeat(var(--tiers-cols), minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: var(--tier-py) var(--tier-px);
  background: var(--gray-200);
  border: 1px solid var(--gray-300);
  /* Inner content can be scaled on entry; the card edges clip the overflow. */
  overflow: hidden;
}

.tier__content {
  display: flex;
  flex-direction: column;
  gap: var(--tier-gap);
  flex: 1;
  width: 100%;
}

.tier__left {
  display: contents;
}

.tier__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier__eyebrow {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
}

.tier__eyebrow--accent {
  color: var(--accent-800);
}

.tier__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-tier-title);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--gray-900);
}

.tier__desc {
  flex: 1;
  font-size: var(--fs-tier-desc);
  line-height: 1.6;
  color: var(--gray-800);
}

.tier__features {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0;
  font-size: var(--fs-tier-feat);
  line-height: 16px;
  color: var(--gray-900);
  border-top: 1px solid var(--gray-300);
}

.tier__features li:first-child {
  border-top: 0;
}

.tier__features i[data-lucide],
.tier__features svg {
  width: 16px;
  height: 16px;
  color: var(--accent-800);
  flex-shrink: 0;
}

.pricing__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.pricing__note {
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-800);
}

.pricing__rule {
  width: 120px;
  height: 1px;
  background: var(--gray-300);
}

/* =====================================================
   CTA
   ===================================================== */
.cta {
  position: relative;
  padding: var(--cta-py) 0;
  background: var(--gray-900);
  color: var(--gray-200);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("./cta.jpg") center / cover no-repeat,
    var(--gray-900);
  z-index: 0;
  /* Entry: scale from 1.1 → 1; the .cta frame's overflow: hidden clips
     the over-scaled bg. Exit: scale snaps back after the fade. */
  transform: scale(1.2);
  transform-origin: center;
  opacity: 0;
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.cta.is-in::before {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1800ms ease-out,
    transform 1800ms ease-out;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cta-gap);
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--section-header-gap);
  max-width: var(--cta-content-maxw);
  width: 100%;
}

.cta__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-cta);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--gray-200);
  text-wrap: balance;
}

.cta__sub {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--gray-400);
  text-wrap: balance;
}

/* =====================================================
   CTA (Talk To Us) — entry / exit choreography.
   Single trigger on the section; bg photo + title + sub + button + eyebrow
   each animate with their own delay, mirroring the previous sections.
   Exit: opacity-only — transforms / clip-path snap back after the fade.
   ===================================================== */
.cta .cta__title,
.cta .cta__sub,
.cta .btn {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 400ms ease-out,
    transform 0s linear 400ms;
}

.cta .cta__content > .eyebrow {
  /* "TALK TO US" = 10 characters → steps(10). */
  width: max-content;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 400ms ease-out,
    clip-path 0s linear 400ms;
}

.cta.is-in .cta__title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
}

.cta.is-in .cta__sub {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 250ms,
    transform 800ms ease-out 250ms;
}

.cta.is-in .btn {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out 500ms,
    transform 800ms ease-out 500ms;
}

.cta.is-in .cta__content > .eyebrow {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0s linear 750ms,
    clip-path 800ms steps(10, jump-start) 750ms;
}

@media (prefers-reduced-motion: reduce) {

  .cta::before,
  .cta .cta__title,
  .cta .cta__sub,
  .cta .btn,
  .cta .cta__content > .eyebrow {
    transition: none !important;
  }
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: var(--footer-py) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__tag,
.footer__rights {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  color: var(--gray-400);
}

/* =====================================================
   Breakpoint: 768 and up
   ===================================================== */
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section-py: 64px;
    --section-gap: 32px;
    --section-header-gap: 16px;

    --card-pad: 32px;
    --card-gap: 20px;
    --card-body-gap: 8px;
    --card-text-lh: 1.62;

    --fs-hero-title: 64px;
    --fs-hero-sub: 18px;
    --fs-h2: 36px;
    --fs-h3: 30px;
    --fs-cta: 56px;

    --cta-py: 64px;
    --cta-gap: 32px;

    --footer-py: 32px;
    --fs-disc-name: 28px;
    --fs-disc-text: 16px;
    --disc-text-lh: 1.6;
    --disc-pad: 20px;
    --disc-num-col: 32px;
    --disc-name-col: 180px;
    --fs-card-title: 24px;
    --fs-body-lg: 16px;

    --sec-cols: 2;
    --sec-pad: 24px;
    --sec-gap: 16px;
    --fs-sec-title: 21px;
    --sec-icon-pad: 8px;
    --sec-icon-size: 24px;

    --tier-py: 24px;
    --tier-gap: 24px;
    --fs-tier-desc: 13px;

    --hero-h: 640px;
    --hero-py: 80px;
    --hero-main-maxw: 680px;
    --hero-main-gap: 24px;

    --btn-px: 14px;
    --btn-py: 8px;
    --btn-fs: 14px;
    --btn-icon: 20px;
  }


  :root {
    --fs-designed-title: 32px;
    --fs-designed-body: 18px;
    --designed-content-gap: 40px;
    --designed-title-gap: 10px;
    --designed-underline-w: 119px;
    --designed-analyst-offset: 12px;
  }

  .designed__chip--reviewer {
    border-radius: var(--r-sm) var(--r-sm) var(--r-sm) 0;
    position: absolute;
    transform: translateX(calc(var(--caret-x, 0px) - 1px));
  }

  .designed__chip--reviewer::after {
    right: auto;
    left: 0;
  }

  /* Cards 2x2 */
  .card-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--2 .card {
    margin-left: -1px;
  }

  .card-grid--2 .card:nth-child(2n+1) {
    margin-left: 0;
  }

  /* Bring */
  .bring__inner {
    flex-direction: row;
    align-items: center;
  }

  .bring__text {
    flex: 1;
    min-width: 0;
  }

  /* Disciplines — switch to single-row layout at 768+ */
  .disc {
    grid-template-areas: "num title text";
    row-gap: 0;
  }

  .disc__num,
  .disc__title {
    line-height: 46px;
  }

  .disc__text {
    line-height: 1.6;
  }

  /* ------------------------------------------------------
     How it works — sticky scroll layout (768+)
     ------------------------------------------------------ */
  :root {
    --how-gap: 64px;
    --how-wheel-w: 230px;
    --how-step-fs: 16px;
    --how-step-lh: 1.6;
    /* Wheel-item vertical pitch (distance between adjacent slots). */
    --how-row-h: 56px;
    /* Cubic-bezier eases used for the rolling wheel + text fade. */
    --how-max-w: 520px;
  }

  /* Section becomes tall enough to give scroll headroom for the 6 steps.
     6 steps → 5 transitions × ~50vh + 100vh sticky viewport ≈ 350vh */
  .how {
    padding: 0;
    min-height: calc(100vh + 75vh * 5);
    position: relative;
  }

  /* Sticky frame split 1 : 2 (top : bottom) so the content sits higher
     than dead-center, closer to the natural focal point of the viewport. */
  .how__sticky {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: grid;
    grid-template-rows: 1fr auto 2fr;
    overflow: visible;
  }

  .how__sticky > .container {
    grid-row: 2;
    width: 100%;
  }

  /* Inner is a 2-col / 2-row grid so:
       • the heading sits in (col 2, row 1)
       • the wheel and the step description share row 2 — putting the active
         wheel item on the same line as the description text. */
  .how__inner {
    display: grid;
    grid-template-columns: var(--how-wheel-w) 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--how-gap);
    row-gap: var(--section-header-gap);
    align-items: start;
    position: relative;
  }

  .how__heading {
    grid-column: 2;
    grid-row: 1;
    gap: var(--section-header-gap);
    max-width: var(--how-max-w);
  }

  /* Wheel — items absolutely positioned around a fixed "active slot" at the
     top of the wheel column. Each item translates by its distance from active,
     scales down, fades out. Smooth transitions on transform + opacity. */
  .how__wheel {
    grid-column: 1;
    grid-row: 2;
    display: block;
    position: relative;
    overflow: visible;
  }

  .how__wheel-item {
    position: absolute;
    right: 0;
    /* Lift the wheel a few px so the active item visually aligns with the
       description's first line (which sits ~half-line below row top). */
    top: calc(var(--how-step-fs) * 0.5 - 0.65em);
    white-space: nowrap;
    transform-origin: 100% 50%;
    transform:
      translateY(calc(var(--how-row-h) * var(--dist, 0))) scale(var(--scale, 0.5));
    opacity: var(--op, 0);
    transition:
      transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 380ms ease;
    pointer-events: none;
  }

  /* Inner wrapper carries the flex layout AND the entry choreography
     (translateX from the left + fade). Keeping it separate means the
     scroll-driven layout transform on .how__wheel-item is undisturbed. */
  .how__wheel-inner {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Base (un-shrunk) sizes — items shrink via scale, not font-size, so the
     motion stays smooth. */
  .how__wheel-item .how__num {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 20px;
    color: var(--secondary-700);
  }

  .how__wheel-item .how__name {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--gray-900);
  }

  /* All wheel items are clickable — clicking jumps to that step via smooth
     scroll. JS sets --dist / --scale / --op inline so positions update
     through the single transition declaration above. */
  .how__wheel-item {
    pointer-events: auto;
    cursor: pointer;
  }

  /* All steps occupy the same grid cell so only the active one is in view.
     Inactive steps are translated and faded; active state slides in. */
  .how__steps {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    max-width: var(--how-max-w);
  }

  .how__step {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border: 0;
    opacity: 0;
    transition:
      opacity 360ms ease,
      transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
  }

  .how__step:last-child {
    border-bottom: 0;
  }

  /* Above the active step → parked off the top (slid up & faded). */
  .how__step.is-above {
    transform: translateY(-40px);
  }

  /* Below the active step → parked off the bottom (default state). */
  .how__step.is-below {
    transform: translateY(40px);
  }

  .how__step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* On desktop, the right panel shows only the description, not the head */
  .how__step-head {
    display: none;
  }

  .how__step-text {
    letter-spacing: -0.01em;
  }

  /* Connector — a short gray stroke bridging the active wheel name and the
     description's first line, drawn in the column gap. */
  .how__steps::before {
    content: "";
    position: absolute;
    top: calc(var(--how-step-fs) * 0.75);
    right: calc(100% + 18px);
    width: 32px;
    height: 2px;
    background: var(--secondary-700);
    pointer-events: none;
  }

  /* Security cards: stack icon above body at 768+ */
  .sec__content {
    flex-direction: column;
  }

  .sec__body {
    flex: 0 0 auto;
  }

  .sec__title {
    margin-top: 0px;
  }

  /* Pricing — cards stay stacked, but each card splits into a 240px left
     column (eyebrow/title/desc) + features column. */
  .tier__content {
    flex-direction: row;
    align-items: flex-start;
  }

  .tier__left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 240px;
    flex-shrink: 0;
  }

  .tier__features {
    width: 100%;
    flex: 1;
    min-width: 0;
    text-wrap: balance;
  }

  /* Footer — switches to row layout, baseline-aligns logo with rights line */
  .footer__inner {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* =====================================================
   Breakpoint: 1024 and up
   ===================================================== */
@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --section-py: 80px;
    --section-gap: 40px;

    --fs-hero-title: 80px;
    --fs-hero-sub: 20px;
    --fs-h2: 48px;
    --fs-cta: 72px;

    --cta-py: 80px;
    --cta-gap: 40px;
    --cta-content-maxw: 640px;

    --footer-py: 40px;

    --how-gap: 72px;
    --how-step-fs: 20px;
    --how-max-w: 640px;
    --fs-disc-name: 32px;
    --fs-disc-num: 26px;
    --disc-pad: 32px;
    --disc-col-gap: 16px;
    --disc-num-col: 40px;
    --disc-name-col: 240px;

    --hero-h: 800px;
    --hero-py: 100px;

    --bring-photo-w: 400px;

    --tiers-cols: 3;
    --tier-gap: 8px;
  }

  .nav {
    display: flex;
  }

  /* Designed With: 1024 switches to two-column layout (title right + body)
     Underline + chip flip: now anchored on the RIGHT edge of the title col,
     line grows LEFT, chip translates LEFT in lockstep. */
  .designed {
    --designed-py-top: 120px;
    --designed-py-bot: 120px;
    --fs-designed-title: 32px;
    --fs-designed-body: 20px;
    --designed-underline-w: 119px;
    --designed-analyst-move: calc(-1 * var(--designed-underline-w));
    --designed-analyst-bottom: -52px;
    /* Row layout from 1024+ — no extra top spacing on the body. */
    --designed-body-mt: 0;
  }

  .designed__content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: baseline;
    max-width: 1200px;
  }

  .designed__title-col {
    align-items: flex-end;
    text-align: right;
  }

  /* Pin underline & analyst chip to the right edge of the title column */
  .designed__underline {
    transform-origin: right;
    left: auto;
    right: 0;
  }

  .designed__chip--analyst {
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: var(--designed-analyst-offset);
  }

  .designed__pin--analyst {
    top: -16px;
    left: auto;
    right: -16px;
    scale: 1;
  }

  .designed__chip--client {
    position: absolute;
    align-self: auto;
    margin: 0;
    bottom: -86px;
    right: 110px;
  }

  /* Pricing — revert to column card layout, pin features to the bottom so all
     three cards' feature lists align regardless of description length. */
  .tier__content {
    flex-direction: column;
  }

  .tier__left {
    display: contents;
  }

  .tier__features {
    flex: initial;
    margin-top: auto;
  }
}

/* =====================================================
   Breakpoint: 1440 and up
   ===================================================== */
@media (min-width: 1440px) {
  :root {
    --gutter: 80px;
    --section-py: 140px;
    --section-gap: 80px;
    --section-header-gap: 24px;

    --card-pad: 40px;
    --card-gap: 24px;

    --fs-hero-title: 110px;
    --fs-hero-sub: 24px;
    --fs-h2: 64px;
    --fs-cta: 96px;

    --cta-py: 160px;
    --cta-content-maxw: 860px;

    --footer-py: 48px;

    --how-gap: 100px;
    --how-wheel-w: 270px;
    --how-row-h: 72px;
    --how-step-fs: 24px;
    --how-max-w: none;

    --btn-gap: 10px;
    --fs-disc-name: 44px;
    --fs-disc-text: 18px;
    --disc-col-gap: 32px;
    --disc-name-col: 320px;
    --fs-card-title: 34px;
    --fs-card-text: 16px;
    --fs-body-lg: 20px;

    --hero-h: 1080px;
    --hero-py: 120px;
    --hero-main-maxw: 840px;
    --hero-main-gap: 32px;

    --bring-photo-w: 560px;

    --tier-px: 36px;
    --tier-py: 40px;
    --tier-gap: 16px;
    --fs-tier-title: 34px;
    --fs-tier-desc: 16px;
    --fs-tier-feat: 14px;

    --btn-px: 18px;
    --btn-py: 10px;
  }

  .designed {
    --designed-py-top: 140px;
    --designed-py-bot: 140px;
    --fs-designed-title: 40px;
    --fs-designed-body: 24px;
    --designed-underline-w: 159px;
  }

  .designed__content {
    grid-template-columns: 380px 1fr;
    gap: 40px;
  }

  .designed__chip--client {
    bottom: -86px;
    right: 200px;
  }

  .disciplines .section__header,
  .section__header--narrow {
    max-width: 860px;
  }

  /* Wheel active name = 34px at 1440 (scale 1 = base font-size) */
  .how__wheel-item .how__name {
    font-size: 34px;
  }

  .how__wheel-item .how__num {
    font-size: 26px;
  }

  .how__steps::before {
    right: calc(100% + 30px);
    width: 40px;
  }
}



/* =====================================================
   Cookie consent theme
   ===================================================== */
#cc-main {
  color-scheme: light;

  --cc-bg: #FFF;
  --cc-primary-color: var(--gray-800);
  --cc-secondary-color: #242629;

  --cc-btn-primary-bg: var(--gray-800);
  --cc-btn-primary-color: var(--cc-bg);
  --cc-btn-primary-hover-bg: var(--gray-700);
  --cc-btn-primary-hover-color: var(--gray-100);

  --cc-btn-secondary-bg: var(--gray-100);
  --cc-btn-secondary-border-color: var(--gray-200);
  --cc-btn-secondary-hover-border-color: var(--gray-200);
  --cc-btn-secondary-color: var(--gray-900);
  --cc-btn-secondary-hover-bg: var(--gray-200);
  --cc-btn-secondary-hover-color: var(--gray-900);

  --cc-cookie-category-block-bg: var(--gray-100);
  --cc-cookie-category-block-border: var(--gray-200);
  --cc-cookie-category-block-hover-bg: var(--gray-200);
  --cc-cookie-category-block-hover-border: var(--gray-100);
  --cc-cookie-category-expanded-block-hover-bg: var(--gray-100);
  --cc-cookie-category-expanded-block-bg: var(--gray-100);

  --cc-overlay-bg: rgba(219, 232, 255, 0.85);

  --cc-toggle-on-bg: var(--gray-800);
  --cc-toggle-off-bg: var(--gray-400);

  --cc-toggle-on-knob-bg: var(--cc-bg);
  --cc-toggle-readonly-knob-bg: var(--gray-200);

  --cc-toggle-readonly-bg: var(--secondary-700);
  --cc-toggle-readonly-knob-icon-color: var(--secondary-700);

  --cc-separator-border-color: var(--gray-200);


  --cc-btn-border-radius: 2px;
  --cc-modal-border-radius: 2px;

  font-family: var(--ff-body);

  --cc-overlay-bg: #7d7970a9;
}

#cc-main .pm__close-btn {
  background-color: transparent;
  border: none;
}

#cc-main .pm__close-btn:hover {
  background-color: var(--gray-100);
}

#cc-main .pm__section--expandable .pm__section-arrow {
  background: var(--gray-200);
  transition: background 200ms ease-out;
}

#cc-main .pm__section-title:hover + .pm__section-arrow {
  background: var(--gray-100);
}

#cc-main .cm__title + .cm__desc {
  margin-top: 0.5em;
}
#cc-main .pm__section-desc {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}