/* ==========================================================================
   Workefy design system — palette extension + section block library.
   Loaded AFTER webflow.css and the other workefy-* overrides.

   Scope: everything here is additive. Vendor Webflow classes are not
   restyled; new blocks use the `wf-` prefix and only borrow `.section`,
   `.container` and `.w-layout-blockcontainer` for width/rhythm.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Neutral ramp — replaces the two-value near-white system. */
  --wf-n0: #ffffff;
  --wf-n50: #f8fafc;
  --wf-n100: #f1f5f9;
  --wf-n200: #e2e8f0;
  --wf-n400: #94a3b8;
  --wf-n600: #475569; /* 7.6:1 on white — body copy */
  --wf-n800: #1e293b; /* 14.7:1 on white — headings */

  /* Base identity. */
  --wf-navy: #252860; /* 13.5:1 vs white */
  --wf-navy-deep: #1a1d45;
  --wf-navy-mid: #2a316e;
  --wf-blue: #3469b2;
  --wf-blue-bright: #5ba3e8;
  --wf-blue-mid: #2d4f8c;
  --wf-sky: #38bdf8;

  /* Focal accent. Amber — eyebrows, rules, energy. */
  --wf-accent: #f2a93b;
  --wf-accent-hover: #d98f22;
  --wf-accent-ink: #b45309; /* 5.0:1 on white — safe for accent text */
  --wf-accent-wash: rgba(242, 169, 59, 0.12);

  /* Supporting accents — teal (trust/people), success (positive). */
  --wf-teal: #0d9488;
  --wf-teal-ink: #0f766e;
  --wf-teal-wash: rgba(13, 148, 136, 0.1);
  --wf-success: #10b981;
  --wf-success-ink: #047857;
  --wf-success-wash: rgba(16, 185, 129, 0.1);

  /* Per-product accent, defaulting to the house blue. `-ink` variants are
     the AA-safe text versions for eyebrows on light backgrounds. */
  --wf-p: var(--wf-blue);
  --wf-p-ink: #1d4ed8; /* 6.9:1 on white */
  --wf-p-wash: rgba(52, 105, 178, 0.08);

  /* Text colour resolved per background context. */
  --wf-fg: var(--wf-n800);
  --wf-fg-muted: var(--wf-n600);
  --wf-rule: var(--wf-n200);
  --wf-card-bg: #ffffff;

  --wf-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --wf-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
  --wf-radius: 14px;
  --wf-ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* Per-product accent scoping. Applied to .pages-wrapper by the generator. */
.wf-p-stride-pm { --wf-p: #6366f1; --wf-p-ink: #4f46e5; --wf-p-wash: rgba(99, 102, 241, 0.08); }
.wf-p-cadence-hr { --wf-p: #14b8a6; --wf-p-ink: #0f766e; --wf-p-wash: rgba(20, 184, 166, 0.08); }
.wf-p-hirepacket { --wf-p: #f2a93b; --wf-p-ink: #b45309; --wf-p-wash: rgba(242, 169, 59, 0.1); }
.wf-p-pace { --wf-p: #0ea5e9; --wf-p-ink: #0369a1; --wf-p-wash: rgba(14, 165, 233, 0.08); }
.wf-p-worksloop { --wf-p: #10b981; --wf-p-ink: #047857; --wf-p-wash: rgba(16, 185, 129, 0.08); }
.wf-p-relay { --wf-p: #8b5cf6; --wf-p-ink: #6d28d9; --wf-p-wash: rgba(139, 92, 246, 0.08); }
.wf-p-founders-ops { --wf-p: #f2a93b; --wf-p-ink: #b45309; --wf-p-wash: rgba(242, 169, 59, 0.1); }
.wf-p-hr-teams { --wf-p: #14b8a6; --wf-p-ink: #0f766e; --wf-p-wash: rgba(20, 184, 166, 0.08); }
.wf-p-delivery-teams { --wf-p: #6366f1; --wf-p-ink: #4f46e5; --wf-p-wash: rgba(99, 102, 241, 0.08); }

/* --------------------------------------------------------------------------
   2. Section shell — backgrounds + vertical rhythm
   -------------------------------------------------------------------------- */

.wf-sec {
  position: relative;
  background-color: var(--wf-n0);
  color: var(--wf-fg);
  overflow-x: clip;
}

.wf-sec.wf-bg-white { background-color: var(--wf-n0); }
.wf-sec.wf-bg-navy {
  background-color: var(--wf-navy);
  background-image:
    radial-gradient(ellipse 70% 55% at 8% 18%, rgba(91, 163, 232, 0.2), transparent 58%),
    radial-gradient(ellipse 45% 40% at 92% 80%, rgba(242, 169, 59, 0.1), transparent 52%),
    radial-gradient(ellipse 35% 30% at 40% 100%, rgba(13, 148, 136, 0.1), transparent 50%);
  --wf-fg: #ffffff;
  --wf-fg-muted: #cbd5e1; /* 8.7:1 on navy */
  --wf-rule: rgba(255, 255, 255, 0.14);
  --wf-card-bg: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.wf-sec.wf-bg-tint {
  background-color: var(--wf-n50);
  background-image:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(52, 105, 178, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(13, 148, 136, 0.05), transparent 50%);
}

/* Vertical rhythm: hero XL, content L, bands M. */
.wf-sec.wf-pad-xl { padding-top: 128px; padding-bottom: 128px; }
.wf-sec.wf-pad-l { padding-top: 96px; padding-bottom: 96px; }
.wf-sec.wf-pad-m { padding-top: 72px; padding-bottom: 72px; }

@media screen and (max-width: 991px) {
  .wf-sec.wf-pad-xl { padding-top: 88px; padding-bottom: 88px; }
  .wf-sec.wf-pad-l { padding-top: 72px; padding-bottom: 72px; }
  .wf-sec.wf-pad-m { padding-top: 56px; padding-bottom: 56px; }
}

@media screen and (max-width: 767px) {
  .wf-sec.wf-pad-xl { padding-top: 64px; padding-bottom: 64px; }
  .wf-sec.wf-pad-l { padding-top: 56px; padding-bottom: 56px; }
  .wf-sec.wf-pad-m { padding-top: 44px; padding-bottom: 44px; }
}

/* --------------------------------------------------------------------------
   3. Type primitives
   -------------------------------------------------------------------------- */

.wf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-p-ink);
}

.wf-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--wf-p);
  flex: none;
}

/* Tint sections lean teal so the page isn’t one blue note. */
.wf-bg-tint .wf-eyebrow {
  color: var(--wf-teal-ink);
}

.wf-bg-tint .wf-eyebrow::before {
  background-color: var(--wf-teal);
}

.wf-bg-band .wf-eyebrow {
  color: var(--wf-accent-ink);
}

.wf-bg-band .wf-eyebrow::before {
  background-color: var(--wf-accent);
}

.wf-bg-navy .wf-eyebrow,
.wf-hero .wf-eyebrow { color: var(--wf-accent); } /* 6.8:1 on navy */

.wf-bg-navy .wf-eyebrow::before,
.wf-hero .wf-eyebrow::before { background-color: var(--wf-accent); }

.wf-bg-navy .wf-split__list li::before { background-color: var(--wf-accent); }

.wf-h2 {
  margin: 0 0 16px;
  max-width: 22ch;
  color: var(--wf-fg);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.wf-h3 {
  margin: 0 0 8px;
  color: var(--wf-fg);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.wf-lede,
.wf-body {
  margin: 0;
  max-width: 68ch;
  color: var(--wf-fg-muted);
  font-size: 17px;
  line-height: 1.65;
}

.wf-body { font-size: 16px; }

.wf-head { margin-bottom: 48px; }
.wf-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.wf-head--center .wf-h2 { max-width: none; }
.wf-head--center .wf-lede { margin-left: auto; margin-right: auto; }

@media screen and (max-width: 767px) {
  .wf-head { margin-bottom: 32px; }
  .wf-h2 { max-width: none; }
}

/* Link with arrow, used inside cards and split blocks. */
.wf-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--wf-p-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 150ms var(--wf-ease), color 150ms var(--wf-ease);
}

.wf-link::after { content: "\2192"; font-size: 16px; line-height: 1; }
.wf-link:hover { gap: 12px; color: var(--wf-navy); }
.wf-bg-navy .wf-link { color: var(--wf-accent); }
.wf-bg-navy .wf-link:hover { color: #ffffff; }

/* Buttons — visuals live in workefy-buttons.css (single CTA system).
   Keep only layout helpers here. */
.wf-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.wf-btns--center {
  justify-content: center;
  margin-top: 32px;
}

:where(.wf-sec, .wf-hero) a:focus-visible,
:where(.wf-sec, .wf-hero) button:focus-visible {
  outline: 3px solid var(--wf-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   4. Block: card grid
   -------------------------------------------------------------------------- */

.wf-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wf-cards.wf-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wf-cards.wf-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media screen and (max-width: 991px) {
  .wf-cards,
  .wf-cards.wf-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media screen and (max-width: 640px) {
  .wf-cards,
  .wf-cards.wf-cards--2,
  .wf-cards.wf-cards--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.wf-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-width: 0;
  background-color: var(--wf-card-bg);
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  transition: box-shadow 150ms var(--wf-ease), transform 150ms var(--wf-ease),
    border-color 150ms var(--wf-ease);
}

.wf-card:hover {
  box-shadow: var(--wf-shadow-hover);
  transform: translateY(-2px);
  border-color: var(--wf-p);
}

.wf-bg-navy .wf-card { box-shadow: none; }
.wf-bg-navy .wf-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }

.wf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background-color: var(--wf-p-wash);
  color: var(--wf-p-ink);
  font-size: 15px;
  font-weight: 700;
  flex: none;
}

/* Stagger supporting accents across card grids (blue → teal → amber). */
.wf-cards > .wf-card:nth-child(3n + 1) .wf-chip {
  background-color: rgba(52, 105, 178, 0.1);
  color: var(--wf-p-ink);
}

.wf-cards > .wf-card:nth-child(3n + 2) .wf-chip {
  background-color: var(--wf-teal-wash);
  color: var(--wf-teal-ink);
}

.wf-cards > .wf-card:nth-child(3n) .wf-chip {
  background-color: var(--wf-accent-wash);
  color: var(--wf-accent-ink);
}

.wf-cards > .wf-card:nth-child(3n + 2):hover { border-color: var(--wf-teal); }
.wf-cards > .wf-card:nth-child(3n):hover { border-color: var(--wf-accent); }

.wf-bg-navy .wf-chip { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; }

.wf-bg-navy .wf-cards > .wf-card:nth-child(3n + 2) .wf-chip {
  background-color: rgba(13, 148, 136, 0.28);
  color: #ffffff;
}

.wf-bg-navy .wf-cards > .wf-card:nth-child(3n) .wf-chip {
  background-color: rgba(242, 169, 59, 0.28);
  color: #ffffff;
}

.wf-card .wf-body { flex: 1 1 auto; }
.wf-card .wf-link { margin-top: 18px; }

@media screen and (max-width: 767px) {
  .wf-card { padding: 22px; }
}

/* --------------------------------------------------------------------------
   4b. Block: stakes rail (why it matters — NOT the same as wf-card)
   Left accent bar + soft wash. Equal-height columns, no chip boxes.
   -------------------------------------------------------------------------- */

.wf-stakes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.wf-stake {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 24px 22px;
  border: 1px solid var(--wf-rule);
  border-left-width: 4px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(160deg, var(--wf-n50) 0%, #ffffff 72%);
  box-shadow: var(--wf-shadow);
  transition: transform 180ms var(--wf-ease), box-shadow 180ms var(--wf-ease),
    border-color 180ms var(--wf-ease);
}

.wf-stake:nth-child(3n + 1) { border-left-color: var(--wf-blue); }
.wf-stake:nth-child(3n + 2) { border-left-color: var(--wf-teal); }
.wf-stake:nth-child(3n) { border-left-color: var(--wf-accent); }

.wf-stake:hover {
  transform: translateY(-3px);
  box-shadow: var(--wf-shadow-hover);
}

.wf-stake__kicker {
  margin-bottom: 14px;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-p-ink);
}

.wf-stake:nth-child(3n + 2) .wf-stake__kicker { color: var(--wf-teal-ink); }
.wf-stake:nth-child(3n) .wf-stake__kicker { color: var(--wf-accent-ink); }

.wf-stake .wf-h3 { margin-bottom: 10px; font-size: 18px; }
.wf-stake .wf-body { flex: 1; font-size: 15px; line-height: 1.6; }

@media screen and (max-width: 991px) {
  .wf-stakes { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* --------------------------------------------------------------------------
   4c. Block: product bento grid (suite — varied widths, NOT uniform cards)
   -------------------------------------------------------------------------- */

.wf-product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.wf-product-tile {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 100%;
  padding: 24px 22px 20px;
  border: 1px solid var(--wf-rule);
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: var(--wf-shadow);
  transition: transform 180ms var(--wf-ease), box-shadow 180ms var(--wf-ease),
    border-color 180ms var(--wf-ease);
}

.wf-product-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--wf-shadow-hover);
  border-color: var(--wf-p);
}

.wf-product-tile--wide { grid-column: span 6; }
.wf-product-tile--hero { grid-column: span 12; padding: 28px 26px; }
.wf-product-tile--muted {
  background: linear-gradient(180deg, var(--wf-n50) 0%, #ffffff 100%);
  border-style: dashed;
  border-color: rgba(37, 40, 96, 0.14);
}

.wf-product-tile--muted:hover { border-color: var(--wf-teal); }

.wf-product-tile__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--wf-p-wash);
  color: var(--wf-p-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wf-product-tile--hero .wf-product-tile__tag {
  background-color: rgba(91, 163, 232, 0.2);
  color: #ffffff;
}

.wf-product-tile--hero {
  background-image:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(91, 163, 232, 0.22), transparent 55%),
    linear-gradient(135deg, var(--wf-navy) 0%, #2a316e 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.wf-product-tile--hero .wf-h3,
.wf-product-tile--hero .wf-body { color: rgba(255, 255, 255, 0.92); }

.wf-product-tile--hero .wf-link { color: var(--wf-accent); }
.wf-product-tile--hero .wf-link:hover { color: #ffffff; }

.wf-product-tile .wf-h3 { margin-bottom: 8px; font-size: 17px; }
.wf-product-tile .wf-body { flex: 1; margin-bottom: 14px; font-size: 14px; line-height: 1.55; }
.wf-product-tile .wf-link { margin-top: auto; font-size: 14px; }

.wf-product-tile:nth-child(3n + 2) .wf-product-tile__tag {
  background-color: var(--wf-teal-wash);
  color: var(--wf-teal-ink);
}

.wf-product-tile:nth-child(3n) .wf-product-tile__tag {
  background-color: var(--wf-accent-wash);
  color: var(--wf-accent-ink);
}

@media screen and (max-width: 991px) {
  .wf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-product-tile,
  .wf-product-tile--wide,
  .wf-product-tile--hero { grid-column: span 1; }
}

@media screen and (max-width: 640px) {
  .wf-product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   4d. Block: persona rows (audience outcomes — horizontal list, NOT cards)
   -------------------------------------------------------------------------- */

.wf-personas {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-persona {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--wf-rule);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: var(--wf-shadow);
  transition: transform 180ms var(--wf-ease), box-shadow 180ms var(--wf-ease),
    border-color 180ms var(--wf-ease);
}

.wf-persona:hover {
  transform: translateX(4px);
  border-color: var(--wf-p);
  box-shadow: var(--wf-shadow-hover);
}

.wf-persona__index {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wf-n200);
}

.wf-persona:nth-child(3n + 2) .wf-persona__index { color: rgba(13, 148, 136, 0.35); }
.wf-persona:nth-child(3n) .wf-persona__index { color: rgba(242, 169, 59, 0.45); }

.wf-persona .wf-h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.wf-persona .wf-body {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wf-n600);
}

.wf-persona .wf-link {
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .wf-persona {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 6px 16px;
    padding: 20px 18px;
  }

  .wf-persona .wf-link {
    grid-row: auto;
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .wf-persona__index { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   5. Block: split feature
   -------------------------------------------------------------------------- */

.wf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.wf-split--rev .wf-split__text { order: 2; }
.wf-split--rev .wf-split__visual { order: 1; }

.wf-split__text { min-width: 0; }
.wf-split__visual { min-width: 0; }

.wf-split__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.wf-split__list li { padding-left: 26px; position: relative; }

.wf-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: var(--wf-p);
}

@media screen and (max-width: 991px) {
  .wf-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wf-split--rev .wf-split__text { order: 1; }
  .wf-split--rev .wf-split__visual { order: 2; }
}

/* Honest visual panel — abstract, never a mocked-up UI. */
.wf-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--wf-rule);
  background-image: linear-gradient(150deg, var(--wf-p) 0%, var(--wf-navy) 78%);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--wf-shadow);
}

.wf-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(transparent 96%, rgba(255, 255, 255, 0.12) 96%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.12) 96%);
  background-size: 100% 100%, 100% 44px, 44px 100%;
  pointer-events: none;
}

.wf-panel__label {
  position: relative;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.wf-panel__note {
  position: relative;
  margin: 8px 0 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

@media screen and (max-width: 767px) {
  .wf-panel { min-height: 220px; padding: 22px; }
}

/* --------------------------------------------------------------------------
   6. Block: accent band (problem / statement + points)
   -------------------------------------------------------------------------- */

.wf-sec.wf-bg-band {
  background:
    radial-gradient(ellipse 70% 55% at 8% 18%, rgba(52, 105, 178, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 40% at 55% 0%, rgba(13, 148, 136, 0.08), transparent 50%),
    radial-gradient(ellipse 55% 45% at 96% 88%, rgba(242, 169, 59, 0.1), transparent 52%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
  border-top: 1px solid rgba(52, 105, 178, 0.12);
  border-bottom: 1px solid rgba(37, 40, 96, 0.08);
}

.wf-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.wf-band__main {
  position: relative;
  padding-top: 4px;
}

.wf-band__statement {
  margin: 0;
  max-width: 18ch;
  color: var(--wf-navy);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.wf-band__main .wf-lede {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.7;
}

.wf-band__side { min-width: 0; }

.wf-band__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: wf-band-point;
}

.wf-band__points li {
  counter-increment: wf-band-point;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
  margin: 0;
  padding: 18px 18px 18px 16px;
  border: 1px solid rgba(37, 40, 96, 0.08);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 180ms var(--wf-ease), box-shadow 180ms var(--wf-ease),
    border-color 180ms var(--wf-ease);
}

.wf-band__points li::before {
  content: counter(wf-band-point, decimal-leading-zero);
  grid-row: 1 / span 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(52, 105, 178, 0.14), rgba(52, 105, 178, 0.06));
  color: var(--wf-p-ink);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.wf-band__points li:nth-child(3n + 2)::before {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.16), rgba(13, 148, 136, 0.06));
  color: var(--wf-teal-ink);
}

.wf-band__points li:nth-child(3n)::before {
  background: linear-gradient(145deg, rgba(242, 169, 59, 0.2), rgba(242, 169, 59, 0.08));
  color: var(--wf-accent-ink);
}

.wf-band__points li:nth-child(3n + 2):hover { border-color: rgba(13, 148, 136, 0.35); }
.wf-band__points li:nth-child(3n):hover { border-color: rgba(242, 169, 59, 0.4); }

.wf-band__points li .wf-h3 {
  grid-column: 2;
  margin: 0;
  padding-top: 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wf-navy);
}

.wf-band__points li .wf-body {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wf-n600);
}

.wf-band__points li:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 105, 178, 0.28);
  box-shadow: 0 10px 24px rgba(37, 40, 96, 0.08);
}

.wf-bg-navy.wf-bg-band {
  background:
    radial-gradient(ellipse 70% 55% at 8% 18%, rgba(91, 163, 232, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(13, 148, 136, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 45% at 96% 88%, rgba(242, 169, 59, 0.14), transparent 52%),
    var(--wf-navy);
}

.wf-bg-navy .wf-band__statement { color: #ffffff; }

.wf-bg-navy .wf-band__points li {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.wf-bg-navy .wf-band__points li::before {
  background: rgba(91, 163, 232, 0.18);
  color: #ffffff;
}

.wf-bg-navy .wf-band__points li .wf-h3 { color: #ffffff; }
.wf-bg-navy .wf-band__points li .wf-body { color: #cbd5e1; }

.wf-bg-navy .wf-band__points li:hover {
  border-color: rgba(91, 163, 232, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

@media screen and (max-width: 991px) {
  .wf-band { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wf-band__statement { max-width: none; }
}

@media screen and (max-width: 640px) {
  .wf-band__points li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    padding: 16px 14px;
  }

  .wf-band__points li::before {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-band__points li,
  .wf-band__points li:hover {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   7. Block: checklist / spec panel
   -------------------------------------------------------------------------- */

.wf-spec {
  border: 1px solid var(--wf-rule);
  border-radius: 18px;
  background-color: var(--wf-card-bg);
  box-shadow: var(--wf-shadow);
  overflow: hidden;
}

.wf-spec__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wf-spec__row {
  display: flex;
  gap: 16px;
  padding: 26px 28px;
  min-width: 0;
  border-bottom: 1px solid var(--wf-rule);
  border-right: 1px solid var(--wf-rule);
}

.wf-spec__grid > .wf-spec__row:nth-child(2n) { border-right: 0; }

/* Last row(s) lose the bottom rule. */
.wf-spec__grid > .wf-spec__row:nth-last-child(-n + 2):nth-child(2n + 1),
.wf-spec__grid > .wf-spec__row:last-child { border-bottom: 0; }

.wf-spec__tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background-color: var(--wf-p-wash);
  color: var(--wf-p-ink);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-spec__body { min-width: 0; }

@media screen and (max-width: 767px) {
  .wf-spec__grid { grid-template-columns: minmax(0, 1fr); }
  .wf-spec__row { padding: 20px; border-right: 0; }
  .wf-spec__grid > .wf-spec__row:last-child { border-bottom: 0; }
  .wf-spec__grid > .wf-spec__row:nth-last-child(2) { border-bottom: 1px solid var(--wf-rule); }
}

/* --------------------------------------------------------------------------
   8. Block: quote / positioning callout
   -------------------------------------------------------------------------- */

.wf-sec.wf-bg-navy:has(.wf-quote) {
  background:
    radial-gradient(ellipse 65% 70% at 12% 30%, rgba(91, 163, 232, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 55% at 88% 75%, rgba(242, 169, 59, 0.12), transparent 55%),
    linear-gradient(165deg, #1f2254 0%, #252860 48%, #2a316e 100%);
  overflow: hidden;
}

.wf-quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 8px 32px;
  border-left: 4px solid var(--wf-p);
}

.wf-bg-navy .wf-quote { border-left-color: var(--wf-accent); }

.wf-quote__title {
  margin: 0 0 18px;
  color: var(--wf-fg);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.wf-quote .wf-lede {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.65;
}

.wf-quote--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 0;
  border-left: 0;
}

.wf-quote--split .wf-quote__main {
  position: relative;
  padding-left: 28px;
  border-left: 4px solid var(--wf-accent);
}

.wf-quote--split .wf-quote__title {
  margin-bottom: 14px;
  max-width: 14ch;
}

.wf-quote--split .wf-btns { margin-top: 26px; }

.wf-quote__feats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.wf-quote__feats li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.06);
  transition: transform 180ms var(--wf-ease), background-color 180ms var(--wf-ease),
    border-color 180ms var(--wf-ease);
}

.wf-quote__feats li:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(91, 163, 232, 0.45);
}

.wf-quote__feat-kicker {
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 11px;
  background: rgba(91, 163, 232, 0.18);
  color: #ffffff;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wf-quote__feat-title {
  grid-column: 2;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.wf-quote__feat-detail {
  grid-column: 2;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}

@media screen and (max-width: 991px) {
  .wf-quote--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .wf-quote--split .wf-quote__title { max-width: none; }
}

@media screen and (max-width: 767px) {
  .wf-quote { padding-left: 20px; }
  .wf-quote--split .wf-quote__main { padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-quote__feats li,
  .wf-quote__feats li:hover {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   9. Block: comparison / table strip
   -------------------------------------------------------------------------- */

.wf-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--wf-rule);
  border-radius: 18px;
  background-color: var(--wf-card-bg);
  box-shadow: var(--wf-shadow);
}

.wf-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.wf-table th,
.wf-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--wf-rule);
  vertical-align: top;
  color: var(--wf-fg-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.wf-table thead th {
  color: var(--wf-fg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--wf-n50);
}

.wf-table tbody tr:last-child th,
.wf-table tbody tr:last-child td { border-bottom: 0; }

.wf-table tbody th { color: var(--wf-fg); font-weight: 600; font-size: 16px; }
.wf-table tbody tr { transition: background-color 150ms var(--wf-ease); }
.wf-table tbody tr:hover { background-color: var(--wf-p-wash); }

/* Below the tablet breakpoint the table stops being a table: each row
   becomes a stacked card with its column name as a label. No sideways
   scrolling on a phone. */
@media screen and (max-width: 767px) {
  .wf-tablewrap { overflow-x: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .wf-table { min-width: 0; display: block; }
  .wf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wf-table tbody { display: grid; gap: 16px; }

  .wf-table tbody tr {
    display: block;
    padding: 20px;
    border: 1px solid var(--wf-rule);
    border-radius: var(--wf-radius);
    background-color: var(--wf-card-bg);
    box-shadow: var(--wf-shadow);
  }

  .wf-table tbody tr:hover { background-color: var(--wf-card-bg); }

  .wf-table tbody th,
  .wf-table tbody td { display: block; padding: 0; border-bottom: 0; }
  .wf-table tbody td { margin-top: 10px; }

  .wf-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wf-p-ink);
  }

  .wf-table tbody td[data-label=""]::before { content: none; }
}

/* --------------------------------------------------------------------------
   10. Product / inner hero
   -------------------------------------------------------------------------- */

.wf-hero {
  position: relative;
  padding-top: 172px;
  padding-bottom: 96px;
  background-color: var(--wf-navy);
  color: #ffffff;
  overflow: hidden;
}

.wf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(60% 80% at 82% 8%, var(--wf-p) 0%, transparent 62%),
    radial-gradient(48% 70% at 6% 96%, var(--wf-blue) 0%, transparent 58%);
  opacity: 0.42;
  pointer-events: none;
}

.wf-hero > .container { position: relative; z-index: 1; }

.wf-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.wf-hero--solo .wf-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.wf-hero .wf-eyebrow { color: var(--wf-accent); }

.wf-hero__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.wf-hero__sub {
  margin: 0;
  max-width: 60ch;
  color: #dbe3f2; /* 10.4:1 on navy */
  font-size: 18px;
  line-height: 1.6;
}

/* Honest device frame — a labelled placeholder, never a fake screenshot. */
.wf-device {
  position: relative;
  border-radius: 20px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(6, 10, 32, 0.45);
}

.wf-device__screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 18px 20px 22px;
  border-radius: 12px;
  background-image: linear-gradient(155deg, var(--wf-p) 0%, #1a1d45 82%);
  overflow: hidden;
}

.wf-device__dots { display: flex; gap: 7px; }

.wf-device__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.42);
}

.wf-device__label {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wf-device__note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

@media screen and (max-width: 991px) {
  .wf-hero { padding-top: 140px; padding-bottom: 72px; }
  .wf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media screen and (max-width: 767px) {
  .wf-hero { padding-top: 116px; padding-bottom: 56px; }
  .wf-hero__sub { font-size: 16px; }
  .wf-device__screen { min-height: 200px; }
}

/* The home hero image bleeds past the hero with a fixed negative margin
   (-339px desktop, -200px tablet, none below 767px). The following section
   has to reserve that space or the image lands on top of its copy. */
.section.hero-v1 + .wf-sec { padding-top: 411px; }

/* …and the hero has to out-rank that section, or the section's translucent
   background composites over the bleeding part of the image and tints its
   lower third. `.section.hero-v1` sets `isolation: isolate` (see
   workefy-hero-network.css), which makes it a stacking context — so the
   image's own z-index is trapped inside the hero and can't lift it above a
   later sibling. Raising the hero itself is the fix. Stays far below the
   fixed navbar at z-index 1000, so the header and its dropdowns still win. */
.section.hero-v1 { z-index: 2; }

@media screen and (max-width: 991px) {
  .section.hero-v1 + .wf-sec { padding-top: 256px; }
}

@media screen and (max-width: 767px) {
  .section.hero-v1 + .wf-sec.wf-pad-m { padding-top: 44px; }
  .section.hero-v1 + .wf-sec.wf-pad-l { padding-top: 56px; }
  .section.hero-v1 + .wf-sec.wf-pad-xl { padding-top: 64px; }
}

/* --------------------------------------------------------------------------
   10b. Block: inline lead capture (Talk to us)
   -------------------------------------------------------------------------- */

.section.wf-lead.wf-bg-tint {
  background:
    radial-gradient(ellipse 70% 55% at 6% 12%, rgba(52, 105, 178, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(13, 148, 136, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 45% at 94% 88%, rgba(242, 169, 59, 0.1), transparent 50%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

.wf-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.wf-lead__intro {
  position: relative;
  min-width: 0;
  padding-right: 8px;
}

.wf-lead__intro .wf-h2 {
  max-width: 16ch;
  color: var(--wf-navy);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  text-wrap: balance;
}

.wf-lead__intro .wf-lede {
  max-width: 38ch;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.7;
}

.wf-lead__alt {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 40, 96, 0.1);
  color: var(--wf-fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Inline variant of .wf-link — no arrow, no top margin. */
.wf-lead__inline-link {
  margin-top: 0;
  font-weight: 700;
}
.wf-lead__inline-link::after { content: none; }

.wf-lead__panel {
  position: relative;
  min-width: 0;
  padding: 28px 28px 26px;
  border: 1px solid rgba(37, 40, 96, 0.08);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(37, 40, 96, 0.08);
  overflow: hidden;
}

.wf-lead__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wf-blue) 0%, var(--wf-blue-bright) 55%, #8fafdb 100%);
}

.wf-lead__form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 16px;
}

.wf-lead__form > input[type="hidden"] {
  display: none;
}

.wf-lead__field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.wf-lead__field:has(.wf-lead__textarea) {
  grid-column: 1 / -1;
}

.wf-lead__label {
  color: var(--wf-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.wf-lead__optional {
  color: #64748b;
  font-weight: 500;
}

.wf-lead__input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--wf-n200);
  border-radius: 11px;
  background-color: #f8fafc;
  color: var(--wf-n800);
  font-family: inherit;
  font-size: 16px; /* 16px avoids the iOS focus zoom */
  line-height: 1.45;
  transition: border-color 150ms var(--wf-ease), box-shadow 150ms var(--wf-ease),
    background-color 150ms var(--wf-ease);
}

.wf-lead__textarea {
  resize: vertical;
  min-height: 112px;
}

.wf-lead__input:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.wf-lead__input:focus {
  outline: none;
  border-color: var(--wf-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(52, 105, 178, 0.16);
}

.wf-lead__input:focus-visible {
  outline: 3px solid var(--wf-accent);
  outline-offset: 2px;
}

/* Honeypot — removed from the visual and a11y trees, still fillable by bots. */
.wf-lead__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wf-lead__submit {
  grid-column: 1 / -1;
  margin-top: 4px;
  justify-self: start;
  min-width: 180px;
  /* Colors from workefy-buttons.css (.wf-btn--solid + .wf-lead__panel tokens) */
}

.wf-lead__submit:disabled {
  opacity: 0.6;
  cursor: progress;
  box-shadow: none;
  transform: none;
}

.wf-lead__status {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--wf-fg-muted);
}

.wf-lead__status:empty { display: none; }

.wf-lead__status.is-error {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #fca5a5;
  border-left: 3px solid #b91c1c;
  background-color: #fef2f2;
  color: #7f1d1d; /* 9.4:1 on #fef2f2 */
}

.wf-lead__status.is-success {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #6ee7b7;
  border-left: 3px solid #047857;
  background-color: #ecfdf5;
  color: #064e3b; /* 10.6:1 on #ecfdf5 */
}

.wf-lead__mailto {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.wf-lead__mailto:hover { text-decoration: none; }

/* The panel is a white card on every background, so its internals keep the
   light-mode ink even when the section around it is navy. */
.wf-bg-navy .wf-lead__panel {
  background-color: var(--wf-n0);
  --wf-fg: var(--wf-n800);
  --wf-fg-muted: var(--wf-n600);
  --wf-rule: var(--wf-n200);
}

.wf-bg-navy.wf-lead {
  background:
    radial-gradient(ellipse 65% 70% at 12% 30%, rgba(91, 163, 232, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 55% at 88% 75%, rgba(242, 169, 59, 0.1), transparent 55%),
    var(--wf-navy);
}

@media screen and (max-width: 991px) {
  .wf-lead__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }

  .wf-lead__intro .wf-h2 { max-width: none; }
  .wf-lead__intro { padding-right: 0; }
}

@media screen and (max-width: 767px) {
  .wf-lead__panel { padding: 22px 18px 20px; }

  .wf-lead__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .wf-lead__submit {
    width: 100%;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-lead__input,
  .wf-lead__submit,
  .wf-lead__submit:hover {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   11. Legacy Webflow sections — rhythm, measure and depth alignment
   -------------------------------------------------------------------------- */

.section.our-journey .journey-single-wrap {
  border: 1px solid var(--wf-n200);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  transition: box-shadow 150ms var(--wf-ease), transform 150ms var(--wf-ease);
}

.section.our-journey .journey-single-wrap:hover {
  box-shadow: var(--wf-shadow-hover);
  transform: translateY(-2px);
}

/* Insights / Related Blogs cards */
.section.blog {
  padding-bottom: 96px;
}

.section.blog .blog-cl-item {
  display: flex;
  min-width: 0;
}

.section.blog .blog-single-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(37, 40, 96, 0.08);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(37, 40, 96, 0.04);
  transition: box-shadow 200ms var(--wf-ease), transform 200ms var(--wf-ease),
    border-color 200ms var(--wf-ease);
}

.section.blog .blog-single-wrap:hover {
  border-color: rgba(52, 105, 178, 0.28);
  box-shadow: 0 12px 32px rgba(37, 40, 96, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);
  transform: translateY(-4px);
}

.section.blog .blog-item-image-wrap {
  position: relative;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  background-color: var(--wf-n100);
}

.section.blog .blog-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--wf-ease);
}

.section.blog .blog-single-wrap:hover .blog-item-image {
  transform: scale(1.045);
}

.section.blog .blog-ctg-time-wrap {
  align-items: center;
  gap: 12px;
  margin: 18px 22px 0;
}

.section.blog .blog-ctg {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  background-color: rgba(52, 105, 178, 0.1);
  color: var(--wf-p-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.section.blog .blog-read-time {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.section.blog .blog-content-wrap {
  flex: 1 1 auto;
  gap: 10px;
  margin: 14px 22px 18px;
}

.section.blog .blog-item-title {
  display: block;
  color: var(--wf-navy) !important;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-decoration: none;
  text-wrap: balance;
  transition: color 180ms var(--wf-ease);
}

.section.blog .blog-single-wrap:hover .blog-item-title {
  color: #3469b2 !important;
}

.section.blog .blog-item-details {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: #64748b !important;
  font-size: 15px;
  line-height: 1.55;
}

.section.blog .blog-button-wrap {
  margin-top: auto;
  padding: 0 22px 22px;
}

.section.blog .blog-button {
  color: var(--wf-navy) !important;
  font-weight: 600;
}

.section.blog .blog-button:hover {
  color: #3469b2 !important;
}

@media screen and (max-width: 991px) {
  .section.blog { padding-bottom: 72px; }
  .section.blog .blog-cl-list { gap: 20px; }
}

@media screen and (max-width: 767px) {
  .section.blog { padding-bottom: 56px; }

  .section.blog .blog-ctg-time-wrap {
    margin: 16px 16px 0;
  }

  .section.blog .blog-content-wrap {
    margin: 12px 16px 16px;
  }

  .section.blog .blog-button-wrap {
    padding: 0 16px 18px;
  }
}

.section.faq-v1 .section-details,
.section.our-journey .section-details,
.section.process .section-details { max-width: 68ch; }

.section.cta .cta-details { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Pre-existing footer grid blowout: the four link columns overflow the
   viewport by ~5px at the 768px breakpoint on every page. Grid children
   default to min-width:auto, so a long link refuses to shrink. */
.footer .footer-menu,
.footer .footer-menu-wrap,
.footer .footer-nav { min-width: 0; }

.footer .footer-nav-link { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   11b. Footer — atmospheric navy + clearer hierarchy
   -------------------------------------------------------------------------- */

.section.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 8% 20%, rgba(91, 163, 232, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 85%, rgba(242, 169, 59, 0.1), transparent 52%),
    linear-gradient(165deg, #1f2254 0%, #252860 45%, #2c3475 100%) !important;
  padding-top: 100px;
  padding-bottom: 40px;
}

.section.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(91, 163, 232, 0.45) 35%,
    rgba(242, 169, 59, 0.35) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.section.footer .footer-wrapper {
  position: relative;
  z-index: 1;
}

.section.footer .footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.2fr);
  gap: 48px 56px;
  align-items: start;
}

.section.footer .footer-details-wrap {
  max-width: 320px;
}

.section.footer .footer-logo-wrap {
  display: inline-flex;
  transition: opacity 180ms var(--wf-ease);
}

.section.footer .footer-logo-wrap:hover {
  opacity: 0.88;
}

.section.footer .footer-logo {
  height: 48px;
  width: auto;
}

.section.footer .footer-details {
  margin-top: 20px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px;
  line-height: 1.65;
}

.section.footer .footer-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  width: 100%;
  justify-content: stretch;
}

.section.footer .footer-menu-wrap {
  min-width: 0;
}

.section.footer .footer-menu-title {
  margin: 0;
  color: #ffffff !important;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 13px;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section.footer .footer-nav {
  margin-top: 18px;
  gap: 11px;
}

.section.footer .footer-nav-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms var(--wf-ease), transform 160ms var(--wf-ease) !important;
}

.section.footer .footer-nav-link:hover {
  color: #5ba3e8 !important;
  transform: translateX(4px);
}

.section.footer .copyright-text-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  text-align: left;
}

.section.footer .copywrite-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.section.footer .copyright-text-wrap::after {
  content: "Workefy";
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 991px) {
  .section.footer {
    padding-top: 72px;
    padding-bottom: 36px;
  }

  .section.footer .footer-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .section.footer .footer-details-wrap {
    max-width: none;
  }

  .section.footer .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media screen and (max-width: 767px) {
  .section.footer {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .section.footer .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .section.footer .footer-menu-title {
    font-size: 12px;
  }

  .section.footer .footer-nav-link {
    font-size: 14px;
  }

  .section.footer .copyright-text-wrap {
    margin-top: 36px;
    padding-top: 18px;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 479px) {
  .section.footer .footer-menu {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section.footer .footer-nav-link,
  .section.footer .footer-nav-link:hover,
  .section.footer .footer-logo-wrap {
    transition: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   11b. About-page blocks (company story — do NOT reuse homepage funnel)
   Mission prose, timeline, media chapter, beliefs, manifesto, company links.
   -------------------------------------------------------------------------- */

.wf-mission {
  max-width: 720px;
  margin: 0 auto;
}

.wf-mission .wf-eyebrow { margin-bottom: 18px; }

.wf-mission__title {
  margin: 0 0 28px;
  color: var(--wf-fg);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.wf-mission__body {
  display: grid;
  gap: 18px;
}

.wf-mission__body p {
  margin: 0;
  color: var(--wf-n600);
  font-size: 18px;
  line-height: 1.7;
}

.wf-mission__pull {
  margin: 8px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--wf-teal);
  color: var(--wf-fg) !important;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 22px !important;
  font-weight: 500;
  line-height: 1.45 !important;
  letter-spacing: -0.015em;
}

/* Vertical company timeline */
.wf-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.wf-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 15px;
  width: 2px;
  background: linear-gradient(180deg, var(--wf-p), var(--wf-teal), var(--wf-accent));
  opacity: 0.35;
}

.wf-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 28px;
  padding: 0 0 40px;
}

.wf-timeline__item:last-child { padding-bottom: 0; }

.wf-timeline__dot {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--wf-p);
  background-color: #ffffff;
  box-shadow: 0 0 0 6px var(--wf-p-wash, #e8f0f8);
}

.wf-timeline__item:nth-child(2) .wf-timeline__dot {
  border-color: var(--wf-teal);
  box-shadow: 0 0 0 6px var(--brand-teal-wash, rgba(13, 148, 136, 0.12));
}

.wf-timeline__item:nth-child(3) .wf-timeline__dot {
  border-color: var(--wf-accent);
  box-shadow: 0 0 0 6px var(--brand-accent-wash, rgba(242, 169, 59, 0.14));
}

.wf-timeline__year {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-p-ink, var(--wf-p));
}

.wf-timeline__item:nth-child(2) .wf-timeline__year { color: var(--wf-teal); }
.wf-timeline__item:nth-child(3) .wf-timeline__year { color: #b45309; }

.wf-timeline__item .wf-h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.wf-timeline__item .wf-body {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.65;
}

/* Media chapter: copy + real image */
.wf-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.wf-chapter--rev .wf-chapter__text { order: 2; }
.wf-chapter--rev .wf-chapter__media { order: 1; }

.wf-chapter__media {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--wf-tint, #f4f7fb);
  box-shadow: var(--wf-shadow);
}

.wf-chapter__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
}

.wf-chapter__caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--wf-n600);
}

.wf-chapter__text .wf-split__list { margin-top: 8px; }

@media screen and (max-width: 991px) {
  .wf-chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .wf-chapter--rev .wf-chapter__text,
  .wf-chapter--rev .wf-chapter__media { order: initial; }
}

/* Company beliefs — asymmetric 2-col, not persona rows */
.wf-beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.wf-belief {
  padding-top: 20px;
  border-top: 2px solid var(--wf-rule);
}

.wf-belief:nth-child(2) { border-top-color: rgba(13, 148, 136, 0.45); }
.wf-belief:nth-child(3) { border-top-color: rgba(242, 169, 59, 0.55); }
.wf-belief:nth-child(4) { border-top-color: rgba(52, 105, 178, 0.45); }

.wf-belief__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-n600);
}

.wf-belief .wf-h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.wf-belief .wf-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .wf-beliefs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wf-timeline::before { left: 11px; }
  .wf-timeline__item { grid-template-columns: 24px minmax(0, 1fr); gap: 0 16px; }
  .wf-timeline__dot { width: 24px; height: 24px; }
  .wf-mission__pull { font-size: 18px !important; }
}

/* Single-column navy manifesto (About only — not homepage quote-split) */
.wf-manifesto {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.wf-manifesto .wf-eyebrow {
  justify-content: center;
}

.wf-manifesto__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.wf-manifesto .wf-lede {
  margin: 0 auto 32px;
  max-width: 48ch;
  color: #dbe3f2;
}

.wf-manifesto .wf-btns {
  justify-content: center;
}

.wf-sec.wf-bg-navy:has(.wf-manifesto) {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(91, 163, 232, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 100%, rgba(13, 148, 136, 0.12), transparent 50%),
    linear-gradient(165deg, #1f2254 0%, #252860 50%, #2a316e 100%);
}

/* Company link rail */
.wf-company-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wf-company-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid var(--wf-rule);
  background-color: #ffffff;
  text-decoration: none;
  transition: border-color 180ms var(--wf-ease), transform 180ms var(--wf-ease),
    box-shadow 180ms var(--wf-ease);
}

.wf-company-link:hover {
  border-color: var(--wf-p);
  transform: translateY(-3px);
  box-shadow: var(--wf-shadow-hover);
}

.wf-company-link__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-teal);
}

.wf-company-link__title {
  margin: 0;
  color: var(--wf-fg);
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.wf-company-link__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wf-n600);
}

@media screen and (max-width: 991px) {
  .wf-company-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 540px) {
  .wf-company-links { grid-template-columns: minmax(0, 1fr); }
}

.wf-hero__photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(6, 10, 32, 0.45);
}

.wf-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   12. Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .wf-card,
  .wf-card:hover,
  .wf-stake,
  .wf-stake:hover,
  .wf-product-tile,
  .wf-product-tile:hover,
  .wf-persona,
  .wf-persona:hover,
  .wf-company-link,
  .wf-company-link:hover,
  .wf-btn,
  .wf-btn:hover,
  .wf-link,
  .wf-link:hover,
  .section.our-journey .journey-single-wrap,
  .section.our-journey .journey-single-wrap:hover,
  .section.blog .blog-single-wrap,
  .section.blog .blog-single-wrap:hover,
  .section.blog .blog-item-image,
  .section.blog .blog-single-wrap:hover .blog-item-image {
    transition: none !important;
    transform: none !important;
  }
}
