/* ==========================================================================
   Cirrusline — component layer
   Loaded after theme.json presets. Uses its own --cl-* variables so the
   stylesheet is portable to a non-FSE build.
   Structure: tokens → base → layout → header → hero → components → sections
              → forms → footer → motion → responsive → print
   Specificity rule: section spacing is set ONCE on .cl-section. Modifiers
   (.cl-section--flush etc.) are single-class overrides at the same
   specificity, declared after. Never use element selectors for spacing.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour */
  --cl-ink: #101A3C;        /* logo navy */
  --cl-ink-80: #2A3050;
  --cl-slate: #4A5270;
  --cl-mute: #656E88;       /* darkened to clear 4.5:1 on white */
  --cl-line: #E4E7F2;
  --cl-mist: #F5F6FC;
  --cl-white: #FFFFFF;
  --cl-blue-100: #E5EAFF;
  --cl-blue-300: #8CA0FF;
  --cl-blue-600: #1A6FD4;   /* sampled from the ZeptGlobal logo */
  --cl-blue-700: #145AAF;
  --cl-violet-100: #F0E6FF;
  --cl-violet-300: #B694FA;
  --cl-violet-500: #7A3BF0;
  --cl-aqua-400: #12B5A6;
  --cl-amber-400: #F5A524;
  --cl-rose-400: #E03127;   /* logo red, used for errors and the 'before' state */

  /* gradients */
  --cl-grad-rail: linear-gradient(180deg, #1A6FD4 0%, #3F86DB 100%);
  --cl-grad-action: linear-gradient(104deg, #145AAF 0%, #1A6FD4 55%, #3F86DB 100%);
  --cl-grad-veil: radial-gradient(120% 90% at 82% 8%, #EEF1FF 0%, rgba(255,255,255,0) 62%);

  /* type */
  --ff-display: "Archivo", "Archivo Expanded", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.1vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.75rem;
  --fs-metric: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem);

  /* spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px; --sp-11: 160px;
  --sp-section: clamp(64px, 8vw, 128px);
  --container: 1240px;
  --gutter: clamp(16px, 3vw, 24px);

  /* radii + elevation */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --sh-1: 0 1px 2px rgba(12,16,35,.04), 0 2px 8px rgba(43,75,242,.05);
  --sh-2: 0 2px 4px rgba(12,16,35,.05), 0 12px 28px rgba(43,75,242,.08);
  --sh-3: 0 8px 16px rgba(12,16,35,.06), 0 28px 60px rgba(43,75,242,.12);

  /* motion */
  --dur-fast: 160ms; --dur-base: 240ms; --dur-slow: 420ms; --dur-orbit: 18s;
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--cl-white);
  color: var(--cl-slate);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-variation-settings: "wdth" 112;
  color: var(--cl-ink);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.03; letter-spacing: -.024em; }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.1;  letter-spacing: -.018em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2;  letter-spacing: -.012em; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; }

p { margin: 0 0 var(--sp-4); max-width: 68ch; text-wrap: pretty; }

a { color: var(--cl-blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cl-blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.cl-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cl-ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.cl-skip-link:focus { left: 0; }

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

/* ---------- 3. Layout ---------- */
.cl-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.cl-section { padding-block: var(--sp-section); position: relative; }
.cl-section--mist { background: var(--cl-mist); }
.cl-section--ink { background: var(--cl-ink); color: rgba(255,255,255,.82); }
.cl-section--ink :is(h1,h2,h3,h4) { color: #fff; }
.cl-section--veil { background-image: var(--cl-grad-veil); background-repeat: no-repeat; }
/* single-class modifiers, declared after .cl-section so they win at equal specificity */
.cl-section--flush-top { padding-top: 0; }
.cl-section--flush-bottom { padding-bottom: 0; }
.cl-section--tight { padding-block: clamp(40px, 5vw, 72px); }

.cl-grid { display: grid; gap: var(--sp-5); }
.cl-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cl-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cl-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cl-grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }

.cl-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cl-split--wide-left { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.cl-split--reverse > :first-child { order: 2; }

.cl-stack > * + * { margin-top: var(--sp-4); }
.cl-measure { max-width: 60ch; }

/* ---------- 4. Type utilities ---------- */
.cl-eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cl-blue-600);
  margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: var(--sp-2);
}
.cl-eyebrow::before { content: "◇"; font-size: .8em; line-height: 1; opacity: .9; }
.cl-section--ink .cl-eyebrow { color: var(--cl-blue-300); }

.cl-display { font-size: var(--fs-display); font-weight: 700; line-height: .98; letter-spacing: -.028em; }
.cl-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--cl-ink-80); max-width: 60ch; }
.cl-small { font-size: var(--fs-small); color: var(--cl-mute); }
.cl-mono { font-family: var(--ff-mono); font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-mute); }

/* ---------- 4b. Breadcrumbs ---------- */
.cl-breadcrumbs { margin-bottom: var(--sp-5); }
.cl-breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  font-family: var(--ff-mono); font-size: var(--fs-eyebrow);
  letter-spacing: .08em; text-transform: uppercase;
}
.cl-breadcrumbs li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--cl-line); }
.cl-breadcrumbs a { color: var(--cl-mute); }
.cl-breadcrumbs a:hover { color: var(--cl-blue-600); }
.cl-breadcrumbs [aria-current="page"] { color: var(--cl-ink-80); }

/* ---------- 7b. Figure wrapper (illustration column) ---------- */
.cl-figure { position: relative; }
.cl-figure svg { width: 100%; height: auto; display: block; }
.cl-orbit__pause {
  position: absolute; right: 8px; bottom: 8px;
  width: 32px; height: 32px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: rgba(255,255,255,.9); border: 1px solid var(--cl-line);
  color: var(--cl-ink-80); cursor: pointer;
}
@media (max-width: 767px) {
  /* Simplify the illustration on small screens: drop the secondary detail. */
  .cl-figure .detail-layer { display: none; }
}

/* ---------- 3b. Deliverables checklist panel ---------- */
.cl-checklist { background: var(--cl-mist); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.cl-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.cl-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-3); align-items: start; font-size: var(--fs-small); }
.cl-checklist li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px;
  background: var(--cl-blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B4BF2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- 11b. Comparison / feature table ---------- */
.cl-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.cl-table th, .cl-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--cl-line); vertical-align: top; }
.cl-table th {
  font-family: var(--ff-mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cl-mute);
}
.cl-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .cl-table, .cl-table tbody, .cl-table tr, .cl-table td { display: block; width: 100%; }
  .cl-table thead { display: none; }
  .cl-table tr { border-bottom: 1px solid var(--cl-line); padding-block: var(--sp-4); }
  .cl-table td { border: 0; padding: 4px 0; }
  .cl-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--cl-ink); }
}

/* ---------- 5. Header & navigation ---------- */
.cl-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.cl-header.is-scrolled { height: 64px; border-bottom-color: var(--cl-line); }
.cl-header__inner { display: flex; align-items: center; gap: var(--sp-6); width: 100%; }
.cl-logo { display: inline-flex; align-items: center; color: var(--cl-ink); }
.cl-logo img { width: auto; height: 30px; display: block; }
.cl-header.is-scrolled .cl-logo img { height: 26px; transition: height var(--dur-base) var(--ease-out); }
@media (max-width: 480px) { .cl-logo img { height: 26px; } }
.cl-footer__logo { height: 30px; width: auto; display: block; margin-bottom: var(--sp-7); opacity: .95; }

.cl-nav { margin-left: auto; }
.cl-nav__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.cl-nav__link {
  font-size: var(--fs-small); font-weight: 500; color: var(--cl-ink-80);
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.cl-nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--cl-blue-600); transition: right var(--dur-base) var(--ease-out);
}
.cl-nav__link:hover::after, .cl-nav__link[aria-current="page"]::after,
.cl-nav__link[aria-expanded="true"]::after { right: 0; }
.cl-nav__link:hover { text-decoration: none; }

.cl-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cl-white);
  border-top: 1px solid var(--cl-line);
  box-shadow: var(--sh-2);
  padding-block: var(--sp-7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.cl-mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.cl-mega__grid { display: grid; grid-template-columns: repeat(4, 1fr) 280px; gap: var(--sp-7); }
.cl-mega__heading { font-family: var(--ff-mono); font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--cl-mute); margin-bottom: var(--sp-4); }
.cl-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.cl-mega__list a { color: var(--cl-ink-80); font-size: var(--fs-small); }
.cl-mega__list a:hover { color: var(--cl-blue-600); }
.cl-mega__promo { background: var(--cl-mist); border-radius: var(--r-lg); padding: var(--sp-5); }

.cl-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--cl-line); border-radius: var(--r-sm); }

.cl-drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--cl-white);
  transform: translateX(100%); transition: transform var(--dur-base) var(--ease-out);
  overflow-y: auto; padding: var(--sp-5) var(--gutter) var(--sp-8);
}
.cl-drawer.is-open { transform: translateX(0); }
.cl-drawer__item { border-bottom: 1px solid var(--cl-line); }
.cl-drawer__item > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--cl-ink); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 52px; padding: 0 28px; border-radius: var(--r-md);
  font-family: var(--ff-body); font-size: .9375rem; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              background-position var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn--primary { color: #fff; background-image: var(--cl-grad-action); background-size: 160% 100%; background-position: 0% 0%; }
.btn--primary:hover { background-position: 100% 0%; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn--secondary { background: var(--cl-white); color: var(--cl-ink); border-color: var(--cl-line); }
.btn--secondary:hover { border-color: var(--cl-blue-600); color: var(--cl-blue-600); }
.btn--dark { background: var(--cl-ink); color: #fff; }
.btn--dark:hover { background: var(--cl-blue-700); }
.btn--inverse { background: var(--cl-white); color: var(--cl-ink); }
.btn--inverse:hover { background: var(--cl-blue-100); }
.btn--ghost {
  min-height: auto; padding: 0; background: none; color: var(--cl-blue-600); border: 0; border-radius: 0;
  position: relative;
}
.btn--ghost::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; transition: right var(--dur-fast) var(--ease-out);
}
.btn--ghost:hover::after { right: 0; }

/* ---------- 7. Cards ---------- */
.cl-card {
  position: relative;
  background: var(--cl-white);
  border: 1px solid var(--cl-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cl-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: rgba(43,75,242,.24); }
.cl-card h3 { margin-bottom: var(--sp-2); }
.cl-card p { font-size: var(--fs-small); max-width: 42ch; margin-bottom: var(--sp-4); }
.cl-card__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.cl-plate {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cl-blue-100); color: var(--cl-blue-600);
  margin-bottom: var(--sp-5);
}
.cl-plate--violet { background: var(--cl-violet-100); color: var(--cl-violet-500); }
.cl-plate svg { width: 22px; height: 22px; stroke-width: 1.75; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.cl-tag {
  display: inline-block; font-family: var(--ff-mono); font-size: var(--fs-eyebrow);
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--cl-blue-100); color: var(--cl-ink-80);
  padding: 6px 12px; border-radius: var(--r-full);
}

/* whole-card links: no underline, inherit colour */
a.cl-card { text-decoration: none; color: inherit; display: block; }
a.cl-card:hover { text-decoration: none; }
a.cl-card h3 { color: var(--cl-ink); }

/* ---------- 8. Stage rail (signature) ---------- */
.cl-rail { display: none; }
@media (min-width: 1200px) {
  .cl-rail {
    display: block; position: fixed; top: 0; bottom: 0;
    left: max(24px, calc(50vw - 660px));
    width: 1px; background: var(--cl-line); z-index: 5; pointer-events: none;
  }
  .cl-rail__fill {
    position: absolute; inset: 0 0 auto 0; width: 1px;
    height: var(--rail-progress, 0%);
    background-image: var(--cl-grad-rail);
  }
  .cl-rail__node {
    position: absolute; left: 50%; width: 9px; height: 9px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--cl-white); border: 1px solid var(--cl-line);
  }
  .cl-rail__node.is-active { background-image: var(--cl-grad-rail); border-color: transparent; }
}

/* ---------- 9. Metrics ---------- */
.cl-metric__value { font-family: var(--ff-mono); font-size: var(--fs-metric); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #fff; }
.cl-section:not(.cl-section--ink) .cl-metric__value { color: var(--cl-ink); }
.cl-metric__label { font-size: var(--fs-small); color: inherit; opacity: .78; margin-top: var(--sp-3); max-width: 24ch; }
.cl-metric__delta { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-mono); font-size: var(--fs-eyebrow); padding: 4px 8px; border-radius: var(--r-full); margin-bottom: var(--sp-3); }
.cl-metric__delta--up { background: rgba(18,181,166,.14); color: var(--cl-aqua-400); }
.cl-metric__delta--down { background: rgba(245,165,36,.14); color: var(--cl-amber-400); }

/* ---------- 10. Accordion (FAQ) ---------- */
.cl-faq { border-top: 1px solid var(--cl-line); }
.cl-faq__item { border-bottom: 1px solid var(--cl-line); }
.cl-faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--ff-display); font-variation-settings: "wdth" 112;
  font-size: var(--fs-h4); font-weight: 600; color: var(--cl-ink);
}
.cl-faq__item summary::-webkit-details-marker { display: none; }
.cl-faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  background:
    linear-gradient(var(--cl-blue-600), var(--cl-blue-600)) center/12px 1.5px no-repeat,
    linear-gradient(var(--cl-blue-600), var(--cl-blue-600)) center/1.5px 12px no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.cl-faq__item[open] summary::after { transform: translateY(-50%) rotate(90deg); background-size: 12px 1.5px, 0 0; }
.cl-faq__answer { padding-bottom: 20px; }
.cl-faq__answer p { font-size: var(--fs-body); }

/* ---------- 11. Testimonials ---------- */
.cl-quote { border: 1px solid var(--cl-line); border-radius: var(--r-xl); padding: var(--sp-7); background: var(--cl-white); }
.cl-quote blockquote { margin: 0 0 var(--sp-5); font-size: var(--fs-lead); line-height: 1.5; color: var(--cl-ink); }
.cl-quote__who { display: flex; align-items: center; gap: var(--sp-3); }
.cl-quote__monogram {
  width: 40px; height: 40px; border-radius: var(--r-full);
  background-image: var(--cl-grad-action); color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-mono); font-size: .8125rem; letter-spacing: .04em;
}
.cl-quote cite { font-style: italic; font-size: var(--fs-small); color: var(--cl-mute); }

/* ---------- 12. Process steps ---------- */
.cl-step { display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-5); padding-block: var(--sp-7); border-top: 1px solid var(--cl-line); }
.cl-step__num { font-family: var(--ff-mono); font-size: 1.125rem; color: var(--cl-blue-600); letter-spacing: .04em; }
.cl-step__meta { font-family: var(--ff-mono); font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-mute); }

/* ---------- 13. Forms ---------- */
.cl-field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.cl-field label { font-size: var(--fs-small); font-weight: 600; color: var(--cl-ink); }
.cl-field .cl-hint { font-size: var(--fs-small); color: var(--cl-mute); }
.cl-field input, .cl-field select, .cl-field textarea {
  font: inherit; font-size: var(--fs-body); color: var(--cl-ink);
  min-height: 52px; padding: 14px 16px;
  background: var(--cl-white); border: 1px solid var(--cl-line); border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
.cl-field textarea { min-height: 132px; resize: vertical; }
.cl-field input:focus, .cl-field select:focus, .cl-field textarea:focus {
  border-color: var(--cl-blue-600); box-shadow: 0 0 0 4px var(--cl-blue-100); outline: none;
}
.cl-field--error input, .cl-field--error textarea, .cl-field--error select { border-color: var(--cl-rose-400); }
.cl-error { color: var(--cl-rose-400); font-size: var(--fs-small); display: flex; align-items: center; gap: 6px; }
.cl-consent { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-small); }
.cl-consent input { width: 20px; height: 20px; min-height: 0; flex: 0 0 auto; margin-top: 2px; }
.cl-honeypot { position: absolute; left: -9999px; }
.cl-form__summary { border: 1px solid var(--cl-rose-400); border-radius: var(--r-sm); padding: var(--sp-4); margin-bottom: var(--sp-5); }

/* ---------- 14. Footer ---------- */
.cl-footer { background: var(--cl-ink); color: rgba(255,255,255,.78); padding-top: var(--sp-9); }
.cl-footer :is(h2,h3,h4) { color: #fff; }
.cl-footer a { color: rgba(255,255,255,.78); font-size: var(--fs-small); }
.cl-footer a:hover { color: #fff; }
.cl-footer__strip {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); margin-top: calc(-1 * var(--sp-9) - 64px); margin-bottom: var(--sp-9);
  backdrop-filter: blur(6px);
}
.cl-footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-8); }
.cl-footer__cols h4 { font-family: var(--ff-mono); font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cl-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.cl-footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--sp-5); font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.cl-footer__disclaimer { font-family: var(--ff-mono); font-size: var(--fs-eyebrow); line-height: 1.6; color: rgba(255,255,255,.55); padding-bottom: var(--sp-7); max-width: 90ch; }

/* ---------- 15. Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.cl-hero [data-load] { opacity: 0; transform: translateY(12px); animation: cl-rise var(--dur-slow) var(--ease-out) forwards; }
.cl-hero [data-load="1"] { animation-delay: 40ms; }
.cl-hero [data-load="2"] { animation-delay: 100ms; }
.cl-hero [data-load="3"] { animation-delay: 160ms; }
.cl-hero [data-load="4"] { animation-delay: 220ms; }
.cl-hero [data-load="5"] { animation-delay: 280ms; }
@keyframes cl-rise { to { opacity: 1; transform: none; } }

.cl-orbit__token { offset-path: path(var(--orbit-path)); animation: cl-orbit var(--dur-orbit) var(--ease-in-out) infinite; }
@keyframes cl-orbit {
  0%,6%     { offset-distance: 0%; }
  22%,28%   { offset-distance: 25%; }
  47%,53%   { offset-distance: 50%; }
  72%,78%   { offset-distance: 75%; }
  97%,100%  { offset-distance: 100%; }
}
.cl-orbit.is-paused .cl-orbit__token { animation-play-state: paused; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1199px) {
  .cl-grid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .cl-nav, .cl-mega { display: none; }
  .cl-menu-toggle { display: inline-flex; margin-left: auto; }
  .cl-grid--3, .cl-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cl-split { grid-template-columns: 1fr; gap: var(--sp-7); }
  .cl-split--reverse > :first-child { order: 0; }
  .cl-split .cl-figure { order: -1; }
  .cl-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .cl-grid--2, .cl-grid--3, .cl-grid--4 { grid-template-columns: 1fr; }
  .cl-grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cl-card { padding: var(--sp-5); }
  .cl-step { grid-template-columns: 1fr; gap: var(--sp-3); }
  .cl-quote { padding: var(--sp-5); }
  .cl-mobile-hide { display: none; }
}
@media (max-width: 479px) {
  .btn { width: 100%; min-height: 48px; }
  .cl-actions { display: grid; gap: var(--sp-3); }
  .cl-footer__cols { grid-template-columns: 1fr; }
}

/* sticky mobile CTA on service pages */
.cl-sticky-cta { display: none; }
@media (max-width: 767px) {
  .cl-sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--cl-line);
    transform: translateY(110%); transition: transform var(--dur-base) var(--ease-out);
  }
  .cl-sticky-cta.is-visible { transform: none; }
}

/* ---------- 17. Reduced motion & forced colours ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cl-orbit__token { offset-distance: 25%; }
}
@media (forced-colors: active) {
  .cl-card, .cl-quote, .cl-field input { border: 1px solid CanvasText; }
  .btn { border: 1px solid ButtonText; }
}

/* ---------- 18. Print ---------- */
@media print {
  .cl-header, .cl-footer__strip, .cl-sticky-cta, .cl-rail, .cl-drawer { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
