/* =====================================================================
   public/css/platformMarketing.css · the Walkable marketing site
   ---------------------------------------------------------------------
   Loaded only by views/marketing/*. Prefix: .wkm-.

   Referent: a jobsite clipboard. Paper page, asphalt as the one dark
   material, and a single snapped safety-orange chalk line as the only
   accent device. One typeface (Familjen Grotesk, the wordmark's face) at
   two display weights far apart; JetBrains Mono in exactly one slot (the
   workspace finder in the footer); the address bars on the product frames
   use the system UI face, the way a real browser's chrome does.
   Neutrals are the ink at reduced alpha over warm
   paper, so every grey carries the paper's temperature. Borders ride
   box-shadows; shadows are layered and warm; figures are tabular;
   every transition is interruptible; reduced motion turns motion off.
   ===================================================================== */

:root {
  --wkm-paper:   #FBFAF6;
  --wkm-paper-2: #F5F2E9;
  --wkm-paper-3: #EBE6D6;
  --wkm-white:   #FFFFFF;

  --wkm-ink:   #16181D;
  --wkm-ink-2: rgba(22, 24, 29, 0.74);
  --wkm-ink-3: rgba(22, 24, 29, 0.63);
  --wkm-ink-4: rgba(22, 24, 29, 0.38);
  --wkm-ink-5: rgba(22, 24, 29, 0.22);
  --wkm-hair:   rgba(22, 24, 29, 0.10);
  --wkm-hair-2: rgba(22, 24, 29, 0.17);

  --wkm-line:      #F26A1E;
  --wkm-line-2:    #E25A14;
  --wkm-line-3:    #C24A0E;
  --wkm-line-soft: rgba(242, 106, 30, 0.13);

  --wkm-moss:      #3F8F5C;
  --wkm-moss-soft: #DDEEE3;
  --wkm-sun:       #B9800F;
  --wkm-sun-soft:  #FBECC7;
  --wkm-sky-soft:  #DCEBF6;

  --wkm-asphalt:   #16181D;
  --wkm-asphalt-2: #20242C;
  --wkm-asphalt-3: #2C313B;
  --wkm-paper-on-asphalt: #FBFAF6;
  --wkm-hair-on-asphalt: rgba(251, 250, 246, 0.12);

  --wkm-font: 'Familjen Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --wkm-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  /* What a browser's own chrome renders in (Chrome, Safari, Edge): the
     address bars on the product frames use it, not the mono. */
  --wkm-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wkm-r: 6px;
  --wkm-r-lg: 12px;
  --wkm-r-pill: 999px;

  --wkm-shadow-frame: 0 1px 1px rgba(22, 24, 29, 0.04), 0 22px 48px -18px rgba(22, 24, 29, 0.22), 0 0 0 1px rgba(22, 24, 29, 0.075);
  --wkm-shadow-card: 0 1px 1px rgba(22, 24, 29, 0.03), 0 8px 22px -10px rgba(22, 24, 29, 0.12), 0 0 0 1px rgba(22, 24, 29, 0.07);
  --wkm-shadow-pop: 0 2px 4px rgba(22, 24, 29, 0.05), 0 18px 38px -12px rgba(22, 24, 29, 0.26), 0 0 0 1px rgba(22, 24, 29, 0.08);

  --wkm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wkm-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --wkm-dur-1: 140ms;
  --wkm-dur-2: 220ms;
  --wkm-dur-3: 460ms;

  --wkm-container: 1200px;
  --wkm-gutter: 24px;

  --wkm-fs-display: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem);
  --wkm-fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.125rem);
  --wkm-fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --wkm-fs-h4: 1.25rem;
  --wkm-fs-lede: clamp(1.125rem, 1.04rem + 0.42vw, 1.3125rem);
  --wkm-fs-body: 1.0625rem;
  --wkm-fs-small: 0.875rem;
  --wkm-fs-micro: 0.75rem;
}

/* ─── Base ────────────────────────────────────────────────────────── */
.wkm-body, .wkm-body * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.wkm-body {
  margin: 0;
  background: var(--wkm-paper);
  color: var(--wkm-ink);
  font-family: var(--wkm-font);
  font-size: var(--wkm-fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  color-scheme: light;
  overflow-x: hidden;
}
.wkm-body ::selection { background: var(--wkm-line-soft); }
.wkm-body a { color: inherit; }
.wkm-body p { margin: 0; text-wrap: pretty; }
.wkm-body h1, .wkm-body h2, .wkm-body h3 { margin: 0; text-wrap: balance; }
.wkm-body ul, .wkm-body ol { margin: 0; padding: 0; list-style: none; }
.wkm-body dl, .wkm-body dt, .wkm-body dd { margin: 0; }
.wkm-body button { font: inherit; color: inherit; }
.wkm-body svg { display: block; }

.wkm-vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wkm-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--wkm-r);
  background: var(--wkm-ink); color: var(--wkm-paper);
  font-weight: 600; text-decoration: none;
  transition: top var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-skip:focus { top: 12px; }

.wkm-body :focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--wkm-paper), 0 0 0 4px var(--wkm-line);
  border-radius: var(--wkm-r);
}

/* Anchor targets clear the sticky header. */
.wkm-section[id], .wkm-stage[id] { scroll-margin-top: 84px; }

.wkm-container {
  width: 100%;
  max-width: calc(var(--wkm-container) + var(--wkm-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--wkm-gutter);
}

/* ─── Type ────────────────────────────────────────────────────────── */
.wkm-display {
  font-size: var(--wkm-fs-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.028em;
}
.wkm-h2 {
  font-size: var(--wkm-fs-h2);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.wkm-h2--paper { color: var(--wkm-paper-on-asphalt); }
.wkm-h3 {
  font-size: var(--wkm-fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.wkm-h4 {
  font-size: var(--wkm-fs-h4);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.006em;
}
.wkm-lede {
  font-size: var(--wkm-fs-lede);
  line-height: 1.45;
  color: var(--wkm-ink-2);
  max-width: 56ch;
}
.wkm-body-lg {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--wkm-ink-2);
  max-width: 54ch;
}
.wkm-fine {
  font-size: var(--wkm-fs-small);
  color: var(--wkm-ink-3);
  line-height: 1.5;
}

/* The chalk line: the one accent device. Snaps in from the left on reveal. */
.wkm-mark-line {
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 0 10px;
  background: var(--wkm-line);
  border-radius: 1px;
  transform-origin: left center;
}
.wkm-mark-line--center { margin: 0 auto 20px; transform-origin: center; }
.wkm-reveal .wkm-mark-line { transform: scaleX(0); transition: transform 560ms var(--wkm-ease) 120ms; }
.wkm-reveal.is-in .wkm-mark-line { transform: scaleX(1); }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.wkm-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--wkm-r);
  font-family: var(--wkm-font);
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--wkm-dur-1) var(--wkm-ease), box-shadow var(--wkm-dur-1) var(--wkm-ease), transform var(--wkm-dur-1) var(--wkm-ease), color var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-btn:active { transform: scale(0.975); }
.wkm-btn--lg { height: 50px; padding: 0 22px; font-size: 1.0313rem; }
.wkm-btn--sm { height: 38px; padding: 0 14px; font-size: 0.9063rem; }
.wkm-btn--block { width: 100%; }

/* Primary: safety orange with white on it, the same pairing the product's
   own buttons use (owner decision, Oct 8 2026). */
/* Scoped under .wkm-body so these outrank the `.wkm-body a { color: inherit }`
   base rule: most buttons on the page are links. */
.wkm-body .wkm-btn--primary {
  background: var(--wkm-line);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.08), 0 1px 0 rgba(22, 24, 29, 0.05);
}
.wkm-body .wkm-btn--primary:hover { background: var(--wkm-line-2); color: #FFFFFF; }
.wkm-body .wkm-btn--primary:active { background: var(--wkm-line-3); color: #FFFFFF; }

.wkm-body .wkm-btn--secondary {
  background: var(--wkm-white);
  color: var(--wkm-ink);
  box-shadow: inset 0 0 0 1px var(--wkm-hair-2), 0 1px 1px rgba(22, 24, 29, 0.04);
}
.wkm-body .wkm-btn--secondary:hover { background: var(--wkm-paper-2); box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.26), 0 1px 1px rgba(22, 24, 29, 0.04); }
.wkm-body .wkm-btn--secondary:active { background: var(--wkm-paper-3); }

.wkm-body .wkm-btn--ink {
  background: var(--wkm-ink);
  color: var(--wkm-paper);
}
.wkm-body .wkm-btn--ink:hover { background: var(--wkm-asphalt-3); }

/* ─── Header ──────────────────────────────────────────────────────── */
.wkm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}
.wkm-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--wkm-hair);
  opacity: 0;
  transition: opacity var(--wkm-dur-2) var(--wkm-ease);
}
.wkm-header.is-scrolled::after { opacity: 1; }
.wkm-header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}
.wkm-brand { display: inline-flex; align-items: center; text-decoration: none; }
.wkm-wordmark { height: 30px; width: auto; aspect-ratio: 196 / 44; }
.wkm-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.wkm-nav__link {
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 12px;
  border-radius: var(--wkm-r);
  font-size: 0.9375rem; font-weight: 500;
  color: var(--wkm-ink-2);
  text-decoration: none;
  transition: color var(--wkm-dur-1) var(--wkm-ease), background-color var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-nav__link:hover { color: var(--wkm-ink); background: rgba(22, 24, 29, 0.05); }
.wkm-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.wkm-header__signin {
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 12px;
  border-radius: var(--wkm-r);
  font-size: 0.9375rem; font-weight: 500;
  color: var(--wkm-ink-2);
  text-decoration: none;
  transition: color var(--wkm-dur-1) var(--wkm-ease), background-color var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-header__signin:hover { color: var(--wkm-ink); background: rgba(22, 24, 29, 0.05); }

.wkm-menu-btn {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -8px;
  padding: 0; border: 0; background: transparent;
  border-radius: var(--wkm-r);
  cursor: pointer;
}
.wkm-menu-btn__bar {
  position: absolute; left: 12px; width: 20px; height: 2px;
  background: var(--wkm-ink); border-radius: 1px;
  transition: transform var(--wkm-dur-2) var(--wkm-ease), top var(--wkm-dur-2) var(--wkm-ease);
}
.wkm-menu-btn__bar:nth-child(1) { top: 17px; }
.wkm-menu-btn__bar:nth-child(2) { top: 25px; }
.wkm-menu-btn[aria-expanded="true"] .wkm-menu-btn__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.wkm-menu-btn[aria-expanded="true"] .wkm-menu-btn__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.wkm-sheet {
  display: none;
  padding: 8px var(--wkm-gutter) 20px;
  background: var(--wkm-paper);
  /* Its own ink: the sheet sits inside the header, which is paper-on-
     asphalt while the hero slab is behind it, and the links inherit. */
  color: var(--wkm-ink);
  box-shadow: 0 1px 0 var(--wkm-hair), 0 18px 32px -16px rgba(22, 24, 29, 0.2);
}
.wkm-sheet__nav { display: flex; flex-direction: column; margin-bottom: 12px; }
.wkm-sheet__link {
  display: flex; align-items: center;
  min-height: 48px;
  font-size: 1.0625rem; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 0 var(--wkm-hair);
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.wkm-hero { padding: 72px 0 0; }
.wkm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 56px;
  align-items: end;
}
.wkm-hero__title { max-width: 12ch; }
.wkm-hero__line { display: block; }
.wkm-hero__aside { display: flex; flex-direction: column; gap: 22px; padding-bottom: 6px; }
.wkm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Entrance: lines rise, then the frame settles. Staged, not simultaneous. */
.wkm-hero__line, .wkm-hero__aside > *, .wkm-stage {
  opacity: 0;
  transform: translateY(14px);
  animation: wkm-rise 760ms var(--wkm-ease) forwards;
}
.wkm-hero__line:nth-child(2) { animation-delay: 70ms; }
.wkm-hero__aside > :nth-child(1) { animation-delay: 160ms; }
.wkm-hero__aside > :nth-child(2) { animation-delay: 230ms; }
.wkm-hero__aside > :nth-child(3) { animation-delay: 300ms; }
.wkm-stage { animation-delay: 360ms; animation-duration: 900ms; transform: translateY(22px); }
@keyframes wkm-rise { to { opacity: 1; transform: none; } }

/* ─── The product frame ───────────────────────────────────────────── */
.wkm-stage { margin-top: 60px; }
.wkm-frame {
  background: var(--wkm-white);
  border-radius: var(--wkm-r-lg);
  box-shadow: var(--wkm-shadow-frame);
  overflow: hidden;
}
.wkm-frame__bar {
  display: flex; align-items: center; justify-content: center;
  height: 40px;
  background: var(--wkm-paper-2);
  box-shadow: inset 0 -1px 0 var(--wkm-hair);
}
.wkm-frame__url {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 12px;
  border-radius: var(--wkm-r);
  background: var(--wkm-white);
  box-shadow: inset 0 0 0 1px var(--wkm-hair);
  font-family: var(--wkm-ui);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0;
  color: var(--wkm-ink-3);
}
.wkm-frame__viewport {
  position: relative;
  aspect-ratio: 1200 / 640;
  overflow: hidden;
  background: var(--wkm-paper);
}
.wkm-frame--small .wkm-frame__viewport { aspect-ratio: 660 / 500; }

/* The app mock is laid out at --w × --h design pixels and scaled to fit. */
.wkm-app {
  /* The example workspace runs in its own brand color (Ridgeline navy),
     the way a white-label tenant's /admin does. */
  --t-primary: #1F3A5F;
  --t-primary-ink: #FFFFFF;
  position: absolute; left: 0; top: 0;
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  transform-origin: 0 0;
  transform: scale(var(--s, 1));
  display: grid;
  grid-template-columns: 188px 1fr;
  font-size: 13px;
  line-height: 1.4;
  color: var(--wkm-ink);
}
.wkm-app--bare { grid-template-columns: 1fr; }
.wkm-app__side {
  display: flex; flex-direction: column;
  min-height: 0;
  background: var(--wkm-asphalt);
  color: var(--wkm-paper-on-asphalt);
}
.wkm-app__brand {
  display: flex; align-items: center;
  height: 64px; padding: 0 16px;
  background: var(--wkm-asphalt);
  color: var(--wkm-paper-on-asphalt);
  box-shadow: inset 0 -1px 0 var(--wkm-hair-on-asphalt);
}
/* Example-company logos inside the frames (views/marketing/_demoLogos.pug).
   Mark + two-line wordmark in the company's own face, so the three read as
   three different businesses and none of them as Walkable. */
.wkm-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; line-height: 1; }
.wkm-logo__mark { height: 30px; width: auto; flex: 0 0 auto; }
.wkm-logo__text { display: flex; flex-direction: column; gap: 3px; }
.wkm-logo__name { font-family: 'Barlow Condensed', 'Familjen Grotesk', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; }
.wkm-logo__sub { font-family: 'Barlow Condensed', 'Familjen Grotesk', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; }
.wkm-logo--dark { color: var(--wkm-paper-on-asphalt); }
.wkm-logo--light { color: var(--wkm-ink); }
.wkm-logo--sm { gap: 8px; }
.wkm-logo--sm .wkm-logo__mark { height: 22px; }
.wkm-logo--sm .wkm-logo__name { font-size: 15px; }
.wkm-logo--sm .wkm-logo__sub { font-size: 7.5px; }
.wkm-logo--ridgeline .wkm-logo__mark { height: 32px; }
.wkm-logo--summit .wkm-logo__name { font-family: 'Zilla Slab', Georgia, serif; font-size: 17px; letter-spacing: -0.01em; text-transform: none; }
.wkm-logo--summit .wkm-logo__sub { font-family: var(--wkm-font); letter-spacing: 0.18em; }
.wkm-logo--summit.wkm-logo--sm .wkm-logo__name { font-size: 14px; }

.wkm-app__nav { display: flex; flex-direction: column; padding: 14px 10px; gap: 2px; flex: 1 1 auto; min-height: 0; }
.wkm-app__navhead {
  padding: 10px 10px 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(251, 250, 246, 0.42);
}
.wkm-app__item {
  position: relative;
  display: flex; align-items: center;
  height: 32px; padding: 0 10px;
  border-radius: 6px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(251, 250, 246, 0.72);
  transition: background-color 320ms var(--wkm-ease), color 320ms var(--wkm-ease);
}
.wkm-app__item.is-active { background: var(--t-primary); color: var(--t-primary-ink); font-weight: 600; }
.wkm-app__user {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 var(--wkm-hair-on-asphalt);
}
.wkm-app__user > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.wkm-app__username { font-size: 12.5px; font-weight: 600; }
.wkm-app__useremail { font-size: 10.5px; color: rgba(251, 250, 246, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wkm-app__avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--t-primary, #1F3A5F); color: var(--t-primary-ink, #FFFFFF);
  font-size: 11px; font-weight: 600;
}
.wkm-app__avatar--sm { width: 26px; height: 26px; font-size: 10px; background: var(--wkm-paper-3); color: var(--wkm-ink); }

.wkm-app__main { position: relative; background: var(--wkm-paper); overflow: hidden; }
.wkm-app__main--bare { padding: 0; }
.wkm-beat {
  position: absolute; inset: 0;
  padding: 26px 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms var(--wkm-ease), transform 420ms var(--wkm-ease);
  pointer-events: none;
}
.wkm-beat.is-active { opacity: 1; transform: none; }
.wkm-app__main--bare > .wkm-app__head { padding: 22px 24px 0; }
.wkm-app__main--bare > .wkm-est { padding: 14px 24px 24px; }
/* The estimate deep-dive frame is laid out at 660px so its type lands at
   roughly 1:1 inside a 7/12 column; everything inside is sized for that. */
.wkm-app--est .wkm-est { grid-template-columns: 1fr 178px; gap: 14px; }
.wkm-app--est .wkm-est__cols, .wkm-app--est .wkm-est__row { grid-template-columns: 22px 1fr 30px 30px 58px 70px; gap: 6px; padding: 0 12px; }
.wkm-app--est .wkm-est__row { height: 31px; font-size: 11px; }
.wkm-app--est .wkm-est__sec { height: 31px; padding: 0 12px; font-size: 11px; }
.wkm-app--est .wkm-est__secsub { font-size: 10px; }
.wkm-app--est .wkm-est__cols { height: 28px; font-size: 9px; }
.wkm-app--est .wkm-est__summary { padding: 12px 14px; }
.wkm-app--est .wkm-est__sumrow { font-size: 11px; padding: 6px 0; }
.wkm-app--est .wkm-est__sumrow--big b { font-size: 19px; }
.wkm-app--est .wkm-app__title { font-size: 17px; }
.wkm-app--est .wkm-app__sub { font-size: 11px; }
.wkm-app--est .wkm-app__btn { height: 28px; padding: 0 12px; font-size: 11px; }

.wkm-app__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wkm-app__eyebrow {
  display: block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--wkm-ink-3);
  margin-bottom: 4px;
}
.wkm-app__title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.wkm-app__sub { font-size: 12px; color: var(--wkm-ink-3); margin-top: 3px; }
.wkm-app__headbtns { display: flex; gap: 8px; }
.wkm-app__btn {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px;
  border-radius: var(--wkm-r-pill);
  background: var(--t-primary, #1F3A5F); color: var(--t-primary-ink, #FFFFFF);
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.wkm-app__btn--ghost { background: var(--wkm-white); color: var(--wkm-ink); box-shadow: inset 0 0 0 1px var(--wkm-hair-2); }

.wkm-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 8px;
  border-radius: var(--wkm-r-pill);
  font-size: 10.5px; font-weight: 600;
  white-space: nowrap;
  background: var(--wkm-paper-2); color: var(--wkm-ink-2);
  box-shadow: inset 0 0 0 1px var(--wkm-hair);
}
.wkm-chip--source { background: var(--wkm-sky-soft); color: #1E5A8C; box-shadow: none; }
.wkm-chip--date { background: var(--wkm-sun-soft); color: var(--wkm-sun); box-shadow: none; }
.wkm-chip--money { background: var(--wkm-paper-2); color: var(--wkm-ink); font-variant-numeric: tabular-nums; }
.wkm-chip--won, .wkm-chip--signed { background: var(--wkm-moss-soft); color: #2A6A3D; box-shadow: none; }
.wkm-chip--pending, .wkm-chip--draft { background: var(--wkm-sun-soft); color: var(--wkm-sun); box-shadow: none; }
.wkm-chip--partial { background: var(--wkm-sky-soft); color: #1E5A8C; box-shadow: none; }
.wkm-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--wkm-line); }
.wkm-dot--moss { background: var(--wkm-moss); }

/* Beat 1 · board */
.wkm-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.wkm-board__col { background: var(--wkm-paper-2); border-radius: 10px; padding: 8px; min-height: 380px; }
.wkm-board__colhead { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-size: 11.5px; font-weight: 600; color: var(--wkm-ink-2); }
.wkm-board__colhead b { font-weight: 600; color: var(--wkm-ink-3); font-variant-numeric: tabular-nums; }
.wkm-lead {
  background: var(--wkm-white);
  border-radius: 8px;
  padding: 10px 11px;
  box-shadow: var(--wkm-shadow-card);
  margin-bottom: 8px;
}
.wkm-lead__name { font-weight: 600; font-size: 12.5px; }
.wkm-lead__addr { font-size: 11px; color: var(--wkm-ink-3); margin-top: 1px; line-height: 1.3; }
.wkm-lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--wkm-ink-2); }
.wkm-lead__foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10.5px; color: var(--wkm-ink-3); }
.wkm-lead--new { box-shadow: var(--wkm-shadow-pop); }

/* Beat 2 · estimate */
.wkm-est { display: grid; grid-template-columns: 1fr 230px; gap: 16px; align-items: start; }
.wkm-est__table { background: var(--wkm-white); border-radius: 10px; box-shadow: var(--wkm-shadow-card); overflow: hidden; }
.wkm-est__cols, .wkm-est__row {
  display: grid;
  grid-template-columns: 30px 1fr 44px 44px 76px 90px;
  gap: 8px; align-items: center;
  padding: 0 14px;
}
.wkm-est__cols { height: 32px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-3); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-est__cols span:nth-child(n+3), .wkm-est__row span:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.wkm-est__row { height: 34px; font-size: 12px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-est__n { color: var(--wkm-ink-4); font-variant-numeric: tabular-nums; }
.wkm-est__desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.wkm-est__total { font-weight: 600; }
.wkm-est__sec {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px; padding: 0 14px;
  background: var(--wkm-paper-2);
  font-size: 12px; font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--wkm-hair);
}
.wkm-est__sectitle { display: inline-flex; align-items: center; gap: 8px; }
.wkm-est__chev { width: 6px; height: 6px; border-right: 1.5px solid var(--wkm-ink-3); border-bottom: 1.5px solid var(--wkm-ink-3); transform: rotate(-45deg); transition: transform var(--wkm-dur-2) var(--wkm-ease); }
.wkm-est__chev.is-open { transform: rotate(45deg); }
.wkm-est__secsub { font-size: 11px; font-weight: 500; color: var(--wkm-ink-3); font-variant-numeric: tabular-nums; }
.wkm-est__secsub b { margin-left: 8px; color: var(--wkm-ink); font-weight: 600; }
.wkm-est__summary { background: var(--wkm-white); border-radius: 10px; padding: 14px 16px; box-shadow: var(--wkm-shadow-card); }
.wkm-est__sumrow { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 12px; color: var(--wkm-ink-2); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-est__sumrow b { font-weight: 600; color: var(--wkm-ink); font-variant-numeric: tabular-nums; }
.wkm-est__sumrow i { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wkm-ink-4); margin-left: 6px; }
.wkm-est__sumrow--big { padding: 4px 0 12px; }
.wkm-est__sumrow--big span { font-weight: 600; color: var(--wkm-ink); }
.wkm-est__sumrow--big b { font-size: 22px; letter-spacing: -0.02em; }
.wkm-est__saved { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11px; color: var(--wkm-ink-3); }
.wkm-est__note { margin-top: 12px; font-size: 11px; line-height: 1.45; color: var(--wkm-ink-3); }

/* Beat 3 · sign */
.wkm-sign { display: grid; grid-template-columns: 1fr 330px; gap: 16px; align-items: start; }
.wkm-sign__list { background: var(--wkm-white); border-radius: 10px; box-shadow: var(--wkm-shadow-card); overflow: hidden; }
.wkm-sign__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-sign__row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wkm-sign__row b { font-size: 12.5px; font-weight: 600; }
.wkm-sign__row > div > span { font-size: 11px; color: var(--wkm-ink-3); }
.wkm-sign__row.is-current { background: var(--wkm-paper); }
.wkm-sign__status { position: relative; display: inline-grid; }
.wkm-sign__status > .wkm-chip { grid-area: 1 / 1; justify-self: end; }
.wkm-sign__event { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 11.5px; color: var(--wkm-ink-2); }
.wkm-doc {
  background: var(--wkm-white);
  border-radius: 4px;
  padding: 18px 20px 16px;
  box-shadow: var(--wkm-shadow-card);
  transform: rotate(0.4deg);
}
.wkm-doc__head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-doc__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.wkm-doc__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; font-size: 10.5px; line-height: 1.45; color: var(--wkm-ink-2); }
.wkm-doc__body b { color: var(--wkm-ink); font-weight: 600; }
.wkm-doc__sig { position: relative; padding-top: 8px; }
.wkm-doc__siglabel { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-4); }
.wkm-sig { width: 100%; height: auto; max-height: 64px; margin-top: 4px; }
.wkm-doc__sigmeta { display: block; padding-top: 6px; font-size: 10px; color: var(--wkm-ink-3); box-shadow: inset 0 1px 0 var(--wkm-hair-2); }

/* Beat 4 · crew */
.wkm-crew { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.wkm-crew__list { background: var(--wkm-white); border-radius: 10px; box-shadow: var(--wkm-shadow-card); overflow: hidden; }
.wkm-crew__head { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; font-size: 12px; font-weight: 600; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-crew__head b { font-weight: 600; color: var(--wkm-ink-3); font-variant-numeric: tabular-nums; }
.wkm-crew__row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-crew__row > span:nth-child(2) { display: flex; flex-direction: column; }
.wkm-crew__row b { font-size: 12.5px; font-weight: 600; }
.wkm-crew__row > span:nth-child(2) > span { font-size: 11px; color: var(--wkm-ink-3); }
.wkm-crew__in { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--wkm-ink-2); font-variant-numeric: tabular-nums; }
.wkm-crew__today { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 12px; color: var(--wkm-ink-2); }
.wkm-crew__today b { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--wkm-ink); font-variant-numeric: tabular-nums; }
.wkm-crew__side { display: flex; flex-direction: column; gap: 12px; }
.wkm-crew__card { display: flex; flex-direction: column; gap: 3px; background: var(--wkm-white); border-radius: 10px; padding: 14px 16px; box-shadow: var(--wkm-shadow-card); font-size: 11.5px; color: var(--wkm-ink-3); }
.wkm-crew__card b { font-size: 12.5px; font-weight: 600; color: var(--wkm-ink); }
.wkm-crew__card p { font-size: 11.5px; line-height: 1.45; color: var(--wkm-ink-2); }
.wkm-crew__photos { display: flex; gap: 6px; margin-top: 8px; }
.wkm-crew__photos span { width: 46px; height: 34px; border-radius: 5px; background: linear-gradient(135deg, var(--wkm-paper-3), var(--wkm-paper-2)); box-shadow: inset 0 0 0 1px var(--wkm-hair); }

/* Beat 5 · invoice */
.wkm-inv { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.wkm-inv__ledger { background: var(--wkm-white); border-radius: 10px; box-shadow: var(--wkm-shadow-card); overflow: hidden; }
.wkm-inv__totals { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px; gap: 12px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-inv__totals > div { display: flex; flex-direction: column; gap: 2px; }
.wkm-inv__totals span { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-3); }
.wkm-inv__totals b { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.wkm-inv__head, .wkm-inv__row { display: grid; grid-template-columns: 1fr 120px 100px; gap: 12px; padding: 0 16px; align-items: center; }
.wkm-inv__head { height: 30px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-3); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-inv__head span:last-child, .wkm-inv__row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.wkm-inv__row { height: 48px; font-size: 12px; color: var(--wkm-ink-2); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-inv__row > span:first-child { display: flex; flex-direction: column; }
.wkm-inv__row b { font-size: 12.5px; font-weight: 600; color: var(--wkm-ink); }
.wkm-inv__row > span:first-child > span { font-size: 11px; color: var(--wkm-ink-3); }
.wkm-inv__receipt { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 11.5px; color: var(--wkm-ink-2); }
.wkm-inv__side { display: flex; flex-direction: column; gap: 12px; }

/* The stage rail */
.wkm-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.wkm-rail__stage {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 4px 10px 0;
  border: 0; background: transparent;
  border-radius: var(--wkm-r);
  text-align: left;
  cursor: pointer;
  color: var(--wkm-ink-3);
  transition: color var(--wkm-dur-2) var(--wkm-ease);
}
.wkm-rail__stage:hover { color: var(--wkm-ink-2); }
.wkm-rail__stage.is-on { color: var(--wkm-ink); }
.wkm-rail__track { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--wkm-hair-2); border-radius: 1px; overflow: hidden; }
.wkm-rail__bar { position: absolute; inset: 0; background: var(--wkm-line); transform-origin: left center; transform: scaleX(0); }
.wkm-rail__stage.is-done .wkm-rail__bar { transform: scaleX(1); }
.wkm-rail__name { font-size: 0.9688rem; font-weight: 500; letter-spacing: -0.005em; }
.wkm-rail__sub { font-size: var(--wkm-fs-small); font-variant-numeric: tabular-nums; }
.wkm-stage__note { margin-top: 14px; font-size: var(--wkm-fs-micro); color: var(--wkm-ink-4); }

/* ─── Sections ────────────────────────────────────────────────────── */
.wkm-section { padding: 112px 0; }
.wkm-section--tight { padding: 88px 0; }
.wkm-section__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.wkm-spec-section { padding-top: 120px; }

/* The spec sheet: six stages of one job on one white sheet. The cells
   are separated by the sheet's background showing through a 1px gap, so
   hairlines never double up. Each cell ends in a window onto the product
   (views/marketing/_spec.pug) pinned to the cell's bottom edge; the
   window grows to fill whatever the text leaves, so a cell with less
   copy shows more product and no cell has a dead gap. */
.wkm-spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--wkm-hair);
  border-radius: var(--wkm-r-lg);
  box-shadow: var(--wkm-shadow-card);
  overflow: hidden;
}
.wkm-spec__cell {
  display: flex; flex-direction: column;
  min-width: 0;
  padding: 26px 24px 0;
  background: var(--wkm-white);
  overflow: hidden; /* the reveal translates the inner block; keep it inside the cell */
}
.wkm-spec__in { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.wkm-spec__stage {
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: -0.014em; line-height: 1.1;
}
.wkm-spec__list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.wkm-spec__row { display: flex; flex-direction: column; gap: 2px; }
.wkm-spec__row dt { font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.004em; line-height: 1.35; }
.wkm-spec__row dd { font-size: 0.875rem; line-height: 1.45; color: var(--wkm-ink-3); text-wrap: pretty; }
.wkm-spec__shot { display: flex; flex-direction: column; flex: 1 1 auto; margin-top: 24px; min-height: 168px; }
.wkm-spec__window {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--wkm-paper-2);
}
/* The slice fades into the paper before the cell edge cuts it. The stops
   follow an ease so there is no visible horizon line. */
.wkm-spec__window::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 76px;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--wkm-paper-2) 0%, transparent) 0%,
    color-mix(in srgb, var(--wkm-paper-2) 22%, transparent) 30%,
    color-mix(in srgb, var(--wkm-paper-2) 68%, transparent) 62%,
    color-mix(in srgb, var(--wkm-paper-2) 94%, transparent) 85%,
    var(--wkm-paper-2) 100%);
  pointer-events: none;
}

/* Product slices inside the windows: the hero's own components at 1:1,
   inset from the window's top and sides, free to run out the bottom. */
.wkm-app--shot { display: block; padding: 14px 14px 0; }
.wkm-app--shot .wkm-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wkm-app--shot .wkm-board__col { min-height: 0; padding: 6px; }
.wkm-app--shot .wkm-board__colhead { padding: 4px 6px 8px; }
.wkm-app--shot .wkm-lead { padding: 9px 10px; }
.wkm-app--shot .wkm-lead:last-child { margin-bottom: 0; }
.wkm-app--shot .wkm-est__cols, .wkm-app--shot .wkm-est__row { grid-template-columns: 22px 1fr 80px; gap: 8px; padding: 0 12px; }
.wkm-app--shot .wkm-est__cols { height: 28px; font-size: 9.5px; }
.wkm-app--shot .wkm-est__row { height: 32px; font-size: 11.5px; }
.wkm-app--shot .wkm-est__sec { height: 32px; padding: 0 12px; font-size: 11.5px; }
.wkm-app--shot .wkm-est__secsub { font-size: 10.5px; }
.wkm-app--shot .wkm-sign__row { padding: 12px 14px; }
.wkm-app--shot .wkm-crew__head { padding: 12px 14px; }
.wkm-app--shot .wkm-crew__row { padding: 11px 14px; }
.wkm-app--shot .wkm-crew__today { padding: 12px 14px; }
.wkm-app--shot .wkm-crew__card { padding: 12px 14px; }
.wkm-app--shot .wkm-inv__totals { padding: 14px; gap: 10px; }
.wkm-app--shot .wkm-inv__totals b { font-size: 15px; }
.wkm-app--shot .wkm-inv__head, .wkm-app--shot .wkm-inv__row { grid-template-columns: 1fr 86px 78px; gap: 8px; padding: 0 14px; }
.wkm-app--shot .wkm-inv__receipt { padding: 12px 14px; }
.wkm-shot__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 14px;
  font-size: 12px; font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--wkm-hair);
}
.wkm-shot__after { margin-top: 10px; }
.wkm-perm { background: var(--wkm-white); border-radius: 10px; box-shadow: var(--wkm-shadow-card); overflow: hidden; }
.wkm-perm__who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wkm-perm__who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.wkm-perm__who b { font-size: 12.5px; font-weight: 600; }
.wkm-perm__who > span:last-child > span { font-size: 11px; font-weight: 500; color: var(--wkm-ink-3); }
.wkm-perm__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  height: 36px; padding: 0 14px;
  font-size: 12px; font-weight: 500;
  box-shadow: inset 0 -1px 0 var(--wkm-hair);
}
.wkm-perm__row.is-off > span:first-child { color: var(--wkm-ink-3); }
.wkm-switch {
  position: relative; flex: 0 0 auto;
  width: 30px; height: 18px;
  border-radius: var(--wkm-r-pill);
  background: var(--wkm-paper-3);
  box-shadow: inset 0 0 0 1px var(--wkm-hair-2);
}
.wkm-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--wkm-white);
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.18), 0 0 0 1px rgba(22, 24, 29, 0.06);
}
.wkm-switch.is-on { background: var(--t-primary, #1F3A5F); box-shadow: none; }
.wkm-switch.is-on::after { left: 14px; }
/* Someone is clocked in right now: the dot pings. */
.wkm-dot--live { animation: wkm-ping 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite; }
@keyframes wkm-ping {
  0% { box-shadow: 0 0 0 0 rgba(63, 143, 92, 0.40); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(63, 143, 92, 0); }
}

/* Split deep dives */
.wkm-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 72px;
  align-items: center;
}
.wkm-split--flip .wkm-split__copy { order: 2; }
.wkm-split--flip .wkm-split__media { order: 1; }
.wkm-split--portal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.wkm-split__copy { display: flex; flex-direction: column; gap: 22px; }
.wkm-split__media { min-width: 0; }
.wkm-facts { display: flex; flex-direction: column; margin-top: 4px; }
.wkm-facts li {
  padding: 12px 0;
  font-size: 1rem; line-height: 1.5;
  color: var(--wkm-ink-2);
  box-shadow: inset 0 1px 0 var(--wkm-hair);
}
.wkm-facts li:last-child { box-shadow: inset 0 1px 0 var(--wkm-hair), inset 0 -1px 0 var(--wkm-hair); }
.wkm-facts strong { font-weight: 500; color: var(--wkm-ink); }

/* Phone */
.wkm-phone {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  border-radius: 38px;
  background: var(--wkm-asphalt);
  box-shadow: 0 1px 1px rgba(22, 24, 29, 0.06), 0 30px 60px -24px rgba(22, 24, 29, 0.35), inset 0 0 0 1px rgba(251, 250, 246, 0.08);
}
.wkm-phone__screen {
  position: relative;
  height: 620px;
  border-radius: 29px;
  background: var(--wkm-paper);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 12.5px; line-height: 1.4;
}
.wkm-phone__status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wkm-phone__signal { display: inline-flex; gap: 2px; align-items: flex-end; }
.wkm-phone__signal i { display: block; width: 3px; background: var(--wkm-ink); border-radius: 1px; }
.wkm-phone__signal i:nth-child(1) { height: 5px; }
.wkm-phone__signal i:nth-child(2) { height: 8px; }
.wkm-phone__signal i:nth-child(3) { height: 11px; }

.wkm-signpage { display: flex; flex-direction: column; gap: 10px; padding: 8px 18px 18px; }
.wkm-signpage__top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-signpage__steps { display: flex; gap: 6px; margin-top: 4px; }
.wkm-signpage__steps span { flex: 1 1 0; height: 3px; border-radius: 2px; background: var(--wkm-hair-2); }
.wkm-signpage__steps span.is-done { background: var(--wkm-moss); }
.wkm-signpage__steps span.is-on { background: #1F3A5F; }
.wkm-signpage__title { margin: 6px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.wkm-signpage__sub { font-size: 11.5px; color: var(--wkm-ink-3); }
.wkm-signpage__field { display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-radius: 8px; background: var(--wkm-white); box-shadow: inset 0 0 0 1px var(--wkm-hair); }
.wkm-signpage__field span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wkm-ink-3); }
.wkm-signpage__field b { font-size: 13px; font-weight: 500; }
.wkm-signpage__pad { position: relative; display: flex; flex-direction: column; padding: 10px 12px 8px; border-radius: 8px; background: var(--wkm-white); box-shadow: inset 0 0 0 1px var(--wkm-hair-2); }
.wkm-signpage__padlabel { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wkm-ink-3); }
.wkm-signpage__pad .wkm-sig { height: 78px; max-height: none; }
.wkm-signpage__clear { position: absolute; right: 12px; top: 9px; font-size: 11px; font-weight: 600; color: var(--wkm-ink-3); }
.wkm-signpage__consent { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--wkm-ink-2); }
.wkm-signpage__check { width: 16px; height: 16px; border-radius: 4px; background: var(--wkm-ink); position: relative; flex: 0 0 auto; }
.wkm-signpage__check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border-right: 2px solid var(--wkm-paper); border-bottom: 2px solid var(--wkm-paper); transform: rotate(45deg); }
.wkm-signpage__btn { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: var(--wkm-r-pill); background: #1F3A5F; color: #FFFFFF; font-size: 13px; font-weight: 600; margin-top: 4px; }

/* Asphalt band */
.wkm-band {
  position: relative;
  padding: 120px 0;
  background: var(--wkm-asphalt);
  color: rgba(251, 250, 246, 0.72);
  overflow: hidden;
}
.wkm-band::before {
  /* the chevron grain from the brand kit, barely there */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='30' viewBox='0 0 40 30'><path d='M0 30 L20 6 L40 30' fill='none' stroke='%23FBFAF6' stroke-width='1' stroke-opacity='0.05'/></svg>");
  background-size: 40px 30px;
  pointer-events: none;
}
.wkm-band__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.wkm-band__cols { display: flex; flex-direction: column; margin-top: 36px; }
.wkm-band__col { display: grid; grid-template-columns: 11rem 1fr; gap: 16px 24px; padding: 20px 0; box-shadow: inset 0 1px 0 var(--wkm-hair-on-asphalt); }
.wkm-band__col:last-child { box-shadow: inset 0 1px 0 var(--wkm-hair-on-asphalt), inset 0 -1px 0 var(--wkm-hair-on-asphalt); }
.wkm-band__col .wkm-h4 { color: var(--wkm-paper-on-asphalt); font-size: 1.125rem; }
.wkm-band__col p { font-size: 1rem; line-height: 1.5; max-width: 40ch; }

.wkm-sheet-card {
  background: var(--wkm-white);
  color: var(--wkm-ink);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  font-size: 12px;
  transform: rotate(-0.6deg);
}
.wkm-sheet-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-sheet-card__head b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.wkm-sheet-card__cols, .wkm-sheet-card__row { display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); gap: 8px; padding: 0 18px; align-items: center; }
.wkm-sheet-card__cols { height: 30px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-3); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-sheet-card__cols span:nth-child(n+2), .wkm-sheet-card__row span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.wkm-sheet-card__row { height: 40px; color: var(--wkm-ink-2); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-sheet-card__row span:first-child { font-weight: 600; color: var(--wkm-ink); }
.wkm-sheet-card__row .is-total { font-weight: 600; color: var(--wkm-ink); }
.wkm-sheet-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 11px; color: var(--wkm-ink-3); }
.wkm-sheet-card__foot b { font-size: 15px; font-weight: 600; color: var(--wkm-ink); font-variant-numeric: tabular-nums; }

/* Portal phone, re-skinned by the brand switcher through --b-* */
.wkm-phone--portal { --b-primary: #1F3A5F; --b-primary-ink: #FFFFFF; }
.wkm-portal { display: flex; flex-direction: column; gap: 10px; padding: 6px 14px 18px; overflow: hidden; }
.wkm-portal__top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-portal__logo { display: inline-flex; align-items: center; }
.wkm-portal__logo .wkm-logo { display: none; }
[data-brand="ridgeline"] .wkm-portal__logo .wkm-logo--ridgeline,
[data-brand="northstar"] .wkm-portal__logo .wkm-logo--northstar,
[data-brand="summit"] .wkm-portal__logo .wkm-logo--summit { display: inline-flex; }
.wkm-portal__hero { padding: 8px 4px 6px; }
.wkm-portal__eyebrow { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wkm-ink-3); margin-bottom: 6px; }
.wkm-portal__hero h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.wkm-portal__hero p { font-size: 11.5px; color: var(--wkm-ink-2); margin-top: 6px; }
.wkm-portal__card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 12px 12px 14px;
  border-radius: 10px;
  background: var(--wkm-white);
  box-shadow: var(--wkm-shadow-card), inset 3px 0 0 var(--b-primary);
  transition: box-shadow 380ms var(--wkm-ease);
}
.wkm-portal__card > b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.wkm-portal__item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: var(--wkm-paper); box-shadow: inset 0 0 0 1px var(--wkm-hair); }
.wkm-portal__item > span:first-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wkm-portal__item b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wkm-portal__item > span:first-child > span { font-size: 10.5px; color: var(--wkm-ink-3); }
.wkm-portal__item.is-done { background: var(--wkm-paper-2); box-shadow: none; }
.wkm-portal__btn {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  height: 28px; padding: 0 11px;
  border-radius: var(--wkm-r-pill);
  background: var(--b-primary); color: var(--b-primary-ink);
  font-size: 11px; font-weight: 600;
  transition: background-color 380ms var(--wkm-ease), color 380ms var(--wkm-ease);
}
.wkm-portal__link { font-size: 11px; font-weight: 600; color: var(--b-primary); flex: 0 0 auto; transition: color 380ms var(--wkm-ease); }

.wkm-brandpick { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.wkm-brandpick__label { font-size: var(--wkm-fs-small); font-weight: 600; color: var(--wkm-ink); }
.wkm-brandpick__note { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); line-height: 1.5; max-width: 48ch; }

/* Segmented control */
.wkm-segment {
  display: inline-flex;
  padding: 3px;
  border-radius: calc(var(--wkm-r) + 3px);
  background: var(--wkm-paper-2);
  box-shadow: inset 0 0 0 1px var(--wkm-hair);
  align-self: flex-start;
  max-width: 100%;
}
.wkm-segment__btn {
  appearance: none;
  border: 0;
  background: transparent;
  height: 38px; padding: 0 14px;
  border-radius: var(--wkm-r);
  font-size: var(--wkm-fs-small); font-weight: 600;
  color: var(--wkm-ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--wkm-dur-2) var(--wkm-ease), color var(--wkm-dur-2) var(--wkm-ease), box-shadow var(--wkm-dur-2) var(--wkm-ease);
}
.wkm-segment__btn:hover { color: var(--wkm-ink); }
.wkm-segment__btn.is-on { background: var(--wkm-white); color: var(--wkm-ink); box-shadow: 0 1px 2px rgba(22, 24, 29, 0.08), 0 0 0 1px var(--wkm-hair); }

/* Pricing */
.wkm-pricing { padding-top: 120px; }
.wkm-pricing__toggle { display: flex; align-items: center; gap: 14px; margin: -20px 0 32px; }
.wkm-pricing__save { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); }
.wkm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.wkm-plan {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 30px 28px 28px;
  border-radius: var(--wkm-r-lg);
  background: var(--wkm-white);
  box-shadow: var(--wkm-shadow-card);
}
.wkm-plan--rec { box-shadow: 0 1px 1px rgba(22, 24, 29, 0.03), 0 22px 44px -18px rgba(22, 24, 29, 0.22), 0 0 0 1.5px var(--wkm-ink); }
.wkm-plan__rec { font-size: var(--wkm-fs-small); font-weight: 600; color: var(--wkm-line-3); margin-bottom: 4px; }
.wkm-plan__name { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.012em; }
.wkm-plan__tag { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); min-height: 2.6em; }
.wkm-plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.wkm-plan__amount { font-size: 3rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.wkm-plan__per { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); }
.wkm-plan__billed { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); min-height: 1.5em; }
.wkm-plan__seats { margin-top: 18px; padding: 10px 12px; border-radius: var(--wkm-r); background: var(--wkm-paper); font-size: var(--wkm-fs-small); font-weight: 600; box-shadow: inset 0 0 0 1px var(--wkm-hair); }
.wkm-plan__list { display: flex; flex-direction: column; margin: 12px 0 22px; flex: 1 1 auto; }
.wkm-plan__list li { padding: 9px 0; font-size: 0.9375rem; line-height: 1.45; color: var(--wkm-ink-2); box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-plan__list li:last-child { box-shadow: none; }
.wkm-plan__lead { font-weight: 600; color: var(--wkm-ink); }
.wkm-pricing__fine { margin-top: 26px; font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); max-width: 70ch; }

/* Steps */
.wkm-steps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.wkm-steps-grid .wkm-section__head { margin-bottom: 0; }
.wkm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.wkm-step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--wkm-hair); }
.wkm-step__n { font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--wkm-ink-5); font-variant-numeric: tabular-nums; }
.wkm-step p { font-size: 1rem; line-height: 1.5; color: var(--wkm-ink-2); }

/* FAQ */
.wkm-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.wkm-faq-grid .wkm-section__head { margin-bottom: 0; }
.wkm-faq-grid .wkm-lede a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wkm-ink-4); transition: text-decoration-color var(--wkm-dur-1) var(--wkm-ease); }
.wkm-faq-grid .wkm-lede a:hover { text-decoration-color: var(--wkm-ink); }
.wkm-faq { display: flex; flex-direction: column; }
.wkm-faq__item { box-shadow: inset 0 1px 0 var(--wkm-hair); }
.wkm-faq__item:last-child { box-shadow: inset 0 1px 0 var(--wkm-hair), inset 0 -1px 0 var(--wkm-hair); }
.wkm-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 18px 0;
  list-style: none;
  font-size: 1.125rem; font-weight: 500; letter-spacing: -0.008em;
  cursor: pointer;
  user-select: none;
}
.wkm-faq__q::-webkit-details-marker { display: none; }
.wkm-faq__x { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.wkm-faq__x::before, .wkm-faq__x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px;
  background: var(--wkm-ink); border-radius: 1px;
  transition: transform var(--wkm-dur-2) var(--wkm-ease), opacity var(--wkm-dur-2) var(--wkm-ease);
}
.wkm-faq__x::after { transform: rotate(90deg); }
.wkm-faq__item[open] .wkm-faq__x::after { transform: rotate(0deg); opacity: 0; }
.wkm-faq__a { overflow: hidden; }
.wkm-faq__a p { padding: 0 0 22px; max-width: 62ch; font-size: 1rem; line-height: 1.55; color: var(--wkm-ink-2); }

/* Closing */
.wkm-closing { padding: 120px 0 128px; box-shadow: inset 0 1px 0 var(--wkm-hair); }
.wkm-closing__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.wkm-closing__inner .wkm-h2 { max-width: none; }
.wkm-closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Footer */
.wkm-footer { padding: 56px 0 48px; background: var(--wkm-paper-2); box-shadow: inset 0 1px 0 var(--wkm-hair); }
.wkm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.7fr; gap: 40px; }
.wkm-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.wkm-footer__brand .wkm-wordmark { height: 26px; align-self: flex-start; }
.wkm-footer__tag { font-size: var(--wkm-fs-small); color: var(--wkm-ink-2); }
.wkm-footer__copy { font-size: var(--wkm-fs-micro); color: var(--wkm-ink-3); margin-top: auto; padding-top: 12px; }
.wkm-footer__col { display: flex; flex-direction: column; gap: 10px; }
.wkm-footer__col a { font-size: var(--wkm-fs-small); color: var(--wkm-ink-2); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; transition: color var(--wkm-dur-1) var(--wkm-ease); }
.wkm-footer__col a:hover { color: var(--wkm-ink); text-decoration: underline; text-underline-offset: 3px; }
.wkm-footer__h { margin: 0 0 4px; font-size: var(--wkm-fs-small); font-weight: 600; color: var(--wkm-ink); }
.wkm-finder { display: flex; gap: 8px; align-items: stretch; }
.wkm-finder__field {
  display: flex; align-items: center; flex: 1 1 auto; min-width: 0;
  height: 38px; padding: 0 10px 0 0;
  border-radius: var(--wkm-r);
  background: var(--wkm-white);
  box-shadow: inset 0 0 0 1px var(--wkm-hair-2);
  transition: box-shadow var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-finder__field:focus-within { box-shadow: inset 0 0 0 1px var(--wkm-ink), 0 0 0 3px var(--wkm-line-soft); }
.wkm-finder__input {
  flex: 1 1 auto; min-width: 0; width: 100%;
  height: 100%; padding: 0 2px 0 10px;
  border: 0; background: transparent; outline: none;
  font-family: var(--wkm-mono); font-size: 0.8125rem; font-weight: 500;
  color: var(--wkm-ink);
}
.wkm-finder__input::placeholder { color: var(--wkm-ink-4); }
.wkm-finder__suffix { font-family: var(--wkm-mono); font-size: 0.75rem; font-weight: 500; color: var(--wkm-ink-3); white-space: nowrap; }
.wkm-footer__forgot { font-size: var(--wkm-fs-micro); color: var(--wkm-ink-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wkm-ink-5); }
.wkm-footer__forgot:hover { color: var(--wkm-ink); }

/* ─── Reveal on scroll ────────────────────────────────────────────── */
.wkm-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms var(--wkm-ease) var(--d, 0ms), transform 760ms var(--wkm-ease) var(--d, 0ms);
}
.wkm-reveal.is-in { opacity: 1; transform: none; }

/* ─── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wkm-hero__line, .wkm-hero__aside > *, .wkm-stage { animation: none; opacity: 1; transform: none; }
  .wkm-reveal { opacity: 1; transform: none; transition: none; }
  .wkm-reveal .wkm-mark-line { transform: none; transition: none; }
  .wkm-beat { transition: none; }
  .wkm-rail__bar { transition: none; }
  .wkm-dot--live { animation: none; }
  .wkm-btn, .wkm-nav__link, .wkm-segment__btn, .wkm-faq__x::before, .wkm-faq__x::after, .wkm-menu-btn__bar, .wkm-app__item, .wkm-portal__card, .wkm-portal__btn, }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .wkm-spec__cell { padding: 22px 20px 0; }
  .wkm-split, .wkm-split--portal, .wkm-steps-grid, .wkm-faq-grid, .wkm-band__grid { gap: 40px 48px; }
}
@media (max-width: 960px) {
  .wkm-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .wkm-hero__title { max-width: 14ch; }
  .wkm-split, .wkm-split--portal, .wkm-steps-grid, .wkm-faq-grid, .wkm-band__grid { grid-template-columns: 1fr; }
  .wkm-split--flip .wkm-split__copy { order: 1; }
  .wkm-split--flip .wkm-split__media { order: 2; }
  .wkm-split--portal .wkm-split__media { order: 2; }
  .wkm-split--portal .wkm-split__copy { order: 1; }
  .wkm-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wkm-plans { grid-template-columns: 1fr; max-width: 520px; }
  .wkm-footer__grid { grid-template-columns: 1fr 1fr; }
  .wkm-footer__col--finder { grid-column: 1 / -1; }
  .wkm-band__col { grid-template-columns: 1fr; gap: 8px; }
  .wkm-sheet-card { transform: none; }
}
@media (max-width: 880px) {
  .wkm-nav, .wkm-header__signin, .wkm-header__actions .wkm-btn { display: none; }
  .wkm-menu-btn { display: block; }
  .wkm-sheet[data-open] { display: block; }
}
@media (max-width: 720px) {
  :root { --wkm-gutter: 20px; }
  .wkm-section { padding: 88px 0; }
  .wkm-section--tight { padding: 72px 0; }
  .wkm-spec-section, .wkm-pricing { padding-top: 96px; }
  .wkm-section__head { margin-bottom: 36px; }
  .wkm-hero { padding-top: 44px; }
  .wkm-stage { margin-top: 40px; }
  .wkm-spec { grid-template-columns: 1fr; }
  .wkm-spec__shot { min-height: 150px; }
  .wkm-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; }
  .wkm-rail::-webkit-scrollbar { display: none; }
  .wkm-rail__stage { flex: 0 0 62%; scroll-snap-align: start; }
  .wkm-steps { grid-template-columns: 1fr; gap: 24px; }
  .wkm-band { padding: 80px 0; }
  .wkm-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .wkm-closing { padding: 88px 0 96px; }
  .wkm-phone { width: 300px; }
  .wkm-phone__screen { height: 580px; }
  .wkm-faq__q { font-size: 1.0625rem; }
  .wkm-segment { display: flex; }
  .wkm-segment__btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 0.8125rem; }
  /* Three company names do not fit side by side on a phone: stack them. */
  .wkm-brandpick .wkm-segment { flex-direction: column; align-self: stretch; }
  .wkm-brandpick .wkm-segment__btn { flex: 0 0 auto; height: 42px; text-align: left; padding: 0 14px; }
  .wkm-finder { flex-direction: column; }
  .wkm-sheet-card { font-size: 11px; }
  .wkm-sheet-card__cols, .wkm-sheet-card__row { grid-template-columns: 1.5fr repeat(6, minmax(0, 1fr)); gap: 4px; padding: 0 12px; }
  .wkm-sheet-card__head, .wkm-sheet-card__foot { padding-left: 12px; padding-right: 12px; }
  .wkm-sheet-card__head .wkm-app__btn { display: none; }
}
@media (max-width: 420px) {
  .wkm-hero__cta .wkm-btn { flex: 1 1 100%; }
  .wkm-closing__cta .wkm-btn { flex: 1 1 100%; }
}

/* ─── Legal pages (views/marketing/legal.pug) ─────────────────────── */
.wkm-legal { padding: 72px 0 112px; }
.wkm-legal__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.wkm-legal__docs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.wkm-legal__docs a {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 12px;
  border-radius: var(--wkm-r);
  font-size: var(--wkm-fs-small); font-weight: 600;
  color: var(--wkm-ink-2);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--wkm-hair);
  transition: color var(--wkm-dur-1) var(--wkm-ease), background-color var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-legal__docs a:hover { color: var(--wkm-ink); background: var(--wkm-white); }
.wkm-legal__docs a.is-current { color: var(--wkm-ink); background: var(--wkm-white); box-shadow: inset 0 0 0 1.5px var(--wkm-ink); }
.wkm-legal__meta { font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); font-variant-numeric: tabular-nums; }
.wkm-legal__grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; align-items: start; }
.wkm-legal__toc { position: sticky; top: 90px; }
.wkm-legal__tocHead { font-size: var(--wkm-fs-micro); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wkm-ink-3); margin-bottom: 10px; }
.wkm-legal__tocList { display: flex; flex-direction: column; gap: 2px; counter-reset: none; }
.wkm-legal__tocList a {
  display: block; padding: 5px 0;
  font-size: var(--wkm-fs-small); line-height: 1.35;
  color: var(--wkm-ink-2); text-decoration: none;
  transition: color var(--wkm-dur-1) var(--wkm-ease);
}
.wkm-legal__tocList a:hover { color: var(--wkm-ink); }
.wkm-legal__body { font-size: 1.0625rem; line-height: 1.6; color: var(--wkm-ink-2); }
.wkm-legal__body h2 {
  font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--wkm-ink);
  margin: 44px 0 14px;
  padding-top: 20px;
  box-shadow: inset 0 1px 0 var(--wkm-hair);
  scroll-margin-top: 90px;
}
.wkm-legal__body h2:first-child { margin-top: 0; padding-top: 0; box-shadow: none; }
.wkm-legal__body h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.008em; color: var(--wkm-ink); margin: 26px 0 8px; }
.wkm-legal__body p { margin: 0 0 14px; }
.wkm-legal__body ul, .wkm-legal__body ol { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.wkm-legal__body ol { list-style: decimal; }
.wkm-legal__body li { margin: 0 0 8px; }
.wkm-legal__body li::marker { color: var(--wkm-ink-3); }
.wkm-legal__body strong { font-weight: 600; color: var(--wkm-ink); }
.wkm-legal__body a { color: var(--wkm-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wkm-ink-4); }
.wkm-legal__body a:hover { text-decoration-color: var(--wkm-ink); }
.wkm-legal__body table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: var(--wkm-fs-small); }
.wkm-legal__body th, .wkm-legal__body td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; box-shadow: inset 0 -1px 0 var(--wkm-hair); }
.wkm-legal__body th { font-weight: 600; color: var(--wkm-ink); }
.wkm-legal__foot { margin-top: 48px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--wkm-hair); font-size: var(--wkm-fs-small); color: var(--wkm-ink-3); }
.wkm-legal__index { display: flex; flex-direction: column; max-width: 760px; margin-bottom: 24px; }
.wkm-legal__index li { box-shadow: inset 0 1px 0 var(--wkm-hair); }
.wkm-legal__index li:last-child { box-shadow: inset 0 1px 0 var(--wkm-hair), inset 0 -1px 0 var(--wkm-hair); }
.wkm-legal__index a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; text-decoration: none; }
.wkm-legal__indexTitle { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; color: var(--wkm-ink); }
.wkm-legal__indexBlurb { font-size: 1rem; color: var(--wkm-ink-2); }
.wkm-legal__index a:hover .wkm-legal__indexTitle { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .wkm-legal__grid { grid-template-columns: 1fr; gap: 28px; }
  .wkm-legal__toc { position: static; padding: 16px 18px; border-radius: var(--wkm-r-lg); background: var(--wkm-white); box-shadow: var(--wkm-shadow-card); }
}
@media (max-width: 720px) {
  .wkm-legal { padding: 44px 0 80px; }
  .wkm-legal__body { font-size: 1rem; }
}

/* ─── The hero slab, the lit frame and the lift ───────────────────── */
/* The hero's upper two thirds are a slab of asphalt over a real jobsite
   photograph (public/images/marketing/hero-jobsite.webp, darkened and
   desaturated at build time, then tinted again here so the type stays
   legible). The product frame straddles the edge where asphalt meets
   paper, wears a thin dark-mode browser bar, and on each walkthrough beat
   one element that already lives inside the frame lifts out of it (see
   "The lift" in platformMarketing.js). The body carries .wkm-body--depth
   and the hero .wkm-hero--depth so these rules stay scoped. */
.wkm-body--depth .wkm-hero--depth {
  position: relative;
  padding-top: 88px;
  isolation: isolate;
}
/* The slab: photograph under an asphalt tint, darkest behind the headline
   and along the top so the header and the type sit on near-solid ground,
   lighter toward the lower right where the frame covers it anyway. */
.wkm-body--depth .wkm-hero--depth::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -66px; bottom: 300px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 24, 29, 0.86) 0%, rgba(22, 24, 29, 0.66) 48%, rgba(22, 24, 29, 0.90) 100%),
    linear-gradient(90deg, rgba(22, 24, 29, 0.88) 0%, rgba(22, 24, 29, 0.48) 55%, rgba(22, 24, 29, 0.62) 100%),
    url("/images/marketing/hero-jobsite.webp") center 42% / cover no-repeat,
    var(--wkm-asphalt);
}
/* The sheet edge where the slab ends. */
.wkm-body--depth .wkm-hero--depth::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 300px;
  height: 1px;
  z-index: -1;
  background: rgba(22, 24, 29, 0.18);
}

.wkm-body--depth .wkm-hero--depth .wkm-hero__title { color: var(--wkm-paper-on-asphalt); }
.wkm-body--depth .wkm-hero__line--muted { color: rgba(251, 250, 246, 0.56); }
.wkm-body--depth .wkm-hero--depth .wkm-lede { color: rgba(251, 250, 246, 0.78); }
.wkm-body--depth .wkm-hero--depth .wkm-fine { color: rgba(251, 250, 246, 0.52); }
.wkm-body--depth .wkm-hero--depth .wkm-btn--secondary {
  background: rgba(251, 250, 246, 0.07);
  color: var(--wkm-paper-on-asphalt);
  box-shadow: inset 0 0 0 1px rgba(251, 250, 246, 0.24);
}
.wkm-body--depth .wkm-hero--depth .wkm-btn--secondary:hover { background: rgba(251, 250, 246, 0.13); box-shadow: inset 0 0 0 1px rgba(251, 250, 246, 0.38); }
/* The primary button keeps the site's flat treatment. No glow. */
.wkm-body--depth .wkm-hero--depth .wkm-btn--primary { box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.10); }

/* The snapped chalk line under the headline: a quick stretch, then it
   settles. No light. */
.wkm-chalk {
  display: block;
  width: 112px;
  height: 3px;
  margin-top: 26px;
  border-radius: 2px;
  background: var(--wkm-line);
  transform-origin: left center;
  transform: scaleX(0);
  animation: wkm-snap 620ms cubic-bezier(0.2, 1.4, 0.3, 1) 520ms forwards;
}
@keyframes wkm-snap { to { transform: scaleX(1); } }

/* Header over the slab: dark and translucent until scrolled past it. */
.wkm-body--depth .wkm-header { transition: background-color 260ms var(--wkm-ease), color 260ms var(--wkm-ease); }
.wkm-body--depth .wkm-header:not(.is-past-hero) { background: rgba(22, 24, 29, 0.58); color: var(--wkm-paper-on-asphalt); }
.wkm-body--depth .wkm-header:not(.is-past-hero)::after { background: rgba(251, 250, 246, 0.10); }
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-nav__link,
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-header__signin { color: rgba(251, 250, 246, 0.78); }
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-nav__link:hover,
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-header__signin:hover { color: var(--wkm-paper-on-asphalt); background: rgba(251, 250, 246, 0.08); }
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-wordmark path:first-child,
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-wordmark text { fill: var(--wkm-paper-on-asphalt); }
.wkm-body--depth .wkm-header:not(.is-past-hero) .wkm-menu-btn__bar { background: var(--wkm-paper-on-asphalt); }

/* The frame on the edge of the slab. A short, tight shadow: it grounds
   the frame without reaching the rail text underneath. */
.wkm-body--depth .wkm-stage { position: relative; margin-top: 64px; }
.wkm-stage__scene { position: relative; }
.wkm-body--depth .wkm-frame {
  border-radius: 10px;
  box-shadow:
    0 1px 1px rgba(22, 24, 29, 0.05),
    0 18px 32px -22px rgba(22, 24, 29, 0.36),
    0 0 0 1px rgba(22, 24, 29, 0.12);
}

/* Browser chrome: a thin dark-mode window bar. Three muted window dots,
   the address in a quiet pill, a hairline where the bar meets the app. */
.wkm-body--depth .wkm-frame__bar {
  position: relative;
  height: 32px;
  background: #1B1E24;
  box-shadow: inset 0 -1px 0 rgba(251, 250, 246, 0.09), inset 0 1px 0 rgba(251, 250, 246, 0.04);
}
.wkm-body--depth .wkm-frame__bar::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.2);
  box-shadow: 14px 0 0 rgba(251, 250, 246, 0.2), 28px 0 0 rgba(251, 250, 246, 0.2);
}
.wkm-body--depth .wkm-frame__url {
  height: 20px;
  padding: 0 10px;
  border-radius: 5px;
  background: rgba(251, 250, 246, 0.07);
  box-shadow: inset 0 0 0 1px rgba(251, 250, 246, 0.06);
  color: rgba(251, 250, 246, 0.64);
  font-size: 11px;
}

/* The lift layer: an element from inside the frame, raised above its
   plane. The holder carries the lift (translate, scale, a hair of
   rotation, the shadow); the item inside keeps the element's own look and
   a slow breathing float so it reads as held, not pasted. */
.wkm-lift { position: absolute; inset: 0; pointer-events: none; z-index: 4; font-size: 13px; line-height: 1.4; color: var(--wkm-ink); }
.wkm-lift__holder {
  position: absolute;
  transform-origin: 0 0;
  transform: translate(var(--lx, 0px), var(--ly, 0px)) scale(var(--ls, 1)) rotate(var(--lr, 0deg));
  transition: transform 640ms var(--wkm-ease), filter 640ms var(--wkm-ease), opacity 320ms var(--wkm-ease);
  filter: drop-shadow(0 2px 3px rgba(22, 24, 29, 0.10)) drop-shadow(0 28px 44px rgba(22, 24, 29, 0.0));
  will-change: transform, filter;
}
.wkm-lift__holder.is-up { filter: drop-shadow(0 2px 4px rgba(22, 24, 29, 0.14)) drop-shadow(0 30px 48px rgba(22, 24, 29, 0.32)); }
.wkm-lift__holder.is-out { opacity: 0; }
.wkm-lift__ghost { visibility: hidden; flex: 0 0 auto; }
.wkm-lift__breathe { animation: wkm-breathe 5200ms ease-in-out infinite; }
.wkm-lift__breathe > * { margin: 0 !important; }
@keyframes wkm-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.wkm-body--depth .wkm-stage__note { color: var(--wkm-ink-4); }

@media (max-width: 960px) {
  .wkm-body--depth .wkm-hero--depth::before { bottom: 46%; }
  .wkm-body--depth .wkm-hero--depth::after { bottom: 46%; }
}
@media (max-width: 720px) {
  .wkm-lift { display: none; }
  .wkm-body--depth .wkm-hero--depth { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .wkm-chalk { animation: none; transform: scaleX(1); }
  .wkm-lift__holder { transition: none; }
  .wkm-lift__breathe { animation: none; }
}
