/* Injector Jobs — site styles. Palette: ink #16232B, rosewood #B0435A, paper #FBF8F5. */
:root {
  --ink: #16232B;
  --ink-soft: #5B6670;
  --rose: #B0435A;
  --rose-dark: #8E3247;
  --blush: #F7E9EC;
  --paper: #FBF8F5;
  --white: #FFFFFF;
  --line: #E6DFDA;
  --yes: #2E7353;
  --yes-bg: #EAF4EE;
  --cond: #8A5A0B;
  --cond-bg: #FBF1DE;
  --no: #9E3434;
  --no-bg: #FBEAEA;
  --na: #5B6670;
  --na-bg: #EEF0F2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --read: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose); }

/* Dose-line motif: graduated tick marks, the brand signature */
.dose { display: block; height: 10px; width: 132px; margin: 0 0 18px;
  background:
    repeating-linear-gradient(90deg, var(--rose) 0 2px, transparent 2px 12px) bottom left / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--rose) 0 2px, transparent 2px 60px) bottom left / 100% 10px no-repeat;
  opacity: .85; }

/* Hero */
.hero { padding: 64px 0 48px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 600; margin: 48px 0 14px; }
h3 { font-size: 21px; font-weight: 600; margin: 28px 0 8px; }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }

/* State picker */
.picker { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; max-width: 640px; }
.picker label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
select, input[type="email"] {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 52px; min-width: 0;
}
select { flex: 1 1 240px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  color: var(--white); background: var(--rose); border: 0; border-radius: 10px; padding: 12px 22px; }
.btn:hover { background: var(--rose-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }
.btn.ghost:hover { background: var(--blush); color: var(--rose-dark); }

/* Sections */
.band { padding: 56px 0; }
.band.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* State grid */
.state-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.state-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.state-grid a:hover { border-color: var(--rose); color: var(--rose); }
.state-grid .code { font-family: var(--serif); font-size: 15px; color: var(--rose); }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: s; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blush); color: var(--rose-dark); font-family: var(--serif); font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin-top: 4px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Article */
.crumbs { font-size: 15px; color: var(--ink-soft); padding-top: 24px; }
.crumbs a { color: var(--ink-soft); }
.article { padding-top: 20px; padding-bottom: 64px; }
.article .meta { font-size: 15px; color: var(--ink-soft); margin: -6px 0 26px; }
.answer { font-size: 19px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 8px; }
.answer::before { content: "Short answer"; display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 6px 0; }

/* Tables: scroll inside their own box on small screens */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--blush); font-size: 15px; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.yes { color: var(--yes); background: var(--yes-bg); }
.tag.cond { color: var(--cond); background: var(--cond-bg); }
.tag.no { color: var(--no); background: var(--no-bg); }
.tag.na { color: var(--na); background: var(--na-bg); }

.note { font-size: 16px; color: var(--ink-soft); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 32px 0 0; }

/* Signup */
.signup { background: var(--ink); color: var(--white); border-radius: 18px; padding: 32px; margin: 48px 0 0; }
.signup h2 { color: var(--white); margin: 0 0 8px; }
.signup p { color: #D6DCE0; margin: 0 0 18px; }
.signup form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.signup form .full { grid-column: 1 / -1; }
.signup select, .signup input[type="email"] { width: 100%; border-color: transparent; }
.signup .fine { font-size: 15px; color: #C2CAD0; margin: 4px 0 0; }
.signup .fine a { color: #F2C7D1; }
.signup .ok { font-weight: 600; color: #BFE6D0; }
.signup .err { font-weight: 600; color: #F6C3C3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--white); padding: 32px 0 40px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; gap: 18px 32px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 32px; }
  .signup { padding: 24px 18px; }
  .signup form { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .btn { width: 100%; }
}

/* Phones: each table row becomes a labelled card */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; padding: 6px 0; }
  .table-wrap td { display: block; border: 0; padding: 8px 16px; }
  .table-wrap td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
  .table-wrap td:first-child { font-weight: 700; font-size: 17px; }
  .table-wrap td:first-child::before { display: none; }
  .table-wrap table.compact td[data-label] { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px; }
  .table-wrap table.compact td[data-label]::before { display: inline; margin: 0; }
}
