/* Job ad article layout (Nov 20 2026, Ivan): /jobs/<slug>/ roles with post: true. Grid + rail come from the shared
   LegalToc (as /privacy/). Left-aligned 800px reading column. Quiet Company palette: ink #1E2047, body #2F315A,
   muted #4F5B86, dots #84A0E6, edges #DCE3F5. Serif headings (Source Serif 4 600), Inter body. */
.jpp{padding-top:168px!important;padding-bottom:128px!important}
.jpp .jpp-doc{color:#2F315A;font-family:"Inter",system-ui,sans-serif;font-size:17px;line-height:1.7;text-align:left}
.jpp .jpp-doc h1,.jpp .jpp-doc h2{font-family:"Source Serif 4","mk-serif-fb",Georgia,serif;font-synthesis:none;font-weight:600;color:#1E2047;letter-spacing:-.02em}

/* header */
.jpp .jpp-back{display:inline-flex;align-items:center;gap:8px;min-height:32px;font-size:14px;font-weight:600;color:#4F5B86;text-decoration:none}
.jpp .jpp-back:hover{color:#1E2047;text-decoration:underline;text-underline-offset:3px}
.jpp .jpp-h1{margin:20px 0 0;font-size:56px;line-height:1.08}
.jpp .jpp-lead{margin:20px 0 0;max-width:640px;font-size:20px;line-height:1.55;color:#2F315A}
.jpp .jpp-tags{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.jpp .jpp-tag{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 14px;border-radius:999px;background:#fff;border:1px solid #DCE3F5;font-size:14px;line-height:20px;color:#2F315A}
.jpp .jpp-tag--live{background:#DDF7EC;border-color:#B5EBD4;color:#0F6A4B;font-weight:600}
.jpp .jpp-dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.jpp .jpp-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.jpp .jpp-acts .a-btn--primary{background:#111226;border-color:#111226;color:#fff}
.jpp .jpp-acts .a-btn--primary:hover{background:#2EC4B6;border-color:#2EC4B6;color:#111226}
.jpp .jpp-hero{padding-bottom:56px;border-bottom:1px solid #E3E8F5}

/* sections */
.jpp .jpp-sec{padding-top:56px}
.jpp .jpp-eye{margin:0;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4F5B86}
.jpp .jpp-sec h2{margin:10px 0 0;font-size:34px;line-height:1.15;scroll-margin-top:120px}
.jpp .jpp-sec h2:focus{outline:none}
.jpp .jpp-sec>p{margin:16px 0 0;max-width:720px}
.jpp .jpp-sec>h2+p{margin-top:18px}
.jpp .jpp-doc strong{color:#1E2047;font-weight:600}

/* bullet lists */
.jpp .jpp-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px;max-width:720px}
.jpp .jpp-list li{position:relative;padding-left:24px}
.jpp .jpp-list li::before{content:"";position:absolute;left:3px;top:.68em;width:7px;height:7px;border-radius:50%;background:#84A0E6}
.jpp .jpp-list--sm{margin-top:14px;gap:10px;font-size:15.5px;line-height:1.55}
.jpp .jpp-list--sm li::before{top:.62em;width:6px;height:6px}
.jpp .jpp-list--check li{padding-left:34px}
.jpp .jpp-list--check li::before{left:0;top:.22em;width:22px;height:22px;background:#EAF7F4 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;border:1px solid #C6EBE0}

/* cards: 2 per row */
.jpp .jpp-cards{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.jpp .jpp-card{background:#fff;border:1px solid #DCE3F5;border-radius:18px;padding:22px 24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 40px -30px rgba(30,45,110,.25)}
.jpp .jpp-card__t{margin:0;font-family:"Inter",system-ui,sans-serif;font-size:17px;line-height:1.35;font-weight:650;color:#1E2047}
.jpp .jpp-card__b{margin:8px 0 0;font-size:15.5px;line-height:1.6;color:#2F315A}
.jpp .jpp-cards--offer>li:last-child:nth-child(odd){grid-column:1/-1}
.jpp .jpp-note{margin-top:20px!important;padding:16px 20px;border-left:3px solid #84A0E6;background:#F5F7FD;border-radius:0 12px 12px 0;font-size:16px;color:#2F315A}

/* requirements: three cards with bullets, stacked */
.jpp .jpp-groups{margin-top:24px;display:grid;gap:16px}
.jpp .jpp-group:nth-child(1){border-color:#C9D6F6}
.jpp .jpp-group:nth-child(1) .jpp-list li::before{background:#5B6FC2}
.jpp .jpp-group:nth-child(2) .jpp-list li::before{background:#84A0E6}
.jpp .jpp-group:nth-child(3) .jpp-list li::before{background:#9FD8C8}

/* apply */
.jpp .jpp-apply{margin-top:72px;padding:40px;border:1px solid #DCE3F5;border-radius:24px;background:linear-gradient(160deg,#F2F5FE 0%,#FFFFFF 55%,#EEF8F5 100%)}
.jpp .jpp-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.jpp .jpp-step{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #DCE3F5;border-radius:16px;padding:18px 20px}
.jpp .jpp-step__n{flex:none;font-size:13px;font-weight:700;letter-spacing:.06em;color:#5B6FC2;padding-top:2px}
.jpp .jpp-step .jpp-card__b{margin-top:4px}
.jpp .jpp-h3{margin:28px 0 0;font-size:17px;font-weight:650;color:#1E2047}
.jpp .jpp-h3+.jpp-list{margin-top:12px}
.jpp .jpp-back2{margin:20px 0 0;font-size:15px}
.jpp .jpp-back2 .a-link{color:#1E2047}

.jpp a:focus-visible{outline:2px solid #1E2047;outline-offset:3px;border-radius:6px}

@media (max-width:1100px){.jpp .jpp-doc{max-width:800px}}
@media (max-width:1023px){.jpp .jpp-h1{font-size:40px}.jpp .jpp-sec h2{font-size:30px}}
@media (max-width:767px){
  .jpp{padding-top:128px!important;padding-bottom:96px!important}
  .jpp .jpp-lead{font-size:18px}
  .jpp .jpp-doc{font-size:16px}
  .jpp .jpp-cards{grid-template-columns:1fr}
  .jpp .jpp-sec{padding-top:44px}
  .jpp .jpp-sec h2{font-size:27px}
  .jpp .jpp-apply{padding:24px 20px;margin-top:56px}
  .jpp .jpp-acts .a-btn{flex:1 1 auto;justify-content:center}
}
@media (max-width:389px){.jpp .jpp-h1{font-size:36px}}

/* v456 (Ivan): blog formatting, no cards in the body */
.jpp .jpp-sec>.jpp-h3{margin:28px 0 0;font-family:"Inter",system-ui,sans-serif;font-size:18px;line-height:1.35;font-weight:650;color:#1E2047}
.jpp .jpp-sec>.jpp-h3+p{margin-top:6px}
.jpp .jpp-sec>.jpp-h3+.jpp-list{margin-top:12px}
.jpp .jpp-list--lead{gap:16px}
.jpp .jpp-list--lead strong{font-weight:650}
.jpp .jpp-note{margin-top:24px!important}

/* v457 (Ivan): 'On this page' menu in the site palette (job ads only; /privacy/ /terms/ unchanged).
   Hover = soft periwinkle tint, active = ink text + periwinkle dot. */
.jpp.lg--toc .contents-label{color:#1E2047}
.jpp.lg--toc .contents-links a,.jpp.lg--toc .drawer-links a{color:#4F5B86}
.jpp.lg--toc .contents-links a:hover,.jpp.lg--toc .drawer-links a:hover{background:#E8EEFC;color:#1E2047}
.jpp.lg--toc .contents-links a[aria-current],.jpp.lg--toc .drawer-links a[aria-current]{color:#1E2047}
.jpp.lg--toc .contents-links a[aria-current]::before,.jpp.lg--toc .drawer-links a[aria-current]::before{background:#5B6FC2}
.jpp.lg--toc .contents-links a:focus-visible,.jpp.lg--toc .drawer-links a:focus-visible,.jpp.lg--toc .contents-trigger:focus-visible,.jpp.lg--toc .contents-close:focus-visible{outline-color:#1E2047}
.jpp.lg--toc .contents-trigger{background:#111226;border-color:#262A4A}
