/* ===========================================================================
   Flexira — static site styles
   Hand-authored. No build step, no framework.
   =========================================================================== */

/* --- design tokens -------------------------------------------------------- */
:root {
  --bg:            #fcfcfc;
  --fg:            #0a0a0a;
  --card:          #ffffff;
  --border:        #e5e5e5;
  --muted:         #737373;
  --muted-bg:      #f5f5f5;
  /* The reference design is monochrome — "primary" there is a near-black
     neutral, not the orange from the old theme-color meta. Kept as tokens so
     a brand colour can be dropped back in from one place. */
  --accent:        #171717;
  --accent-dark:   #000000;
  --success:       #2fc48d;
  --star:          #ffb400;
  --dark:          #0a0a0a;
  --dark-2:        #171717;

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --radius:    1rem;
  --radius-sm: 0.625rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.13);

  --header-h: 3.5rem;
  --wrap: 75rem;
}

@media (min-width: 768px) { :root { --header-h: 4rem; } }

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- scroll reveal -------------------------------------------------------- */
/* Mirrors the original: fade up 12px over 500ms ease-out as each block enters
   the viewport. Applied by js/app.js so the markup stays clean. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease-out, transform .5s ease-out;
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* If the browser can't run the observer, never leave content invisible. */
.no-reveal .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }
@media (min-width: 1024px) { .wrap { padding-inline: 3rem; } }

.section { padding-block: 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 4rem; } }
.section--white { background: #fff; }
.section--tint  { background: #fafafa; }

/* Hairline closing a section: inset from both edges and faded at the ends,
   so sections read as separated without a hard full-width rule. */
.section--divider { position: relative; }
.section--divider::after {
  content: ""; position: absolute;
  left: 1rem; right: 1rem; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* Very soft radial wash behind the "why join" cards. */
.section--mesh {
  background-image:
    radial-gradient(at 20% 20%, rgba(0,0,0,.035) 0, transparent 50%),
    radial-gradient(at 80% 80%, rgba(0,0,0,.025) 0, transparent 50%),
    radial-gradient(at 40% 60%, #f5f5f5 0, transparent 50%);
}

.section-head { margin-bottom: 1.75rem; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-sub { color: var(--muted); font-size: .9375rem; margin-top: .375rem; }

/* Centred row for a standalone link or CTA under a section. */
.center-row {
  display: flex; justify-content: center; align-items: center;
  text-align: center; margin-top: 1.25rem;
}
.center-row--lg { margin-top: 2rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8125rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9375rem;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:active { transform: none; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.btn--primary:hover { background: var(--accent-dark); }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }

.btn--ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn--outline { border: 1.5px solid var(--border); background: #fff; }
.btn--outline:hover { border-color: var(--fg); }

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ===========================================================================
   Header
   =========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  position: relative;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .header__inner { padding-inline: 2rem; } }
@media (min-width: 1024px) { .header__inner { padding-inline: 3rem; } }

/* solid state once scrolled, and on inner pages */
.header.is-solid, .header--solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* Brand sits dead-centre of the bar; language switcher left, apply right. */
.brand {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem;
  white-space: nowrap;
}
@media (max-width: 479px) { .brand__sub { display: none; } }

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em;
  white-space: nowrap;
}
@media (min-width: 768px) { .brand__mark { font-size: 1.25rem; } }
.brand__sub {
  font-size: .625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 768px) { .brand__sub { font-size: .6875rem; } }

/* on the transparent hero header everything is white */
.header:not(.is-solid):not(.header--solid) .brand__mark { color: #fff; }
.header:not(.is-solid):not(.header--solid) .brand__sub  { color: rgba(255,255,255,.6); }
.header.is-solid .brand__sub, .header--solid .brand__sub { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: .5rem; }

/* right-hand text button ("Postuler →") + its balancing spacer on inner pages */
.header__spacer { width: 2.5rem; flex: none; }

.header__apply {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: .25rem; flex: none;
  transition: opacity .2s ease;
}
@media (min-width: 768px) { .header__apply { font-size: .875rem; } }
.header__apply:hover { opacity: .7; }
.header:not(.is-solid):not(.header--solid) .header__apply { color: rgba(255,255,255,.92); }
.header.is-solid .header__apply, .header--solid .header__apply { color: var(--fg); }

/* --- language switcher ---------------------------------------------------- */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: .3125rem;
  padding: .5rem .25rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .02em;
  transition: opacity .2s ease;
}
@media (min-width: 768px) { .lang__toggle { font-size: .75rem; } }
.lang__toggle:hover { opacity: .7; }
.header:not(.is-solid):not(.header--solid) .lang__toggle { color: #fff; }
.header.is-solid .lang__toggle, .header--solid .lang__toggle { color: var(--fg); }

.lang__menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 8.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: .3125rem;
  display: none;
  z-index: 60;
}
.lang.is-open .lang__menu { display: block; }
.lang__item {
  display: flex; align-items: center; gap: .5rem;
  width: 100%; padding: .5rem .625rem;
  border-radius: .5rem;
  font-size: .875rem; font-weight: 500;
  text-align: left;
}
.lang__item:hover { background: var(--muted-bg); }
.lang__item[aria-current="true"] { background: var(--muted-bg); font-weight: 700; }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  position: relative;
  min-height: 33rem;
  height: 78svh;
  max-height: 46rem;          /* keeps the hero sane on very tall viewports */
  display: flex; align-items: flex-end;
  background: var(--dark);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 38rem; height: 84svh; max-height: 52rem; } }

.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.35) 100%);
}

.hero__body {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 0 1.25rem 3.25rem;
}
@media (min-width: 768px) { .hero__body { padding: 0 2rem 4.5rem; } }
@media (min-width: 1024px) { .hero__body { padding-inline: 3rem; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
  /* 18ch let "… ce matin ?" drop its question mark onto a line of its own;
     balancing the lines keeps the punctuation with the last word. */
  max-width: 15ch;
  text-wrap: balance;
}
.hero__lede {
  margin-top: .875rem;
  color: rgba(255,255,255,.82);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
}
@media (min-width: 768px) { .hero__lede { font-size: .875rem; } }

.hero__cta { margin-top: 1.75rem; }
.hero__ctasub { margin-top: .75rem; font-size: .75rem; color: rgba(255,255,255,.6); }

.hero__dots { display: flex; gap: .375rem; margin-top: 1.75rem; }
.hero__dot {
  width: 1.75rem; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: background-color .3s ease;
}
.hero__dot.is-active { background: #fff; }

/* ===========================================================================
   Trust bar
   =========================================================================== */
.trustbar { background: #fff; border-bottom: 1px solid var(--border); }
.trustbar__list {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: center;
  padding-block: .875rem;
}
@media (min-width: 768px) { .trustbar__list { gap: .75rem 1.75rem; padding-block: 1rem; } }

.trustbar__item {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 500; color: #404040;
  white-space: nowrap;
}
@media (min-width: 768px) { .trustbar__item { font-size: .8125rem; gap: .4375rem; } }
.trustbar__item svg { flex: none; color: var(--success); }
.trustbar__item--star svg { color: var(--star); }

/* ===========================================================================
   Live figures band  ("En direct")
   Markup comes from js/app.js and only exists when CFG.liveFigures is filled.
   =========================================================================== */
.livebar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
  text-align: center;
}
.livebar[hidden] { display: none; }

.livebar__now {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  justify-content: center; gap: .5rem;
  font-size: .8125rem; color: #404040;
}
.livebar__now b { font-weight: 700; color: var(--fg); }

.livebar__pulse {
  width: .4375rem; height: .4375rem; border-radius: 50%;
  background: #e11d48; flex: none;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, .5);
  animation: livepulse 2s ease-out infinite;
}
@keyframes livepulse {
  70%  { box-shadow: 0 0 0 .5rem rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
.livebar__live {
  font-size: .625rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #e11d48;
}

/* Overlapping initials, the way a crowd of avatars reads. */
.livebar__faces { display: flex; justify-content: center; margin-top: .875rem; }
.livebar__face {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: #fff;
  background: var(--dark-2);
  border: 2px solid #fff;
  margin-left: -.5rem;
}
.livebar__face:first-child { margin-left: 0; }
.livebar__face:nth-child(2n)   { background: #4b5563; }
.livebar__face:nth-child(3n)   { background: #6b7280; }
.livebar__face--img { object-fit: cover; background: var(--muted-bg); }

.livebar__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem 1.25rem;
  margin-top: .75rem;
  font-size: .75rem; color: var(--muted);
}
.livebar__stat { display: inline-flex; align-items: center; gap: .375rem; }
.livebar__stat b { font-weight: 700; color: var(--fg); }
.livebar__bullet { width: .375rem; height: .375rem; border-radius: 50%; flex: none; }
.livebar__bullet--a { background: var(--success); }
.livebar__bullet--b { background: var(--accent); }

/* ===========================================================================
   Recruiting strip  (dark, full-bleed)
   =========================================================================== */
.urgency { background: var(--dark); color: #fff; }
.urgency[hidden] { display: none; }
.urgency__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .875rem;
}
.urgency__count { font-size: .875rem; font-weight: 500; }
.urgency__count b { font-weight: 700; }
.urgency__sub {
  font-size: .6875rem; color: rgba(255,255,255,.55);
  letter-spacing: .04em; margin-top: .0625rem;
}
.urgency__online {
  display: inline-flex; align-items: center; gap: .4375rem;
  font-size: .75rem; color: rgba(255,255,255,.75);
  white-space: nowrap; flex: none;
}
.urgency__online b { color: #fff; font-weight: 700; }
.urgency__dot {
  width: .4375rem; height: .4375rem; border-radius: 50%;
  background: var(--success); flex: none;
}
@media (min-width: 768px) {
  .urgency__count { font-size: 1rem; }
  .urgency__online { font-size: .8125rem; }
}

/* ===========================================================================
   "Ils travaillent près de chez vous"
   =========================================================================== */
.section-head--center { text-align: center; }
#cityworkers-section[hidden] { display: none; }

.cw__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem 1rem;
}
@media (min-width: 768px) { .cw__grid { gap: 2rem 1.5rem; } }

.cw {
  width: 4.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .cw { width: 5.5rem; } }

.cw__face {
  width: 4rem; height: 4rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.375rem; font-weight: 700; color: #fff;
  background: var(--dark-2);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e5e5e5;   /* white rim + outer ring */
  margin-bottom: .625rem;
}
.cw:nth-child(3n)   .cw__face { background: #4b5563; }
.cw:nth-child(3n+1) .cw__face { background: #6b7280; }
.cw__face--img { object-fit: cover; background: var(--muted-bg); }
.cw:nth-child(3n) .cw__face--img,
.cw:nth-child(3n+1) .cw__face--img { background: var(--muted-bg); }
.cw:hover .cw__face--img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #a3a3a3; }

.cw figcaption { display: flex; flex-direction: column; gap: .0625rem; }
.cw__name { font-size: .75rem; font-weight: 600; }
.cw__city { font-size: .625rem; color: var(--muted); }
.cw__rate { font-size: .625rem; font-weight: 600; color: var(--accent); }
@media (min-width: 768px) {
  .cw__name { font-size: .8125rem; }
  .cw__city, .cw__rate { font-size: .6875rem; }
}

/* ===========================================================================
   Mission carousel
   =========================================================================== */
.missions__count { color: var(--muted); font-size: .875rem; margin-top: .375rem; }
.missions__count b { color: var(--accent); font-weight: 700; }
@media (min-width: 768px) { .missions__count { font-size: 1rem; } }

.mcarousel {
  display: flex; gap: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  /* soften both edges so the cut-off card reads as "scrollable" */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 48px), transparent 100%);
}
.mcarousel::-webkit-scrollbar { display: none; }

/* From tablet up the four types sit side by side and fill the row, as in the
   reference — fixed-width cards left a dead gap on the right. The swipeable
   carousel is a phone-only affordance. */
@media (min-width: 768px) {
  .mcarousel {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    overflow: visible; padding-bottom: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .mcarousel .mcard { flex: initial; max-width: none; width: auto; }
  .mcarousel__dots { display: none; }
}

.mcard {
  flex: 0 0 260px; max-width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #f0f0f0; border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  text-align: left;
  align-self: flex-start;      /* collapsed cards must not stretch to the open one */
  transition: box-shadow .3s ease, border-color .3s ease;
}
@media (min-width: 768px) { .mcard { padding: 1.5rem; } }
.mcard:hover { box-shadow: var(--shadow); border-color: #e0e0e0; }
.mcard.is-open { border-color: rgba(0,0,0,.22); box-shadow: var(--shadow-lg); }

/* Card internals are <span>s (they live inside a <button>), so each one has to
   be told to behave as a block — otherwise title and rate run together. */
.mcard__head {
  display: flex; align-items: center; gap: .75rem;
  width: 100%; text-align: left; padding: 0;
}
.mcard__chev { transition: transform .2s ease; }
.mcard__head[aria-expanded="true"] .mcard__chev { transform: rotate(90deg); }

.mcard__detail { padding-top: .75rem; }
.mcard__detail[hidden] { display: none; }
.mcard__apply { width: 100%; margin-top: 1rem; }
.mcard__tile {
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: .75rem;
  display: grid; place-items: center;
}
@media (min-width: 768px) { .mcard__tile { width: 3.5rem; height: 3.5rem; border-radius: 1rem; } }

/* one tint per mission type, mirroring the original */
.mcard__tile--orders          { background: #f3f4f6; color: #4b5563; }
.mcard__tile--customerService { background: #dbeafe; color: #2563eb; }
.mcard__tile--data            { background: #d1fae5; color: #059669; }
.mcard__tile--moderation      { background: #ede9fe; color: #7c3aed; }

.mcard__body { display: block; flex: 1; min-width: 0; }
.mcard__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: .9375rem; line-height: 1.25;
}
.mcard__rate { display: block; font-weight: 700; font-size: .875rem; margin-top: .1875rem; }
.mcard__rate span { display: inline; font-size: .75rem; font-weight: 500; color: var(--muted); }
.mcard__chev { color: #a3a3a3; flex: none; }

.mcard__desc { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.mcard .tags { display: flex; margin-top: .75rem; }

.mcarousel__dots { display: flex; justify-content: center; gap: .3125rem; }
.mcarousel__dot {
  width: .375rem; height: .375rem; border-radius: 50%;
  background: #d4d4d4; transition: background-color .25s ease, width .25s ease;
}
.mcarousel__dot.is-active { background: var(--fg); width: 1.125rem; border-radius: 3px; }

/* ===========================================================================
   How it works — 3 numbered steps with arrows
   =========================================================================== */
.steps3 {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: .25rem;
}
@media (min-width: 768px) { .steps3 { gap: 2rem; } }
@media (min-width: 1024px) { .steps3 { gap: 4rem; } }

.step3 {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.step3__tile {
  position: relative;
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: var(--muted-bg); color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: .5rem;
}
@media (min-width: 768px) { .step3__tile { width: 5rem; height: 5rem; border-radius: 1.5rem; margin-bottom: 1rem; } }

.step3__num {
  position: absolute; top: -.375rem; right: -.375rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .625rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .step3__num { width: 1.75rem; height: 1.75rem; top: -.5rem; right: -.5rem; font-size: .875rem; } }

.step3__title { font-size: .75rem; font-weight: 700; margin-bottom: .125rem; }
@media (min-width: 768px) { .step3__title { font-size: 1rem; } }
@media (min-width: 1024px) { .step3__title { font-size: 1.125rem; } }
.step3__desc { font-size: .6875rem; color: var(--muted); }
@media (min-width: 768px) { .step3__desc { font-size: .875rem; } }

.step3__arrow {
  display: flex; align-items: center; color: #d4d4d4;
  flex: none; padding-top: 1rem;
}
@media (min-width: 768px) { .step3__arrow { padding-top: 2rem; } }

.tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.tag {
  font-size: .6875rem; font-weight: 600;
  padding: .1875rem .5rem; border-radius: var(--radius-pill);
  background: var(--muted-bg); color: #525252;
}

/* --- filter chips --------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip {
  padding: .4375rem .875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: .8125rem; font-weight: 600; color: #525252;
  transition: all .18s ease;
}
.chip:hover { border-color: #a3a3a3; }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ===========================================================================
   Income simulator
   =========================================================================== */
/* No card here: the white tiles need a tinted field behind them to read, so
   the section itself carries a soft top-to-bottom wash and .sim is bare. */
.section--sim { background: linear-gradient(180deg, #f3f3f4 0%, #fbfbfb 65%, #fcfcfc 100%); }
.sim { background: none; border: 0; padding: 0; }

.sim .field__label,
.sim .simhours__label { font-size: .875rem; font-weight: 700; color: #333; }
@media (min-width: 768px) { .sim .field__label, .sim .simhours__label { font-size: .9375rem; } }

.sim__title { display: flex; align-items: center; gap: .5rem; }
.sim__title svg { color: var(--fg); flex: none; }

/* --- mission type picker: four selectable cards ---------------------------- */
.simtypes {
  display: grid; gap: .625rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) { .simtypes { grid-template-columns: repeat(4, 1fr); } }

.simtype {
  display: grid; place-items: center;
  min-height: 4.5rem;
  padding: 1rem .75rem;
  border: 1px solid #ececec; border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  font-size: .8125rem; font-weight: 600; line-height: 1.3;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) { .simtype { min-height: 5.5rem; padding: 1.25rem 1rem; font-size: .875rem; } }
.simtype:hover { border-color: #d4d4d4; }
.simtype[aria-pressed="true"] {
  background: var(--dark-2); border-color: var(--dark-2); color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

/* --- hours slider ---------------------------------------------------------- */
.simhours__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: .625rem;
}
.simhours__label { font-size: .875rem; font-weight: 600; }
.simhours__value { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.simhours__scale {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--muted); margin-top: .375rem;
}

/* Grey track, white knob with a ring and a soft halo — no coloured fill, which
   is what the reference shows. Fully custom so Chrome/Firefox/Safari agree. */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 1.75rem;
  background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: .375rem; border-radius: 999px; background: #e3e3e3;
}
.range::-moz-range-track {
  height: .375rem; border-radius: 999px; background: #e3e3e3;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.75rem; height: 1.75rem; margin-top: -.6875rem;
  border-radius: 50%; background: #fff;
  border: 2px solid #2b2b2b;
  box-shadow: 0 0 0 5px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.15);
}
.range::-moz-range-thumb {
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: #fff;
  border: 2px solid #2b2b2b;
  box-shadow: 0 0 0 5px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.15);
}
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0,0,0,.18); }
.range:focus-visible::-moz-range-thumb     { box-shadow: 0 0 0 5px rgba(0,0,0,.18); }

/* --- three result tiles ---------------------------------------------------- */
.simout {
  display: grid; gap: .625rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.75rem;
}
.simout__tile {
  border: 1px solid #ececec; border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  padding: 1.25rem .75rem 1.5rem;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) { .simout__tile { padding: 1.5rem 1rem 1.75rem; } }
/* The active tile is a dark gradient, not flat black. */
.simout__tile.is-active {
  background: linear-gradient(140deg, #1c1c1e 0%, #3a3a3d 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.simout__label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.simout__tile.is-active .simout__label { color: rgba(255,255,255,.7); }
.simout__val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.75rem; line-height: 1.2; margin-top: .5rem;
}
@media (min-width: 768px) { .simout__val { font-size: 2.25rem; } }

.sim__cta { text-align: center; margin-top: 1.75rem; }

.field { margin-bottom: 1.125rem; }
.field__label {
  display: block; font-size: .8125rem; font-weight: 600;
  margin-bottom: .4375rem; color: #404040;
}
.field__hint { font-size: .75rem; color: var(--muted); margin-top: .3125rem; }

.input, .select, .textarea {
  width: 100%;
  padding: .75rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .9375rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--fg);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #dc2626; }

/* ===========================================================================
   Reviews
   =========================================================================== */
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 1rem; height: 1rem; }
.stars--sm svg { width: .8125rem; height: .8125rem; }

/* --- rating summary card -------------------------------------------------- */
.rvsummary {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1rem; margin-bottom: 1.5rem;
  max-width: 36rem;
  display: flex; align-items: center; gap: 1rem;
}
@media (min-width: 768px) { .rvsummary { padding: 1.5rem; gap: 1.5rem; margin-bottom: 2rem; } }

.rvsummary__score {
  text-align: center; flex: none;
  padding-right: 1rem; border-right: 1px solid #f0f0f0;
}
@media (min-width: 768px) { .rvsummary__score { padding-right: 1.5rem; } }
.rvsummary__num { font-size: 1.875rem; font-weight: 700; line-height: 1; }
@media (min-width: 768px) { .rvsummary__num { font-size: 2.25rem; } }
.rvsummary__stars { margin-top: .375rem; display: flex; justify-content: center; }

.rvsummary__bars { flex: 1; min-width: 0; display: grid; gap: .1875rem; }
.rvbar { display: flex; align-items: center; gap: .5rem; font-size: .6875rem; color: var(--muted); }
.rvbar__n { width: .75rem; text-align: right; flex: none; }
.rvbar__star { color: var(--star); display: flex; flex: none; }
.rvbar__star svg { width: .75rem; height: .75rem; }
/* both are <span>s — force block so height/width actually apply */
.rvbar__track {
  display: block; flex: 1;
  height: .375rem; border-radius: 3px;
  background: var(--muted-bg); overflow: hidden;
}
.rvbar__fill { display: block; height: 100%; background: var(--star); border-radius: 3px; }
.rvbar__pct { width: 2.25rem; text-align: right; flex: none; font-variant-numeric: tabular-nums; }

/* --- featured carousel ---------------------------------------------------- */
.rvfeat { margin-bottom: 1.5rem; }
.rvfeat__track {
  display: flex; gap: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .25rem;
  scrollbar-width: none;
}
.rvfeat__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .rvfeat__track { gap: 1.25rem; } }

.rvfeat__card {
  position: relative;
  flex: 0 0 85%; scroll-snap-align: center;
  background: #fff; border: 1px solid #f0f0f0; border-radius: 1rem;
  padding: 1.125rem;
  display: flex; flex-direction: column; gap: .625rem;
}
@media (min-width: 768px) { .rvfeat__card { flex-basis: calc(33.333% - .875rem); padding: 1.375rem; } }

/* decorative quote mark, top-right */
.rvfeat__quote {
  position: absolute; top: 1rem; right: 1rem;
  color: #ececec; display: block; pointer-events: none;
}

.rvfeat__head { display: flex; align-items: center; gap: .625rem; padding-right: 2rem; }
.rvfeat__avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none;
  object-fit: cover; background: var(--muted-bg);
  display: grid; place-items: center;
  font-weight: 700; font-size: .875rem; color: #525252;
  overflow: hidden;
}
.rvfeat__avatar img { width: 100%; height: 100%; object-fit: cover; }

.rvfeat__name {
  display: flex; align-items: center; gap: .3125rem;
  font-weight: 700; font-size: .875rem;
}
.rvfeat__check { color: #9ca3af; display: flex; }
.rvfeat__sub { font-size: .75rem; color: var(--muted); }

.rvfeat__rating { display: flex; align-items: center; gap: .5rem; }
.rvfeat__time { font-size: .75rem; color: var(--muted); }

/* clamp the body to keep every card the same height */
.rvfeat__text {
  font-size: .8125rem; color: #404040; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
  overflow: hidden;
}
@media (min-width: 768px) { .rvfeat__text { font-size: .875rem; } }

.rvfeat__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-top: auto; padding-top: .25rem;
  font-size: .75rem;
}
.rvfeat__verified { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); }
.rvfeat__more {
  display: inline-flex; align-items: center; gap: .25rem;
  font-weight: 600; color: var(--fg); white-space: nowrap;
}
.rvfeat__more:hover { color: var(--accent); }

.rvfeat__dots { display: flex; justify-content: center; gap: .25rem; margin-top: .5rem; }
.rvfeat__dot {
  width: .375rem; height: .375rem; border-radius: 50%;
  background: #d4d4d4; transition: background-color .25s ease, width .25s ease;
}
.rvfeat__dot.is-active { background: var(--fg); width: 1rem; border-radius: 3px; }

/* --- stacked review list -------------------------------------------------- */
.rvlist {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 1rem;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .rvlist { padding-inline: 1.5rem; } }
.rvlist:empty { display: none; }

.rvrow {
  display: flex; gap: .75rem;
  padding-block: .875rem;
  border-bottom: 1px solid #f5f5f5;
}
@media (min-width: 768px) { .rvrow { gap: 1rem; padding-block: 1rem; } }
.rvrow:last-child { border-bottom: 0; }

.rvrow__avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none;
  background: var(--muted-bg); color: #525252;
  display: grid; place-items: center; font-weight: 700; font-size: .8125rem;
}
.rvrow__avatar--img { object-fit: cover; }
.rvrow__body { flex: 1; min-width: 0; }
.rvrow__head { display: flex; align-items: center; flex-wrap: wrap; gap: .375rem .5rem; }
.rvrow__name { font-weight: 700; font-size: .8125rem; }
.rvrow__meta { font-size: .6875rem; color: var(--muted); }
.rvrow__text { font-size: .8125rem; color: #404040; margin-top: .3125rem; }
@media (min-width: 768px) { .rvrow__text { font-size: .875rem; } }
.rvrow__foot { display: flex; align-items: center; gap: .5rem; margin-top: .375rem; }

.badge-verified {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .625rem; font-weight: 700;
  color: #0f8a5f; background: #e7f8f1;
  padding: .125rem .4375rem; border-radius: var(--radius-pill);
}

/* --- links + closing CTA -------------------------------------------------- */
.rvlink {
  display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
  font-size: .875rem; font-weight: 600; color: var(--fg);
}
.rvlink:hover { color: var(--accent); }

.rvcta {
  margin-top: 1.5rem;
  border-radius: 1rem; padding: 1.25rem; text-align: center;
  background: linear-gradient(to right, #f6f6f6, #ededed);
}
@media (min-width: 768px) { .rvcta { padding: 2rem; } }
.rvcta__text { font-size: .875rem; font-weight: 700; margin-bottom: .75rem; }
@media (min-width: 768px) { .rvcta__text { font-size: 1rem; } }

/* horizontally scrollable chip rows (mission + city filters) */
.chips--scroll {
  flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; padding-bottom: .25rem;
  margin-bottom: .625rem;
}
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { flex: none; }
@media (min-width: 768px) { .chips--scroll { flex-wrap: wrap; overflow-x: visible; } }

/* --- empty state ---------------------------------------------------------- */
.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty__icon { color: #d4d4d4; margin: 0 auto .875rem; }
.empty__title { font-weight: 700; color: var(--fg); font-size: 1rem; margin-bottom: .375rem; }
.empty__text { font-size: .875rem; max-width: 34rem; margin-inline: auto; }

/* ===========================================================================
   "Why join" feature grid
   =========================================================================== */
/* Two up on phones, three from tablet — as in the reference. */
.grid-why { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-why { gap: 1.25rem; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-why { gap: 1.5rem; } }

.why {
  background: #fff;
  border: 1px solid rgba(229,229,229,.8); border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  transition: border-color .2s ease;
}
@media (min-width: 768px)  { .why { padding: 1.5rem; } }
@media (min-width: 1024px) { .why { padding: 2rem; } }
.why:hover { border-color: var(--border); }

.why__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: .75rem;
  display: grid; place-items: center;
  margin-bottom: .75rem;
}
@media (min-width: 768px) {
  .why__icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1rem; }
  .why__icon svg { width: 1.75rem; height: 1.75rem; }
}

/* Fixed tint order, matching the reference card-for-card. */
.why--1 .why__icon { background: #fef3c7; color: #d97706; }
.why--2 .why__icon { background: #dbeafe; color: #2563eb; }
.why--3 .why__icon { background: #d1fae5; color: #059669; }
.why--4 .why__icon { background: #ede9fe; color: #7c3aed; }
.why--5 .why__icon { background: #ffe4e6; color: #e11d48; }
.why--6 .why__icon { background: #cffafe; color: #0891b2; }

.why__title { font-weight: 700; font-size: .875rem; }
.why__desc { font-size: .75rem; color: var(--muted); margin-top: .25rem; line-height: 1.6; }
@media (min-width: 768px) {
  .why__title { font-size: 1rem; }
  .why__desc { font-size: .875rem; }
}
@media (min-width: 1024px) { .why__title { font-size: 1.125rem; } }

/* ===========================================================================
   FAQ accordion
   =========================================================================== */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 0;
  font-weight: 600; font-size: .9375rem; text-align: left;
}
@media (min-width: 768px) { .faq__q { font-size: 1rem; } }
.faq__icon { flex: none; color: var(--muted); transition: transform .25s ease; display: inline-flex; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { font-size: .875rem; color: var(--muted); padding-bottom: 1.125rem; }

/* ===========================================================================
   Footer
   =========================================================================== */
.footer {
  background: #0a0a0a; color: rgba(255,255,255,.6);
  padding: 2.5rem 0 6.5rem;
  font-size: .8125rem;
}
@media (min-width: 768px) { .footer { padding: 4rem 0 4rem; } }
/* Centred stack: brand, trust line, language row, rule, legal links, © */
.footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; text-align: center;
}
.footer__brandrow {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: center; gap: .5rem;
}
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: #fff; }
@media (min-width: 768px) { .footer__brand { font-size: 1.25rem; } }
.footer__sub { color: rgba(255,255,255,.55); font-size: .875rem; }

.footer__badge { color: rgba(255,255,255,.4); font-size: .75rem; }
@media (min-width: 768px) { .footer__badge { font-size: .875rem; } }
.footer__badge a {
  color: rgba(255,255,255,.6);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,.25);
}
.footer__badge a:hover { color: #fff; text-decoration-color: rgba(255,255,255,.6); }

.footer__langs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .375rem;
}
.footer__globe { color: rgba(255,255,255,.3); margin-right: .25rem; display: flex; }
.footer__lang {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .375rem .75rem; border-radius: .5rem;
  font-size: .75rem; color: rgba(255,255,255,.5);
  transition: color .2s ease, background .2s ease;
}
@media (min-width: 768px) { .footer__lang { padding: .5rem 1rem; font-size: .875rem; } }
.footer__lang:hover { color: #fff; background: rgba(255,255,255,.05); }
.footer__lang[aria-current="true"] {
  background: rgba(255,255,255,.16); color: #fff; font-weight: 600;
  box-shadow: 0 0 12px rgba(255,255,255,.12);
}

.footer__rule { width: 3rem; height: 1px; background: rgba(255,255,255,.1); }
@media (min-width: 768px) { .footer__rule { width: 5rem; } }

.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; }
@media (min-width: 768px) { .footer__nav { gap: .75rem 2.5rem; } }
.footer__nav a { color: rgba(255,255,255,.5); }
.footer__nav a:hover { color: #fff; }
.footer__legal { font-size: .75rem; color: rgba(255,255,255,.25); line-height: 1.7; }

/* ===========================================================================
   Sticky bottom CTA
   =========================================================================== */
.stickycta {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--border);
  padding: .625rem 1.25rem calc(.625rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .35s ease;
}
.stickycta.is-visible { transform: translateY(0); }
/* Centred, never stretched edge-to-edge — the reference shows a contained
   button sitting in the middle of the bar. */
.stickycta__inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
}
.stickycta .btn { flex: 0 1 auto; min-width: 14rem; max-width: 100%; }
@media (min-width: 768px) { .stickycta .btn { min-width: 20rem; } }

/* ===========================================================================
   Modal + application form
   =========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 640px) { .modal { align-items: center; padding: 1.5rem; } }
.modal.is-open { display: flex; }

.modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.modal__panel {
  position: relative;
  background: #fff;
  width: 100%; max-width: 30rem;
  max-height: 92svh; overflow-y: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: rise .28s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 640px) { .modal__panel { border-radius: var(--radius); } }
@keyframes rise { from { transform: translateY(2rem); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.modal__step { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.modal__close { color: var(--muted); padding: .25rem; border-radius: 50%; }
.modal__close:hover { background: var(--muted-bg); color: var(--fg); }

.steps { display: flex; gap: .375rem; margin-bottom: 1.25rem; }
.steps__bar { flex: 1; height: 3px; border-radius: 2px; background: var(--border); }
.steps__bar.is-done { background: var(--accent); }

/* --- popup step 1: mission picker, hours, estimate ------------------------ */
.applyq { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }

.choice { display: grid; gap: .625rem; }
.choice__opt {
  display: flex; align-items: center; gap: .875rem;
  width: 100%; padding: 1rem 1.125rem;
  border: 1.5px solid var(--border); border-radius: .875rem;
  background: #fff; text-align: left;
  transition: border-color .18s ease, background-color .18s ease;
}
.choice__opt:hover { border-color: #a3a3a3; }
.choice__opt[aria-pressed="true"] { border-color: var(--fg); background: #fafafa; }

/* radio dot: hollow ring until picked, filled with a tick once it is */
.choice__radio {
  width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%;
  border: 2px solid #d4d4d4; background: #fff;
  display: grid; place-items: center; color: transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.choice__opt[aria-pressed="true"] .choice__radio {
  background: var(--fg); border-color: var(--fg); color: #fff;
}
.choice__label { font-weight: 500; font-size: .9375rem; }

.applyhours { margin-top: 1.5rem; }
.applyhours__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: .625rem;
}
.applyhours__label { font-size: .9375rem; font-weight: 600; }
.applyhours__value { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }

/* Filled variant of the slider: dark up to the knob. The stop is written by
   js/app.js into --fill on the element. */
.range--filled::-webkit-slider-runnable-track {
  background: linear-gradient(to right,
    var(--fg) 0 var(--fill, 0%), #e3e3e3 var(--fill, 0%) 100%);
}
.range--filled::-moz-range-track    { background: #e3e3e3; }
.range--filled::-moz-range-progress { background: var(--fg); height: .375rem; border-radius: 999px; }

.applyest {
  margin-top: 1.125rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857;
  border-radius: .75rem; padding: .8125rem 1rem;
  font-weight: 700; font-size: .9375rem; line-height: 1.5;
}
.applyest[hidden] { display: none; }

.applywho {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .875rem; font-size: .8125rem; color: var(--muted);
}
.applywho__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22c55e; flex: none; }

.applygo { margin-top: 1.5rem; border-radius: 1rem; }
.btn--grad {
  background: linear-gradient(140deg, #1c1c1e 0%, #3a3a3d 100%);
  color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.btn--grad:hover { background: linear-gradient(140deg, #000 0%, #2b2b2d 100%); }

.check { display: flex; gap: .625rem; align-items: flex-start; font-size: .75rem; color: var(--muted); line-height: 1.55; }
.check input { margin-top: .1875rem; accent-color: var(--accent); flex: none; width: 1rem; height: 1rem; }

.form-error { color: #dc2626; font-size: .75rem; margin-top: .375rem; }
.form-alert {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: .75rem .875rem; border-radius: var(--radius-sm);
  font-size: .8125rem; margin-bottom: 1rem;
}

.success { text-align: center; padding: .5rem 0 .25rem; }
.success__icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem;
  border-radius: 50%; background: #e7f8f1; color: #0f8a5f;
  display: grid; place-items: center;
}
.success__title { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }
.success__text { color: var(--muted); font-size: .875rem; margin-top: .5rem; }
.success__ref {
  display: inline-block; margin-top: 1rem;
  font-family: ui-monospace, Menlo, monospace; font-size: .8125rem;
  background: var(--muted-bg); padding: .4375rem .875rem; border-radius: var(--radius-sm);
}

/* ===========================================================================
   Inner pages (legal + testimonials)
   =========================================================================== */
.page { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem; }
.page__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: 2rem;
}
.prose { max-width: 48rem; }
.prose h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; margin: 2rem 0 .625rem;
}
.prose p { color: #404040; font-size: .9375rem; margin-bottom: .875rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.backlink {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 600; color: var(--muted);
  margin-bottom: 1.5rem;
}
.backlink:hover { color: var(--fg); }

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.toolbar .input { flex: 1 1 16rem; }
.toolbar .select { flex: 0 0 auto; width: auto; }

.results-count { font-size: .8125rem; color: var(--muted); margin-bottom: 1rem; }
