/**
 * KinTrades canonical site styles.
 *
 * This file is the literal copy/paste of main.html's inline <style>
 * block. Every rule the homepage uses lives here so any page that
 * loads /shared/css/public-nav.css renders header, footer, fonts,
 * spacing, and colors identically to main.html.
 *
 * DO NOT HAND-EDIT. Source of truth is the <style> block in
 * website/main.html. Regenerate via:
 *   node scripts/extract-canonical-nav-css.js
 *
 * Last extracted: 2026-05-10
 */

  :root {
    --green-900: #1a2410;
    --green-700: #2E4020;
    --green-600: #3F5F2A;
    --green-500: #4d7234;
    --gold-500: #D49027;
    --gold-400: #E8A82E;
    --gold-bright: #F0BD3F;
    --cream: #F8F5EE;
    --gray-50: #F6F5F1;
    --gray-100: #ECEAE3;
    --ink: #1a1a1a;
    --red: #D4422C;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: #F7F7F5;          /* aligned with all other public pages */
    -webkit-font-smoothing: antialiased;
  }
  .display { font-weight: 800; letter-spacing: -0.02em; }
  /* Screen-reader-only utility */
  .visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
  }
  /* Skip link — visible on focus */
  .skip-link {
    position: absolute; top: -100px; left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--green-600); color: white;
    font-weight: 600; text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
  }
  .skip-link:focus { top: 0; outline: 3px solid var(--gold-400); outline-offset: 2px; }
  /* Universal focus-visible for all interactive elements */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .section-rule {
    width: 64px; height: 3px;
    margin: 0.75rem auto 1.5rem;
    background: linear-gradient(90deg, var(--green-600), var(--gold-500));
    border-radius: 2px;
  }
  .eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a5a14; /* darker gold for WCAG AA contrast on light bg */
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(212, 144, 39, 0.5);
    border-radius: 999px;
    background: transparent;
  }
  /* On dark backgrounds (timeline, reliability section), use brighter gold */
  .lp-week .eyebrow,
  .lp-reliability .eyebrow {
    color: var(--gold-400);
    border-color: rgba(232, 168, 46, 0.5);
  }

  /* ---------- NAV (matches main.html) ---------- */
  header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
  nav.main-nav { padding: 1rem 2rem; }
  .nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
  .nav-brand-stack { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-decoration: none; }
  .nav-brand-stack .shield { height: 38px; width: auto; }
  .gwk-wordmark { font-size: 1.4rem; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; line-height: 1; font-family: 'Inter', sans-serif; }
  .gwk-wordmark__accent { color: var(--gold-500); }
  .gwk-wordmark__primary { color: var(--green-600); }
  .gwk-wordmark__tm { font-size: 0.5em; vertical-align: super; margin-left: 2px; color: rgba(0,0,0,0.5); font-weight: 400; }
  .nav-links {
    display: flex; gap: 1.75rem; list-style: none; padding: 0; margin: 0;
    align-items: center;
  }
  .nav-links a {
    color: var(--ink); text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green-600); }
  .nav-links .has-dropdown { position: relative; }
  .nav-links .dropdown-menu {
    display: none; position: absolute; top: calc(100% + 0.5rem); left: 50%;
    transform: translateX(-50%);
    background: white; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    min-width: 220px; padding: 0.5rem; z-index: 200; list-style: none; margin: 0;
  }
  .nav-links .dropdown-menu::before { content: ''; position: absolute; top: -0.5rem; left: 0; right: 0; height: 0.5rem; }
  .nav-links .has-dropdown:hover .dropdown-menu,
  .nav-links .has-dropdown:focus-within .dropdown-menu { display: block; }
  .nav-links .dropdown-menu a {
    display: block; padding: 0.6rem 0.9rem; border-radius: 8px;
    font-size: 0.9rem; font-weight: 500;
  }
  .nav-links .dropdown-menu a:hover { background: #f0f5ec; color: var(--green-600); }
  .nav-links .dropdown-menu .submenu-label {
    display: block; padding: 0.4rem 0.9rem 0.3rem;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: rgba(0,0,0,0.55);
  }
  .nav-links .dropdown-menu .submenu-divider { height: 1px; background: #eee; margin: 0.3rem 0.5rem; }
  .nav-cta {
    background: var(--green-600); color: white;             /* dark green + white — 7.29:1 WCAG AA, matches site action buttons */
    padding: 0.7rem 1.3rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 0.92rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer;
  }
  .nav-cta:hover { background: var(--green-700); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46, 64, 32, 0.25); }
  .hamburger {
    display: none; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
  }
  .hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

  /* mobile menu */
  .mobile-menu {
    position: fixed; inset: 0; background: white; z-index: 200;
    transform: translateX(100%); transition: transform 0.3s ease;
    padding: 1.5rem; display: flex; flex-direction: column;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
  .mobile-close { font-size: 2rem; background: none; border: none; cursor: pointer; line-height: 1; }
  .mobile-menu-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
  .mobile-menu-links a, .mobile-menu-links button {
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.15rem;
    background: none; border: none; padding: 0; text-align: left; cursor: pointer; font-family: inherit;
  }
  .mobile-menu-links .submenu { padding-left: 1rem; margin-top: 0.5rem; display: none; }
  .mobile-menu-links .submenu.open { display: flex; flex-direction: column; gap: 0.75rem; }
  .mobile-menu-links .submenu a { font-size: 1rem; color: rgba(0,0,0,0.7); }

  @media (max-width: 960px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    /* Keep Get Started visible on mobile — just shrink it slightly */
    .nav-cta { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
  }
  @media (max-width: 480px) {
    .nav-container { gap: 0.5rem; }
    .nav-cta { padding: 0.5rem 0.8rem; font-size: 0.8rem; }
    .nav-brand-stack .shield { height: 32px; }
    .gwk-wordmark { font-size: 1.1rem; }
  }

  /* ===========================================================
     SECTION 1 — TWO-DOOR HERO
     =========================================================== */
  .landing-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin-top: 0;
  }
  .lp-door {
    position: relative;
    padding: 5rem 4rem;
    min-height: calc(100vh - 80px);
    display: flex; flex-direction: column; justify-content: center;
    transition: flex 0.6s cubic-bezier(.7,0,.3,1), filter 0.6s ease, transform 0.6s ease;
    cursor: pointer;
    overflow: hidden;
  }
  .lp-door::before {
    content: ""; position: absolute; inset: 0;
    background-size: 24px 24px;
    background-image:
      linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    pointer-events: none;
    opacity: 0.6;
  }
  .lp-door--employer {
    background: linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 100%);
    color: white;
  }
  .lp-door--worker {
    background: linear-gradient(200deg, #2a1f0a 0%, #1a1306 100%);
    color: white;
  }
  .lp-door__inner { position: relative; z-index: 2; max-width: 520px; }
  .lp-door__role {
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 700; opacity: 0.65; margin-bottom: 1rem;
  }
  .lp-door--employer .lp-door__role { color: var(--gold-400); }
  .lp-door--worker .lp-door__role { color: var(--gold-bright); }
  .lp-door__headline {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
  }
  .lp-door__headline em { font-style: normal; color: var(--gold-400); }
  .lp-door__sub {
    font-size: 1.05rem; line-height: 1.55;
    opacity: 0.78;
    margin-bottom: 2rem;
  }
  .lp-door__cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease, transform 0.25s ease;
  }
  .lp-door--employer .lp-door__cta { background: var(--gold-500); color: var(--green-900); }
  .lp-door--worker .lp-door__cta { background: white; color: var(--green-900); }
  .lp-door__cta:hover { gap: 1rem; transform: translateX(2px); }
  .lp-door__meta {
    margin-top: 2.5rem; font-size: 0.85rem; opacity: 0.55;
    display: flex; gap: 1.5rem; flex-wrap: wrap;
  }
  .lp-door__meta span::before { content: "● "; color: var(--gold-400); margin-right: 0.4rem; }

  /* lean interaction */
  .landing-hero[data-active="employer"] .lp-door--employer { flex: 1.15; filter: saturate(1.1); }
  .landing-hero[data-active="employer"] .lp-door--worker { flex: 0.85; filter: saturate(0.5) brightness(0.7); }
  .landing-hero[data-active="worker"] .lp-door--worker { flex: 1.15; filter: saturate(1.1); }
  .landing-hero[data-active="worker"] .lp-door--employer { flex: 0.85; filter: saturate(0.5) brightness(0.7); }
  .landing-hero .lp-door { flex: 1; }

  /* center seam wordmark */
  .lp-seam {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    text-align: center;
  }
  .lp-seam__shield {
    width: 88px; height: 88px;
    background: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(248, 245, 238, 0.95), 0 12px 30px rgba(0,0,0,0.25);
    margin: 0 auto;
  }
  .lp-seam__shield img { width: 56px; height: auto; display: block; }
  .lp-seam__wordmark {
    margin-top: 0.85rem;
    font-size: 1rem; font-weight: 800; letter-spacing: -0.5px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
  }
  .lp-seam__wordmark .k { color: var(--gold-400); }
  .lp-seam .or {
    margin-top: 0.7rem; font-size: 0.7rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
    font-weight: 600;
  }

  @media (max-width: 860px) {
    .landing-hero { grid-template-columns: 1fr; min-height: auto; }
    .landing-hero[data-active] .lp-door--employer,
    .landing-hero[data-active] .lp-door--worker { flex: 1; filter: none; }
    .lp-door { padding: 5rem 1.5rem 3rem; }
    .lp-seam { display: none; }
  }

  /* ===========================================================
     SECTION 2 — LIVE MATCH DEMO
     -----------------------------------------------------------
     Scoped to .landing-hero siblings so the 7rem section padding
     only applies on main.html (which is the only page with
     .landing-hero). Without the scope this bled to every public
     page's <section> via public-nav.css and created huge gaps.
     =========================================================== */
  .landing-hero ~ section { padding: 7rem 2rem; }
  .container { max-width: 1180px; margin: 0 auto; }
  .lp-section-head { text-align: center; margin-bottom: 4rem; }
  .lp-section-head h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 1rem 0 0.75rem;
    line-height: 1.1;
  }
  .lp-section-head p {
    color: rgba(0,0,0,0.6); font-size: 1.1rem;
    max-width: 580px; margin: 0 auto;
  }

  .lp-match-stage {
    display: grid;
    grid-template-columns: 1fr 360px 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
  }
  .lp-match-card {
    border-radius: 18px;
    padding: 1.75rem;
    background: var(--gray-50);
    border: 1px solid rgba(0,0,0,0.05);
  }
  .lp-match-card__role {
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 700; color: var(--gold-500); margin-bottom: 0.75rem;
  }
  .lp-match-card h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
  .lp-match-card .meta { font-size: 0.85rem; color: rgba(0,0,0,0.55); margin-bottom: 1.25rem; }
  .lp-match-card__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .chip {
    font-size: 0.78rem; padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: white; border: 1px solid rgba(0,0,0,0.08);
    font-weight: 500;
  }

  .lp-match-bridge {
    position: relative;
    text-align: center;
  }
  .lp-match-bridge .lp-dial {
    width: 200px; height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background: conic-gradient(var(--green-600) 0deg, var(--gray-100) 0deg);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.6s ease;
    position: relative;
  }
  .lp-match-bridge .lp-dial::before {
    content: ""; position: absolute; inset: 14px;
    background: white; border-radius: 50%;
  }
  .lp-match-bridge .lp-dial__inner {
    position: relative; z-index: 2; text-align: center;
  }
  .lp-match-bridge .lp-dial__num {
    font-weight: 800; letter-spacing: -0.02em;
    font-size: 3rem; color: var(--green-700); line-height: 1;
  }
  .lp-match-bridge .lp-dial__label {
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(0,0,0,0.5); margin-top: 0.4rem; font-weight: 600;
  }
  .lp-match-bridge .lp-dots {
    margin-top: 1.5rem;
    display: flex; flex-direction: column; gap: 0.35rem;
  }
  .lp-match-bridge .lp-dot-row {
    display: grid; grid-template-columns: 12px 1fr 12px;
    align-items: center; gap: 0.5rem;
    font-size: 0.78rem; color: rgba(0,0,0,0.55);
    opacity: 0.3; transition: opacity 0.4s ease;
  }
  .lp-match-bridge .lp-dot-row.lit { opacity: 1; color: rgba(0,0,0,0.8); }
  .lp-match-bridge .lp-dot-row .lp-pip {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gray-100); transition: background 0.4s ease;
  }
  .lp-match-bridge .lp-dot-row.lit .lp-pip { background: var(--green-600); }

  @media (max-width: 860px) {
    .lp-match-stage { grid-template-columns: 1fr; padding: 1.5rem; }
    .lp-match-bridge .lp-dial { width: 160px; height: 160px; }
  }

  /* ===========================================================
     SECTION 3 — BEFORE / AFTER BARS
     =========================================================== */
  .lp-compare {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 3.5rem 3rem;
  }
  .lp-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
  }
  .lp-compare-col h4 {
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(0,0,0,0.55); margin: 0 0 1.5rem; font-weight: 700;
  }
  .compare-col--after h4 { color: var(--green-600); }
  .lp-bar-row { margin-bottom: 1.5rem; }
  .lp-bar-row .label {
    display: flex; justify-content: space-between;
    font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 600;
  }
  .lp-bar-row .value { font-weight: 800; letter-spacing: -0.01em; }
  .lp-bar { height: 14px; background: rgba(0,0,0,0.05); border-radius: 999px; overflow: hidden; }
  .lp-bar__fill {
    height: 100%; width: 0;
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(.4,0,.2,1);
  }
  .compare-col--before .lp-bar__fill { background: linear-gradient(90deg, #c9a8a0, var(--red)); }
  .compare-col--after .lp-bar__fill { background: linear-gradient(90deg, var(--green-500), var(--gold-500)); }

  @media (max-width: 720px) { .lp-compare-grid { grid-template-columns: 1fr; gap: 2rem; } }

  /* ===========================================================
     SECTION 4 — 7-DAY TIMELINE
     =========================================================== */
  .lp-week {
    background: var(--green-900);
    color: white;
    border-radius: 0;
    margin: 0 -2rem;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
  }
  .lp-week::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(232, 168, 46, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(63, 95, 42, 0.4) 0%, transparent 60%);
    pointer-events: none;
  }
  .lp-week .container { position: relative; }
  .lp-week .lp-section-head h2 { color: white; }
  .lp-week .lp-section-head p { color: rgba(255,255,255,0.7); }
  .lp-timeline {
    position: relative;
    margin-top: 4rem;
  }
  .lp-timeline::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--green-500) 0%, var(--gold-500) 100%);
    transform: translateX(-50%);
    opacity: 0.5;
  }
  .lp-day {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
  }
  .lp-day__badge {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--green-900);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 0 auto;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--green-900), 0 0 30px rgba(232, 168, 46, 0.4);
    position: relative; z-index: 2;
  }
  .lp-day__badge .d { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }
  .lp-day__badge .n { font-weight: 800; font-size: 1.6rem; line-height: 1; margin-top: 0.15rem; letter-spacing: -0.02em; }
  .lp-day__content {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
  }
  .lp-day:nth-child(odd) .lp-day__content--right { visibility: hidden; }
  .lp-day:nth-child(even) .lp-day__content--left { visibility: hidden; }
  .lp-day__role {
    font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-400); font-weight: 700; margin-bottom: 0.5rem;
  }
  .lp-day__title { font-weight: 700; font-size: 1.2rem; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
  .lp-day__copy { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.5; margin: 0; }

  @media (max-width: 860px) {
    .lp-timeline::before { left: 50px; }
    .lp-day { grid-template-columns: 100px 1fr; gap: 1rem; }
    .lp-day__content--left { display: none; }
    .lp-day:nth-child(even) .lp-day__content--right { visibility: visible; }
    .lp-day:nth-child(odd) .lp-day__content--right { visibility: visible; grid-column: 2; }
    .lp-day__badge { margin: 0; }
  }

  /* ===========================================================
     SECTION 5 — BIG QUOTE
     =========================================================== */
  .lp-quote {
    padding: 8rem 2rem;
    background: var(--cream);
    text-align: center;
    position: relative;
  }
  .lp-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 10rem;
    line-height: 0.5;
    color: var(--gold-500);
    opacity: 0.16;
    margin-bottom: 1rem;
  }
  .lp-quote blockquote {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    line-height: 1.35;
    max-width: 880px;
    margin: 0 auto 2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .lp-quote .attrib {
    display: flex; align-items: center; justify-content: center; gap: 0.85rem;
    font-size: 0.95rem;
  }
  .lp-quote .avatar {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em;
    transition: background 0.4s ease;
  }
  .lp-quote .avatar[data-type="employer"] {
    background: linear-gradient(135deg, var(--gold-500), #b87a1e);
    color: white;
  }
  .lp-quote .avatar[data-type="worker"] {
    background: linear-gradient(135deg, var(--green-600), var(--green-900));
    color: var(--gold-400);
  }
  .lp-quote .who { text-align: left; }
  .lp-quote .who .name { font-weight: 700; }
  .lp-quote .who .role { color: rgba(0,0,0,0.55); font-size: 0.85rem; }
  .lp-quote .lp-pager {
    margin-top: 2.5rem;
    display: flex; gap: 0.4rem; justify-content: center;
  }
  /* 44×44 hit area, with a smaller visible bar inside */
  .lp-quote .lp-pager span {
    position: relative;
    width: 44px; height: 44px;
    cursor: pointer;
    background: transparent;
    display: inline-flex; align-items: center; justify-content: center;
    transition: opacity 0.2s;
  }
  .lp-quote .lp-pager span::after {
    content: ""; display: block;
    width: 28px; height: 4px; border-radius: 2px;
    background: rgba(0,0,0,0.18);
    transition: background 0.3s;
  }
  .lp-quote .lp-pager span:hover::after { background: rgba(0,0,0,0.35); }
  .lp-quote .lp-pager span.active::after { background: var(--gold-500); }
  .lp-quote .lp-pager span:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; }
  .lp-quote-pause {
    margin-top: 1.25rem;
    min-height: 44px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .lp-quote-pause:hover { background: rgba(0,0,0,0.04); color: var(--ink); }
  .lp-quote-pause:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
  .lp-quote-pause__icon { font-size: 0.7rem; letter-spacing: 0.5px; }
  .lp-quote-pause[aria-pressed="true"] .lp-quote-pause__icon::before { content: "▶"; }
  .lp-quote-pause[aria-pressed="true"] .lp-quote-pause__icon { letter-spacing: 0; }
  .lp-quote-pause[aria-pressed="true"] .lp-quote-pause__text::before { content: "Resume"; }
  .lp-quote-pause[aria-pressed="true"] .lp-quote-pause__text { font-size: 0; }
  .lp-quote-pause[aria-pressed="true"] .lp-quote-pause__text::before { font-size: 0.78rem; }

  /* ===========================================================
     SECTION 6 — FINAL CTA + FOOTER
     =========================================================== */
  .lp-end {
    background: var(--green-900);
    color: white;
    padding: 7rem 2rem 3rem;
    text-align: center;
  }
  .lp-end h2 {
    font-weight: 800; letter-spacing: -0.02em;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 1rem; line-height: 1.1;
  }
  .lp-end h2 em { color: var(--gold-400); font-style: normal; }
  .lp-end p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
  .lp-end-cta {
    display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  }
  .lp-end-cta a {
    padding: 1rem 1.75rem; border-radius: 999px;
    text-decoration: none; font-weight: 600;
  }
  .lp-end-cta .primary { background: var(--gold-500); color: var(--green-900); }
  .lp-end-cta .ghost { color: white; border: 1px solid rgba(255,255,255,0.3); }
  .footer {
    margin-top: 5rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  }

  /* match-tier badge under the dial */
  .lp-match-tier-badge {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--green-600);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .lp-match-tier-badge.lit { opacity: 1; }

  /* tier legend below match stage */
  .lp-match-tier-legend {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
    margin: 2.5rem 0 0; padding: 0;
    font-size: 0.8rem;
  }
  .lp-match-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
  }
  .lp-match-pill--best { background: var(--green-600); }                /* 7.29:1 WCAG AA */
  .lp-match-pill--solid { background: #2D5560; }                        /* muted teal, 4.66:1 AA */
  .lp-match-pill--workready { background: #7A4F12; }                    /* deep gold, 4.94:1 AA */
  .lp-match-pill--getting { background: #4B5563; }                      /* 7.56:1 AA */

  /* ===========================================================
     DEMAND STATS GRID (replaces before/after)
     =========================================================== */
  .lp-demand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .lp-demand-stat {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
  }
  .lp-demand-stat__num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--green-600);
    margin-bottom: 0.5rem;
    /* Reserve space so the counter doesn't shift layout when numbers grow */
    min-height: 1em;
    contain: layout;
  }
  .lp-demand-stat__num .lp-counter {
    font-variant-numeric: tabular-nums;
  }
  .lp-demand-stat__label {
    font-size: 1rem;
    color: rgba(0,0,0,0.7);
    font-weight: 500;
    line-height: 1.4;
  }
  @media (max-width: 720px) { .lp-demand-grid { grid-template-columns: 1fr; gap: 1rem; } }

  /* ===========================================================
     RELIABILITY SPOTLIGHT — uses real shield + tiers
     =========================================================== */
  .lp-reliability {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
    margin: 0 -2rem;
    padding: 7rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
  }
  .lp-reliability::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(232, 168, 46, 0.18) 0%, transparent 55%);
    pointer-events: none;
  }
  .lp-reliability .container { position: relative; }
  .lp-reliability .lp-section-head h2 { color: white; }
  .lp-reliability .lp-section-head p { color: rgba(255,255,255,0.7); }
  .lp-reliability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
  }
  .lp-reliability-card {
    background: white;
    color: var(--ink);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
    text-align: center;
  }
  .lp-reliability-card__header {
    display: flex; align-items: center; gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 1.25rem;
    text-align: left;
  }
  .lp-reliability-card__avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-900));
    color: var(--gold-400);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem;
    flex-shrink: 0;
  }
  .lp-reliability-card__name { font-weight: 700; font-size: 1.05rem; }
  .lp-reliability-card__role { font-size: 0.85rem; color: rgba(0,0,0,0.55); }
  .lp-reliability-shield-display {
    padding: 1.25rem 0 1rem;
    transform: scale(0.6); opacity: 0;
    transition: transform 0.9s cubic-bezier(.4,0,.2,1), opacity 0.9s ease;
  }
  .lp-reliability-shield-display.in {
    transform: scale(1); opacity: 1;
  }
  .lp-reliability-shield-display svg {
    width: 130px; height: 135px;
    filter: drop-shadow(0 6px 18px rgba(63, 95, 42, 0.25));
  }
  .lp-reliability-tier-label {
    font-size: 1.5rem; font-weight: 800;
    color: var(--green-600); letter-spacing: -0.01em;
    margin-bottom: 0.3rem;
  }
  .lp-reliability-tier-eyebrow {
    font-size: 0.7rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(0,0,0,0.5);
    font-weight: 700; margin-bottom: 0.5rem;
  }
  .lp-reliability-card__signals {
    display: flex; flex-direction: column; gap: 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: left;
    margin-top: 1.5rem;
  }
  .lp-reliability-signal-eyebrow {
    font-size: 0.7rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(0,0,0,0.45);
    font-weight: 700; margin-bottom: 0.2rem;
  }
  .lp-reliability-signal {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.88rem;
  }
  .lp-reliability-signal .label { color: rgba(0,0,0,0.65); }
  .lp-reliability-signal .check {
    color: var(--green-600); font-weight: 700; font-size: 1rem;
  }
  .lp-reliability-copy h3 {
    font-size: 1.5rem; font-weight: 700; line-height: 1.3;
    margin: 0 0 1rem; letter-spacing: -0.01em;
  }
  .lp-reliability-copy p {
    color: rgba(255,255,255,0.78); line-height: 1.65; font-size: 1.05rem;
    margin: 0 0 1.25rem;
  }

  /* Tier ladder — three tiers shown side-by-side */
  .lp-tier-ladder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .lp-tier-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
  }
  .lp-tier-step svg { width: 42px; height: 44px; margin-bottom: 0.5rem; display: block; margin-left: auto; margin-right: auto; }
  .lp-tier-step__name {
    font-size: 0.85rem; font-weight: 700; color: white;
    margin-bottom: 0.2rem;
  }
  .lp-tier-step__desc { font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.35; }
  .lp-tier-step.active {
    background: rgba(232, 168, 46, 0.12);
    border-color: rgba(232, 168, 46, 0.4);
  }
  .lp-tier-step.active .lp-tier-step__name { color: var(--gold-400); }

  .lp-reliability-inclusion {
    margin-top: 1.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
  }
  .lp-reliability-inclusion strong { color: var(--gold-400); }
  .lp-reliability-roadmap {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    font-style: italic;
  }

  @media (max-width: 860px) {
    .lp-reliability-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-reliability { padding: 5rem 1.25rem; }
  }

  /* ===========================================================
     HIRING BENEFITS BUILT IN
     =========================================================== */
  .lp-benefits-section { background: var(--gray-50); }
  .lp-benefits-subtitle {
    text-align: center; max-width: 720px; margin: 0 auto 2.5rem;
    color: rgba(0,0,0,0.65); font-size: 1.05rem; line-height: 1.6;
  }
  .lp-benefits-group-label {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    font-size: 0.78rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(0,0,0,0.55);
    font-weight: 700;
  }
  .lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  .lp-benefit-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid var(--green-600);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .lp-benefit-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.12); }
  .lp-benefit-card.coming-soon { border-top-color: var(--gold-500); opacity: 0.85; }
  .lp-benefit-card .amount {
    font-size: 1.6rem; font-weight: 800;
    color: var(--green-600); letter-spacing: -0.02em; line-height: 1.1;
    margin-bottom: 0.4rem;
  }
  .lp-benefit-card.coming-soon .amount { color: var(--gold-500); }
  .lp-benefit-card .name {
    font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem;
  }
  .lp-benefit-card .desc {
    font-size: 0.88rem; color: rgba(0,0,0,0.6); line-height: 1.5;
  }
  .lp-benefits-note {
    text-align: center; max-width: 680px; margin: 2.5rem auto 0;
    font-size: 0.95rem; color: rgba(0,0,0,0.55); font-style: italic;
  }

  /* ===========================================================
     FOOTER
     =========================================================== */
  footer.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 4rem 2rem 2rem;
  }
  .footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
  .footer-links {
    list-style: none; padding: 0; margin: 0 0 2.5rem;
    display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
    justify-content: center;
  }
  .footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold-400); }
  .footer-text { margin: 0.5rem 0; font-size: 0.92rem; }
  .footer-text:first-of-type { color: var(--gold-400); font-weight: 600; }

  /* === reveal === */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* === Respect prefers-reduced-motion === */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .lp-reliability-shield-display { opacity: 1 !important; transform: scale(1) !important; }
    .landing-hero[data-active] .lp-door--employer,
    .landing-hero[data-active] .lp-door--worker { flex: 1 !important; filter: none !important; }
    .lp-match-tier-badge { opacity: 1 !important; }
  }

  /* === Touch devices: disable the hover-only lean === */
  @media (hover: none) {
    .lp-door { cursor: default; }
    .landing-hero[data-active] .lp-door--employer,
    .landing-hero[data-active] .lp-door--worker { flex: 1; filter: none; }
  }

  /* ===========================================================
     BACKWARDS-COMPAT NAV ALIASES
     -----------------------------------------------------------
     Other public pages still use legacy nav class names
     (.cta-button, .mobile-menu-cta, .mobile-menu-close, .shield-stamp).
     These rules let those pages render correctly until each page's
     nav HTML is migrated to the new class names.
     Remove this block once every public page uses .nav-cta etc.
     =========================================================== */
  .cta-button,
  .mobile-menu-cta {
    background: var(--green-600); color: white;            /* dark green + white — 7.29:1, matches action buttons */
    padding: 0.7rem 1.3rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 0.92rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer;
    display: inline-block;
  }
  .cta-button:hover,
  .mobile-menu-cta:hover {
    background: var(--green-700); color: white; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 64, 32, 0.25);
  }
  .mobile-menu-close {
    font-size: 2rem; background: none; border: none;
    cursor: pointer; line-height: 1; color: var(--ink);
  }
  .shield-stamp {
    height: 38px; width: auto; display: block;
  }
  .stamp-ripple { display: none; /* atmospheric ripple effect retired in redesign */ }
  /* Mobile-menu legacy state class — old pages use .active, new uses .open */
  .mobile-menu.active { transform: translateX(0); }

  /* ===========================================================
     CANONICAL HERO GRADIENT — applied to EVERY hero-class element on public pages.
     Single source of truth. `body` prefix bumps specificity so it beats
     local page-level overrides (which use just `.hero`, `.search-hero`, etc).
     Matches main.html's deep #1a2410 → green-700 → green-600 pattern.
     =========================================================== */
  body .hero,
  body .search-hero,
  body .page-header,
  body .tp-hero {
    background: linear-gradient(135deg, #1a2410 0%, var(--green-700, #2E4020) 50%, var(--green-600, #3F5F2A) 100%);
  }

  /* ===========================================================
     CANONICAL SITE FOOTER — matches main.html
     Every public page + trade page should add `class="site-footer"`
     to its <footer> tag. This rule has higher specificity than the
     bare `footer { ... }` rules each page declares locally.
     =========================================================== */
  footer.site-footer {
    background: var(--green-900, #1a2410);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
  }
  footer.site-footer .footer-content {
    max-width: 1200px; margin: 0 auto; text-align: center;
  }
  footer.site-footer .footer-links {
    list-style: none; padding: 0; margin: 0 0 2.5rem;
    display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
    justify-content: center;
  }
  footer.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7); text-decoration: none;
    font-size: 0.92rem; transition: color 0.2s;
  }
  footer.site-footer .footer-links a:hover {
    color: var(--gold-400, #E8A82E);
  }
  footer.site-footer .footer-text {
    margin: 0; font-size: 0.92rem; line-height: 1.2;
  }
  footer.site-footer .footer-text:first-of-type {
    color: var(--gold-400, #E8A82E); font-weight: 600;
  }

  /* ===========================================================
     LEGACY HUB / SECTION CLASSES (used by trade hub + family pages)
     These are referenced by existing pages and must remain so
     extracted public-nav.css keeps them styled.
     =========================================================== */
  .scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .scroll-reveal.in-view { opacity: 1; transform: none; }
