/* jobs — base theme
   Priorities (see CLAUDE.md): trustworthy/clean, fast, NO emoji (SVG icons only),
   NO layout shift from ads (slots reserve height), MOBILE-FIRST + responsive.
   Palette: professional blue/teal + green "hiring" accents — reads as a real job site. */

:root {
  --bg: #f4f7fb;
  --bg-2: #e8eef7;
  --card: #ffffff;
  --ink: #14203a;
  --ink-soft: #55607a;
  --brand: #0b57d0;
  --brand-2: #2f8bff;
  --brand-dark: #063e9c;
  --brand-tint: #e7f0ff;
  --good: #0e9f6e;
  --good-tint: #e6f7f0;
  --warn: #e8730c;
  /* ---- CTA accent (added 2026-08-14) ----------------------------------------
   * The primary action button is deliberately NOT the brand blue. The whole page is blue —
   * background wash, hero gradient, logo, links, progress bar — so a blue button had almost no
   * isolation from its surroundings, and isolation (von Restorff) is what actually drives clicks;
   * hue on its own does not. Warm orange is the highest-contrast action colour against this
   * palette, it is the hi-vis/site-signage colour this audience reads as "go" every day, and it
   * carries none of red's error/danger connotation. Blue stays the TRUST colour (brand, links,
   * secondary buttons); orange is reserved for the one thing we want tapped on a page.
   * The label is near-black on vivid orange, NOT white on dark orange (the Amazon buy-button
   * pattern). White text forces the fill down to a muddy brick (#C2410C) to reach 4.5:1; dark ink
   * on a vivid fill reaches 6.5-7.8:1 AND keeps the colour energetic. Do not switch the label to
   * white without darkening the fill again — white on #F97316 is 2.8:1 and fails outright. */
  --cta: #FF8A1F;          /* light stop */
  --cta-2: #F97316;        /* dark stop  */
  --cta-ink: #221100;      /* label — 7.76:1 / 6.52:1 on the two stops (WCAG AA, comfortably) */
  --cta-dark: #8F3007;     /* the 3D lip + border: 7.53:1 against the page, so the button's
                              BOUNDARY carries the 3:1 non-text contrast, not the fill */
  /* Filled ANSWER rows (.pick / .usa-opt). Blue, so the orange CTA stays the only orange thing
     the visitor meets. Both stops clear 4.5:1 against white text (#2f8bff would NOT — 3.36:1 —
     so the row gradient deliberately starts darker than the hero's). */
  --pick: #0b57d0;         /* dark stop  — white text 6.39:1 */
  --pick-2: #1a6fdb;       /* light stop — white text 4.84:1 */
  --pick-dark: #073f9b;    /* the 3D lip */
  --line: #e2e8f2;
  --radius: 18px;
  --maxw: 680px;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(20, 32, 58, .07), 0 1px 2px rgba(20, 32, 58, .06);
  --shadow: 0 8px 24px rgba(20, 32, 58, .10);
  --shadow-lg: 0 24px 60px rgba(20, 32, 58, .22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1100px 500px at 50% -8%, var(--bg-2), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 66px;                  /* room for sticky anchor ad */
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 10px clamp(13px, 4vw, 20px) 40px; }

/* ---------- Header / logo ---------- */
.site-head { padding: 14px clamp(13px, 4vw, 20px) 6px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; transition: transform .08s; }
.brand:active { transform: scale(.98); }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(11, 87, 208, .28)); }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name { color: var(--brand-dark); font-weight: 800; font-size: clamp(19px, 5vw, 24px); letter-spacing: -.3px; }
.brand-tag { margin-top: 3px; font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-2); }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.3px; }
h1 { font-size: clamp(24px, 6vw, 32px); line-height: 1.16; margin: 4px 0 10px; }
h2 { font-size: clamp(20px, 4.6vw, 25px); margin: 2px 0 10px; }
h3 { font-size: clamp(16px, 3.6vw, 18px); margin: 18px 0 8px; }
.lead { font-size: clamp(16px, 3.6vw, 19px); color: var(--ink-soft); margin: 0 0 12px; }
.micro { font-size: 13px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; }
.micro svg { color: var(--good); }

/* ---------- Hero card (landing + home) ---------- */
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin: 12px 0 4px;
}
.hero-banner { margin: 0; aspect-ratio: 20 / 11; background: #dde6f4; line-height: 0; }
.hero-banner svg { width: 100%; height: 100%; display: block; }
.hero-body { padding: clamp(18px, 5vw, 26px); }
.home-hero { text-align: center; background: linear-gradient(145deg, var(--brand-2) 0%, var(--brand) 60%, var(--brand-dark) 100%); border: none; color: #fff; }
.home-hero h1 { color: #fff; }
.home-hero .lead { color: rgba(255, 255, 255, .92); }

/* Brand lockup inside the home hero (replaces the old top logo bar — single brand moment) */
.hero-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-brand-badge { display: inline-flex; padding: 7px; background: #fff; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 32, 66, .22); }
.hero-brand-badge .logo-mark { width: 34px; height: 34px; display: block; }
.hero-brand-name { font-weight: 800; font-size: clamp(17px, 4.6vw, 22px); letter-spacing: -.2px; color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px;
  letter-spacing: .3px; text-transform: uppercase; color: var(--brand);
  background: var(--brand-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 10px;
}
.hero-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: var(--shadow-sm), inset 0 0 0 3px rgba(255, 255, 255, .22);
}
.home-hero .hero-icon { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }

/* ---------- Editorial byline (trust + anti-thin-doorway) ---------- */
.byline { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; color: var(--ink-soft); }
.byline-av { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); flex: 0 0 auto; }
.home-hero .byline { color: rgba(255, 255, 255, .9); }
.home-hero .byline-av { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-soft); margin: 2px 0 12px; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb .bc-sep { display: inline-flex; color: var(--ink-soft); opacity: .6; }
.breadcrumb [aria-current] { font-weight: 700; color: var(--ink); }

/* ---------- Home search ---------- */
.home-search { position: relative; margin: 16px auto 4px; max-width: 460px; }
.home-search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.home-search input {
  width: 100%; padding: 15px 16px 15px 48px; font-size: 16px; border-radius: 14px;
  border: none; box-shadow: var(--shadow); background: #fff; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.home-search input:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.no-results { text-align: center; color: var(--ink-soft); font-weight: 600; margin: 18px 0; }

/* Popular-searches quick links under the home hero — internal links to the funnel entry points
   (SEO + discovery). Keep this in sync when a funnel is added/removed (see CLAUDE.md home-lander rule). */
.quick-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 10px auto 4px; max-width: 720px; }
.quick-links-label { color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.quick-links a {
  font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none;
  padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
  transition: border-color .12s, background .12s;
}
.quick-links a:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Trust row (home) ---------- */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0 4px; }
.trust-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.trust-item svg { color: var(--good); }

/* ---------- Hero stat grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 18px; }
.stat {
  display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 14px;
  min-height: 84px; background: var(--brand-tint); border-radius: 14px; border: 1px solid var(--line);
}
.stat-ic { color: var(--brand); }
.stat-v { font-weight: 800; font-size: clamp(15px, 3.6vw, 17px); color: var(--ink); }
.stat-k { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Content blocks ---------- */
.content-block { margin: 22px 0; }
.content-block.intro p { font-size: clamp(16px, 3.6vw, 18px); color: var(--ink-soft); }
.content-block.tight { margin: 8px 0 14px; }
.content-block p { margin: 0 0 12px; }
.ticks { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks li svg { color: var(--good); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Role list + related searches (the money rows) ---------- */
.role-list { display: grid; gap: 10px; margin: 8px 0; }
.role-row, .rs-row {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; min-height: 58px; box-shadow: var(--shadow-sm);
  transition: border-color .14s, box-shadow .14s, transform .06s, background .14s;
}
.role-row:hover, .rs-row:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.role-row:active, .rs-row:active { transform: scale(.995); }
.role-ic, .rs-ico { flex: 0 0 auto; display: inline-flex; color: var(--brand); }
.role-main { flex: 1 1 auto; display: flex; flex-direction: column; }
.role-title { font-weight: 700; font-size: clamp(15px, 3.8vw, 17px); }
.role-pay { font-size: 13px; color: var(--good); font-weight: 700; }
.role-go, .rs-go { flex: 0 0 auto; color: var(--ink-soft); }
.rs-text { flex: 1 1 auto; font-weight: 600; color: var(--brand-dark); }

.rs-head { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.rs-head svg { color: var(--brand); }
.related-searches {
  position: relative; display: grid; gap: 8px; margin: 6px 0 8px; padding: 30px 12px 12px;
  background: #fbfcfe; border: 1px solid var(--line); border-radius: 14px;
}
.related-searches .rs-tag {
  position: absolute; top: 8px; left: 12px; background: #3a4a7a; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 9px; border-radius: 6px; text-transform: uppercase;
}
.related-searches .rs-row { background: #fff; }
.related-searches .rs-row:hover { background: var(--brand-tint); }

/* ---------- How-to-apply steps ---------- */
.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0; display: grid; gap: 12px; }
.how-steps li { display: flex; align-items: flex-start; gap: 12px; }
.step-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 8px 0; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 16px 14px; margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 22px 0; padding: 18px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, var(--good-tint), #fff);
  border: 1px solid var(--line);
}
.cta-band p { margin: 0 0 12px; font-weight: 700; font-size: clamp(16px, 3.8vw, 18px); }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; text-decoration: none;
  font-size: clamp(16px, 4vw, 19px); font-weight: 800; color: var(--cta-ink);
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  border: none; border-radius: 14px; padding: 15px 22px; cursor: pointer;
  min-height: 56px; width: 100%; margin-top: 14px;
  box-shadow: 0 5px 0 var(--cta-dark), var(--shadow); transition: transform .06s, box-shadow .06s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cta-dark); }
.btn .btn-arrow { display: inline-flex; }
.btn.secondary { background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); box-shadow: var(--shadow-sm); }
/* CTA emphasis pulse (apply-page countdown). NOTE: named `cta-pulse`, NOT `pulse` —
   the standalone `.pulse` below is an 8px green dot, and reusing that name on the button
   collapsed the CTA into a green circle mid-countdown. Keep these two names distinct. */
.btn.cta-pulse { animation: btnPulse 1s ease-in-out infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 5px 0 var(--cta-dark), var(--shadow); } 50% { box-shadow: 0 5px 0 var(--cta-dark), 0 0 0 8px rgba(210, 68, 12, .28); } }

/* ---------- Stepper (funnel progress) ---------- */
.stepper { margin: 6px 0 16px; }
.step-track { display: flex; align-items: center; justify-content: center; gap: 0; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: #fff; border: 2px solid var(--line); color: var(--ink-soft); font-weight: 800; font-size: 14px;
}
.step-dot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-dot.done { background: var(--good); border-color: var(--good); color: #fff; }
.step-line { width: 34px; height: 2px; background: var(--line); }
.step-label { text-align: center; font-weight: 800; color: var(--ink-soft); font-size: 13px; letter-spacing: .3px; margin-top: 8px; text-transform: uppercase; }

/* ---------- Job cards (home + recommendations) ---------- */
.job-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.job-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .1s cubic-bezier(.2, .7, .2, 1), box-shadow .15s, border-color .15s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.card-thumb-wrap { position: relative; aspect-ratio: 20 / 11; overflow: hidden; background: #dde6f4; line-height: 0; }
.card-thumb { display: block; width: 100%; height: 100%; }
.card-thumb svg { width: 100%; height: 100%; }
img.card-thumb { object-fit: cover; }
/* Employer logo tile — clean light surface, logo centered (not cropped) */
.logo-thumb { display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(120% 120% at 50% 0%, #ffffff, #eef3fb); padding: 18px; }
.brand-logo { max-width: 74%; max-height: 60%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(20,32,58,.12)); }
.card-thumb-wrap.is-logo { border-bottom: 1px solid var(--line); }
.hero-logo { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(120% 120% at 50% 0%, #fff, #eef3fb); padding: 24px; }
.hero-logo img { max-width: 78%; max-height: 76%; object-fit: contain; filter: drop-shadow(0 3px 10px rgba(20,32,58,.14)); }

/* Compact brand lockup for employer (logo) landing pages — a small logo chip beside the
   kicker instead of a full-height banner panel, so the title/stats/CTA/first ad move up. */
.brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.brand-logo-sm { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; overflow: hidden; }
.brand-logo-sm .hero-logo { padding: 8px; background: radial-gradient(120% 120% at 50% 0%, #fff, #f2f6fc); }
.brand-logo-sm .hero-logo img { max-width: 100%; max-height: 100%; filter: none; }
.logo-hero .kicker { margin: 0; }
.card-scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,20,40,.28) 0%, transparent 34%, transparent 55%, rgba(10,20,40,.42) 100%); }
.card-badge {
  position: absolute; right: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 12px; font-weight: 800;
  padding: 5px 11px 5px 9px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--good); position: relative; flex: 0 0 auto; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--good); opacity: .6; animation: pulsering 1.6s ease-out infinite; }
@keyframes pulsering { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
/* Brand "logo chip" — a clean monogram placeholder (NOT a real trademarked logo) */
.card-logo {
  position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--brand); border-radius: 12px; padding: 6px 11px 6px 8px; box-shadow: var(--shadow-sm);
}
.card-logo svg { flex: 0 0 auto; }
.card-mono { font-weight: 900; font-size: 15px; color: var(--brand-dark); letter-spacing: .5px; }
.img-credit { position: static; font-size: 10px; line-height: 1.3; color: var(--ink-soft); background: rgba(255,255,255,.85); padding: 2px 8px; text-align: right; }
.job-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jm { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.jm svg { color: var(--brand); }
.card-pay {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; background: var(--good); color: #fff;
  font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.job-card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 8px; }
.job-card-title { font-weight: 800; font-size: clamp(15px, 3.8vw, 17px); line-height: 1.25; }
.job-card-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; font-size: 14px; }

/* Native in-feed ad card — occupies one .job-cards grid cell and matches the real job cards
   (same white surface, border, radius, shadow) so it flows natively. It keeps ONE small "Ad"
   chip in the corner — the minimum compliant label. Compliance (Google Publisher Policy / FTC):
   an in-feed ad must stay labeled + recognizable; the chip is intentionally small but legible,
   and we never remove it. min-height reserves the box so the SDK creative causes no layout shift. */
.native-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); min-height: 232px; padding: 26px 12px 12px;
}
.native-tag {
  position: absolute; top: 8px; right: 8px; z-index: 1; padding: 2px 7px; border-radius: 6px;
  background: rgba(20, 32, 58, .06); color: var(--ink-soft);
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.native-card .ad-slot { flex: 1 1 auto; width: 100%; min-height: 200px; }

/* Rewarded-gate arm (/x/reward-gate/): opt-in box that reveals the matches after a short video.
   Styled as an inviting, honest opt-in — NOT a wall. The matches always reveal (never-trap). */
.reward-gate {
  text-align: center; background: linear-gradient(180deg, #f3f7fe, #e9f1fc);
  border: 1px solid var(--brand); border-radius: 18px; padding: clamp(22px, 5vw, 34px) 20px;
  margin: 18px auto; max-width: 560px;
}
.reward-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--brand); color: #fff; margin-bottom: 10px; }
.reward-gate h2 { margin: 0 0 8px; font-size: clamp(20px, 5vw, 26px); }
.reward-gate p { color: var(--ink-soft); margin: 0 auto 14px; max-width: 44ch; }
/* Base .btn is display:flex + width:100% (full-width block). Inside the gate we want a contained,
   centered button — inline-flex shrinks it to content and the parent's text-align:center centers it. */
.reward-gate .btn { display: inline-flex; width: auto; min-width: 260px; max-width: 100%; margin: 6px auto 0; }
.reward-gate .btn[disabled] { opacity: .8; cursor: default; }
/* Honest escape, shown only after an early close so no one is ever trapped (see jobs.js). */
.reward-escape { margin: 12px 0 0; }
.reward-escape a { color: var(--ink-soft); font-size: 13px; text-decoration: underline; }

/* ---------- /usa/ pop-up MODAL quiz (opt-in engagement — see jobs.js initUsaModal) ----------
   An opt-in quiz in a closeable modal (X / backdrop / Esc). NOT a forced ad overlay / pop-under
   (those stay banned, root §4 Fight 1) — the lander is fully usable behind it. */
body.usa-lock { overflow: hidden; }               /* stop background scroll while the modal is open */
.usa-modal[hidden] { display: none; }
.usa-modal {
  position: fixed; inset: 0; z-index: 100;         /* above the sticky anchor ad (z-index 40) */
  display: flex; align-items: center; justify-content: center;
  padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.usa-backdrop { position: absolute; inset: 0; background: rgba(9, 14, 30, .62); backdrop-filter: blur(8px) saturate(.9); -webkit-backdrop-filter: blur(8px) saturate(.9); }
.usa-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  max-height: calc(100dvh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: clamp(20px, 5vw, 28px); animation: usa-pop .18s ease-out;
}
@keyframes usa-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.usa-progress { height: 7px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin: 6px 42px 10px 0; }
.usa-bar { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .3s ease; }
.usa-step-label { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.usa-q { font-size: clamp(20px, 5vw, 25px); line-height: 1.18; margin: 0 0 6px; }
.usa-sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }
.usa-opts { display: grid; gap: 10px; }
/* Same treatment as .pick — in the bare pop-up these three rows are the ONLY thing on screen, so
   leaving them white made a screen with no colour at all on it. Filled blue; the arrow inherits
   currentColor from the button, so it turns white for free. */
.usa-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  min-height: 56px; text-align: left; padding: 14px 16px; border: none;
  border-radius: 14px; background: linear-gradient(135deg, var(--pick-2), var(--pick));
  color: #fff; font: inherit; font-weight: 700; font-size: clamp(16px, 4vw, 17px);
  box-shadow: 0 4px 0 var(--pick-dark), var(--shadow-sm);
  cursor: pointer; transition: box-shadow .12s, transform .06s, filter .12s;
}
.usa-opt:hover { transform: translateY(-1px); filter: brightness(1.06); }
.usa-opt:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pick-dark); }
/* Final "jobs found" + opt-in rewarded step inside the modal. */
.usa-done { text-align: center; }
.usa-check { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--good); color: #fff; margin-bottom: 8px; }
.usa-done .usa-q { margin-top: 2px; }
.usa-done .btn { display: inline-flex; width: auto; min-width: 220px; max-width: 100%; margin: 4px auto 0; }
.usa-done .btn[disabled] { opacity: .8; cursor: default; }
.usa-escape { margin: 12px 0 0; }
/* "Searching for jobs…" loader (cfg.searchLoader) — masks the rewarded-ad load so the reward CTA
   plays the ad instantly instead of waiting after the click. A PROGRESS BAR (fills as the ad loads,
   snaps to 100% when ready) reads as "working", not "waiting". Blue (trust), not the orange CTA. */
.usa-loading { padding: 6px 0; }
.usa-progress-track { width: min(100%, 320px); height: 10px; margin: 18px auto 4px; border-radius: 999px;
  background: rgba(0, 0, 0, .10); overflow: hidden; }
.usa-progress-fill { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--pick, #1a6fdb), var(--pick-2, #2f8bff));
  transition: width .18s ease; }
@media (prefers-reduced-motion: reduce) { .usa-progress-fill { transition: none; } }
.usa-escape a { color: var(--ink-soft); font-size: 13px; text-decoration: underline; }

/* Places-hiring list on the /usa/remote-jobs/ guide (reputable boards + employers, outbound). */
.place-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.place { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.place-ic { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px;
  border-radius: 10px; background: var(--brand-tint); color: var(--brand); }
.place-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.place-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 16px;
  color: var(--brand-dark); text-decoration: none; }
.place-name:hover { text-decoration: underline; }
/* plainList() rows describe a role TYPE and are not links — brand-dark on a non-clickable title
   reads as a dead link, so plain rows take the body ink and no hover underline. */
.place-name-plain { color: var(--ink); }
.place-name-plain:hover { text-decoration: none; }
.place-name .icon { color: var(--ink-soft); }
.place-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

/* Benefit callouts on the /usa/ lander. */
.usa-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.usa-benefit { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.usa-benefit-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 2px; }
.usa-benefit-t { font-weight: 800; font-size: 15px; }
.usa-benefit-d { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
@media (min-width: 620px) { .usa-benefits { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Redirect (apply) card ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 5vw, 28px); margin: 14px 0; }
.card.center { text-align: center; }
/* A card's own padding already provides the top gap — kill the heading's stacked margin. */
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card > p:last-child { margin-bottom: 0; }
.redirect-card .hero-icon { margin-bottom: 12px; }

/* ---------- Ad slots ----------
   FIXED-SIZE RESERVE: every in-flow ad sits inside an `.ad-reserve` wrapper with a FIXED height
   (the tallest size that unit serves at that breakpoint). The wrapper holds the space no matter
   what the ad script does to the inner `#id` slot — GPT / the partner call `collapseEmptyDivs()`,
   which sets inline `display:none` on the slot div and BEATS a CSS height on the slot itself; the
   wrapper it never touches keeps the box a constant size => the ad can never collapse the layout
   or shift content, filled or empty. The Price Optimiser SDK fills each `.ad-slot` by its #id. */
.ad-reserve { width: 100%; margin: 22px 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ad-reserve.r-leaderboard { height: 100px; }   /* 320×100 mobile (90 on desktop, below) */
.ad-reserve.r-rect        { height: 280px; }   /* 300×250 / 336×280 rectangle */
.ad-slot { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* SPA test arm (/worldwide-pre/): the whole guide is rendered VISIBLE behind the reward overlay so it
   is already on screen when the popup closes — the modal's own .usa-backdrop (backdrop-filter: blur)
   frosts it, so no extra blur is needed here. .wp-preview holds ONLY the ad slots back: the SDK skips
   display:none divs, so no ad renders behind the overlay (no non-viewable impression), while the
   reserved .ad-reserve boxes keep their space so nothing shifts when the ads fill on reveal. The
   reveal (jobs.js) removes .wp-preview, then renders the slots. pointer-events guards the blurred
   content from stray taps behind the modal. */
.wp-preview { pointer-events: none; user-select: none; }
.wp-preview .ad-slot, .wp-preview .anchor-slot { display: none !important; }

/* Sticky bottom anchor: pinned to the viewport only once an ad fills it; empty => nothing. */
.anchor-slot:not(:empty) {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-top: 1px solid rgba(0, 0, 0, .08);
}

/* ---------- Footer + disclosure ---------- */
.foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.disclosure { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 12px; }
.foot-links { text-align: center; font-size: 14px; color: var(--ink-soft); }
.foot-links a { color: var(--brand); text-decoration: none; }

/* ---------- Page-in animation + view transitions ---------- */
@view-transition { navigation: auto; }
main.wrap { animation: pageIn .28s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   INTAKE FUNNEL + CHAT — minimalist, professional
   ========================================================================== */

/* Home hero CTAs (on the blue hero) */
.hero-ctas { display: grid; gap: 10px; margin: 18px 0 6px; }
/* The hero CTA used to be white-on-blue. White is the hero's OWN colour — the headline, the lead,
   the brand name and the micro line are all white — so the button blended into its own card. The
   orange accent is the only element on a blue hero that is not blue or white, which is the entire
   point of having an accent. Keep the CTA orange everywhere; do not reintroduce a per-surface
   colour. (The dark lip carries the button's edge against the blue.) */
.home-hero .btn { box-shadow: 0 5px 0 var(--cta-dark), 0 10px 24px rgba(6, 20, 50, .3); }
.home-hero .btn:active { box-shadow: 0 2px 0 var(--cta-dark); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; min-height: 52px; }
.btn.ghost:active { transform: translateY(1px); }
.micro.center { justify-content: center; }
.micro.light { color: rgba(255,255,255,.85); }
.micro.light svg { color: rgba(255,255,255,.85); }
@media (min-width: 480px) { .hero-ctas { grid-template-columns: 1fr 1fr; } }

/* Funnel progress bar (slim) */
.fbar-wrap { margin: 6px 0 18px; }
.fbar-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.fbar { height: 8px; background: #e6ecf5; border-radius: 999px; overflow: hidden; }
.fbar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .4s cubic-bezier(.4,0,.2,1); }

/* Question head + pick list */
.q-head { text-align: center; margin: 6px 0 18px; }
.q-head h1 { font-size: clamp(22px, 5.4vw, 29px); }
.q-head .lead { margin: 0 auto; max-width: 30ch; }
.pick-list { display: grid; gap: 12px; }
/* Answer rows are FILLED, not white cards (changed 2026-08-14).
   These rows ARE the click target on every question step, and as white-on-near-white cards with a
   grey hairline they read as a list to scan rather than buttons to tap — the single worst thing a
   3-option quiz step can do to its tap rate. Filled blue makes them unmistakably pressable.
   They stay BLUE, not orange: orange is reserved for the one money button (the rewarded CTA), so
   the accent still lands as a new colour at the moment that matters instead of being worn out by
   every question before it. Gradient stops are both >= 4.5:1 against white text. */
.pick {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--pick-2), var(--pick)); border: none;
  border-radius: 16px; padding: 16px 18px;
  min-height: 66px; box-shadow: 0 4px 0 var(--pick-dark), var(--shadow-sm);
  transition: box-shadow .14s, transform .06s, filter .14s;
}
.pick:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 4px 0 var(--pick-dark), var(--shadow); }
.pick:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pick-dark); }
.pick-ic { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; }
.pick-label { flex: 1 1 auto; font-weight: 700; font-size: clamp(16px, 4vw, 18px); }
.pick-go { flex: 0 0 auto; color: rgba(255,255,255,.85); }
.pick:hover .pick-go { color: #fff; }

/* Matching / please-wait screen */
.match-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 7vw, 40px) clamp(20px, 5vw, 30px); text-align: center; margin: 14px 0; }
.match-card h1 { font-size: clamp(21px, 5vw, 27px); margin: 12px 0 6px; }
.match-spin { display: flex; gap: 8px; justify-content: center; margin: 4px 0 6px; }
.match-spin span { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); animation: bounce 1.1s ease-in-out infinite; }
.match-spin span:nth-child(2) { animation-delay: .16s; background: var(--brand-2); }
.match-spin span:nth-child(3) { animation-delay: .32s; background: var(--good); }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.progress { height: 12px; background: #e6ecf5; border-radius: 999px; overflow: hidden; margin: 18px 0 8px; }
.progress > span { display: block; width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--good)); transition: width .18s linear; }
.match-pct { font-size: clamp(28px, 8vw, 40px); font-weight: 800; color: var(--brand); letter-spacing: -1px; }
.btn.locked { background: #cfd8e6; color: #7d879c; box-shadow: none; cursor: default; }

/* Results head */
.results-head { text-align: center; margin: 8px 0 16px; }
.results-check { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; align-items: center; justify-content: center; background: var(--good-tint); color: var(--good); margin-bottom: 6px; }
.results-head h1 { font-size: clamp(24px, 6vw, 32px); }

/* ---------------- Chat funnel ---------------- */
.chat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 12px 0; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.chat-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); }
.chat-meta { display: flex; flex-direction: column; line-height: 1.2; }
.chat-name { font-weight: 800; font-size: 16px; }
.chat-status { font-size: 12px; opacity: .9; }
.chat-log { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-height: 260px; }
.msg { display: flex; }
.msg.bot { justify-content: flex-start; }
.msg.user { justify-content: flex-end; }
.bub { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: clamp(15px, 3.8vw, 16px); line-height: 1.45; animation: bubIn .22s ease both; }
@keyframes bubIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg.bot .bub { background: #f1f5fb; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.user .bub { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-bottom-right-radius: 5px; }
.bub.cards { max-width: 100%; width: 100%; background: transparent; padding: 0; display: grid; gap: 10px; }
.typing .bub { display: inline-flex; gap: 5px; padding: 14px 15px; }
.typing .dot { width: 8px; height: 8px; border-radius: 50%; background: #9fb0c9; animation: tdot 1.2s infinite ease-in-out; }
.typing .dot:nth-child(2) { animation-delay: .18s; }
.typing .dot:nth-child(3) { animation-delay: .36s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.chip { background: #fff; border: 1.5px solid var(--brand); color: var(--brand-dark); font-weight: 700; font-size: 14px; padding: 10px 15px; border-radius: 999px; cursor: pointer; transition: background .12s, transform .06s; }
.chip:hover { background: var(--brand-tint); }
.chip:active { transform: scale(.97); }
.chat-card { display: flex; flex-direction: column; gap: 3px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); transition: border-color .14s, box-shadow .14s; }
.chat-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.cc-title { font-weight: 800; color: var(--ink); font-size: 16px; }
.cc-pay { font-size: 13px; color: var(--good); font-weight: 700; }
.cc-go { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 800; font-size: 14px; margin-top: 4px; }
.chat-ad { padding: 0 16px 12px; }

/* ============================================================================
   DESKTOP / large screens — the funnel stays a focused column; card grids and
   heroes open up to use the width so it reads as designed, not just "mobile big".
   ========================================================================== */
@media (min-width: 700px) {
  /* Two-up option lists + inline hero CTAs */
  .pick-list { grid-template-columns: 1fr 1fr; }
  .hero-ctas { grid-template-columns: auto auto; justify-content: center; }
  .hero-ctas .btn { width: auto; min-width: 240px; }
  .share-row, .hero-ctas { max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 900px) {
  .site-head { padding-top: 20px; }
  /* Reading pages: a touch wider + roomier. Grid pages: open right up. */
  .wrap { max-width: 760px; padding: 14px 24px 48px; }
  .wrap.wide { max-width: 1140px; }

  /* Leaderboard serves 970×90 / 728×90 on desktop — reserve 90px (100 is the mobile 320×100). */
  .ad-reserve.r-leaderboard { height: 90px; }

  h1 { font-size: clamp(30px, 3.4vw, 40px); }

  /* Home hero: centered, roomier, big — like a real landing page */
  .home-hero .hero-body { max-width: 660px; margin: 0 auto; padding: clamp(40px, 5vw, 56px) 28px; }
  .home-hero h1 { font-size: clamp(34px, 3.6vw, 46px); }

  /* Card grids fill the wide container (3–4 across) */
  .wide .job-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

  /* Keep prose/lists/search at a readable measure, centered, on wide pages */
  .wide .content-block > p, .wide .content-block > .ticks,
  .wide .related-searches, .wide .rs-head, .wide .home-search,
  .wide .no-results, .wide .cta-band { max-width: 760px; margin-left: auto; margin-right: auto; }
  .wide .results-head, .wide .content-block > h2 { text-align: center; }

  /* Article landing: banner + intro side-by-side for a designed desktop look.
     Logo (employer) pages opt OUT — they use the compact single-column lockup, no side banner. */
  .hero-card:not(.home-hero):not(.logo-hero) { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .hero-card:not(.home-hero):not(.logo-hero) .hero-banner { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .hero-card:not(.home-hero) .hero-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
  .logo-hero .hero-body { padding: 34px; }
  .logo-hero .brand-logo-sm { width: 72px; height: 72px; }

  /* Chat + matching feel intentional, not stretched */
  .chat, .match-card { max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 380px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-icon { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- site disclaimer (footer, every page) — root CLAUDE.md §5 ---------- */
.site-disclaimer { margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-disclaimer h2 {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); margin: 0 0 10px;
}
.site-disclaimer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-disclaimer li {
  position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft);
}
.site-disclaimer li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px;
  border-radius: 50%; background: currentColor; opacity: .55;
}
.site-disclaimer strong { color: var(--ink); font-weight: 700; }
@media (min-width: 760px) { .site-disclaimer ul { grid-template-columns: 1fr 1fr; gap: 6px 26px; } }

/* ============================================================================
 * /me/ — SAUDI ARABIA MULTI-LANGUAGE FUNNEL (Arabic, English, Urdu, Hindi, Bengali)
 * ==========================================================================*/

/* Script-aware typography. NO webfont is loaded — a paid funnel cannot afford a blocking font
 * download (speed = revenue, root §5), so we ask for the system Arabic/Devanagari/Bengali faces
 * that phones in this market already ship. The display letter-spacing (-.3px) is tuned for Latin
 * and damages connected Arabic/Nastaliq and Indic conjuncts, so it is reset per script, and the
 * line-height is opened up because these scripts carry taller ascenders/descenders. */
html[lang="ar"] body { font-family: "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, "Noto Naskh Arabic", "Arabic Typesetting", sans-serif; line-height: 1.75; }
html[lang="ur"] body { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; line-height: 2; }
html[lang="hi"] body { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", system-ui, sans-serif; line-height: 1.7; }
html[lang="bn"] body { font-family: "Noto Sans Bengali", "Kohinoor Bangla", "Nirmala UI", "Vrinda", system-ui, sans-serif; line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3,
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: normal; line-height: 1.35; }

/* RTL (Arabic + Urdu). The layout is flexbox/grid throughout, so it mirrors on its own; what
 * needs help is the directional iconography and the few places we set a physical side. */
[dir="rtl"] .pick-go svg,
[dir="rtl"] .btn-arrow svg,
[dir="rtl"] .place-name svg,
[dir="rtl"] .bc-sep svg { transform: scaleX(-1); }
[dir="rtl"] .site-disclaimer li { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .site-disclaimer li::before { left: auto; right: 0; }
/* Latin brand names + URLs inside RTL prose keep their own direction. */
[dir="rtl"] .place-name { unicode-bidi: isolate; }

/* Question kicker — the one line of geo context above Q1 on the paid landing. */
.q-kicker {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint); padding: 5px 11px; border-radius: 999px;
}
.q-kicker svg { color: var(--brand); }

/* Language hub rows: native name with the English name beneath it. */
.pick-sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }

/* The single quiet line that names the sponsored video on /me/<lang>/ready/. Small on purpose —
 * it is the required opt-in disclosure, not a pitch (see buildMeReady). Do not delete it. */
.reward-note { color: var(--ink-soft); font-size: 12.5px; margin-top: 10px; }

/* Footer language switcher. */
.foot-langs { margin-top: 8px; }
.foot-langs span { color: var(--ink-soft); }
.foot-langs a { margin: 0 2px; }

/* ---------- bare modal — the /me/x/quiet/ arm ("super simple popup with nothing") ----------
 * No progress bar and no step label, so the question would otherwise sit under the close X.
 * Reserve room for it and let the option rows own the dialog. Everything else (backdrop, the
 * always-present close X, Esc/backdrop dismissal) is unchanged — the modal stays dismissable. */
.usa-modal.bare .usa-body { padding-top: 26px; }
.usa-modal.bare .usa-q { margin-bottom: 16px; }
.usa-modal.bare .usa-done { padding-top: 0; }
.usa-modal.bare .usa-done .usa-q { margin-bottom: 6px; }
/* The one quiet line naming the sponsored video (passed in as `sub`) — small on purpose. */
.usa-modal.bare .usa-done .usa-sub { font-size: 12.5px; }
/* RTL: the close X moves to the leading (left) corner, and the reserved room follows it. */
[dir="rtl"] [dir="rtl"] .usa-progress { margin: 6px 0 10px 42px; }
[dir="rtl"] .usa-opt { text-align: right; }
