/* Job pages (English and Spanish share this). */
  :root {
    --ink: #0f1b2d; --ink-soft: #46546a; --line: #dfe5ee; --paper: #fff;
    --wash: #f4f7fb; --accent: #0b5fff; --accent-dark: #0847c2; --road: #ffb400;
    --good: #0a7f4f; --good-bg: #e6f6ee; --warn-bg: #fff4e5; --warn: #8a4b00;
  }
  * { box-sizing: border-box; }
  body { margin: 0; color: var(--ink); background: var(--wash);
    font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
  a { color: var(--accent); }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

  header.top { background: var(--paper); border-bottom: 1px solid var(--line); }
  header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: 15px; }
  .brand-name { font-weight: 800; }
  nav.links { display: flex; gap: 22px; align-items: center; }
  nav.links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600; }
  nav.links a.here { color: var(--ink); }
  nav.links a.login { color: var(--ink); border: 1px solid var(--line); padding: 7px 14px; border-radius: 8px; }

  .banner { background: var(--ink); color: #fff; position: relative; }
  .banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
    background: repeating-linear-gradient(90deg, var(--road) 0 44px, transparent 44px 80px); }
  .banner .wrap { padding: 34px 20px 40px; }
  .eyebrow { text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; font-weight: 700; color: var(--road); margin: 0 0 8px; }
  .banner h1 { margin: 0 0 8px; font-size: clamp(26px, 3.8vw, 38px); letter-spacing: -.6px; line-height: 1.15; }
  .banner p.co { margin: 0 0 16px; color: #c9d3e3; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
  .chip.pay { background: var(--good-bg); color: var(--good); border-color: transparent; }

  .layout { display: grid; grid-template-columns: 1fr 420px; gap: 22px; padding: 24px 0 64px; align-items: start; }
  .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin-bottom: 18px; }
  .panel h2 { font-size: 19px; margin: 0 0 12px; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fact { background: var(--wash); border-radius: 10px; padding: 12px 14px; }
  .fact strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
  .fact span { font-weight: 800; font-size: 17px; }
  ul.checks { list-style: none; padding: 0; margin: 0; }
  ul.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
  ul.checks li:last-child { border-bottom: 0; }
  ul.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
    border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }
  .muted { color: var(--ink-soft); }
  .callout { background: #eef4ff; border-radius: 10px; padding: 14px 16px; font-size: 15px; }

  /* The job video: a vertical clip beside a line about the job; stacked on a phone. */
  .reel { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
  .reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
    border-radius: 12px; background: var(--ink); }
  .reel p { margin: 0 0 10px; }
  .reel .ai-note { font-size: 13px; color: var(--ink-soft); margin: 0; }
  @media (max-width: 560px) {
    .reel { grid-template-columns: 1fr; gap: 16px; }
    .reel video { max-width: 300px; margin: 0 auto; }
  }

  /* The application: sticky beside the job on a wide screen, below it on a phone. */
  .apply { position: sticky; top: 16px; background: var(--paper); border: 1px solid var(--line);
    border-radius: 14px; padding: 24px; box-shadow: 0 8px 28px rgba(15,27,45,.07); }
  .apply h2 { font-size: 21px; margin: 0 0 2px; }
  .apply .sub { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }
  .progress { height: 6px; background: #e6ebf2; border-radius: 99px; overflow: hidden; margin: 0 0 6px; display: none; }
  .progress span { display: block; height: 100%; width: 33%; background: var(--accent); transition: width .25s; }
  .stepno { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; display: none; }
  .q { font-weight: 800; font-size: 16px; margin: 0 0 10px; }
  .field { margin-bottom: 14px; }
  label.l { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
  .opt { font-weight: 400; color: var(--ink-soft); }
  input[type=text], input[type=tel], input[type=email], textarea {
    width: 100%; font: inherit; padding: 12px; border: 1px solid #c5cfdd; border-radius: 10px; background: #fff; }
  input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
  .taps { display: grid; gap: 8px; }
  .taps.two { grid-template-columns: 1fr 1fr; }
  .tap { position: relative; }
  .tap input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .tap span { display: block; border: 1.5px solid #c5cfdd; border-radius: 10px; padding: 12px 14px; font-weight: 600; background: #fff; }
  .tap input:checked + span { border-color: var(--accent); background: #eef4ff; color: var(--accent-dark); }
  .tap input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
  .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 4px 0 16px; }
  .consent input { margin-top: 4px; width: 18px; height: 18px; }
  .btn { display: inline-block; width: 100%; text-align: center; padding: 14px 20px; border-radius: 10px; font-weight: 800;
    font-size: 16px; border: 0; cursor: pointer; font-family: inherit; text-decoration: none; }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: var(--accent-dark); }
  .btn-quiet { background: transparent; color: var(--ink-soft); width: auto; padding: 10px 6px; }
  .nav-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
  .nav-row .btn-primary { width: auto; flex: 1; }
  .msg { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 0 0 14px; }
  .msg.warn { background: var(--warn-bg); color: var(--warn); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .partner-box { display: none; }
  .fine { font-size: 12px; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }

  /* With JavaScript: one question at a time, with a progress bar. Without it,
     every step shows at once and the form still works. */
  .js .progress, .js .stepno { display: block; }
  .js .step { display: none; }
  .js .step.on { display: block; }
  .js .only-nojs { display: none; }
  .step h3 { display: none; }
  .no-js-heading { font-size: 15px; margin: 18px 0 8px; }
  .js .no-js-heading { display: none; }

  footer { border-top: 1px solid var(--line); background: var(--paper); padding: 26px 0; color: var(--ink-soft); font-size: 14px; }

  @media (max-width: 920px) {
    .layout { grid-template-columns: 1fr; }
    .apply { position: static; order: -1; }
    .facts { grid-template-columns: 1fr 1fr; }
    nav.links a:not(.login):not(.here) { display: none; }
  }

/* Anything marked hidden stays hidden. .btn sets display:inline-block, which
   beat the browser's own [hidden] rule, so on the first step Back and Send
   showed beside Next even though the script had hidden them. */
[hidden] { display: none !important; }
