@font-face{font-family:'Sora Fallback';font-weight:100 500;src:local('Arial'),local('Helvetica Neue'),local('Liberation Sans');size-adjust:113%;}
@font-face{font-family:'Sora Fallback';font-weight:600 900;src:local('Arial Bold'),local('Helvetica Neue Bold'),local('Liberation Sans Bold');size-adjust:106.5%;}
/* pm-ui.css  -  PositionMeAI shared foundation (Phase A)
 *
 * Linked from a page BEFORE its own <style> blocks, by scripts/apply_ui.py.
 *
 * Cascade, in plain words:
 *   - Tokens and base definitions sit in cascade layers. Anything a page writes
 *     itself (unlayered) beats them, so linking this file cannot restyle a page
 *     by accident.
 *   - Accessibility rules (focus ring, skip link, main target) are deliberately
 *     NOT layered. A layered rule loses to every ordinary page rule, which would
 *     silently switch the improvement off. The focus outline uses !important for
 *     the same reason.
 *   - Colours come from the existing site tokens (--navy, --slate-*, --teal).
 *     Reading mode (body.reading-mode) redefines those tokens on <body>, so every
 *     alias below is declared on <body> too, otherwise it would not flip.
 */

@layer pm-tokens, pm-base;

@layer pm-tokens {
  body {
    /* Text roles. --text-muted replaces --slate-500 as a TEXT colour:
       #94a3b8 is 6.96:1 on navy (dark); reading mode maps it to #475569. */
    --text-muted: var(--slate-400);

    /* Focus ring colour on a dark page. Reading mode overrides it below. */
    --pm-focus: #5eead4;

    /* Type scale (fluid). Not applied to pages yet; Phase B/C components use it. */
    --pm-fs-h1: clamp(30px, 4.2vw, 44px);
    --pm-fs-h1-compact: clamp(24px, 3vw, 32px);
    --pm-fs-h2: clamp(26px, 3vw, 34px);
    --pm-fs-section: clamp(22px, 2.6vw, 28px);   /* section h2 inside a page */
    --pm-fs-h3: clamp(19px, 2vw, 23px);
    --pm-fs-h4: clamp(17px, 1.5vw, 19px);
    --pm-fs-body: 0.9375rem;     /* 15px baseline (owner, 2026-10-28) */
    --pm-fs-support: 0.875rem;   /* 14px: card and list text */
    --pm-fs-lead: clamp(15px, 1.4vw, 16.5px);
    --pm-lh-body: 1.65;

    /* Spacing scale */
    --pm-space-1: 4px;  --pm-space-2: 8px;  --pm-space-3: 12px; --pm-space-4: 16px;
    --pm-space-5: 20px; --pm-space-6: 28px; --pm-space-7: 40px; --pm-space-8: 54px;
    --pm-space-9: 68px; --pm-space-10: 92px;

    /* Containers */
    --pm-w-wide: 1400px;
    --pm-w-content: 1200px;
    --pm-w-reading: 880px;      /* paragraph measure: about 95 characters at 15px */
    --pm-w-editorial: 1100px;
    --pm-w-form: 760px;
    --pm-gutter: clamp(20px, 3vw, 40px);  /* 20px on a phone, 40px on a desktop */

    /* Radius */
    --pm-r-sm: 8px; --pm-r-md: 12px; --pm-r-lg: 20px; --pm-r-pill: 999px;
  }

  body {
    /* Link colour for plain links a page has not styled. */
    --pm-link: #5eead4;
  }

  body.reading-mode {
    /* Teal-700 on the cream reading background is about 5.5:1. */
    --pm-focus: #0f766e;
    --pm-link: #0f766e;
    /* Reading mode puts the SAME bright teal (#14b8a6) on cream as text, which is
       2.36:1 and fails WCAG AA. Darkening the token on <body> corrects every
       teal text use, and the filled teal buttons keep readable cream text on it. */
    --teal: #0f766e;
    --teal-dark: #115e59;
  }
}

@layer pm-base {
  /* Plain links a page never styled would otherwise be browser blue on navy (1.9:1). */
  main a:where(:not([class])) { color: var(--pm-link); }
  .pm-container { width: 100%; max-width: var(--pm-w-wide);    margin-inline: auto; padding-inline: var(--pm-gutter); }
  .pm-content   { width: 100%; max-width: var(--pm-w-content); margin-inline: auto; padding-inline: var(--pm-gutter); }
  .pm-reading   { width: 100%; max-width: var(--pm-w-reading); margin-inline: auto; padding-inline: var(--pm-gutter); }
}

/* ==== BASE ====
 * Lifted verbatim from the pages, where every pilot page carried the same four
 * rules: the box-sizing reset, the brand colour tokens, the page background and
 * typeface, and the reading-mode token swap. Unlayered so they behave exactly as
 * the page copies did. Per-page rules that differ by template (body line-height,
 * main width) stay in the pages; Phase C maps them onto .pm-reading/.pm-content.
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --navy: #0f172a;
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --amber: #fbbf24;
    --dark-slate: #1e293b;
    --medium-slate: #334155;
    --off-white: #f8fafc;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --font: 'Sora', 'Sora Fallback', sans-serif;
  }
html, body { min-height: 100%; font-family: var(--font); background: var(--navy); color: var(--off-white); }
body.reading-mode {
    --navy: #faf9f4;
    --off-white: #0f172a;
    --dark-slate: #ffffff;
    --medium-slate: #d4d7dc;
    --slate-300: #334155;
    --slate-400: #475569;
    --slate-500: #64748b;
    --slate-600: #94a3b8;
  }
/* ==== /BASE ==== */

/* ---- Accessibility: unlayered on purpose (see header) ---- */

/* Skip link: first thing in <body>, visible only when it has keyboard focus. */
.pm-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100000;
  padding: 12px 18px;
  border-radius: 8px;
  background: #14b8a6;   /* navy text on this teal is 7.17:1 */
  color: #0f172a;
  font: 600 15px/1.2 'Sora', system-ui, sans-serif;
  text-decoration: none;
}
.pm-skip:focus,
.pm-skip:focus-visible {
  top: 12px;
  /* The link floats over the dark top bar in both themes: white ring, 17:1 there. */
  outline: 3px solid #f8fafc !important;
  outline-offset: 2px !important;
}

/* Skip target: lands below the fixed top bar, and takes focus without a stray ring. */
main[id="main"] { scroll-margin-top: 76px; }
main[id="main"]:focus { outline: none; }

/* Visible keyboard focus for every interactive element (WCAG 2.4.7, 2.4.11, 1.4.11). */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--pm-focus) !important;
  outline-offset: 2px !important;
}

/* The top bar and phone menu stay dark in reading mode, so they keep the light ring. */
#top-nav, #pmai-mobnav-panel, #pmai-mobnav-btn { --pm-focus: #5eead4; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* ==== HEADER: top bar, dropdown menus, phone menu ====
 * Lifted verbatim from the pages (they were identical on every page), so the
 * generator can delete the page copies. Unlayered: these are the real component
 * styles and must beat the few header rules a page still carries.
 */
body.reading-mode #top-nav { background: rgba(15,23,42,0.92); border-bottom-color: #334155; }
body.reading-mode #brand-mini { color: #f8fafc; }
body.reading-mode .nav-link { color: #cbd5e1; }
  /* Only Terms and Privacy carried the rule above, and on them it also cancelled the
     teal hover. Keeping hover feedback the same in both themes. */
  body.reading-mode .nav-link:hover { color: var(--teal); }
#top-nav { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: rgba(30,41,59,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--medium-slate); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; z-index: 1000; }
#brand-mini { display: inline-flex; align-items: center; gap: 10px; color: var(--off-white); font-weight: 600; font-size: 16px; letter-spacing: 0.02em; text-decoration: none; }
#brand-mini svg { width: 20px; height: 22px; color: var(--teal); }
#brand-mini .accent { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; color: var(--slate-300); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; font-weight: 500; }
.nav-link:hover { color: var(--teal); }
.nav-btn { font-size: 13.5px; font-weight: 600; color: var(--teal); border: 1px solid rgba(20,184,166,0.5); padding: 7px 17px; border-radius: 8px; text-decoration: none; letter-spacing: 0.02em; transition: background 0.2s, border-color 0.2s, transform 0.2s; white-space: nowrap; }
.nav-btn:hover { background: rgba(20,184,166,0.12); border-color: var(--teal); transform: translateY(-1px); }
.nav-link.active { color: var(--teal); background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.45); border-radius: 8px; padding: 5px 12px; margin: -5px -12px; }
.nav-btn.active { background: rgba(20,184,166,0.22); border-color: var(--teal); }
@media (max-width: 1100px) { #top-nav { padding: 0 18px; height: 56px; } .nav-right { gap: 14px; } .nav-link { font-size: 12.5px; } .nav-link.hide-mobile { display: none; } .nav-btn { font-size: 12.5px; padding: 6px 13px; } }

/* FAQ carried this one extra pressed-state rule; identical to the top bar's. */
.nav-btn:active { transform: translateY(1px); }
/* -- from <style id="pmai-nav2-css"> -- */
.nav-drop{position:relative;}
.nav-drop-btn{background:none;border:none;font-family:var(--font);display:inline-flex;align-items:center;gap:5px;cursor:pointer;padding:0;}
.nav-drop-caret{width:9px;height:9px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;flex-shrink:0;}
.nav-drop.open .nav-drop-caret{transform:rotate(180deg);}
.nav-drop-panel{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(4px);margin-top:14px;min-width:280px;background:rgba(23,33,54,0.98);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(148,163,184,0.18);border-radius:14px;box-shadow:0 24px 60px -20px rgba(0,0,0,0.55);padding:10px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,transform .16s ease;z-index:1100;}
.nav-drop.open .nav-drop-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);}
.nav-drop-mega{min-width:360px;}
.nav-drop-panel-end{left:auto;right:0;transform:translateY(4px);min-width:230px;}
.nav-drop.open .nav-drop-panel-end{transform:translateY(0);}
.nav-drop-heading{font-size:10.5px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-muted);padding:8px 12px 6px;}
.nav-drop-item{display:block;padding:10px 12px;border-radius:9px;text-decoration:none;color:var(--off-white);transition:background .15s;}
.nav-drop-item:hover{background:rgba(20,184,166,0.1);}
.nav-drop-item:focus-visible{outline:2px solid var(--teal);outline-offset:-2px;background:rgba(20,184,166,0.1);}
.nav-drop-item.active{background:rgba(20,184,166,0.08);}
.nav-drop-item.active .ndi-title{color:var(--teal);}
.ndi-title{display:block;font-size:14px;font-weight:600;letter-spacing:0.005em;}
.ndi-desc{display:block;font-size:12px;font-weight:300;color:var(--slate-400);line-height:1.5;margin-top:2px;}
.ndi-meta{display:block;font-size:10.5px;font-weight:500;color:var(--teal);letter-spacing:0.02em;margin-top:6px;}
.nav-drop-foot{padding:10px 12px 4px;margin-top:2px;border-top:1px solid rgba(148,163,184,0.14);}
.nav-drop-foot-label{display:block;font-size:10.5px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:5px;}
.nav-drop-foot a{font-size:13px;font-weight:600;color:var(--teal);text-decoration:none;}
.nav-drop-foot a:hover{text-decoration:underline;}
.nav-link:focus-visible,.nav-btn:focus-visible,.nav-drop-btn:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:6px;}
#top-nav .nav-btn{font-size:13.5px;font-weight:600;color:var(--teal);border:1px solid rgba(20,184,166,0.5);padding:7px 17px;border-radius:8px;text-decoration:none;letter-spacing:0.02em;transition:background .25s,border-color .25s,transform .25s,box-shadow .25s;white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,0.12);cursor:pointer;background:none;}
#top-nav .nav-btn:hover{background:rgba(20,184,166,0.14);border-color:var(--teal);color:var(--teal);transform:translateY(-1px);box-shadow:0 6px 16px -4px rgba(20,184,166,0.4);}
#top-nav .nav-btn:active{transform:translateY(1px);}
#top-nav .nav-btn.active{background:rgba(20,184,166,0.22);border-color:var(--teal);}
@media (max-width:1100px){.nav-right>.nav-link,.nav-right>.nav-drop{display:none;}}
/* -- from <style id="pmai-topbar-css"> -- */
#top-nav{background:rgba(9,14,27,0.8);border-bottom:1px solid rgba(148,163,184,0.12);}
#top-nav .nav-right{flex:1 1 auto;margin-left:36px;gap:26px;}
#top-nav .nav-gap{flex:1 1 auto;}
#top-nav .nav-link{font-size:13.5px;}
#top-nav .nav-signin{color:var(--off-white);font-weight:600;}
#top-nav .nav-cta{display:inline-flex;align-items:center;background:var(--teal);color:var(--navy);font-size:13.5px;font-weight:700;letter-spacing:0.01em;padding:9px 18px;border-radius:999px;text-decoration:none;white-space:nowrap;box-shadow:0 4px 14px -4px rgba(20,184,166,0.55);transition:transform .2s,background .2s,box-shadow .2s;}
#top-nav .nav-cta:hover{background:var(--teal-dark,#0d9488);color:var(--navy);transform:translateY(-1px);box-shadow:0 8px 18px -6px rgba(20,184,166,0.6);}
#top-nav .nav-cta:active{transform:translateY(1px);}
#top-nav .nav-cta.active{outline:2px solid rgba(255,255,255,0.4);outline-offset:2px;}
#top-nav .nav-link,#top-nav .nav-drop-btn,#top-nav .nav-signin,#top-nav .nav-cta{white-space:nowrap;}   /* the bar switches to the phone menu below 1100px rather than wrapping a label (pre-existing wrap at 1024, fixed 2026-10-29) */
@media (max-width:1180px){#top-nav .nav-right{gap:18px;margin-left:24px;} #top-nav .nav-link{font-size:13px;}}
@media (max-width:1100px){#top-nav .nav-right{flex:0 0 auto;margin-left:0;gap:10px;} #top-nav .nav-gap{display:none;} #top-nav .nav-cta{font-size:12.5px;padding:8px 14px;}}
/* -- from <style id="pmai-mobnav-css"> -- */
#pmai-mobnav-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;background:none;border:none;color:#f8fafc;font-size:22px;line-height:1;cursor:pointer;padding:0;margin-left:4px;font-family:'Sora',sans-serif;}
@media (max-width:1100px){#pmai-mobnav-btn{display:inline-flex;}}
@media (max-width:900px){footer a{display:inline-block;padding:5px 4px;min-height:24px;box-sizing:border-box}}
#pmai-mobnav-btn:focus-visible{outline:2px solid #14b8a6;outline-offset:-3px;border-radius:6px;}
#pmai-mobnav-panel{position:fixed;top:56px;left:0;right:0;bottom:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(15,23,42,0.98);border-bottom:1px solid #334155;z-index:1400;display:none;flex-direction:column;padding:6px 0 30px;box-shadow:0 12px 30px -12px rgba(0,0,0,0.6);}
#pmai-mobnav-panel.open{display:flex;}
#pmai-mobnav-panel>a{display:block;padding:15px 24px;color:#cbd5e1;text-decoration:none;font-size:15px;font-weight:500;font-family:'Sora',sans-serif;border-bottom:1px solid rgba(51,65,85,0.45);}
#pmai-mobnav-panel>a:last-child{border-bottom:none;}
#pmai-mobnav-panel>a:hover,#pmai-mobnav-panel>a.active{color:#14b8a6;}
#pmai-mobnav-panel a:focus-visible{outline:2px solid #14b8a6;outline-offset:-3px;}
.pmai-mn-acc{border-bottom:1px solid rgba(51,65,85,0.45);}
.pmai-mn-acc-btn{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 24px;background:none;border:none;color:#cbd5e1;font-size:15px;font-weight:500;font-family:'Sora',sans-serif;cursor:pointer;text-align:left;}
.pmai-mn-acc-btn.active{color:#14b8a6;}
.pmai-mn-acc-btn svg{width:11px;height:11px;stroke:#94a3b8;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;flex-shrink:0;margin-left:12px;}
.pmai-mn-acc.open .pmai-mn-acc-btn svg{transform:rotate(180deg);}
.pmai-mn-acc-panel{display:none;flex-direction:column;padding:0 0 8px;background:rgba(15,23,42,0.5);}
.pmai-mn-acc.open .pmai-mn-acc-panel{display:flex;}
.pmai-mn-acc-panel a{display:block;padding:11px 24px 11px 38px;color:#94a3b8;text-decoration:none;font-size:13.5px;font-weight:400;font-family:'Sora',sans-serif;}
.pmai-mn-acc-panel a:hover{color:#14b8a6;}
.pmai-mn-acc-foot{padding:9px 24px 6px 38px;font-size:11.5px;color:#64748b;}
.pmai-mn-acc-foot a{display:inline;padding:0;color:#14b8a6;font-weight:600;font-size:12.5px;}
/* ==== /HEADER ==== */

/* ==== FOOTER ====
 * One footer for every public page (owner's decision, 2026-10-27): brand column,
 * then the three link groups Explore / PositionMeAI / Resources, then a legal
 * line. Upright type throughout. The MARKUP is generated into each page by
 * scripts/apply_ui.py from FOOTER_HTML there, so a link change is one edit and
 * one run, not forty hand edits. Four columns above 900px, two between 640 and
 * 900 (brand spanning the row), one below 640. Colours are tokens, so the
 * footer follows reading mode on the legal pages.
 */
.pm-footer { max-width: 1200px; margin: 0 auto; padding: 56px 24px 40px; border-top: 1px solid #334155; text-align: left; position: relative; z-index: 1; font-style: normal; background: none; border-radius: 0; box-sizing: border-box; width: auto; }
.pm-footer .pm-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.pm-footer .pm-footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--off-white); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; font-style: normal; }
.pm-footer .pm-footer-brand svg { width: 16px; height: 18px; color: var(--teal); flex: none; }
.pm-footer .pm-footer-about { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 400; font-style: normal; max-width: 380px; margin: 0; }
.pm-footer .pm-footer-h { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin: 0 0 12px; line-height: 1.4; }
.pm-footer ul { list-style: none; margin: 0; padding: 0; }
.pm-footer li { margin: 0; padding: 0; }
.pm-footer a { color: var(--pm-link); text-decoration: none; font-size: 14px; line-height: 1.5; display: inline-block; padding: 4px 0; min-height: 24px; box-sizing: border-box; font-weight: 500; }
.pm-footer a:hover { text-decoration: underline; }
.pm-footer .pm-footer-about a { display: inline; padding: 0; min-height: 0; font-weight: 600; font-size: inherit; }
.pm-footer .pm-footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.18); font-size: 12.5px; color: var(--text-muted); line-height: 1.6; letter-spacing: 0.02em; }
.pm-footer .pm-footer-legal a { display: inline-block; padding: 4px 0; min-height: 0; font-size: inherit; font-weight: 500; }
@media (max-width: 900px) {
  .pm-footer .pm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .pm-footer .pm-footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  /* phones 390 to 640: two link columns, brand across the top (owner, 2026-10-28) */
  .pm-footer { padding: 44px 20px 32px; }
  .pm-footer .pm-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .pm-footer .pm-footer-legal { margin-top: 28px; }
}
@media (max-width: 389px) {
  .pm-footer .pm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
/* ==== /FOOTER ==== */

/* ==== VARIANTS ====
 * Page layout variants (Phase C1a, owner approved 2026-10-28). The class sits on
 * <body>, written by scripts/apply_ui.py from its BODY_VARIANT map. Every rule is
 * scoped to that class ON PURPOSE: an unscoped `section p` here would restyle
 * every page that links this file, in load order, behind its back. Values are the
 * approved scale: 16px body text, leads 17px, one h1 size per variant, 64px
 * marketing sections / 48px editorial sections, side padding 20 to 48px.
 */
:where(body.pm-marketing main), :where(body.pm-editorial main) { position: relative; z-index: 2; max-width: var(--pm-w-wide); margin: 0 auto; padding: 84px var(--pm-gutter) 54px; }
/* editorial pages read in one 1100px column (the padding is added so the column stays 1100 at every width);
   a page that needs the wide container for a grid (About: the team cards) says so with #main */
:where(body.pm-editorial main) { max-width: calc(var(--pm-w-editorial) + 2 * var(--pm-gutter)); }
:where(body.pm-marketing .eyebrow), :where(body.pm-editorial .eyebrow) { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
:where(body.pm-marketing h1.l1) { font-size: var(--pm-fs-h1); font-weight: 300; line-height: 1.1; color: var(--off-white); letter-spacing: -0.015em; margin-bottom: 22px; }
:where(body.pm-editorial h1.l1) { font-size: clamp(26px, 3.4vw, 36px); font-weight: 300; line-height: 1.15; color: var(--off-white); letter-spacing: -0.015em; margin-bottom: 20px; }
:where(body.pm-marketing h1.l1 .accent), :where(body.pm-editorial h1.l1 .accent) { color: var(--teal); font-weight: 400; }
:where(body.pm-marketing p.intro), :where(body.pm-editorial p.intro) { color: var(--slate-300); font-size: var(--pm-fs-lead); line-height: 1.7; font-weight: 300; max-width: var(--pm-w-reading); margin-bottom: 18px; }
:where(body.pm-marketing p.intro strong), :where(body.pm-editorial p.intro strong) { color: var(--off-white); font-weight: 500; }
:where(body.pm-marketing section) { margin-top: var(--pm-space-8); }
:where(body.pm-editorial section) { margin-top: var(--pm-space-7); }
:where(body.pm-marketing section h2), :where(body.pm-editorial section h2) { font-size: var(--pm-fs-section); font-weight: 400; color: var(--off-white); letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 16px; }
:where(body.pm-marketing section h2 .accent), :where(body.pm-editorial section h2 .accent) { color: var(--teal); font-weight: 500; }
:where(body.pm-marketing section p), :where(body.pm-editorial section p) { font-size: var(--pm-fs-body); color: var(--slate-300); line-height: 1.7; font-weight: 400; margin-bottom: 16px; max-width: var(--pm-w-reading); }
:where(body.pm-marketing section p strong), :where(body.pm-editorial section p strong) { color: var(--off-white); font-weight: 600; }
/* the homepage / Journeys / WhyUs section template */
:where(body.pm-marketing .section) { padding: var(--pm-space-8) var(--pm-gutter); max-width: var(--pm-w-wide); margin: 0 auto; margin-top: 0; position: relative; }
:where(body.pm-marketing .section-eyebrow) { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); padding: 6px 14px; background: rgba(20,184,166,0.08); border: 1px solid rgba(20,184,166,0.22); border-radius: 999px; margin-bottom: 20px; }
:where(body.pm-marketing .section-eyebrow.amber) { color: var(--amber); background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.22); }
:where(body.pm-marketing .section-title) { font-size: var(--pm-fs-h2); font-weight: 300; letter-spacing: -0.018em; line-height: 1.15; max-width: 820px; margin-bottom: 16px; color: var(--off-white); }
:where(body.pm-marketing .section-title .accent) { color: var(--teal); font-weight: 400; }
:where(body.pm-marketing .section-sub) { font-size: var(--pm-fs-lead); color: var(--slate-300); font-weight: 300; max-width: 680px; line-height: 1.7; margin-bottom: 32px; }
:where(body.pm-marketing .section-center) { text-align: center; }
:where(body.pm-marketing .section-center .section-title), :where(body.pm-marketing .section-center .section-sub) { margin-left: auto; margin-right: auto; }
:where(body.pm-marketing .friction) { display: block; font-size: 13px; color: var(--text-muted); letter-spacing: 0.04em; margin-top: 14px; }
@media (max-width: 540px) {
  :where(body.pm-marketing main), :where(body.pm-editorial main) { padding: 76px 20px 40px; }
  :where(body.pm-marketing .section) { padding: var(--pm-space-7) 20px; }
}
/* ==== /VARIANTS ==== */

/* ==== JOURNEY ====
 * The career journey landing pages (Phase C2, owner approved 2026-10-28). The
 * class pm-journey sits on <body>, written by scripts/apply_ui.py. Same rules as
 * VARIANTS: every selector scoped to the class and wrapped in :where() so a page
 * rule of any specificity still wins. The card rules are keyed on the pages' own
 * class names (no markup change): one surface, one padding, one radius; a page
 * keeps its accent border, its grid and its hover.
 */
:where(body.pm-journey main) { position: relative; z-index: 2; padding: 84px 0 54px; }
:where(body.pm-journey .section-inner) { max-width: var(--pm-w-wide); margin: 0 auto; padding: 0 var(--pm-gutter); }
:where(body.pm-journey .content-col) { max-width: var(--pm-w-reading); }
:where(body.pm-journey .eyebrow) { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
:where(body.pm-journey .eyebrow .sep) { color: var(--text-muted); margin: 0 8px; font-weight: 400; letter-spacing: 0; }
:where(body.pm-journey .eyebrow .sub) { color: var(--text-muted); }
:where(body.pm-journey h1.l1) { font-size: var(--pm-fs-h1); font-weight: 300; line-height: 1.1; color: var(--off-white); letter-spacing: -0.015em; max-width: 820px; }
:where(body.pm-journey h1.l1 .accent) { color: var(--teal); font-weight: 400; }
:where(body.pm-journey p.intro) { color: var(--slate-300); font-size: var(--pm-fs-lead); line-height: 1.7; font-weight: 300; max-width: var(--pm-w-reading); margin-top: 24px; }
:where(body.pm-journey p.intro strong) { color: var(--off-white); font-weight: 500; }
:where(body.pm-journey main h2) { font-size: var(--pm-fs-section); font-weight: 300; color: var(--off-white); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 12px; }
:where(body.pm-journey .section-lead) { font-size: var(--pm-fs-body); color: var(--slate-300); line-height: 1.7; font-weight: 400; max-width: var(--pm-w-reading); margin-top: 14px; }
:where(body.pm-journey .editorial-rule) { margin: var(--pm-space-8) 0 var(--pm-space-7); height: 1px; background: linear-gradient(90deg, var(--medium-slate) 0%, var(--medium-slate) 40%, transparent 100%); }
:where(body.pm-journey .meta-strip) { margin-top: var(--pm-space-7); padding: 20px 24px; background: rgba(30,41,59,0.6); border-left: 2px solid var(--teal); border-radius: 0 var(--pm-r-md) var(--pm-r-md) 0; max-width: 900px; }
:where(body.pm-journey .meta-strip p) { font-size: var(--pm-fs-body); color: var(--off-white); line-height: 1.6; font-weight: 400; }
:where(body.pm-journey .meta-strip .meta-line) { color: var(--text-muted); font-size: 13px; letter-spacing: 0.04em; line-height: 1.7; }
:where(body.pm-journey .meta-strip p + .meta-line) { margin-top: 8px; }
:where(body.pm-journey .cta-wrap) { margin-top: 40px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
:where(body.pm-journey .alt-link) { color: var(--slate-300); font-size: 14px; text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s; display: inline-block; padding: 6px 0; }
:where(body.pm-journey .alt-link:hover) { color: var(--teal); }
:where(body.pm-journey .footer-attribution) { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: var(--pm-space-7); font-style: italic; max-width: var(--pm-w-reading); }
/* cards: the step panels (CareerLaunch), the dimension cards (CareerLaunch), the link cards (CareerEvolve), the transition cards (CareerShift) */
:where(body.pm-journey .panel), :where(body.pm-journey .dim-item), :where(body.pm-journey .develop-card), :where(body.pm-journey .transition-card) { background: rgba(30,41,59,0.5); border: 1px solid rgba(148,163,184,0.14); border-radius: var(--pm-r-md); padding: clamp(16px, 1.8vw, 22px); box-shadow: 0 10px 26px -16px rgba(0,0,0,0.6); }
:where(body.pm-journey .panel h2), :where(body.pm-journey .dim-name), :where(body.pm-journey .dc-label), :where(body.pm-journey .tc-label) { font-size: 16px; font-weight: 600; color: var(--off-white); margin-bottom: 8px; line-height: 1.35; }
:where(body.pm-journey .panel p), :where(body.pm-journey .panel ul li), :where(body.pm-journey .dim-line), :where(body.pm-journey .dc-desc), :where(body.pm-journey .tc-desc) { font-size: var(--pm-fs-support); color: var(--slate-300); line-height: 1.6; font-weight: 400; }
:where(body.pm-journey .panel-label), :where(body.pm-journey .panel-tag) { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
@media (max-width: 540px) {
  :where(body.pm-journey main) { padding: 84px 0 48px; }
  :where(body.pm-journey .editorial-rule) { margin: var(--pm-space-7) 0 var(--pm-space-6); }
}
/* ==== /JOURNEY ==== */
/* ==== PROSE ====
 * Long paragraphs justify with automatic hyphenation on desktop only (owner, 2026-10-28). The selector
 * lists paragraphs that sit directly in a page section or column; anything inside a card, a form,
 * a button row or a list keeps its left alignment, and every width under 900px stays left-aligned.
 */
@media (min-width: 900px) {
  :where(body[class*="pm-"]) :is(main > p, section > p, .article > p, .article > section > p, .section-inner > p, .content-col > p, .section > p, .what-section > p, .wrap > p, .hero > p, .answer > p, p.intro, .section-lead, .section-sub) {
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; text-wrap: pretty;
  }
}
/* ==== /PROSE ==== */
/* ==== EDITORIAL ====
 * The article template (five articles, AI News, Compare): answer box, byline, CTA box,
 * comparison table, FAQ question, closing position line. Lifted from the identical
 * pmai-article-css block each page carried, at the C1a values (16px body text, editorial
 * h2). Zero specificity, like VARIANTS, so a page rule still wins. Phase C1b, 2026-10-28.
 */
:where(body.pm-editorial .article) { max-width: var(--pm-w-editorial); }
:where(body.pm-editorial .byline) { color: var(--slate-400); margin: -6px 0 26px; font-weight: 300; font-size: 14px; }
:where(body.pm-editorial .byline a) { color: var(--teal); text-decoration: none; }
:where(body.pm-editorial .answer) { background: rgba(20,184,166,0.07); border: 1px solid rgba(20,184,166,0.28); border-left: 3px solid var(--teal); border-radius: 12px; padding: 20px 24px; margin: 0 0 30px; max-width: 760px; }
:where(body.pm-editorial .answer p) { margin-bottom: 0; font-size: 16px; color: var(--off-white); max-width: none; font-weight: 400; line-height: 1.7; }
:where(body.pm-editorial .answer p + p) { margin-top: 10px; }
:where(body.pm-editorial .article section) { margin-top: var(--pm-space-7); }
:where(body.pm-editorial .article section h2) { font-size: var(--pm-fs-section); }
:where(body.pm-editorial .article section h3) { font-weight: 500; color: var(--off-white); margin: 22px 0 8px; font-size: 18px; }
:where(body.pm-editorial .article section ul), :where(body.pm-editorial .article section ol) { margin: 0 0 18px 22px; color: var(--slate-300); max-width: 720px; font-size: 16px; line-height: 1.7; font-weight: 400; }
:where(body.pm-editorial .article section li) { margin-bottom: 9px; }
:where(body.pm-editorial .article section li strong), :where(body.pm-editorial .answer strong), :where(body.pm-editorial .article section p strong) { color: var(--off-white); font-weight: 500; }
:where(body.pm-editorial .article a) { color: var(--teal); text-decoration: none; }
:where(body.pm-editorial .article a:hover) { text-decoration: underline; }
:where(body.pm-editorial .cta-box) { margin: 40px 0 0; padding: 26px 28px; border-radius: 16px; background: rgba(148,163,184,0.05); border: 1px solid rgba(148,163,184,0.16); max-width: 760px; }
:where(body.pm-editorial .cta-box h3) { font-size: 18px; font-weight: 500; color: var(--off-white); margin-bottom: 8px; }
:where(body.pm-editorial .cta-box p) { margin-bottom: 16px; }
:where(body.pm-editorial .faq-q) { font-size: clamp(19px, 2.4vw, 23px); font-weight: 500; color: var(--off-white); margin: 34px 0 10px; line-height: 1.3; }
:where(body.pm-editorial .faq-q:first-child) { margin-top: 0; }
:where(body.pm-editorial .compare-wrap) { overflow-x: auto; margin: 18px 0 26px; }
:where(body.pm-editorial .compare-wrap):focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }   /* a scrollable table is a Tab stop */
:where(body.pm-editorial table.compare) { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--slate-300); font-size: 14px; font-weight: 400; }
:where(body.pm-editorial table.compare th), :where(body.pm-editorial table.compare td) { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(148,163,184,0.16); vertical-align: top; line-height: 1.55; }
:where(body.pm-editorial table.compare th) { color: var(--off-white); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
:where(body.pm-editorial table.compare td:first-child) { color: var(--off-white); font-weight: 500; }
:where(body.pm-editorial table.compare td.us) { background: rgba(20,184,166,0.06); }
:where(body.pm-editorial .pos) { color: var(--slate-400); border-top: 1px solid rgba(148,163,184,0.16); padding-top: 18px; margin-top: 40px; max-width: 760px; font-size: 14.5px; font-weight: 400; }
:where(body.pm-editorial .notfor) { margin-top: 14px; }
/* ==== /EDITORIAL ==== */

/* ==== FEEDBACK ====
 * Design system 5.6: one card for loading, empty and error messages. Same card base,
 * one line of text, one action. First used by the AI News digest states.
 */
.pm-state { display: block; border: 1px solid rgba(148, 163, 184, 0.18); background: rgba(148, 163, 184, 0.05); border-radius: var(--pm-r-md); padding: 18px 20px; color: var(--slate-300); font-size: var(--pm-fs-body); line-height: 1.6; margin: 24px 0; }
.pm-state--loading { color: var(--text-muted); }
.pm-state--error { border-left: 3px solid var(--amber); }
.pm-state--success { border-left: 3px solid var(--teal); }
.pm-state a { color: var(--pm-link); }
/* ==== /FEEDBACK ==== */

/* ==== BUTTONS ====
 * Three action levels. The existing class names (.cta-btn, .cta-btn.ghost,
 * .cta-link) are kept as aliases so no markup changes; new work uses .pm-btn,
 * .pm-btn--ghost and .pm-link. The definition is the one 9 of the 68 site pages
 * already used (the article template); hover takes the --teal-dark token that
 * 24 pages use. The a.* selectors exist so a page's own "main a" or ".article a"
 * link colour cannot turn button text teal-on-teal.
 */
.pm-btn, .cta-btn { display: inline-block; background: var(--teal); color: var(--navy); font-family: var(--font); font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; transition: background 0.2s; }
a.pm-btn, a.cta-btn { color: var(--navy); text-decoration: none; }
.pm-btn:hover, .cta-btn:hover { background: var(--teal-dark); }
.pm-btn--ghost, .cta-btn.ghost { background: transparent; color: var(--teal); border: 1.5px solid rgba(20,184,166,0.55); }
a.pm-btn--ghost, a.cta-btn.ghost { color: var(--teal); }
.pm-btn--ghost:hover, .cta-btn.ghost:hover { background: rgba(20,184,166,0.08); }
.pm-link, .cta-link { display: inline-block; margin-left: 14px; font-size: 14px; font-weight: 500; }
/* ==== /BUTTONS ==== */

/* ==== CARDS ====
 * .pm-card is the standard raised surface for new work (Phase C migrates the
 * one-off cards to it page by page). The .toc and .draft-note rules are the two
 * boxes the legal pages repeat verbatim; they are shared here under their own
 * names so no markup changes. The bare blockquote rule those pages also share is
 * NOT here on purpose: an element selector in this file would override any other
 * page's own blockquote styling by load order.
 */
.pm-card { background: var(--dark-slate); border: 1px solid var(--medium-slate); border-radius: var(--pm-r-md); padding: clamp(18px, 2vw, 26px); }
.pm-card--quiet { background: rgba(30, 41, 59, 0.5); }
.pm-card--accent { border-color: rgba(20, 184, 166, 0.35); }
.pm-card > :last-child { margin-bottom: 0; }
.toc { margin-top: 28px; padding: 22px 26px; background: rgba(30,41,59,0.5); border: 1px solid var(--medium-slate); border-radius: 10px; max-width: 720px; }
.toc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; padding: 4px 0; font-size: 13.5px; color: var(--slate-300); font-weight: 300; }
.toc li::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--text-muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.toc a { color: var(--slate-300); text-decoration: none; border-bottom: none; transition: color 0.2s; }
.toc a:hover { color: var(--teal); }
.draft-note { margin-top: 56px; padding: 22px 26px; background: rgba(251,191,36,0.04); border: 1px solid rgba(251,191,36,0.20); border-left: 2px solid var(--amber); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--slate-300); line-height: 1.7; font-weight: 300; font-style: italic; max-width: 720px; }
.draft-note strong { color: var(--off-white); font-style: normal; font-weight: 500; }
/* ==== /CARDS ==== */
/* ==== CTA ====
 * The closing call-to-action box (Phase C2). Used at the end of the journey pages;
 * FuturePath and FuturePathParents carry the same box under .final-cta and join
 * it in C2c. Buttons inside it are the standard .pm-btn / .cta-btn.
 */
.pm-cta-box { margin-top: var(--pm-space-8); text-align: center; padding: 36px 28px; border: 1px solid var(--medium-slate); border-radius: var(--pm-r-lg); background: linear-gradient(180deg, rgba(20,184,166,0.06), rgba(30,41,59,0.4)); }
.pm-cta-box h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 300; color: var(--off-white); margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.25; }
.pm-cta-box p { font-size: var(--pm-fs-body); color: var(--slate-300); line-height: 1.7; font-weight: 400; max-width: 520px; margin: 0 auto 24px; }
.pm-cta-box .pm-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.pm-cta-box .alt-link { color: var(--slate-300); font-size: 14px; text-decoration: none; display: inline-block; padding: 6px 0; }
.pm-cta-box .alt-link:hover { color: var(--teal); }
@media (max-width: 540px) {
  .pm-cta-box { padding: 32px 20px; border-radius: var(--pm-r-md); }
}
/* ==== /CTA ==== */

/* ---- Interim reading-mode corrections (Phase A pilot pages only) ----
 * These pages were written for the dark theme; reading mode flips the colour
 * tokens on <body> but three things still came out unreadable. They sit here,
 * unlayered, because they must beat the page's own rules. Phase B (shared header)
 * and Phase C (shared components) are expected to delete them.
 */

/* The top bar stays dark in reading mode, so it gets the dark-theme tokens back.
   Fixes "Sign in" (dark text on dark bar, 1.2:1) and "Start free" (cream on teal, 2.4:1). */
body.reading-mode #top-nav {
  --navy: #0f172a; --off-white: #f8fafc; --dark-slate: #1e293b; --medium-slate: #334155;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569;
  --teal: #14b8a6; --teal-dark: #0d9488; --pm-focus: #5eead4;
  /* Aliases are resolved where they are declared (on <body>), so they must be
     restated here or the dropdown headings keep the cream-theme grey (2.1:1). */
  --text-muted: #94a3b8;
  /* Nearly opaque so the teal wordmark clears 4.5:1 over the cream page behind it. */
  background: rgba(15, 23, 42, 0.96);
}

/* Boxes tinted for the dark theme (translucent slate) turned mid-grey on cream. */
body.reading-mode .toc,
body.reading-mode blockquote {
  background: rgba(15, 118, 110, 0.06);
}

/* Inline teal on a link (style="color:#14b8a6") beats the token, so it needs !important. */
body.reading-mode a[style*="#14b8a6"] { color: var(--teal) !important; }

/* A stray inline light-grey paragraph (style="color:#94a3b8") is 2.4:1 on cream. */
body.reading-mode [style*="color:#94a3b8"] { color: var(--text-muted) !important; }
