/* Careers (/careers and the two role pages) in the Optimly refresh look.
   Scoped under .mr-careers; built on PR 1's --mr-* tokens, fonts and .mr-cta.
   Sections alternate solid navy and raised navy. No text under 16px. */
.mr-careers { background:var(--mr-navy); color:var(--mr-warm-white); font-family:var(--mr-f-body); font-size:20px; line-height:1.6; letter-spacing:-.02em; -webkit-font-smoothing:antialiased; }
/* zero-specificity reset, so the component margins below win */
:where(.mr-careers) :where(p, ul, dl) { margin:0; }
.mr-careers :where(h1, h2, h3) { margin:0; }   /* beats index.css's h1/h2/h3 margins; component classes below come later and win */
.mr-careers h1, .mr-careers h2, .mr-careers h3 { color:var(--mr-warm-white); }   /* index.css sets a dark heading colour site-wide */
.mr-careers a { color:inherit; text-decoration:none; }
.mr-careers a:focus-visible { outline:2px solid var(--mr-lime); outline-offset:4px; }
.mr-careers .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.mrc-wrap { max-width:1660px; margin-inline:auto; padding-inline:var(--mr-gutter); }
.mrc-sect { padding-block:clamp(72px,9vw,140px); }
.mrc-raised { background:var(--mr-navy-raised); }
.mrc-kicker { font:600 20px/1.4 var(--mr-f-body); letter-spacing:0; color:#fff; }
.mrc-h1 { margin-top:18px; max-width:980px; font-family:var(--mr-f-display); font-weight:400; font-size:clamp(44px,5vw,72px); line-height:1.16; letter-spacing:-.02em; text-wrap:balance; }
.mrc-h2 { font-family:var(--mr-f-display); font-weight:400; font-size:clamp(32px,3.34vw,48px); line-height:1.2; letter-spacing:-.02em; text-wrap:balance; }
.mrc-h3 { font-family:var(--mr-f-display); font-weight:400; font-size:clamp(26px,2.23vw,32px); line-height:1.2; letter-spacing:-.02em; }
.mrc-px { font-family:var(--mr-f-pixel); font-size:1.2em; letter-spacing:0; line-height:1; color:var(--mr-lime); }
.mrc-h1 .mrc-px { white-space:nowrap; }
.mrc-body { font-size:clamp(17px,1.39vw,20px); line-height:1.6; }
.mrc-muted { color:rgba(248,244,238,.78); }
.mrc-sky { color:var(--mr-sky); }
.mrc-link { font:600 clamp(17px,1.39vw,20px)/1.4 var(--mr-f-body); letter-spacing:0; color:#fff; text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }
.mrc-link:hover { color:var(--mr-lime); }
.mrc-ctas .mrc-link, .mrc-split .mrc-link { display:inline-block; padding-block:8px; }   /* standalone links: a comfortable tap target */

/* hero */
.mrc-hero { padding-block:clamp(80px,10vw,150px) clamp(56px,7vw,96px); }
.mrc-lede { margin-top:28px; max-width:640px; }
.mrc-ctas { display:flex; flex-wrap:wrap; align-items:center; gap:20px 40px; margin-top:48px; }

/* mission */
.mrc-split { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(32px,6vw,120px); align-items:start; }
.mrc-split .mrc-h2 { margin-top:18px; }
.mrc-split .mrc-link { display:inline-block; margin-top:28px; }

/* team */
.mrc-team-lede { margin-top:18px; max-width:620px; }
.mrc-team { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin:56px 0 0; padding:0; list-style:none; }
.mrc-member { display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0) 40%),rgba(26,30,61,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 40px 80px -56px rgba(4,6,24,.9); transition:border-color .3s ease,box-shadow .3s ease; }
.mrc-member:hover { border-color:rgba(223,234,98,.4); box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 4px rgba(223,234,98,.06),0 40px 80px -56px rgba(4,6,24,.9); }
.mrc-photo { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; background:var(--mr-navy-raised); }
.mrc-member-body { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(28px,3vw,44px); }
.mrc-member-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; width:100%; }
.mrc-role-label { font:600 16px/1.4 var(--mr-f-body); letter-spacing:0; color:var(--mr-sky); }
.mrc-member .mrc-h3 { margin-top:8px; }
.mrc-member .mrc-body { margin-top:14px; font-size:17px; }
.mrc-in { flex:none; display:inline-grid; place-items:center; width:44px; height:44px; border:1px solid rgba(248,244,238,.18); color:rgba(248,244,238,.82); transition:color .2s ease,border-color .2s ease,background-color .2s ease; }
.mrc-in:hover { color:var(--mr-ink-deep); background:var(--mr-lime); border-color:var(--mr-lime); }
.mrc-backed { margin-top:56px; }
.mrc-backers { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0 0; padding:0; list-style:none; }
.mrc-backers li { padding:14px 20px; border:1px solid rgba(255,255,255,.1); font:600 16px/1.3 var(--mr-f-body); letter-spacing:0; color:rgba(248,244,238,.86); }

/* open roles: one row per role; the whole row is the link target */
.mrc-roles-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:12px 32px; }
.mrc-roles-meta { font:600 16px/1.6 var(--mr-f-body); letter-spacing:0; color:var(--mr-sky); }
.mrc-roles-lede { margin-top:18px; max-width:640px; }
.mrc-roles { list-style:none; margin:40px 0 0; padding:0; border-top:1px solid rgba(255,255,255,.1); }
.mrc-role { position:relative; display:grid; grid-template-columns:220px minmax(0,1fr) auto; gap:12px 48px; align-items:baseline; padding:34px 8px 34px 28px; border-bottom:1px solid rgba(255,255,255,.1); }
.mrc-role::before { content:""; position:absolute; left:0; top:22px; bottom:22px; width:3px; background:var(--mr-lime); transform:scaleY(0); transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.mrc-role-team { font:600 16px/1.6 var(--mr-f-body); letter-spacing:0; color:var(--mr-sky); }
.mrc-role-title { font-family:var(--mr-f-display); font-weight:400; font-size:clamp(24px,2vw,30px); line-height:1.2; letter-spacing:-.02em; transition:color .2s ease; }
.mrc-role-desc { margin-top:10px; max-width:60ch; font-size:17px; line-height:1.6; color:rgba(248,244,238,.78); }
.mrc-role-facts { margin-top:12px; font-size:16px; line-height:1.6; letter-spacing:0; color:var(--mr-sky); }
.mrc-role-link { align-self:center; font:600 18px/1.4 var(--mr-f-body); letter-spacing:0; color:#fff; transition:color .2s ease; }
.mrc-role-link::after { content:""; position:absolute; inset:0; }
.mrc-role-link:focus-visible { outline:none; }
.mrc-role:has(.mrc-role-link:focus-visible) { outline:2px solid var(--mr-lime); outline-offset:-2px; }
.mrc-role:hover::before, .mrc-role:focus-within::before { transform:scaleY(1); }
.mrc-role:hover .mrc-role-title, .mrc-role:focus-within .mrc-role-title, .mrc-role:hover .mrc-role-link, .mrc-role:focus-within .mrc-role-link { color:var(--mr-lime); }

/* role pages */
.mrc-job-facts { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 24px; margin:36px 0 0; max-width:640px; }
.mrc-job-facts dt { font:600 16px/1.6 var(--mr-f-body); letter-spacing:0; color:var(--mr-sky); }
.mrc-job-facts dd { margin:0; font-size:16px; line-height:1.6; letter-spacing:0; }
.mrc-prose { max-width:720px; font-size:clamp(17px,1.39vw,20px); line-height:1.7; }
.mrc-prose h2 { margin-top:56px; font-family:var(--mr-f-display); font-weight:400; font-size:clamp(26px,2.23vw,32px); line-height:1.2; letter-spacing:-.02em; }
.mrc-prose h2:first-child { margin-top:0; }
.mrc-prose p, .mrc-prose ul { margin-top:18px; }
.mrc-prose ul { padding-left:22px; }
.mrc-prose li + li { margin-top:8px; }
.mrc-prose li::marker { color:var(--mr-sky); }
.mrc-prose a { text-decoration:underline; text-underline-offset:4px; text-decoration-color:rgba(223,234,98,.6); }
.mrc-prose a:hover { color:var(--mr-lime); }

/* the .cta class is kept on CTAs for cta_click analytics; neutralise any shared button look */
.mr-careers .cta.mrc-link { background:none; border:0; padding:0; min-height:0; }

@media (max-width:1100px) {
  .mrc-team { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mrc-role { grid-template-columns:minmax(0,1fr) auto; padding:28px 4px 28px 20px; }
  .mrc-role-team { grid-column:1 / -1; }
}
@media (max-width:760px) {
  .mrc-split { grid-template-columns:1fr; }
  .mrc-team { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .mrc-h1 { font-size:clamp(32px,9.6vw,44px); overflow-wrap:break-word; }   /* "Experimentation" must fit a 375px screen */
  .mrc-h1 .mrc-px { white-space:normal; }
  .mrc-role { grid-template-columns:1fr; gap:8px; }
  .mrc-role-link { align-self:start; margin-top:8px; }
  .mrc-job-facts { grid-template-columns:1fr; gap:2px; }
  .mrc-job-facts dd + dt { margin-top:10px; }
}
@media (prefers-reduced-motion:reduce) { .mrc-member, .mrc-in, .mrc-role::before, .mrc-role-title, .mrc-role-link { transition:none; } }

/* Lead-in to the co-founders' letter (/about/letter), under the mission text. */
.mrc-letter { display:flex; flex-direction:column; gap:8px; margin-top:32px; color:#fff; text-decoration:none; }
.mrc-letter__kicker { font:600 18px/1.4 var(--mr-f-body); letter-spacing:0; color:var(--mr-sky); }
.mrc-letter__title { font-family:var(--mr-f-display); font-weight:400; font-size:clamp(26px,2.23vw,32px); line-height:1.2; letter-spacing:-.02em; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:6px; text-decoration-color:rgba(223,234,98,.6); transition:color .2s ease; }
.mrc-letter:hover .mrc-letter__title, .mrc-letter:focus-visible .mrc-letter__title { color:var(--mr-lime); text-decoration-color:currentColor; }
@media (prefers-reduced-motion:reduce) { .mrc-letter__title { transition:none; } }
