/* ============================================================================
   ONFLOW ADS CAREERS — jobs.onflowads.com

   The one stylesheet of the careers pages (onflow/careers/pages.py draws them):
   the jobs home, a role, the application form, the thank-you page, the
   applicants' privacy notice and the "not found" page.

   Like the blog's sheet it borrows the site's tokens BY VALUE, not by file:
   these pages may be on a host of their own, so they load no styles.css and
   paint from this one small sheet. The values are the site's (static/
   styles.css :root): Night, Graphite, Onflow Red leading, Deep Red under a
   white label, the two greys every family shares, Poppins.

   ONE DARK THEME, whatever the browser prefers (decision D11; the same rule as
   every page of the site): no light branch here, and every native control is
   told it is drawn on dark (color-scheme), so a date picker, a select's list
   and a scrollbar are dark too.

   The bar across the top, the menu behind its burger and the footer are NOT
   here: they are the site's own (static/site-bar.js, site-menu.js,
   site-foot.js), which bring their own styles. This sheet keeps the bar's room
   (--nav-h) and the space under it (--nav-gap: 48px, 40px at 900px and below).

     .cr-*   every piece of the careers pages

   Every target a finger meets is 44px or more; nothing scrolls sideways from
   320px up; every gap is a step of the site's spacing scale.
   ============================================================================ */
:root { color-scheme: dark; }
:root {
  --bg: #050609; --bg-2: #07080d; --bg-3: #0e0f16; --graphite: #111217;
  --surface: rgba(255, 255, 255, .04); --surface-2: rgba(255, 255, 255, .07); --surface-3: rgba(255, 255, 255, .1);
  --border: rgba(255, 255, 255, .09); --border-2: rgba(255, 255, 255, .16); --field-border: rgba(255, 255, 255, .24);
  --text: #F4F5F7; --dim: #CCCED6; --faint: #B6B9C5;
  --red: #FB2C36; --red-2: #E4222D; --red-soft: rgba(251, 44, 54, .12); --red-line: rgba(251, 44, 54, .45);
  --ok: #34D399; --ok-bg: rgba(52, 211, 153, .12); --ok-border: rgba(52, 211, 153, .35);
  --warn: #F5B83D; --warn-bg: rgba(245, 184, 61, .1); --warn-border: rgba(245, 184, 61, .4);
  --bad: #FF8A8A; --bad-bg: rgba(255, 77, 77, .07); --bad-border: rgba(255, 92, 92, .65);
  --ring: 0 0 0 3px rgba(251, 44, 54, .45);
  --nav-h: 74px; --nav-gap: 48px;
  --radius-sm: 10px; --radius: 18px; --radius-lg: 24px;
  --wrap: 1140px; --narrow: 760px; --pad: 24px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 900px) { :root { --nav-h: 64px; --nav-gap: 40px; } }
@media (max-width: 480px) { :root { --pad: 20px; } }

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* An author `display` beats the browser's own [hidden]{display:none}: a
   button or a row marked hidden must stay hidden whatever its class says. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--top-offset, 0px) + 24px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px;
  line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word;
  min-height: 100vh; }
/* Room for the site's fixed bar. Without scripts there is no bar, and no gap. */
.js body { padding-top: calc(var(--nav-h) + var(--top-offset, 0px)); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(251, 44, 54, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-3) inset; box-shadow: 0 0 0 1000px var(--bg-3) inset;
  transition: background-color 600000s 0s; }
input:autofill, textarea:autofill, select:autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px var(--bg-3) inset; }
.cr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; }
.cr-skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; border-radius: 10px;
  background: var(--red-2); color: #fff; font-weight: 600; text-decoration: none; }
.cr-skip:focus { top: calc(var(--nav-h) + var(--top-offset, 0px) + 8px); }

/* ---- Layout ---------------------------------------------------------------- */
.cr-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.cr-wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--pad)); }
.cr-sec { padding-block: 64px; }
.cr-sec--band { background: var(--bg-2); border-block: 1px solid var(--border); }
.cr-sec.cr-sec--flush { padding-top: 0; }
/* THE SPACE UNDER THE BAR: the first thing on every page starts --nav-gap below
   the bar, as on every page of the site (tests/test_space_under_the_bar.py). */
main > :first-child { padding-top: var(--nav-gap); }
.cr-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.cr-head--center { margin-inline: auto; text-align: center; align-items: center; }
@media (max-width: 640px) { .cr-sec { padding-block: 48px; } .cr-head { margin-bottom: 32px; } }

/* ---- Type ------------------------------------------------------------------ */
.cr-kicker { color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700;
  line-height: 1.4; }
.cr-h1 { font-size: clamp(2.05rem, 5.4vw, 3.55rem); line-height: 1.08; letter-spacing: -.035em; }
.cr-h1 em, .cr-h2 em { font-style: normal; color: var(--red); }
.cr-h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; }
.cr-h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -.01em; }
.cr-lead { color: var(--dim); font-size: clamp(1.02rem, 1.5vw, 1.14rem); line-height: 1.65; }
.cr-text { color: var(--dim); }
.cr-small { color: var(--faint); font-size: .88rem; line-height: 1.55; }
.cr-link { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cr-link:hover { color: var(--text); }
.cr-prose { color: var(--dim); max-width: var(--narrow); }
.cr-prose h2 { color: var(--text); font-size: 1.35rem; margin: 40px 0 12px; }
.cr-prose h3 { color: var(--text); font-size: 1.1rem; margin: 28px 0 8px; }
.cr-prose p { margin-bottom: 16px; }
.cr-prose ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.cr-prose li { margin-bottom: 8px; }
.cr-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cr-prose a:hover { color: var(--text); }
.cr-prose strong { color: var(--text); }

/* ---- Buttons --------------------------------------------------------------- */
.cr-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  min-width: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 600;
  font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; user-select: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease, color .18s ease; }
.cr-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cr-btn--primary { background: var(--red-2); color: #fff; box-shadow: 0 12px 32px rgba(251, 44, 54, .3); }
.cr-btn--primary:hover { filter: brightness(1.07); box-shadow: 0 16px 44px rgba(251, 44, 54, .4); }
.cr-btn--primary:active { filter: none; transform: translateY(1px); }
.cr-btn--ghost { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.cr-btn--ghost:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, .26); }
.cr-btn--quiet { background: transparent; color: var(--dim); padding-inline: 14px; }
.cr-btn--quiet:hover { color: var(--text); background: var(--surface); }
.cr-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.cr-btn--sm { min-height: 44px; padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.cr-btn--block { display: flex; width: 100%; }
.cr-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: var(--ring); }
.cr-btn[disabled], .cr-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: none; box-shadow: none; }
.cr-btn.is-busy { color: transparent; pointer-events: none; }
.cr-btn.is-busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cr-spin .7s linear infinite; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
.cr-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cr-btn-row--center { justify-content: center; }
@media (max-width: 560px) {
  .cr-btn-row--stack { flex-direction: column; align-items: stretch; }
  .cr-btn-row--stack > .cr-btn { width: 100%; }
}

/* ---- Tags, chips ----------------------------------------------------------- */
.cr-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; line-height: 1.3; border: 1px solid var(--border-2); color: var(--dim);
  background: var(--surface); white-space: nowrap; }
.cr-tag svg { width: 14px; height: 14px; flex: 0 0 auto; }
.cr-tag--brand { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.cr-tag--ok { color: var(--ok); border-color: var(--ok-border); background: var(--ok-bg); }
.cr-tag--closed { color: var(--warn); border-color: var(--warn-border); background: var(--warn-bg); }
.cr-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .05); color: var(--dim); font-size: .82rem;
  font-weight: 600; letter-spacing: .02em; }
.cr-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: .9rem; font-weight: 500; }

/* ---- Cards ----------------------------------------------------------------- */
.cr-card { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
@media (max-width: 480px) { .cr-card { padding: 24px 20px; } }
.cr-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 44, 54, .18), rgba(228, 34, 45, .08)); border: 1px solid rgba(251, 44, 54, .28);
  color: var(--red); }
.cr-icon svg { width: 24px; height: 24px; }

/* ---- Hero ------------------------------------------------------------------ */
.cr-hero { position: relative; isolation: isolate; padding-bottom: 64px; }
.cr-hero__in { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cr-hero__in > .cr-lead { max-width: 640px; }
.cr-hero__decor { position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * (var(--nav-h) + var(--top-offset, 0px)));
  z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(55% 70% at 12% 0%, rgba(228, 34, 45, .3), transparent 70%),
    radial-gradient(40% 55% at 92% 12%, rgba(251, 44, 54, .16), transparent 72%); }
.cr-hero__decor::after { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 80%); }
@media (max-width: 560px) {
  .cr-hero__in { align-items: stretch; }
  .cr-hero__in > .cr-pill { align-self: center; }
}

/* ---- Why us ---------------------------------------------------------------- */
/* Five reasons: three to a row, and the row that is left over centred under
   them (a grid would leave it hanging on the left). */
.cr-why { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cr-why > .cr-card { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1023px) { .cr-why > .cr-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .cr-why > .cr-card { flex-basis: 100%; } }

/* ---- Role cards (the home page) -------------------------------------------- */
.cr-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .cr-roles { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.cr-role { display: flex; flex-direction: column; gap: 20px; transition: border-color .2s ease, transform .2s var(--ease); }
.cr-role:hover { border-color: var(--border-2); }
.cr-role__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cr-role__top > .cr-tag { flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 520px) { .cr-role__top { flex-direction: column-reverse; gap: 12px; } }
.cr-role__title { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; }
/* The title is a link of its own: a finger's height (44px) without moving a
   line of the card (the padding is given back by the margin). */
.cr-role__title a { display: inline-block; padding-block: 9px; margin-block: -9px; text-decoration: none; }
.cr-role__title a:hover { color: var(--red); }
.cr-role__pitch { color: var(--dim); }
.cr-role__lbl { color: var(--faint); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cr-role__duties { display: flex; flex-direction: column; gap: 12px; }
.cr-role__foot { margin-top: auto; padding-top: 4px; }
@media (max-width: 480px) { .cr-role__foot .cr-btn { flex: 1 1 100%; } }

/* A list with a mark before each line: what you'll do, the key duties ... */
.cr-ticks { display: flex; flex-direction: column; gap: 12px; }
.cr-ticks > li { position: relative; padding-left: 32px; color: var(--dim); }
.cr-ticks > li::before { content: ''; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FB2C36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(251, 44, 54, .3); }
.cr-ticks--sm { gap: 8px; }
.cr-ticks--sm > li { font-size: .92rem; padding-left: 28px; }
.cr-ticks--sm > li::before { width: 18px; height: 18px; top: .15em; background-size: 11px; }
.cr-ticks--dot > li::before { width: 8px; height: 8px; top: .62em; left: 6px; border-radius: 50%; background: var(--red);
  border: 0; box-shadow: 0 0 0 4px rgba(251, 44, 54, .16); }
.cr-ticks--plain > li::before { background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CCCED6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--border-2); }

.cr-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 40px 28px; }

/* ---- FAQ ------------------------------------------------------------------- */
.cr-faq { max-width: var(--narrow); margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.cr-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px;
  transition: border-color .25s ease, background .25s ease; }
.cr-faq__item[open] { border-color: var(--border-2); background: var(--surface-2); }
.cr-faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.cr-faq__item summary::-webkit-details-marker { display: none; }
.cr-faq__item summary::after { content: '+'; flex: 0 0 auto; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--red);
  transition: transform .3s var(--ease); }
.cr-faq__item[open] summary::after { transform: rotate(135deg); }
.cr-faq__a { color: var(--dim); padding-bottom: 20px; }
.cr-faq__a p + p { margin-top: 12px; }
@media (max-width: 480px) { .cr-faq__item { padding: 0 20px; } }

.cr-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface); color: var(--dim); font-size: .94rem; }
.cr-note > svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--red); }
.cr-note--center { max-width: var(--narrow); margin: 32px auto 0; }
.cr-note--warn { border-color: var(--warn-border); background: var(--warn-bg); }
.cr-note--warn > svg { color: var(--warn); }
.cr-note--bad { border-color: var(--bad-border); background: var(--bad-bg); color: var(--text); }
.cr-note--bad > svg { color: var(--bad); }
.cr-note--ok { border-color: var(--ok-border); background: var(--ok-bg); color: var(--text); }
.cr-note--ok > svg { color: var(--ok); }

/* ---- A role's page --------------------------------------------------------- */
.cr-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9rem; color: var(--faint); }
.cr-crumbs li { display: flex; align-items: center; gap: 8px; }
.cr-crumbs li + li::before { content: '/'; color: var(--faint); }
.cr-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); text-decoration: none; }
.cr-crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cr-crumbs [aria-current] { color: var(--text); font-weight: 500; }
.cr-rhero { padding-bottom: 48px; position: relative; isolation: isolate; }
.cr-rhero__in { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 820px; }
.cr-rhero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) { .cr-rhero__in { align-items: stretch; } .cr-rhero__tags { justify-content: flex-start; } }

.cr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 1023px) { .cr-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.cr-blocks { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.cr-block { display: flex; flex-direction: column; gap: 20px; }
.cr-block__h { display: flex; align-items: center; gap: 12px; }
.cr-block__n { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px;
  background: var(--red-soft); border: 1px solid rgba(251, 44, 54, .3); color: var(--red); font-size: .85rem; font-weight: 700; }
.cr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cr-pair .cr-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
@media (max-width: 700px) { .cr-pair { grid-template-columns: minmax(0, 1fr); } }
.cr-timeline { display: flex; flex-direction: column; gap: 0; }
.cr-timeline > li { position: relative; padding: 0 0 24px 40px; color: var(--dim); }
.cr-timeline > li:last-child { padding-bottom: 0; }
.cr-timeline > li::before { content: ''; position: absolute; left: 7px; top: .55em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 5px rgba(251, 44, 54, .18); }
.cr-timeline > li::after { content: ''; position: absolute; left: 12px; top: calc(.55em + 18px); bottom: 4px; width: 2px;
  background: linear-gradient(var(--red-line), rgba(255, 255, 255, .06)); }
.cr-timeline > li:last-child::after { display: none; }
.cr-steps { display: flex; flex-direction: column; gap: 16px; counter-reset: crstep; }
.cr-steps > li { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--dim); }
.cr-steps > li::before { counter-increment: crstep; content: counter(crstep); flex: 0 0 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-2); color: #fff; font-weight: 700; font-size: .9rem; }
.cr-steps__t { padding-top: 4px; }
.cr-aside { position: sticky; top: calc(var(--nav-h) + var(--top-offset, 0px) + 24px); display: flex; flex-direction: column;
  gap: 16px; }
@media (max-width: 1023px) { .cr-aside { position: static; } }
.cr-apply-box { display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(165deg, rgba(251, 44, 54, .1), rgba(255, 255, 255, .02)); border-color: rgba(251, 44, 54, .35); }
.cr-apply-box__h { font-size: 1.12rem; }

/* ---- The application form ------------------------------------------------- */
.cr-apply-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; padding-bottom: 32px; }
.cr-apply-head__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-apply-head__meta > .cr-tag { white-space: normal; }
.cr-apply { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 80px; }
@media (max-width: 1023px) { .cr-apply { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* Without scripts the form cannot work (it is sent by its script, and only
   when the applicant presses Send): it says so instead. */
.cr-apply__form { display: none; }
.js .cr-apply__form { display: block; }
.js .cr-noscript { display: none; }

.cr-rail { position: sticky; top: calc(var(--nav-h) + var(--top-offset, 0px) + 24px); }
.cr-rail ol { display: flex; flex-direction: column; gap: 4px; }
.cr-rail__step { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 12px; border-radius: 12px;
  border: 1px solid transparent; background: none; color: var(--faint); font-size: .92rem; font-weight: 500; text-align: left;
  line-height: 1.3; }
.cr-rail__step:hover:not([disabled]) { background: var(--surface); color: var(--text); }
.cr-rail__step[disabled] { cursor: default; }
.cr-rail__n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  border: 1px solid var(--border-2); color: var(--dim); background: var(--bg-3); }
.cr-rail__step.is-done { color: var(--dim); }
.cr-rail__step.is-done .cr-rail__n { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok); }
.cr-rail__step[aria-current="step"] { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.cr-rail__step[aria-current="step"] .cr-rail__n { background: var(--red-2); border-color: transparent; color: #fff; }
@media (max-width: 1023px) { .cr-rail { display: none; } }

.cr-formcard { background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); border-radius: var(--radius-lg); }
/* Until the form's script has put back a saved draft (and the step it was on),
   the card keeps its room but is not painted, so nothing jumps under the
   reader. It shows after 3 seconds whatever happens. */
.js .cr-formcard:not(.is-ready) { visibility: hidden; animation: cr-show 0s linear 3s forwards; }
@keyframes cr-show { to { visibility: visible; } }
.cr-progress { display: flex; flex-direction: column; gap: 12px; padding: 24px 32px 20px; border-bottom: 1px solid var(--border); }
.cr-progress__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.cr-progress__label { font-weight: 600; font-size: .95rem; }
.cr-progress__label .cr-progress__of { color: var(--faint); font-weight: 500; }
.cr-progress__save { display: flex; align-items: center; gap: 8px; min-height: 24px; color: var(--faint); font-size: .84rem; }
.cr-progress__save svg { width: 16px; height: 16px; color: var(--ok); flex: 0 0 auto; }
.cr-progress__bar { position: relative; height: 8px; border-radius: 100px; background: var(--surface-3); overflow: hidden; }
.cr-progress__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-2));
  transform-origin: left center; transform: scaleX(var(--cr-done, .0833)); transition: transform .45s var(--ease); }
.cr-step { padding: 32px; }
.cr-step[hidden] { display: none; }
.cr-step__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.cr-step__h { font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -.02em; }
.cr-step__h:focus { outline: none; }
.cr-step__h:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.cr-step__intro { color: var(--dim); }
.cr-fields { display: flex; flex-direction: column; gap: 24px; }
.cr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
@media (max-width: 640px) { .cr-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .cr-progress { padding: 20px 20px 16px; } .cr-step { padding: 24px 20px; } }

.cr-field, .cr-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-field[hidden], .cr-group[hidden], .cr-row[hidden], .cr-sub[hidden] { display: none; }
.cr-label, .cr-group > legend { font-weight: 600; font-size: .96rem; line-height: 1.4; color: var(--text); }
/* A legend that floats is an ordinary first item of its fieldset's flex
   column, so the gap below it is the field's own 8px. */
.cr-group > legend:not(.cr-sr) { float: left; width: 100%; }
.cr-opt { color: var(--faint); font-weight: 500; font-size: .86rem; }
.cr-hint { color: var(--faint); font-size: .87rem; line-height: 1.5; }
.cr-input, .cr-select, .cr-textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--field-border); background: var(--bg-3); color: var(--text); font-size: 16px; line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.cr-input::placeholder, .cr-textarea::placeholder { color: var(--faint); opacity: .75; }
/* An example longer than a phone's field ends on an ellipsis, not mid-word. */
.cr-input { text-overflow: ellipsis; }
.cr-input:hover, .cr-select:hover, .cr-textarea:hover { border-color: rgba(255, 255, 255, .34); }
.cr-input:focus, .cr-select:focus, .cr-textarea:focus { outline: 2px solid transparent; border-color: var(--red);
  background: var(--bg-2); box-shadow: 0 0 0 3px rgba(251, 44, 54, .22); }
.cr-textarea { min-height: 150px; resize: vertical; }
.cr-select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23CCCED6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.cr-select option, .cr-select optgroup { background-color: #0e0f16; color: #F4F5F7; }
.cr-input[type="date"] { min-height: 50px; }
.cr-input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; padding: 4px; border-radius: 6px; }
.cr-input[type="number"] { -moz-appearance: textfield; }
.cr-count { align-self: flex-end; color: var(--faint); font-size: .82rem; font-variant-numeric: tabular-nums; }
.cr-count.is-short { color: var(--warn); }
.cr-err { display: flex; align-items: flex-start; gap: 8px; color: var(--bad); font-size: .9rem; font-weight: 500; line-height: 1.45; }
.cr-err:empty { display: none; }
.cr-err::before { content: ''; flex: 0 0 16px; height: 16px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A8A' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / 16px no-repeat; }
.cr-field.is-bad .cr-input, .cr-field.is-bad .cr-select, .cr-field.is-bad .cr-textarea {
  border-color: var(--bad-border); background-color: var(--bad-bg); }
.cr-field.is-bad .cr-input:focus, .cr-field.is-bad .cr-select:focus, .cr-field.is-bad .cr-textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 77, 77, .22); }
.cr-group.is-bad .cr-choice__box { border-color: var(--bad-border); }

/* Choices drawn as cards: a radio or a checkbox, its label the whole card. */
.cr-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cr-choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cr-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-choices--1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .cr-choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cr-choices--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .cr-choices, .cr-choices--4 { grid-template-columns: minmax(0, 1fr); } }
.cr-choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.cr-choice > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.cr-choice__box { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--field-border); background: var(--bg-3); color: var(--text);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.cr-choice__box::before { content: ''; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45);
  background: var(--bg-2); transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cr-choice--check .cr-choice__box::before { border-radius: 6px; }
.cr-choice__t { display: block; font-weight: 500; line-height: 1.35; }
.cr-choice__d { display: block; color: var(--faint); font-size: .85rem; line-height: 1.45; font-weight: 400; margin-top: 2px; }
.cr-choice:hover .cr-choice__box { border-color: rgba(255, 255, 255, .36); }
.cr-choice > input:checked + .cr-choice__box { border-color: var(--red); background: rgba(251, 44, 54, .1); }
.cr-choice > input:checked + .cr-choice__box::before { border-color: var(--red); background: var(--red-2);
  box-shadow: inset 0 0 0 4px var(--bg-2); }
.cr-choice--check > input:checked + .cr-choice__box::before { box-shadow: none;
  background: var(--red-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cr-choice > input:focus-visible + .cr-choice__box { outline: 2px solid var(--red); outline-offset: 2px; box-shadow: var(--ring); }
.cr-choice > input:disabled + .cr-choice__box { opacity: .5; cursor: not-allowed; }
/* A single box with a sentence beside it: "I am 18 or older", the consents. */
.cr-tick { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--field-border); background: var(--bg-3); cursor: pointer; }
.cr-tick > input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0;
  border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .45); background: var(--bg-2); cursor: pointer; }
.cr-tick > input:checked { border-color: var(--red); background: var(--red-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cr-tick > input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; box-shadow: var(--ring); }
.cr-tick__t { color: var(--text); line-height: 1.5; }
.cr-tick__t a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cr-tick:has(> input:checked) { border-color: rgba(251, 44, 54, .55); background: rgba(251, 44, 54, .07); }
.cr-field.is-bad .cr-tick, .cr-group.is-bad .cr-tick { border-color: var(--bad-border); background: var(--bad-bg); }

/* The 1 to 5 scale: five cards, each with its number and what it means. */
.cr-choice--num .cr-choice__box::before { display: none; }
.cr-choice__n { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--bg-2); color: var(--dim); font-weight: 700; font-size: .95rem; }
.cr-choice--num > input:checked + .cr-choice__box .cr-choice__n { background: var(--red-2); border-color: transparent; color: #fff; }

/* Languages: a row per language, a level beside it, and a way to take it out. */
.cr-langs { display: flex; flex-direction: column; gap: 16px; }
.cr-lang { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--surface); }
.cr-lang__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 16px; align-items: start; }
.cr-lang__x { align-self: flex-end; }
.cr-lang__x[hidden] { display: none; }
@media (max-width: 560px) { .cr-lang__fields { grid-template-columns: minmax(0, 1fr); } }
.cr-add { align-self: flex-start; }

/* Step 4: the roles to pick from, and which one is the main choice. */
.cr-pick { display: flex; flex-direction: column; gap: 12px; }
.cr-pickrole { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--field-border);
  border-radius: 16px; background: var(--bg-3); cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease; }
.cr-pickrole:hover { border-color: rgba(255, 255, 255, .36); }
.cr-pickrole.is-on { border-color: var(--red); background: rgba(251, 44, 54, .07); }
.cr-pickrole__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cr-pickrole__top > .cr-tag { flex: 0 0 auto; }
.cr-pickrole__t { font-size: 1.06rem; line-height: 1.35; }
.cr-pickrole__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--border); }
@media (max-width: 480px) { .cr-pickrole { padding: 16px; } .cr-pickrole__top { flex-direction: column-reverse; gap: 8px; } }
.cr-main { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 10px;
  border-radius: 100px; border: 1px solid var(--border-2); cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--dim); }
.cr-main > input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .45); background: var(--bg-2); cursor: pointer; }
.cr-main > input:checked { border-color: var(--red); background: var(--red-2); box-shadow: inset 0 0 0 3px var(--bg-2); }
.cr-main--tick > input { border-radius: 5px; }
.cr-main--tick > input:checked { box-shadow: none;
  background: var(--red-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cr-main > input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cr-main:has(> input:checked) { color: var(--text); border-color: var(--red-line); background: var(--red-soft); }

/* Step 6: one group of questions per chosen role. */
.cr-rq { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); }
.cr-rq[hidden] { display: none; }
.cr-rq__h { display: flex; flex-direction: column; gap: 4px; }
.cr-rq__k { color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cr-sub { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 480px) { .cr-rq { padding: 20px 16px; } }

/* Step 8: why we ask about pay. */
.cr-callout { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(251, 44, 54, .3); background: var(--red-soft); color: var(--text); font-weight: 500; }
.cr-callout > svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--red); }

/* Step 11: the CV, dropped or chosen. */
.cr-drop { position: relative; }
.cr-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cr-drop__zone { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 24px; text-align: center;
  border: 2px dashed rgba(255, 255, 255, .26); border-radius: 18px; background: var(--bg-3); cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease; }
.cr-drop__zone:hover, .cr-drop.is-over .cr-drop__zone { border-color: var(--red); background: rgba(251, 44, 54, .06); }
.cr-drop__input:focus-visible + .cr-drop__zone { outline: 2px solid var(--red); outline-offset: 3px; box-shadow: var(--ring); }
.cr-drop.is-checking .cr-drop__zone { border-color: var(--red-line); }
.cr-drop__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--red-soft);
  border: 1px solid rgba(251, 44, 54, .3); color: var(--red); }
.cr-drop__ic svg { width: 28px; height: 28px; }
.cr-drop__t { font-weight: 600; font-size: 1.05rem; }
.cr-drop__s { color: var(--faint); font-size: .9rem; }
.cr-drop__file { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--ok-border); background: var(--ok-bg); }
.cr-drop__file[hidden] { display: none; }
.cr-drop__doc { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, .06); color: var(--text); }
.cr-drop__doc svg { width: 24px; height: 24px; }
.cr-drop__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.cr-drop__name { font-weight: 600; overflow-wrap: anywhere; }
.cr-drop__size { color: var(--dim); font-size: .88rem; }
.cr-drop__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-drop.has-file .cr-drop__zone { display: none; }
.cr-drop.is-bad .cr-drop__zone { border-color: var(--bad-border); background: var(--bad-bg); }
@media (max-width: 520px) { .cr-drop__file { flex-wrap: wrap; } .cr-drop__acts { width: 100%; } .cr-drop__acts .cr-btn { flex: 1 1 0; } }

/* The review: every answer, a section per step, each with its own Edit. */
.cr-review { display: flex; flex-direction: column; gap: 16px; }
.cr-rev { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.cr-rev__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--border); }
.cr-rev__h h3 { font-size: 1rem; }
.cr-rev__dl { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; }
.cr-rev__sub { padding: 16px 20px 0; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; line-height: 1.4; }
.cr-rev__sub + .cr-rev__dl { padding-top: 12px; }
.cr-rev__row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 20px; }
.cr-rev__row dt { color: var(--faint); font-size: .88rem; }
.cr-rev__row dd { color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.cr-rev__row dd.is-none { color: var(--faint); }
@media (max-width: 640px) { .cr-rev__row { grid-template-columns: minmax(0, 1fr); } }

/* The security check, in the form's own frame (the site's one door,
   onflow/human_check.py; the vendor is not named here). */
.cr-check { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface); }
.cr-check[hidden] { display: none; }
.cr-check__t { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: .9rem; }
.cr-check[data-state="passed"] .cr-check__t { color: var(--ok); }
.cr-check[data-state="error"] { border-color: var(--bad-border); }
.cr-check[data-state="error"] .cr-check__t { color: var(--bad); }
.cr-check__box { width: 100%; overflow: hidden; }
.cr-check__cf { transform-origin: 0 0; }
.cr-check__again { align-self: flex-start; }

/* The bot trap: a field no person sees or reaches (aria-hidden, out of the
   Tab order), hidden in place as a 1px clipped box. */
.cr-trap { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; }
.cr-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 32px 28px;
  border-top: 1px solid var(--border); }
.cr-nav__next { margin-left: auto; }
.cr-nav .cr-btn { min-width: 132px; }
@media (max-width: 480px) {
  .cr-nav { padding: 16px 20px 20px; }
  .cr-nav .cr-btn { min-width: 0; }
  .cr-nav__back { flex: 0 0 auto; }
  .cr-nav__next { flex: 1 1 auto; }
}
.cr-resume { display: flex; flex-direction: column; gap: 12px; margin: 24px 32px 0; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--border-2); background: var(--surface-2); }
.cr-resume__t { color: var(--text); font-size: .95rem; }
.cr-resume__acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 480px) { .cr-resume { margin: 20px 20px 0; } }
.cr-alert { margin: 24px 32px 0; }
.cr-alert__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cr-alert[hidden] { display: none; }
@media (max-width: 480px) { .cr-alert { margin: 20px 20px 0; } }

/* ---- Thank-you, privacy, not found ----------------------------------------- */
.cr-done { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 680px;
  margin-inline: auto; }
.cr-done__ic { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-bg);
  border: 1px solid var(--ok-border); color: var(--ok); }
.cr-done__ic svg { width: 36px; height: 36px; }
.cr-ref { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 24px; border-radius: 14px;
  border: 1px dashed var(--border-2); background: var(--surface); }
.cr-ref__k { color: var(--faint); font-size: .82rem; }
.cr-ref__v { font-family: var(--mono); font-size: 1.12rem; font-weight: 600; letter-spacing: .06em; }
.cr-next { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.cr-done__sent { display: flex; flex-direction: column; gap: 12px; color: var(--dim); font-size: 1.04rem; }
.cr-done__sent strong { color: var(--text); }
.cr-nowrap { white-space: nowrap; }
@media (max-width: 560px) { .cr-done { align-items: stretch; } .cr-done__ic, .cr-ref { align-self: center; } }
.cr-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }

/* ---- The site's footer, as markup, for a reader with scripts off ------------
   With scripts, static/site-foot.js draws the one footer of the site in its
   place (footer[data-ofoot-static]); this is only what a crawler and a reader
   without scripts see. */
.cr-foot { margin-top: 64px; border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 32px; }
.cr-foot__in { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px; }
.cr-foot__brand { display: flex; flex-direction: column; gap: 16px; color: var(--dim); font-size: .92rem; }
.cr-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cr-foot__h { font-weight: 700; font-size: .86rem; margin-bottom: 8px; }
.cr-foot ul { display: flex; flex-direction: column; }
.cr-foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); text-decoration: none; font-size: .92rem; }
.cr-foot li a:hover { color: var(--text); }
.cr-foot__bar { margin-top: 32px; color: var(--faint); font-size: .84rem; }
@media (max-width: 860px) { .cr-foot__in { grid-template-columns: minmax(0, 1fr); } .cr-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- No motion for those who ask for none ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .cr-hero__decor, .cr-rail, .cr-nav, .cr-skip { display: none !important; }
  body { background: #fff; color: #000; }
}
