/* =========================================================================
   C&E WORKS — Customer & Employee Performance
   styles.css

   Palette / type tokens live in :root below. Change them once here and the
   whole site follows. Layout is a warm off-white ("paper") canvas with
   charcoal ("ink") inversion sections for emphasis. One accent: deep teal.
   ========================================================================= */

:root {
  /* --- colour --- */
  --ink:        #17191c;   /* near-black charcoal */
  --ink-soft:   #23272c;   /* raised surface on dark sections */
  --ink-line:   rgba(255,255,255,0.14);
  --ink-mute:   #9aa1a8;   /* secondary text on dark */

  --paper:      #f4f0e7;   /* warm off-white — main canvas */
  --paper-2:    #ece5d8;   /* slightly deeper — cards / alternate bands */
  --paper-line: rgba(23,25,28,0.13);
  --white:      #fbf9f4;

  --ink-text:   #1c1f22;   /* primary text on paper */
  --mute:       #5d6268;   /* secondary text on paper */

  --teal:       #0e6e63;   /* accent — buttons, marks */
  --teal-text:  #0a564d;   /* accent as text/links on paper (contrast-safe) */
  --teal-bright:#37b5a6;   /* accent on dark backgrounds */

  --clay:       #b06b3a;   /* secondary "signal" — used only in diagrams */
  --clay-bright:#d59662;

  /* --- type --- */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* --- rhythm --- */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 132px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-text);
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--teal); color: var(--white); }

/* --------------------------------------------------------------- helpers */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--teal);
  display: inline-block;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius); z-index: 999;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: #0b5a51; }

.btn--ghost { background: transparent; color: var(--ink-text); border-color: var(--paper-line); }
.btn--ghost:hover { border-color: var(--ink-text); }

.btn--on-dark { background: var(--white); color: var(--ink); }
.btn--on-dark:hover { background: #ffffff; }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: var(--ink-line); }
.btn--ghost-dark:hover { border-color: var(--white); }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); /* fallback */
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--paper-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; }
.brand__mark {
  font-family: var(--display);
  font-weight: 800; font-size: 20px; letter-spacing: 0.02em;
  color: var(--ink-text);
}
.brand__amp { color: var(--teal-text); }
.brand__sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mute);
  margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--paper-line);
  align-self: center;
}
@media (max-width: 720px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 15px;
  color: var(--ink-text); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius);
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--teal-text); }
.nav a[aria-current="page"] { color: var(--teal-text); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--teal);
  margin-top: 3px; border-radius: 2px;
}
.nav .btn { margin-left: 10px; padding: 11px 18px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-text); border-radius: 2px; transition: transform .22s var(--ease), opacity .18s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--paper-line);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--paper-line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 14px 0 0; justify-content: center; padding: 15px; }
}

/* --------------------------------------------------------------- section */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink .eyebrow { color: var(--teal-bright); }
.section--ink .eyebrow::before { background: var(--teal-bright); }
.section--ink .lead, .section--ink p { color: #d9dde1; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

h2.h-section { font-size: clamp(30px, 4.4vw, 50px); }
h3.h-sub { font-size: clamp(22px, 2.6vw, 30px); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--mute); line-height: 1.55; }
.section--ink .lead { color: #d9dde1; }
.measure { max-width: 62ch; }

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title {
  font-size: clamp(38px, 6.6vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; }
.hero__title .accent { color: var(--teal-text); }
.hero__title .soft { color: var(--mute); font-weight: 600; }

.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--mute); max-width: 54ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* convergence diagram (hero signature) */
.diagram-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 26px 26px 22px;
  box-shadow: 0 1px 0 rgba(23,25,28,.04), 0 24px 60px -40px rgba(23,25,28,.5);
}
.diagram-card__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 4px;
}
.converge { width: 100%; height: auto; }
.converge .c-line { fill: none; stroke-width: 2; stroke-linecap: round; }
.converge .c-cust { stroke: var(--clay); }
.converge .c-emp  { stroke: var(--teal); }
.converge .c-root { stroke: var(--ink); }
.converge .c-node { fill: var(--ink); }
.converge text { font-family: var(--mono); font-size: 11px; fill: var(--mute); letter-spacing: 0.04em; }
.converge .c-tag { fill: var(--ink-text); font-weight: 500; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* --------------------------------------------------------- problem cards */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: 8px; overflow: hidden;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }
.problem {
  background: var(--paper);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 100%;
}
.section--paper2 .problem { background: var(--paper-2); }
.problem__q {
  font-family: var(--display); font-weight: 600; font-size: 19px;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-text);
}
.problem__mark { font-family: var(--mono); font-size: 12px; color: var(--teal-text); letter-spacing: 0.08em; }

/* ---------------------------------------------------------- steps (FFE) */
.steps { display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: clamp(26px, 3.4vw, 40px);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.step:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--paper-line)); transform: translateY(-2px); }
.step__index {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  color: var(--teal-text); padding-top: 6px;
}
.step__body { max-width: 62ch; }
.step__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.step__title { font-size: clamp(22px, 2.5vw, 29px); margin-bottom: 14px; }
.step__title .word { color: var(--teal-text); }
.step p { color: var(--mute); }
.step__cta { align-self: center; }
@media (max-width: 780px) {
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step__index { padding-top: 0; }
  .step__cta { justify-self: start; }
}

.pill-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
  color: var(--mute); background: var(--paper-2);
  border: 1px solid var(--paper-line);
  padding: 6px 11px; border-radius: 100px;
}
.section--ink .pill-list li { background: var(--ink-soft); border-color: var(--ink-line); color: var(--ink-mute); }

/* -------------------------------------------------------- ground truth  */
.gt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .gt-grid { grid-template-columns: 1fr; } }

.gap-viz { border: 1px solid var(--ink-line); border-radius: 8px; padding: 26px; background: var(--ink-soft); }
.gap-row { margin-bottom: 22px; }
.gap-row:last-child { margin-bottom: 0; }
.gap-row__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; display: flex; justify-content: space-between; }
.gap-bar { height: 12px; border-radius: 100px; background: rgba(255,255,255,.08); overflow: hidden; }
.gap-bar__fill { height: 100%; border-radius: 100px; }
.gap-bar__fill--belief { background: var(--teal-bright); width: 88%; }
.gap-bar__fill--reality { background: var(--clay-bright); width: 54%; }
.gap-callout {
  margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--ink-line);
  font-family: var(--mono); font-size: 12.5px; color: var(--teal-bright); letter-spacing: 0.04em;
}

.big-q { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.gt-note { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); margin-top: 22px; letter-spacing: 0.02em; }

/* ------------------------------------------------------------ why cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  border-top: 2px solid var(--teal);
  padding: 22px 4px 8px;
}
.why__n { font-family: var(--mono); font-size: 12px; color: var(--teal-text); letter-spacing: 0.1em; margin-bottom: 12px; }
.why__t { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.why p { color: var(--mute); font-size: 16px; }

/* ------------------------------------------------------------ kpi cards */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: 8px; overflow: hidden; }
@media (max-width: 820px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi { background: var(--ink); padding: 30px 26px; }
.kpi__n { font-family: var(--mono); font-weight: 500; font-size: clamp(30px, 4vw, 42px); color: var(--white); letter-spacing: -0.02em; line-height: 1; }
.kpi__l { color: var(--ink-mute); font-size: 14.5px; margin-top: 12px; max-width: 24ch; }

/* ----------------------------------------------------------- flow / map */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }
.flow__node {
  border: 1px solid var(--paper-line); border-radius: 8px; padding: 22px 20px;
  background: var(--white); position: relative;
}
.section--ink .flow__node { background: var(--ink-soft); border-color: var(--ink-line); }
.flow__step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 10px; }
.section--ink .flow__step { color: var(--teal-bright); }
.flow__h { font-size: 18px; margin-bottom: 8px; }
.flow__node p { font-size: 14.5px; color: var(--mute); }
.section--ink .flow__node p { color: var(--ink-mute); }

.friction-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--paper-line); border-radius: 8px; overflow: hidden; margin-top: 24px; }
@media (max-width: 780px) { .friction-map { grid-template-columns: 1fr; } }
.fm-cell { padding: 22px 20px; background: var(--white); border-right: 1px solid var(--paper-line); }
.fm-cell:last-child { border-right: 0; }
@media (max-width: 780px) { .fm-cell { border-right: 0; border-bottom: 1px solid var(--paper-line); } .fm-cell:last-child { border-bottom: 0; } }
.fm-cell__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.fm-cell:nth-child(1) .fm-cell__k { color: var(--clay); }
.fm-cell:nth-child(2) .fm-cell__k { color: var(--teal-text); }
.fm-cell:nth-child(3) .fm-cell__k { color: var(--ink-text); }
.fm-cell:nth-child(4) .fm-cell__k { color: var(--teal-text); }
.fm-cell p { font-size: 15px; color: var(--mute); }

/* priority tags */
.prio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.prio span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 7px 13px; border-radius: 100px; border: 1px solid var(--paper-line);
}
.prio .now  { color: #8a3b1f; border-color: #dcae90; background: #f3e2d3; }
.prio .next { color: var(--teal-text); border-color: #a9cfc8; background: #dfece9; }
.prio .watch{ color: var(--mute); }
.prio .stop { color: #7a2f2f; border-color: #d3a3a3; background: #efdcdc; }

/* --------------------------------------------------------------- lists  */
.two-col { columns: 2; column-gap: 40px; }
@media (max-width: 620px) { .two-col { columns: 1; } }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--mute); break-inside: avoid; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 15px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.section--ink .ticks li { color: #d3d7db; }
.section--ink .ticks li::before { border-color: var(--teal-bright); }

/* --------------------------------------------------------------- forms  */
.form-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-aside__panel { border: 1px solid var(--paper-line); border-radius: 8px; padding: 26px; background: var(--paper-2); margin-top: 26px; }
.form-aside__panel h3 { font-size: 18px; margin-bottom: 10px; }
.form-aside__panel p { font-size: 15px; color: var(--mute); }

.reg-form { display: grid; gap: 20px; }
.reg-form[hidden] { display: none; }
.field { display: grid; gap: 8px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field label { font-family: var(--display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.field .req { color: var(--teal-text); font-family: var(--mono); font-size: 12px; }
.field .opt { color: var(--mute); font-family: var(--mono); font-size: 12px; font-weight: 400; }

.input, .select, .textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink-text);
  background: var(--white); border: 1px solid var(--paper-line);
  border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent);
}
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6268' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.consent label { font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--mute); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-family: var(--mono); font-size: 12px; color: var(--mute); }

.form-success {
  display: none;
  border: 1px solid #a9cfc8; background: #e6f0ee;
  border-radius: 8px; padding: 30px 28px;
}
.form-success.is-visible { display: block; }
.form-success h3 { font-size: 24px; margin-bottom: 12px; }
.form-success p { color: var(--mute); }
.form-success__mark { font-family: var(--mono); color: var(--teal-text); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--ink-mute); padding-block: clamp(48px, 6vw, 72px); }
.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }
.footer__brand .brand__mark { color: var(--white); }
.footer__brand .brand__amp { color: var(--teal-bright); }
.footer__tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 14px; }
.footer__blurb { margin-top: 18px; max-width: 42ch; font-size: 15px; color: #c7ccd1; }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: #c7ccd1; text-decoration: none; padding: 6px 0; font-size: 15px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-bottom p { color: var(--ink-mute); font-size: 13px; }
.footer-status { font-family: var(--mono); letter-spacing: 0.04em; color: var(--teal-bright); }

/* --------------------------------------------------------- page banner  */
.page-hero { padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__title { font-size: clamp(34px, 5.4vw, 62px); letter-spacing: -0.03em; margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }

/* --------------------------------------------------------- reveal anim  */
/* Hidden state only applies when JS is present (html.js), so the site is
   fully visible if JavaScript is disabled or fails to load. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .draw, .js .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .btn:hover, .step:hover { transform: none; }
}

/* --------------------------------------------------------- misc blocks  */
.statement { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
.statement .accent { color: var(--teal-text); }
.section--ink .statement .accent { color: var(--teal-bright); }

.and-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.and-row span { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 22px); color: var(--ink-text); }
.section--ink .and-row span { color: #e7eaec; }
.and-row .amp { color: var(--teal-text); }
.section--ink .and-row .amp { color: var(--teal-bright); }

.callout {
  border-left: 3px solid var(--teal); padding: 6px 0 6px 22px;
  font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.3; letter-spacing: -0.01em; max-width: 40ch;
}
.section--ink .callout { border-color: var(--teal-bright); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 820px) { .mini-grid { grid-template-columns: 1fr; } }
.mini { border-top: 1px solid var(--paper-line); padding-top: 16px; }
.mini h4 { font-family: var(--display); font-size: 17px; margin-bottom: 8px; }
.mini p { font-size: 15px; color: var(--mute); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag-cloud span { font-family: var(--mono); font-size: 13px; color: var(--mute); background: var(--paper-2); border: 1px solid var(--paper-line); padding: 8px 14px; border-radius: 100px; }

/* =========================================================================
   V2 ADDITIONS — layered on top of the existing system.
   New components only; existing tokens, colours and type reused throughout.
   ========================================================================= */

/* ---- nav: tighten to fit five items ---- */
.nav { gap: 3px; }
.nav > a:not(.btn) { padding: 8px 10px; }

/* ---- footer: four columns + place / email ---- */
.footer-top { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer__place { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-mute); margin-top: 18px; }
.footer__email { display: inline-block; margin-top: 10px; color: #c7ccd1; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--ink-line); padding-bottom: 1px; }
.footer__email:hover { color: var(--white); border-color: var(--teal-bright); }

/* ---- journey band (Free Snapshot -> Find -> Fix -> Embed) ---- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }
.j-node {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--paper-line); border-radius: 8px; padding: 22px 20px;
  background: var(--white); position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.j-node:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--paper-line)); transform: translateY(-2px); }
.j-node__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.j-pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--clay); border: 1px solid #dcae90; background: #f3e2d3; border-radius: 100px; padding: 2px 8px; text-transform: uppercase; }
.j-node--free { border-color: color-mix(in srgb, var(--clay) 42%, var(--paper-line)); }
.j-node__t { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--ink-text); }
.j-node__q { font-size: 14.5px; color: var(--mute); }
.j-node__arrow { position: absolute; right: -11px; top: 50%; transform: translateY(-50%); z-index: 2; color: var(--mute); font-size: 16px; background: var(--paper-2); border-radius: 100px; width: 20px; height: 20px; display: grid; place-items: center; }
@media (max-width: 860px) { .j-node__arrow { display: none; } }

/* ---- three-signal Ground Truth diagram (dark) ---- */
.diagram-card--dark { background: var(--ink-soft); border-color: var(--ink-line); box-shadow: none; }
.diagram-card--dark .diagram-card__label { color: var(--ink-mute); }
.converge--three text { fill: var(--ink-mute); }
.converge--three .c-tag { fill: #e7eaec; }
.converge--three .c-cust { stroke: var(--clay-bright); }
.converge--three .c-emp  { stroke: var(--teal-bright); }
.converge--three .c-ops  { stroke: #c7ccd1; }
.converge--three .c-root { stroke: #e7eaec; }
.converge--three .c-node { fill: var(--teal-bright); }

/* ---- Snapshot vs Diagnostic compare ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare__col { border: 1px solid var(--paper-line); border-radius: 10px; padding: 28px 26px; background: var(--white); height: 100%; }
.compare__col--deep { border-color: color-mix(in srgb, var(--teal) 45%, var(--paper-line)); box-shadow: 0 24px 60px -46px rgba(23,25,28,.5); }
.compare__badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; display: inline-block; }
.badge--free { color: var(--clay); background: #f3e2d3; border: 1px solid #dcae90; }
.badge--deep { color: var(--teal-text); background: #dfece9; border: 1px solid #a9cfc8; }
.compare__name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 14px 0 2px; }
.compare__q { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--teal-text); margin-bottom: 10px; }
.compare dl { margin: 0; }
.compare dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 16px; }
.compare dd { margin: 5px 0 0; color: var(--ink-text); font-size: 15.5px; }
.compare__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--paper-line); font-size: 14.5px; color: var(--mute); }

/* ---- FAQ (native details, no JS needed) ---- */
.faq { max-width: 820px; margin-top: 8px; border-top: 1px solid var(--paper-line); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.01em; color: var(--ink-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 22px; color: var(--teal-text); font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.faq__a { padding: 0 40px 24px 0; color: var(--mute); max-width: 70ch; }
.faq__a p { margin-bottom: 12px; }

/* ---- signal trio (three small cards: leadership / customers / employees) ---- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: 8px; overflow: hidden; margin-top: 8px; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr; } }
.trio__cell { background: var(--ink-soft); padding: 24px 22px; }
.trio__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.trio__cell:nth-child(1) .trio__k { color: var(--ink-mute); }
.trio__cell:nth-child(2) .trio__k { color: var(--clay-bright); }
.trio__cell:nth-child(3) .trio__k { color: var(--teal-bright); }
.trio__cell p { font-size: 15px; color: #d3d7db; }

/* ---- two clear routes (register page) ---- */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .routes { grid-template-columns: 1fr; } }
.route {
  border: 1px solid var(--paper-line); border-radius: 10px; padding: 30px 28px;
  background: var(--white); display: flex; flex-direction: column;
}
.route--primary { border-color: color-mix(in srgb, var(--clay) 42%, var(--paper-line)); background: var(--paper); }
.route__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.route__t { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -0.01em; margin-bottom: 12px; }
.route p { color: var(--mute); margin-bottom: 22px; }
.route .btn { margin-top: auto; align-self: flex-start; }

/* ---- marketing consent spacing on forms ---- */
.consent + .consent { margin-top: -6px; }

/* ---- inline mono note / small print ---- */
.smallprint { font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: 0.02em; }

/* ---- 404 ---- */
.err { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.err__code { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-text); }
.err__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
