/* RecruitStudio — white, green, black. Product clarity. No external requests. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0c120e;
  --paper: #ffffff;
  --green: #0a6b3b;        /* text-safe green, AA on white and on --tint */
  --green-2: #16a05a;      /* graphic accent, never body text */
  --tint: #edf6f0;
  --tint-2: #dcefe3;
  --mute: #48544d;
  --line: #d3ddd6;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd, ol, ul, figure, figcaption { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gut); top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-weight: 700; text-decoration: none; border-radius: 8px;
}
.skip:focus-visible { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

.label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; line-height: 1.4;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--tint); color: var(--green);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2;
  white-space: nowrap;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); flex: none; }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
.hero .eyebrow { color: var(--green); margin-bottom: 22px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px clamp(24px, 4vw, 64px); align-items: end;
}
.hero .eyebrow { grid-column: 1 / -1; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 6.6vw, 100px); line-height: 0.98; letter-spacing: -0.035em;
}
.hero h1 .less { color: var(--green); display: block; }
.hero .row { display: grid; gap: 28px; padding-bottom: 0.4em; }
.hero .lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 32em; }
.hero .state {
  border-left: 2px solid var(--green-2); padding: 4px 0 4px 20px;
  display: grid; gap: 8px; justify-items: start; color: var(--mute); font-size: 15px;
}

/* ---------- Workflow diagram ---------- */
.flow { padding-bottom: clamp(64px, 8vw, 112px); }
.flow .panel {
  background: var(--tint); border-radius: calc(var(--r) * 1.6);
  padding: clamp(24px, 4vw, 56px);
}
.flow .panel-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.flow h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 20em;
}
.flow .panel-head .label { color: var(--green); }
.flow .note { color: var(--mute); font-size: 15px; max-width: 30em; }
.diagram { width: 100%; height: auto; }
.diagram.v { display: none; }
.diagram text { font-family: var(--sans); fill: var(--ink); }
.diagram .t { font-weight: 700; font-size: 17px; }
.diagram .s { font-size: 14px; fill: var(--mute); }
.diagram .k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; fill: var(--green); }
.diagram .h { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.diagram .w { fill: var(--paper); }
.flow .legend {
  margin-top: clamp(20px, 3vw, 36px); padding-top: 18px; border-top: 1px solid var(--tint-2);
  color: var(--mute); font-size: 15px;
}

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.sec-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.03em; max-width: 12em;
}
.sec-head p { color: var(--mute); font-size: clamp(17px, 1.4vw, 19px); max-width: 34em; }
.sec-head .label { color: var(--green); display: block; margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 120px); }
.steps ol { margin-top: clamp(40px, 5vw, 72px); position: relative; }
.step {
  display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(16px, 3.4vw, 56px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .no {
  font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1;
  color: var(--green); letter-spacing: -0.02em; padding-top: 4px;
}
.step h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -0.025em;
}
.step .tag {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px;
}
.step .desc { margin-top: 18px; max-width: 30em; }
.step .you {
  margin-top: 18px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--mute); max-width: 30em;
}
.step .you svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.step .you strong { color: var(--ink); }

/* Illustrative artefacts: paper sheets, clearly mockups */
.mock { position: relative; }
.mock .sheet {
  background: var(--paper); border: 1px solid var(--ink); border-radius: 10px;
  padding: 22px 22px 20px; font-size: 14.5px; line-height: 1.5;
  box-shadow: 8px 8px 0 var(--tint-2);
}
.mock figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute);
}
.mock figcaption .ex { color: var(--green); }
.sheet .doc-h {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.sheet .doc-h b { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
.sheet .doc-h span { color: var(--mute); font-size: 13px; }
.sheet dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.sheet dt { color: var(--mute); }
.sheet .sub { margin: 14px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.sheet .rows li {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 0;
  border-top: 1px solid var(--line);
}
.sheet .rows li:first-child { border-top: 0; }
.sheet .rows small { display: block; color: var(--mute); font-size: 13px; }
.sheet .rows .src { color: var(--mute); font-size: 13px; text-align: right; }
.sheet .bul li { padding-left: 16px; position: relative; margin-top: 6px; }
.sheet .bul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); }
.sheet .tx li { display: grid; grid-template-columns: 3.6em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.sheet .tx li:first-child { border-top: 0; }
.sheet .tx .ts { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.sheet .tx .who { font-weight: 700; margin-right: 6px; }
.sheet .blank {
  margin-top: 12px; border: 1.5px dashed var(--green); border-radius: 8px;
  padding: 10px 12px; color: var(--green); font-size: 13.5px; font-weight: 700;
}
.sheet .foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute);
}
.sheet .foot b { color: var(--ink); }

/* ---------- Human control ---------- */
.control { background: var(--ink); color: var(--paper); }
.control :focus-visible { outline-color: var(--paper); }
.control .wrap { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.control .label { color: #8fd6ab; }
.control blockquote {
  margin: 20px 0 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; max-width: 18em;
}
.control blockquote .g { color: #8fd6ab; }
.control .nots {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid #3a443e;
}
.control .nots li {
  display: flex; gap: 12px; align-items: flex-start; padding: 20px 24px 20px 0;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35;
}
.control .nots li + li { padding-left: 24px; border-left: 1px solid #3a443e; }
.control .nots svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.control .fine { margin-top: 28px; max-width: 44em; color: #c9d1cc; }

/* ---------- Status ---------- */
.status { padding: clamp(64px, 9vw, 128px) 0; }
.status .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.status h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.035em;
}
.status .copy { display: grid; gap: 16px; font-size: clamp(17px, 1.4vw, 19px); max-width: 34em; padding-top: 8px; }
.status .mail { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); color: var(--green); letter-spacing: -0.01em; }

/* ---------- Contact ---------- */
.contact-grid {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px);
}
.form {
  display: grid; gap: 22px; align-content: start;
  background: var(--tint); border-radius: calc(var(--r) * 1.6); padding: clamp(22px, 4vw, 44px);
}
.aside { display: grid; gap: 4px; align-content: start; padding-top: 8px; }
.aside .label { margin-top: 18px; color: var(--green); }
.aside .label:first-child { margin-top: 0; }
.aside .fine { margin-top: 18px; color: var(--mute); font-size: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1px solid #7d8a82; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 170px; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: #a4161a; border-width: 2px; }
.hint { color: var(--mute); font-size: 14px; }
.err { color: #a4161a; font-size: 15px; font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { min-height: 65px; }
.note { font-size: 15px; }
.status:empty { display: none; }
.status { font-size: 16px; padding: 14px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.status.error { border-color: #a4161a; color: #a4161a; font-weight: 700; }
.status.ok { background: var(--green); border-color: var(--green); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.send {
  justify-self: start; font: inherit; font-weight: 700; font-size: 16px;
  background: var(--green); color: var(--paper); border: 0; border-radius: 999px;
  padding: 14px 28px; cursor: pointer;
}
.send:hover { background: var(--ink); }
.send:disabled { opacity: 0.6; cursor: progress; }
.form .small { color: var(--mute); font-size: 14px; }
.page .intro + .intro { margin-top: 12px; }
.prose h2 + .text { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--mute); }
.footer .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 24px clamp(20px, 4vw, 56px); }
.footer .made { color: var(--ink); font-size: 16px; max-width: 24em; }
.footer .made .brand { margin-bottom: 14px; }
.footer .label { display: block; color: var(--ink); margin-bottom: 4px; }
.footer .links { display: grid; gap: 4px; justify-items: start; color: var(--ink); }
.footer .copy { grid-column: 1 / -1; }

/* ---------- Simple pages ---------- */
.page { padding: clamp(48px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); }
.page h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.page .intro { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); max-width: 34em; color: var(--mute); }
.prose { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 0; max-width: 820px; }
.prose section { padding: 24px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; }
.prose ul { display: grid; gap: 6px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.updated { color: var(--mute); font-size: 14px; margin-top: 8px; }
.back { display: inline-block; margin-top: 32px; font-weight: 700; color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step .mock { grid-column: 2 / -1; margin-top: 8px; }
  .control .nots { grid-template-columns: 1fr; }
  .control .nots li + li { padding-left: 0; border-left: 0; border-top: 1px solid #3a443e; }
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero .wrap, .hero .row, .sec-head, .status .grid, .footer .grid { grid-template-columns: 1fr; }
  .diagram.h-only { display: none; }
  .diagram.v { display: block; max-width: 420px; margin: 0 auto; }
  .top nav .opt { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step .mock { grid-column: 1 / -1; }
  .step .no { font-size: 24px; }
  .mock .sheet { padding: 18px 16px 16px; box-shadow: 6px 6px 0 var(--tint-2); }
  .sheet dl { grid-template-columns: 1fr; gap: 0; }
  .sheet dd { margin-bottom: 6px; }
  .top .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.prose .text { display: grid; gap: 10px; }

/* Step rail: the numbers are joined into one sequence (workflow, not a feature list) */
.step { --pad: clamp(32px, 4vw, 56px); }
.step .no { display: flex; flex-direction: column; align-items: flex-start; }
.step:not(:last-child) .no::after {
  content: ""; flex: 1; width: 2px; margin: 16px 0 calc(-1 * var(--pad) - 4px) 13px;
  background: linear-gradient(var(--green-2), var(--tint-2));
}
.step:not(:first-child) .no::before {
  content: ""; width: 2px; height: calc(var(--pad) + 4px); margin: calc(-1 * var(--pad) - 4px) 0 10px 13px;
  background: var(--tint-2);
}
.footer .links a, .footer .made a:not(.brand) { padding: 3px 0; }
@media (max-width: 520px) {
  .step .no::before, .step .no::after { display: none !important; }
  .footer .links { gap: 8px; }
}
