/* Paratus shared design system: tokens, app shell, marketing site chrome.
   Used by index.html and every marketing/legal page (industries, how-it-works, for-companies,
   training-partners, privacy, terms, 404). workforce.html/training.html/admin.html keep their
   own inline copies of the shared rules: mirror every token/component fix there. */

  :root {
    --bg: #FAF7F1; --panel: #FFFFFF; --panel-alt: #F4F1E9;
    --ink: #0F172A; --muted: #5B6B80; --faint: #5F6B7E;
    --line: #E4DED2; --line-soft: #F0EBE1;
    --teal: #1FA89A; --teal-deep: #0B5D4E; --violet: #6D28D9; --gold: #F5B52E;
    --ok-bg: #DCF0EA; --ok-fg: #0B5D4E; --ok-solid: #1FA89A;
    --warn-bg: #FCEDD1; --warn-fg: #8A5A06; --warn-solid: #F5B52E;
    --bad-bg: #F7DFE1; --bad-fg: #9B1C2B; --bad-solid: #D2414F;
    --sidebar: #0B5D4E; --sidebar-fg: #EDF5F2; --sidebar-muted: #B3D6CC;
    --on-accent: #FFFFFF; --accent-hover: #147A69; --gold-hover: #FFC94D;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0B1120; --panel: #141D31; --panel-alt: #1A2439;
      --ink: #ECEFF4; --muted: #A6B2C4; --faint: #8795AA;
      --line: #28334B; --line-soft: #1F2A42;
      --teal: #35C4B3; --teal-deep: #6FE0CD; --violet: #A78BFA; --gold: #F5B52E;
      --ok-bg: #123A33; --ok-fg: #7FD8C6; --ok-solid: #1FA89A;
      --warn-bg: #3B2F13; --warn-fg: #F5CE7A; --warn-solid: #F5B52E;
      --bad-bg: #3B1A20; --bad-fg: #F3AAB3; --bad-solid: #D2414F;
      --sidebar: #06332B; --sidebar-fg: #E9F2EF; --sidebar-muted: #93BCB1;
      --on-accent: #0B1120; --accent-hover: #8BE8D8; --gold-hover: #FFC94D;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0B1120; --panel: #141D31; --panel-alt: #1A2439; --ink: #ECEFF4;
    --muted: #A6B2C4; --faint: #8795AA; --line: #28334B; --line-soft: #1F2A42;
    --teal: #35C4B3; --teal-deep: #6FE0CD; --violet: #A78BFA; --gold: #F5B52E;
    --ok-bg: #123A33; --ok-fg: #7FD8C6; --ok-solid: #1FA89A;
    --warn-bg: #3B2F13; --warn-fg: #F5CE7A; --warn-solid: #F5B52E;
    --bad-bg: #3B1A20; --bad-fg: #F3AAB3; --bad-solid: #D2414F;
    --sidebar: #06332B; --sidebar-fg: #E9F2EF; --sidebar-muted: #93BCB1;
    --on-accent: #0B1120; --accent-hover: #8BE8D8; --gold-hover: #FFC94D;
  }

  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; }
  h1, h2, h3 { font-family: Poppins, 'Segoe UI', sans-serif; font-weight: 600; margin: 0; letter-spacing: -0.03em; }
  a { color: var(--teal-deep); }
  button { font-family: inherit; font-size: inherit; }

  .shell { display: flex; min-height: 100vh; }

  .sidebar { width: 238px; flex-shrink: 0; background: var(--sidebar); color: var(--sidebar-fg);
    padding: 24px 14px; display: flex; flex-direction: column; gap: 26px;
    position: sticky; top: 0; height: 100vh; transition: width 0.16s ease; }
  .brand { padding: 0 10px; }
  .wordmark { font-family: Poppins, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
    line-height: 1; display: flex; align-items: flex-end; gap: 3px; }
  .wordmark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; margin-bottom: 4px; }
  .brandsub { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sidebar-muted);
    margin-top: 7px; padding-left: 14px; }
  .nav { display: flex; flex-direction: column; gap: 2px; }
  .nav button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none;
    border: 0; color: var(--sidebar-muted); padding: 11px 12px; border-radius: 9px; cursor: pointer;
    min-height: 44px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; }
  .nav button:hover { background: rgba(255,255,255,0.07); color: var(--sidebar-fg); }
  .nav button[aria-current="page"] { background: rgba(255,255,255,0.13); color: var(--sidebar-fg);
    font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
  .nav .gl { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
  .side-foot { margin-top: auto; font-size: 12.5px; color: var(--sidebar-muted); padding: 0 10px; line-height: 1.45; }

  .sidebar.collapsed { width: 66px; padding-left: 10px; padding-right: 10px; }
  .sidebar.collapsed .brandsub,
  .sidebar.collapsed .side-foot,
  .sidebar.collapsed .lb { display: none; }
  .sidebar.collapsed .brand { padding: 0; display: flex; justify-content: center; }
  .sidebar.collapsed .wordmark { font-size: 0; gap: 0; }
  .sidebar.collapsed .wordmark .dot { width: 14px; height: 14px; margin: 6px 0; background: var(--gold); }
  .sidebar.collapsed .nav button { justify-content: center; padding: 11px 0; }

  .main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
  .topbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 34px;
    border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 20; }
  .railbtn { border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer;
    width: 44px; height: 44px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
  .railbtn:hover { color: var(--ink); border-color: var(--ink); }
  .orgchip { display: flex; align-items: center; gap: 11px; }
  .orgmark { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-bg); color: var(--teal-deep);
    font-family: Poppins, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .orgtext { display: flex; flex-direction: column; line-height: 1.25; }
  .orgname { font-size: 14px; font-weight: 600; }
  .orgsub { font-size: 12px; color: var(--faint); }
  .demo-flag { margin-left: auto; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--violet); border: 1px solid var(--violet); border-radius: 9px; padding: 5px 9px; }
  .content { padding: 34px 34px 90px; max-width: 1320px; }

  .page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 12px 60px;
    align-items: end; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
  .page-head h1 { font-size: 40px; line-height: 1.08; max-width: 18ch; }
  .page-head p { margin: 0 0 4px; color: var(--muted); }
  @media (max-width: 860px) { .page-head { grid-template-columns: 1fr; } .page-head h1 { font-size: 34px; max-width: none; } }
  .page-head p { margin: 0; color: var(--muted); max-width: 760px; }

  .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
  .card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px 22px; }
  .card .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .card .v { font-family: Poppins, sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; }
  .card .s { font-size: 13px; color: var(--muted); }

  .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-bottom: 20px; }
  .panel h2 { font-size: 19px; letter-spacing: -0.02em; }
  .panel .sub { color: var(--muted); font-size: 13.5px; margin: 4px 0 16px; }
  .two-col { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: start; }

  table { width: 100%; border-collapse: collapse; }
  th { text-align: left; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint);
    padding: 0 12px 10px 0; font-weight: 600; }
  td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line-soft); vertical-align: middle; }
  tbody tr:hover { background: var(--panel-alt); }
  .rowlink { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; cursor: pointer;
    text-align: left; text-decoration: underline; text-underline-offset: 3px; }

  .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
  .pill-ok { background: var(--ok-bg); color: var(--ok-fg); }
  .pill-warn { background: var(--warn-bg); color: var(--warn-fg); }
  .pill-bad { background: var(--bad-bg); color: var(--bad-fg); }
  .pill-neutral { background: var(--line-soft); color: var(--muted); }

  .bar { height: 7px; background: var(--line-soft); border-radius: 4px; overflow: hidden; min-width: 90px; }
  .bar i { display: block; height: 100%; background: var(--teal); }
  .stack { display: flex; height: 9px; border-radius: 4px; overflow: hidden; background: var(--line-soft); min-width: 120px; }
  .stack i { display: block; height: 100%; }
  .legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
  .legend span { display: flex; align-items: center; gap: 6px; }
  .swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

  .row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
  .row:first-of-type { border-top: 0; }
  .row .name { width: 210px; font-size: 14px; flex-shrink: 0; }
  .row .bar, .row .stack { flex-grow: 1; }
  .row .num { width: 52px; text-align: right; font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--muted); }
  .alert .who { font-weight: 600; }
  .alert .what { color: var(--muted); font-size: 13.5px; }
  .alert .when { margin-left: auto; }

  .toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
  .field { display: flex; flex-direction: column; gap: 5px; }
  .field label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
  .field input, .field select { font-family: inherit; font-size: 14.5px; padding: 9px 12px; min-height: 44px;
    border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); min-width: 210px; }
  .btn { min-height: 44px; padding: 10px 18px; border-radius: 9px; border: 1px solid var(--teal-deep);
    background: var(--teal-deep); color: var(--on-accent); font-weight: 600; cursor: pointer; }
  .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .btn-quiet { background: var(--panel); color: var(--ink); border-color: var(--line); }
  .btn-quiet:hover { background: var(--panel-alt); border-color: var(--ink); }
  .btn-link { background: none; border: 0; color: var(--teal-deep); font-weight: 600; cursor: pointer;
    padding: 6px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
  .tabs { display: flex; gap: 6px; margin-bottom: 18px; }
  .tabs button { border: 1px solid var(--line); background: var(--panel); color: var(--muted);
    padding: 9px 16px; min-height: 42px; border-radius: 9px; cursor: pointer; font-size: 14px; }
  .tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--panel); font-weight: 600; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 20px;
    padding: 8px 14px; min-height: 44px; font-size: 13.5px; cursor: pointer; }
  .chip:hover { border-color: var(--teal); color: var(--ink); }
  .chip-on { background: var(--ink); border-color: var(--ink); color: var(--panel); font-weight: 600; }

  .matrix { border-collapse: separate; border-spacing: 0; }
  .matrix th.cert { font-size: 10.5px; letter-spacing: 0.04em; padding: 0 6px 10px; text-align: center; width: 62px; line-height: 1.25; }
  .matrix td.cell { text-align: center; padding: 8px 6px; border-top: 1px solid var(--line-soft); }
  .matrix td.who { padding: 8px 14px 8px 0; border-top: 1px solid var(--line-soft); white-space: nowrap; }
  .matrix tr.rolehead td { background: var(--panel-alt); font-size: 11.5px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--faint); font-weight: 600; padding: 9px 0 9px 0; border-top: 1px solid var(--line); }
  .mk { width: 20px; height: 20px; border-radius: 9px; display: inline-block; }
  .mk-ok { background: var(--ok-solid); }
  .mk-warn { background: var(--warn-solid); }
  .mk-bad { background: var(--bad-solid); }
  .mk-none { background: var(--line-soft); border: 1px dashed var(--line); }
  .mk-na { background: transparent; }

  .hero { background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 26px 28px; margin: 14px 0 18px; }
  .hero-main { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
  .hero-avatar { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0;
    background: var(--teal-deep); color: var(--on-accent); display: flex; align-items: center; justify-content: center;
    font-family: Poppins, sans-serif; font-size: 23px; font-weight: 600; }
  .hero-role { color: var(--teal-deep); font-weight: 600; font-size: 15px; margin-top: 2px; }
  .meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
  .meta span { font-size: 12.5px; color: var(--muted); background: var(--panel-alt);
    border-radius: 20px; padding: 5px 11px; }
  .hero-actions { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
  .hero-contact { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--line-soft); }
  .hero-contact span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .hero-contact strong { font-size: 14px; font-weight: 500; }

  .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
  .tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
  .tile .tv { font-family: Poppins, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .tile .tk { font-size: 12.5px; color: var(--muted); margin-top: 7px; }

  .skills { display: flex; flex-wrap: wrap; gap: 8px; }
  .skill { font-size: 13px; background: var(--ok-bg); color: var(--ok-fg); border-radius: 20px; padding: 6px 13px; }

  .tl { padding: 13px 0 13px 16px; border-left: 2px solid var(--teal); margin-bottom: 4px; }
  .tl-t { font-weight: 600; font-size: 14.5px; }
  .tl-o { color: var(--teal-deep); font-size: 13.5px; margin-top: 1px; }
  .tl-d { color: var(--faint); font-size: 12.5px; margin-top: 2px; }

  @media (max-width: 1080px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  .person-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
  .avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--panel-alt); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-family: Poppins, sans-serif;
    font-size: 21px; font-weight: 600; color: var(--teal-deep); }
  .cert-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
  .cert-row:first-of-type { border-top: 0; }
  .cert-main { min-width: 250px; flex-grow: 1; }
  .cert-main .t { font-weight: 600; font-size: 14.5px; }
  .cert-main .m { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
  .cert-dates { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; width: 185px; }
  .cert-detail { flex-basis: 100%; margin-top: 12px; background: var(--panel-alt); border: 1px solid var(--line);
    border-radius: 9px; padding: 16px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
  .kv { display: flex; gap: 10px; font-size: 13.5px; }
  .kv span { color: var(--faint); min-width: 108px; }
  .entry { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .entry:first-of-type { border-top: 0; }
  .entry-main { flex-grow: 1; min-width: 0; }
  .entry-main .t { font-weight: 600; font-size: 14.5px; }
  .entry-main .m { font-size: 13px; color: var(--faint); margin-top: 2px; }
  .entry-when { font-size: 13px; color: var(--muted); white-space: nowrap; }

  .flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .flow-step { display: flex; gap: 12px; align-items: flex-start; }
  .flow-step .n { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--teal-deep);
    color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
  .flow-step .t { font-weight: 600; font-size: 14.5px; }
  .flow-step .m { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

  .note { border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 13.5px; }
  .note strong { color: var(--ink); }
  .scroll-x { overflow-x: auto; }

  /* assistant */
  .ask-fab { position: fixed; right: 26px; bottom: 26px; z-index: 40; border: 0; cursor: pointer;
    background: var(--violet); color: var(--on-accent); font-weight: 600; border-radius: 20px; min-height: 52px;
    padding: 14px 22px; box-shadow: 0 6px 20px rgba(18,58,46,0.24); display: flex; align-items: center; gap: 9px; }
  .ask-panel { position: fixed; right: 26px; bottom: 92px; z-index: 40; width: 400px; max-width: calc(100vw - 52px);
    background: var(--panel); border: 1px solid var(--ink); border-radius: 9px; box-shadow: 0 14px 40px rgba(18,58,46,0.24);
    display: none; flex-direction: column; overflow: hidden; }
  .ask-panel.open { display: flex; }
  .ask-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--line-soft); }
  .ask-head h3 { font-size: 17px; }
  .ask-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--faint); }
  .ask-body { padding: 14px 18px; max-height: 320px; overflow-y: auto; font-size: 14px; line-height: 1.6; }
  .ask-foot { padding: 12px 18px 16px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
  .ask-foot textarea { font-family: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 9px;
    padding: 10px 12px; resize: vertical; min-height: 62px; background: var(--panel); color: var(--ink); }
  .ask-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
  .ask-sugg button { border: 1px solid var(--line); background: var(--panel-alt); color: var(--muted);
    border-radius: 20px; padding: 7px 12px; font-size: 12.5px; cursor: pointer; text-align: left; }
  .ask-sugg button:hover { border-color: var(--violet); color: var(--ink); }
  .ai-foot { font-size: 12px; color: var(--faint); }

  .panel.ai { border-color: var(--violet); }
  .panel.ai .btn { background: var(--violet); border-color: var(--violet); color: var(--on-accent); }
  .ai-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
  .ai-head .btn { margin-left: auto; }
  .ai-out { border-top: 1px solid var(--line-soft); padding-top: 14px; }
  .ai-idle { color: var(--faint); font-size: 13.5px; }
  .ai-body { font-size: 15px; line-height: 1.65; }

  @media (max-width: 1080px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two-col { grid-template-columns: 1fr; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cert-detail { grid-template-columns: 1fr; }
  }
  @media (max-width: 860px) {
    .shell { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap;
      align-items: center; gap: 12px; padding: 14px 16px; }
    .sidebar .nav { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; }
    .sidebar .nav button { white-space: nowrap; }
    .sidebar .brandsub, .side-foot { display: none; }
    .railbtn { display: none; }
    .content { padding: 24px 18px 90px; }
    .topbar { padding: 14px 18px; }
    .cards { grid-template-columns: 1fr; }
    .ask-panel { right: 12px; left: 12px; width: auto; }
  }

  /* product switcher (Workforce / Training) */
  .switch { display: flex; background: rgba(0,0,0,0.18); border-radius: 12px; padding: 3px; gap: 3px; margin: 0 4px; }
  .switch a { flex: 1; text-align: center; font-size: 13px; font-weight: 500; color: var(--sidebar-muted);
    text-decoration: none; padding: 8px 6px; border-radius: 9px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
  .switch a:hover { color: var(--sidebar-fg); background: rgba(255,255,255,0.06); }
  .switch a[aria-current="page"] { background: var(--sidebar-fg); color: var(--sidebar); font-weight: 600; }
  .sidebar.collapsed .switch { display: none; }
  @media (max-width: 860px) { .switch { order: 3; } }

  /* ===== skills passport + company block (shared) ===== */
  .passport { background: var(--panel); border: 2px solid var(--teal); border-radius: 14px; padding: 0 0 24px; margin: 12px 0 22px; overflow: hidden; }
  .pp-bar, .cb-bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 11px 24px; font-size: 13px; }
  .pp-bar { background: var(--ok-bg); color: var(--ok-fg); }
  .pp-badge, .cb-badge { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; }
  .pp-bar-note { color: var(--muted); font-size: 12.5px; }
  .pp-vis { margin-left: auto; font-size: 12.5px; color: var(--ink); }
  .pp-id { display: flex; gap: 18px; align-items: center; padding: 22px 24px 4px; flex-wrap: wrap; }
  .pp-name { font-size: 30px; line-height: 1.1; }
  .pp-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; padding: 18px 24px 0; }
  .pp-h { font-size: 15.5px; letter-spacing: -0.01em; }
  .pp-sub { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
  .pp-cred { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
  .pp-sub + .pp-cred { border-top: 0; margin-top: 6px; }
  .pp-cred-main { flex: 1 1 220px; min-width: 0; }
  .pp-cred-main .t { font-weight: 600; font-size: 14px; }
  .pp-cred-main .m { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
  .pp-cred-pills { display: flex; gap: 6px; flex-wrap: wrap; }
  .pp-cred-pills .pill { font-size: 11.5px; padding: 3px 8px; }
  .pp-ref { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; }
  .pp-empty { color: var(--faint); font-size: 13px; padding: 10px 0; }
  .skill-self { background: var(--panel-alt); color: var(--muted); border: 1px solid var(--line); }
  .skill-key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok-bg); border: 1px solid var(--ok-fg); margin-right: 5px; vertical-align: -1px; }
  .skill-key.self { background: var(--panel-alt); border-color: var(--line); }
  .company-block { border: 2px dashed var(--line); border-radius: 14px; padding: 0 20px 4px; margin-bottom: 22px; background: var(--panel-alt); }
  .cb-bar { padding: 12px 4px; margin-bottom: 4px; }
  .cb-badge { color: var(--warn-fg); }
  .company-block .panel { margin-bottom: 16px; }
  @media (max-width: 1080px) { .pp-grid { grid-template-columns: 1fr; } .pp-col-creds { order: -1; } }
  @media (max-width: 860px) { .pp-vis { margin-left: 0; } .company-block { padding: 0 12px 4px; } }

  .ph { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; }
  .ph-main { flex: 1 1 260px; min-width: 0; }
  .ph-contact { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }
  .ph-contact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .ph-contact a:hover { border-color: var(--teal); }
  .ph-side { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-left: auto; }
  .passport { margin-top: 26px; }

  .tiles.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kvgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
  .kvgrid div span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .kvgrid div strong { font-size: 14px; font-weight: 500; word-break: break-word; }
  .empty { color: var(--faint); font-size: 13.5px; padding: 10px 0; }
  @media (max-width: 860px) { .tiles.tiles-3, .kvgrid { grid-template-columns: 1fr; } }


/* ===== additions: marketing site ===== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.site[hidden], .shell[hidden] { display: none !important; }
.site-nav { position: sticky; top: 0; z-index: 30; background: var(--sidebar); color: var(--sidebar-fg); }
.site-nav .in { max-width: 1240px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav .wordmark { font-size: 26px; color: var(--sidebar-fg); text-decoration: none; }
.site-links { display: flex; gap: 4px; flex-wrap: wrap; }
.site-links a { color: var(--sidebar-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 12px; border-radius: 9px; }
.site-links a:hover { color: var(--sidebar-fg); background: rgba(255,255,255,.07); }
.site-cta { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #0F172A; }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }
a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.hero-band { background: var(--sidebar); color: var(--sidebar-fg); position: relative; overflow: hidden; }
.hero-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 72px 28px 96px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,520px); gap: 56px; align-items: center; }
.hero-in h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.04em; color: #fff; max-width: 13ch; }
.hero-in h1 .dot { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--gold); margin-left: .06em; }
.hero-lede { font-size: 18.5px; line-height: 1.6; color: var(--sidebar-fg); opacity: .85; max-width: 44ch; margin: 22px 0 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--sidebar-muted); }
.ind-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ind-switch button { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--sidebar-muted); border-radius: 20px; padding: 7px 13px; min-height: 36px; font-size: 13px; cursor: pointer; }
.ind-switch button[aria-pressed="true"] { background: var(--sidebar-fg); border-color: var(--sidebar-fg); color: var(--sidebar); font-weight: 600; }
.preview { background: var(--panel); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.preview .pp-bar { padding: 10px 20px; }
.preview .pv-id { display: flex; gap: 14px; align-items: center; padding: 18px 20px 6px; }
.preview .hero-avatar { width: 54px; height: 54px; font-size: 18px; }
.preview .pv-name { font-size: 22px; }
.preview .pv-body { padding: 4px 20px 20px; }
.preview .pp-cred { padding: 10px 0; }
.pv-example { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-left: auto; }

.sec { max-width: 1240px; margin: 0 auto; padding: 88px 28px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: 16px 60px; align-items: end; margin-bottom: 34px; }
.sec-head h1, .sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; }
.sec-head p { color: var(--muted); margin: 0; font-size: 16px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.ind { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ind h3 { font-size: 18px; letter-spacing: -0.02em; }
.ind ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ind ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: 2px; }
.ind .ic { width: 40px; height: 40px; border-radius: 9px; background: var(--ok-bg); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; }
.ind .foot { margin-top: auto; }
.ind.live { border: 2px solid var(--teal); }
.ind.cta { background: var(--panel-alt); border-style: dashed; justify-content: center; }
.aud { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.aud .panel { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.aud h3 { font-size: 21px; }
.aud .panel > p { color: var(--muted); margin: 0; }
.aud ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 14.5px; display: flex; flex-direction: column; gap: 6px; }
.aud .who-tag { font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.aud .panel .btn, .aud .panel a.btn { margin-top: auto; align-self: flex-start; }
.verify-band { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.partners { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0,1fr)); gap: 16px; }
.partner { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.partner.main { background: var(--sidebar); color: var(--sidebar-fg); border-color: var(--sidebar); }
.partner.main .pp-sub, .partner.main p { color: var(--sidebar-muted); }
.partner.slot { border-style: dashed; background: var(--panel-alt); }
.partner .pname { font-family: Poppins, sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.final { margin: 88px auto 0; max-width: 1240px; padding: 0 28px; }
.final .in { background: var(--sidebar); color: var(--sidebar-fg); border-radius: 20px; padding: 52px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.final h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); max-width: 20ch; letter-spacing: -0.035em; }
.site-foot { max-width: 1240px; margin: 0 auto; padding: 48px 28px 56px; color: var(--faint); font-size: 13.5px; display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.proto { background: var(--panel-alt); color: var(--muted); font-size: 12.5px; text-align: center; padding: 7px 16px; border-bottom: 1px solid var(--line); }

.legend-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.legend-row p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.pp-kind { font-weight: 500; font-size: 11.5px; color: var(--faint); border: 1px solid var(--line); border-radius: 9px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.req.req4 { grid-template-columns: auto minmax(0,1fr) minmax(0,1fr) auto; }
.tabs { margin-bottom: 14px; }
@media (max-width: 1080px) { .req.req4 { grid-template-columns: auto minmax(0,1fr); } .req.req4 > .match, .req.req4 > .actions { grid-column: 2; } }
@media (max-width: 860px) { .legend-row { grid-template-columns: 1fr; } }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.talent-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 26px; padding: 22px; border-radius: 12px; background: var(--ok-bg); }
.talent-box h3 { font-size: 18px; color: var(--ok-fg); }
.talent-box p { margin: 6px 0 0; font-size: 14px; color: var(--ink); }
.talent-rule { background: var(--panel); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
@media (max-width: 860px) { .talent-box { grid-template-columns: 1fr; } }
.login-wrap { max-width: 1100px; margin: 56px auto 90px; padding: 0 22px; }
.login-wrap h1 { font-size: 40px; }
.login-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.login-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.login-card .who-tag { font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.login-card p { margin: 0; color: var(--muted); font-size: 14px; }
.login-card .btn { margin-top: auto; }
.login-card.main { border: 2px solid var(--teal); }
@media (max-width: 1080px) { .login-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .login-grid { grid-template-columns: 1fr; } }
.tsearch { margin-bottom: 18px; }
.tq { display: flex; gap: 10px; }
.tq input { flex: 1; min-width: 0; min-height: 52px; font-size: 16px; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); }
.tq input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--ok-bg); }
.tlayout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 22px; align-items: start; }
.tfilters { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.tfilters .field input, .tfilters .field select { min-width: 0; width: 100%; }
.tf-head { display: flex; justify-content: space-between; align-items: center; }
.tf-set { border: 0; padding: 0; margin: 0; }
.tf-set legend { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.tf-set .chk { min-height: 36px; font-size: 14px; }
.tf-ver { background: var(--ok-bg); border-radius: 12px; padding: 10px 12px; align-items: flex-start; }
.tres-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.tcard { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.tcard .hero-avatar { width: 56px; height: 56px; font-size: 19px; }
.tcard-main { flex: 1; min-width: 0; }
.tcard-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.tname { color: var(--ink); text-decoration: none; }
.tname:hover { text-decoration: underline; text-underline-offset: 3px; }
.tcount { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.tcount strong { font-family: Poppins, sans-serif; font-size: 20px; color: var(--teal-deep); }
.meta .prov { background: var(--ok-bg); color: var(--ok-fg); display: inline-flex; gap: 5px; align-items: center; font-weight: 600; }
.tp-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 22px; align-items: start; }
.stickyside { position: sticky; top: 86px; }
.tp-layout .passport { margin-top: 0; }
.msg-route { background: var(--panel-alt); border-radius: 9px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 1080px) { .tlayout, .tp-layout { grid-template-columns: 1fr; } .tfilters, .stickyside { position: static; } }
/* forms page (outside the app) */
.formwrap { max-width: 620px; margin: 56px auto 90px; padding: 0 22px; }
.formwrap .panel { padding: 30px; }
.formwrap h1 { font-size: 32px; }
.fstack { display: flex; flex-direction: column; gap: 16px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.field textarea { font-family: inherit; font-size: 14.5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); min-height: 96px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 12px; }
.hint { font-size: 12.5px; color: var(--faint); }
.err { color: var(--bad-fg); font-size: 13.5px; font-weight: 500; }
.phone { display: flex; gap: 8px; }
.phone .cc { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-alt); font-weight: 500; min-height: 44px; }
.callout { background: var(--warn-bg); color: var(--warn-fg); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.backlink { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: 8px; }

/* app extras */
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-about { padding: 14px 24px 0; color: var(--ink); font-size: 14.5px; max-width: 78ch; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; min-width: 0; font-family: 'IBM Plex Mono', monospace; font-size: 13px; padding: 9px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-alt); color: var(--ink); }
.qr { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; border: 1px solid var(--line); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; margin-bottom: 8px; }
.opt.on { border: 2px solid var(--teal); background: var(--ok-bg); }
.opt input { margin-top: 4px; accent-color: var(--teal-deep); }
.chk { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--teal-deep); }
.listrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.listrow:first-child { border-top: 0; }
.req { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.req:first-child { border-top: 0; }
.match { border-radius: 9px; padding: 10px 12px; font-size: 13px; }
.match.yes { background: var(--ok-bg); color: var(--ok-fg); }
.match.no { background: var(--warn-bg); color: var(--warn-fg); }
.code { font-family: 'IBM Plex Mono', monospace; font-weight: 600; letter-spacing: .18em; font-size: 26px; }
.msgbox { background: var(--panel-alt); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font-size: 14px; white-space: pre-wrap; }
dialog { border: 1px solid var(--line); border-radius: 14px; padding: 26px; max-width: 520px; width: calc(100% - 32px); background: var(--panel); color: var(--ink); }
dialog::backdrop { background: rgba(6,51,43,.55); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: var(--panel); padding: 12px 18px; border-radius: 12px; font-weight: 500; z-index: 60; max-width: calc(100% - 32px); }
.nav a.navlink { display: flex; align-items: center; gap: 12px; color: var(--sidebar-muted); padding: 11px 12px; border-radius: 9px; min-height: 44px; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.nav a.navlink:hover { background: rgba(255,255,255,0.07); color: var(--sidebar-fg); }
.nav a.navlink[aria-current="page"] { background: rgba(255,255,255,0.13); color: var(--sidebar-fg); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.side-foot a { color: var(--sidebar-fg); }
.count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: auto; border-radius: 20px; background: var(--gold); color: #0F172A; font-size: 12px; font-weight: 600; text-align: center; }
.pub-wrap { max-width: 1040px; margin: 36px auto 80px; padding: 0 22px; }
.pub-foot { font-size: 13px; color: var(--faint); padding: 16px 24px 0; border-top: 1px solid var(--line-soft); margin: 22px 24px 0; }

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .partners { grid-template-columns: 1fr 1fr; }
  .req { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sec-head, .aud, .ind-grid, .partners, .two, .three { grid-template-columns: 1fr; }
  .final .in { padding: 32px; }
  .site-cta { margin-left: 0; }
  .nav a.navlink { white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .preview { animation: pvIn .5s ease-out both; }
  @keyframes pvIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
.print-only { display: none; }
@media print {
  .proto, .site-nav, .site-foot, .sidebar, .topbar, .no-print, .page-head, .toast { display: none !important; }
  .print-only { display: block; }
  .sl-print table { width: 100%; border-collapse: collapse; font-size: 11px; }
  .sl-print th, .sl-print td { border-bottom: 1px solid #ccc; padding: 6px; text-align: left; vertical-align: top; }
  .sl-print tr { break-inside: avoid; }
  body { background: #fff; }
  .passport { border-color: #0B5D4E; }
}

/* Public-site polish: preserve the brand and keep motion optional. */
.site-foot { display: block; margin-top: 64px; padding-top: 40px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-brand .wordmark { display: inline-flex; color: var(--ink); font-size: 26px; text-decoration: none; min-height: 44px; }
.footer-brand p { margin: 12px 0 0; color: var(--ink); }
.footer-brand .footer-description { max-width: 27ch; color: var(--muted); line-height: 1.7; }
.footer-group h2 { font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink); padding: 12px 0 8px; }
.footer-group ul { padding: 0; margin: 0; list-style: none; }
.site-foot a:not(.wordmark), .footer-top { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-foot a[href]:hover, .footer-top:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.site-foot a[aria-disabled] { cursor: default; }
.footer-soon { font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 4px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-top { margin-left: auto; background: none; border: 0; padding: 0 4px; font: inherit; cursor: pointer; }
.footer-note { margin: 16px 0 0; font-size: 12px; line-height: 1.7; }
.site-menu-toggle { display: none; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--panel); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-links a[aria-current="page"] { color: var(--sidebar-fg); background: rgba(255,255,255,.1); }
.sec { scroll-margin-top: 96px; }
#siteMain { scroll-margin-top: 80px; }
.ind-switch button { min-height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .site .btn, .site-foot button, .ind-switch button { transition: transform 160ms cubic-bezier(.22,1,.36,1); }
  .site .btn:active, .site-foot button:active, .ind-switch button:active { transform: scale(.98); }
  .hero-in > div:first-child { animation: pvIn 450ms cubic-bezier(.22,1,.36,1) both; }
  .site-nav.menu-open .site-links, .site-nav.menu-open .site-cta { animation: pvIn 180ms ease-out; }
}
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .footer-description { max-width: 48ch; }
  .site-nav .in { gap: 12px; }
  .site-menu-toggle { display: inline-flex; margin-left: auto; }
  .site-nav.menu-ready .site-links, .site-nav.menu-ready .site-cta { display: none; }
  .site-nav.menu-open .site-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .site-nav.menu-open .site-cta { display: flex; width: 100%; margin: 0; padding: 8px 0; }
  .site-nav .site-links a { min-height: 44px; display: flex; align-items: center; }
}
/* keep Log in visible in the header at every width; only the page links go into Menu */
@media (max-width: 1080px) {
  .site-nav.menu-ready .site-cta { display: flex; order: 1; margin-left: auto; }
  .site-nav .site-menu-toggle { order: 2; margin-left: 0; }
  .site-nav.menu-ready .site-links { order: 3; }
  .site-nav.menu-open .site-cta { width: auto; margin: 0 0 0 auto; padding: 0; }
}
@media (max-width: 620px) {
  .site-nav.menu-ready:not(.menu-open) .site-cta .btn-gold { display: none; }
  .site-nav.menu-open .site-cta { order: 4; width: 100%; margin: 0; padding: 8px 0; }
  .site-nav.menu-open .site-menu-toggle { margin-left: auto; }
}
@media (max-width: 620px) {
  .site-nav .in { padding: 12px 18px; }
  .hero-in { padding: 40px 18px 52px; gap: 36px; }
  .hero-lede { font-size: 16px; }
  .sec { padding: 56px 18px 0; }
  .sec-head { margin-bottom: 24px; }
  .verify-band { padding: 22px 18px; }
  .verify-band .flow { grid-template-columns: 1fr; gap: 22px; }
  .final { margin-top: 56px; padding: 0 18px; }
  .final .in { padding: 28px 22px; border-radius: 14px; }
  .site-foot { margin-top: 48px; padding: 28px 18px 32px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-bottom { gap: 8px 20px; }
  .footer-bottom > span { width: 100%; }
  .footer-bottom nav { gap: 16px; }
  .footer-top { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site *, .site-foot * { animation: none !important; transition: none !important; }
}

/* Skills Passport v2: headshots, contact, timelines with descriptions, settings */
.avatar-img { object-fit: cover; padding: 0; background: var(--panel-alt); }
.orgmark .avatar-img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.tl-x { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pp-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13.5px; }
.pp-contact a { color: var(--teal-deep); }
.photo-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-row .hero-avatar { width: 72px; height: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.photo-row label.btn:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.bio-set { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bio-set legend { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 0 6px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 14px; margin-top: 4px; }
.opt.is-locked { cursor: not-allowed; opacity: .6; }
.btn-google { display: inline-flex; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.or-rule { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.legal-draft { margin: 0 0 22px; }
.emp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
@media (max-width: 1080px) { .emp-tools { grid-template-columns: 1fr; } }
.checkbox-list { max-height: 190px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 9px; padding: 2px 10px; margin-top: 4px; }
.count-pill { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 20px; background: var(--ink); color: var(--panel); font-size: 11px; text-align: center; letter-spacing: 0; }
@media (max-width: 360px) {
  .site-nav .in { gap: 8px; padding: 10px 14px; }
  .site-nav .wordmark { font-size: 24px; }
  .site-nav .site-cta .btn, .site-nav .site-menu-toggle { padding: 8px 12px; }
}
