:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #575757;
  --burgundy: #9A1F24;
  --olive: #8B7A24;
  --burgundy-hover: #7c171b;
  --line: #e4e0db;
  --surface: #f8f7f5;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--burgundy); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
p { margin: 0 0 22px; }
h1, h2 { margin: 0; text-wrap: balance; }
.page { max-width: 980px; padding: 38px 40px 0; margin: auto; }
.heading { text-align: center; padding-bottom: 27px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.logo { display: block; width: 355px; max-width: 100%; height: auto; margin: 0 auto 16px; }
.brand-caption { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.hiring { background: #fff; padding: 10px 26px 32px; text-align: center; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.hiring h1 { color: #203d32; font-family: var(--font); font-size: clamp(28px, 4.6vw, 46px); font-weight: 700; line-height: 1.22; letter-spacing: -.6px; text-transform: uppercase; margin: 0 auto 34px; max-width: 820px; }
.hiring h2 { color: var(--olive); font-family: var(--font); font-size: clamp(21px, 3.3vw, 32px); font-weight: 700; font-style: italic; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; line-height: 1.5; margin: 0 auto 27px; max-width: 800px; }
.hiring .hiring-copy { color: #161616; font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; line-height: 1.5; text-transform: uppercase; margin: 0 auto; max-width: 780px; }
.brand-accent { color: var(--burgundy); }
.page main > .intro p { color: #23362f; font-weight: 500; font-size: 19px; line-height: 1.7; }
.page main > .offer p, .page section[aria-labelledby="about"] p { color: #414b46; font-weight: 400; font-size: 17px; line-height: 1.8; }
.intro, .offer, .page section[aria-labelledby="about"] { max-width: 760px; margin-left: auto; margin-right: auto; }
.intro { font-size: 18px; line-height: 1.8; }
.offer { border-left: 3px solid var(--olive); background: #f8f5e9; padding: 19px 24px; margin-top: 25px; margin-bottom: 32px; border-radius: 0 6px 6px 0; }
.offer p { margin: 0; color: #161616; }
.page section[aria-labelledby="about"] h2 { font-size: 19px; line-height: 1.4; letter-spacing: .3px; font-weight: 700; margin: 0 0 18px; color: #203d32; }
.page section[aria-labelledby="about"] p { color: #161616; }
.apply { text-align: center; padding: 12px 0 44px; }
.button, button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 29px; border: 0; border-radius: 6px; background: #203d32; color: #fff; font: 600 16px/1.4 var(--font); text-decoration: none; cursor: pointer; transition: background .15s; }
.button:hover, button:hover { background: #305a47; }
button:disabled { opacity: .65; cursor: wait; }
.footer, .foot { color: var(--muted); text-align: center; font-size: 13px; padding: 22px 20px; }
.footer { border-top: 1px solid var(--line); }
.form-page { --line: #dce5df; --muted: #596b63; --surface: #f3f6f4; background: var(--surface); color: #23362f; }
.form-page a { color: #203d32; }
.form-page a:focus-visible, .form-page button:focus-visible { outline-color: #8B7A24; }
.top { max-width: 760px; margin: auto; padding: 26px 20px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.top a { text-decoration: none; }
.top strong { font-weight: 600; }
.step { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.frame { max-width: 720px; margin: 0 auto 15px; padding: 0; }
.sheet { padding: 37px 44px 34px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #203d3206; }
.sheet .heading { padding-bottom: 26px; margin-bottom: 24px; }
.sheet form { width: 100%; max-width: 100%; margin-inline: auto; }
.sheet .logo { width: 310px; margin-bottom: 23px; }
.sheet h1 { font: 700 clamp(25px, 4vw, 32px)/1.25 Arial, Helvetica, sans-serif; color: #203d32; letter-spacing: -.6px; margin-bottom: 10px; }
.sheet .heading p { margin: 0; font-size: 15px; color: var(--muted); }
.sheet .heading .pay-note { display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 5px; background: #f6f2e4; color: #63561c; font-size: 14px; }
.sheet .heading .pay-note strong { color: #9A1F24; }
.required { color: #ab2e2e; }
.form-note { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.fields { width: 100%; max-width: none; margin-inline: auto; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.grid > div { display: flex; flex-direction: column; }
.under { order: -1; color: var(--muted); font-size: 14px; margin-bottom: 7px; }
.field { margin-bottom: 24px; }
.field > label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 9px; }
input, select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b8c9bf; border-radius: 5px; background: #fff; color: var(--ink); font: 16px/1.4 var(--font); }
input:hover, select:hover { border-color: #789785; }
input:focus, select:focus { outline: none; border-color: #3b7659; box-shadow: 0 0 0 3px #3b765920; }
input[hidden] { display: none; }
.phone { display: flex; }
.phone select { width: 112px; flex-shrink: 0; border-radius: 5px 0 0 5px; border-right: 0; }
.phone input { min-width: 0; border-radius: 0 5px 5px 0; }
.actions { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.form-page button { min-width: 180px; background: #203d32; }
.form-page button:hover { background: #305a47; }
.actions a { font-size: 14px; }
.preview-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 19px 0 0; }
.status { margin-top: 20px; padding: 15px; border: 1px solid #a8c4b8; background: #eff7f1; color: #203d32; border-radius: 6px; font-size: 15px; line-height: 1.6; }
.status[data-state="error"] { background: #fff5f4; border-color: #d5a49e; color: #812b24; }
.status[data-state="pending"] { background: var(--surface); border-color: var(--line); color: var(--muted); }
.skip { position: absolute; top: -60px; left: 12px; background: #fff; padding: 10px; z-index: 3; }
.skip:focus { top: 12px; }
@media (max-width: 760px) {
  .page { padding: 28px 22px 0; }
  .frame { margin: 0 18px 15px; }
  .sheet { padding: 30px 26px; }
  .top { padding: 22px 20px 18px; }
  .hiring { padding: 5px 0 28px; }
}
@media (max-width: 480px) {
  .page { padding: 24px 18px 0; }
  .logo { width: 310px; }
  .heading { margin-bottom: 24px; }
  .brand-caption { font-size: 12px; letter-spacing: 1.5px; }
  .hiring { padding: 5px 0 26px; }
  .hiring .hiring-copy { font-size: 20px; }
  .offer { padding: 17px 18px; }
  .grid { grid-template-columns: 1fr; }
  .sheet { padding: 27px 21px; }
  .sheet .logo { width: 270px; }
  .top { flex-wrap: wrap; gap: 8px; }
  .frame { margin-left: 12px; margin-right: 12px; }
  .actions { gap: 20px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .button, button { transition: none; } }
