/* INW Careers — additions on top of the shared site theme (assets/style.css).
   Monochrome + yellow, light/dark via prefers-color-scheme, mobile-first (works at 360px).
   NOTE: never name a class or id starting with "ad" — phone ad blockers hide them. */

/* --- hero + offer bullets --- */
.hero-careers { border-bottom: 1px solid var(--line); background: var(--surface); }
.hero-careers .wrap { padding: 3.4rem 1.5rem 2.8rem; }
.hero-careers h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); max-width: 18ch; }
.hero-careers p.sub { color: var(--muted); max-width: 56ch; font-size: 1.06rem; margin: 0 0 1.6rem; }
.markets { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.markets li {
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .32rem .8rem;
}

.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.offer-list li { padding: .6rem 0 .6rem 1.8rem; position: relative; }
.offer-list li::before {
  content: ""; position: absolute; left: 0; top: 1rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
}
.offer-list li b { display: block; }
.offer-list li span { color: var(--muted); font-size: .95rem; }

/* --- how it works --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.4rem 1.5rem;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--amber); color: #1a1400; font-weight: 800; font-size: .92rem;
  margin-bottom: .8rem;
}
.step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* --- apply form --- */
.apply { background: var(--surface); border-top: 1px solid var(--line); }
.apply .wrap { max-width: 720px; }
.form-card {
  background: var(--ground); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.4rem 1.8rem;
}
@media (max-width: 420px) { .form-card { padding: 1.2rem 1rem 1.4rem; } }
.field { margin: 0 0 1.05rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field .req { color: var(--accent); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: .2rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d64545; }
.field .err { color: #d64545; font-size: .84rem; margin-top: .3rem; display: none; }
.field .err.on { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

/* honeypot — kept in the DOM, out of sight and out of the tab order */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sms-note {
  color: var(--muted); font-size: .84rem; line-height: 1.5; margin: -.55rem 0 1.05rem;
  border-left: 3px solid var(--line); padding-left: .8rem;
}

.consent-box {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .95rem 1rem; margin: .4rem 0 1.2rem;
}
.consent-box input[type="checkbox"] {
  width: 20px; height: 20px; min-width: 20px; margin: .12rem 0 0; accent-color: var(--amber-deep); flex: none;
}
.consent-box label { font-size: .86rem; line-height: 1.5; color: var(--ink); }
.consent-box .links { color: var(--muted); }

.btn-submit { width: 100%; font-size: 1.02rem; padding: .95rem 1.6rem; }
.btn-submit[disabled] { opacity: .55; cursor: progress; }
.fine-print { color: var(--muted); font-size: .82rem; margin: 1rem 0 0; }

.msg { border-radius: 10px; padding: 1rem 1.1rem; margin: 1.1rem 0 0; font-size: .95rem; display: none; }
.msg.on { display: block; }
.msg-ok { background: var(--surface-2); border: 1px solid var(--amber-deep); }
.msg-ok b { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.msg-bad { background: var(--surface-2); border: 1px solid #d64545; }

/* not-found page */
.nf .wrap { max-width: 760px; text-align: center; padding-top: 6rem; padding-bottom: 6rem; }
