/* Careers pages: careers.html and each careers-<job>.html. */
/* Position cards. Page-local, as only this page has them. */
.jobs { display: grid; gap: 16px; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.job h3 { margin: 0 0 4px; font-size: 1.2rem; }
.job .kind { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
             color: var(--muted); margin-bottom: 12px; }
.job p { margin: 0 0 10px; }
.job .checks { margin-top: 10px; }
/* Column flex so the Apply buttons line up at the bottom of both cards. */
.job { display: flex; flex-direction: column; }
.job .checks { margin-bottom: 18px; }
.job .apply-link { margin-top: auto; align-self: flex-start; }
/* Application form */
.apply-form { display: grid; gap: 14px 18px; background: #fff; border: 1px solid var(--line);
              border-radius: var(--radius); padding: 22px; max-width: 760px; }
.apply-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 5px; }
.apply-form .opt { font-weight: 400; color: var(--muted); }
/* 16px text: anything smaller makes iPhone Safari zoom the page on focus. */
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 11px 12px; border: 1px solid #c4cad3; border-radius: 8px; background: #fff; }
.apply-form textarea { min-height: 110px; resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent-dk); }
.apply-form .full { grid-column: 1 / -1; }
.apply-form .submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.apply-form button[disabled] { opacity: .6; cursor: wait; }
.apply-form .fine { font-size: .85rem; color: var(--muted); margin: 0; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { max-width: 760px; margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; font-weight: 700; }
.form-msg.err { background: #fdecea; color: #8a1c12; border: 1px solid #f3b8b1; }
.form-done { max-width: 760px; background: #fff; border: 1px solid var(--line);
             border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.form-done h3 { margin-top: 0; }
.paper { max-width: 760px; margin-top: 34px; }
.paper h3 { margin-bottom: 6px; }
.paper p { margin: 0 0 12px; }
@media (min-width: 640px) {
  .apply-form { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .jobs { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

/* Job detail pages */
.job .more { font-weight: 700; margin: 0 0 14px; }
.perks { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 26px 0 0; padding: 0; list-style: none; }
.perks li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
            padding: 12px 14px; font-weight: 700; text-align: center; }
.perks li.big { grid-column: 1 / -1; font-size: 1.15rem; color: var(--accent); }
.detail { max-width: 760px; }
.detail h2 { margin-top: 0; }
.detail h3 { margin: 28px 0 6px; }
.detail p { margin: 0 0 12px; }
.pay { font-size: 1.1rem; }
@media (min-width: 760px) {
  .perks { grid-template-columns: repeat(4, 1fr); }
}
