/* ==========================================================================
   HIRD EXCHANGE — design system
   Model: mature employment/equipment marketplaces (Indeed-class).
   White. Typography-driven. Handwritten CSS — no frameworks, no kits.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin-wght-normal-1f021a24.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f5f7f5;      /* alternating section tint */
  --ink: #181b18;
  --ink-2: #4d554d;
  --ink-3: #6f776f;
  --line: #e2e6e2;
  --line-2: #c9cfc9;

  --green: #15803d;        /* actionable green — AA on white */
  --green-hover: #116634;
  --green-tint: #ecf6ee;   /* soft green wash */
  --green-mark: #2fbe4f;   /* brand mark / small accents */

  --danger: #b3261e;
  --coal: #0e100e;         /* footer / dark accents */

  --radius: 8px;
  --radius-lg: 12px;
  --pad: clamp(20px, 4vw, 44px);
  --measure: 1200px;
}

/* ---- Base ---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
::selection { background: var(--green-tint); }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}

.arrow-link { font-weight: 600; color: var(--green); }
.arrow-link:hover { color: var(--green-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-hover); }
.btn-solid[disabled] { background: var(--line-2); cursor: default; }
.btn-quiet { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: baseline; gap: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.brand .mark { color: var(--green); }
.header nav { display: flex; gap: 4px; }
.header nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.header nav a:hover { color: var(--ink); background: var(--paper-2); }
.header nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.hero-inner { max-width: 880px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; }
.hero .sub {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
}

.searchbox {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(14, 16, 14, 0.06);
  overflow: hidden;
}
.searchbox label { display: block; padding: 12px 18px 14px; }
.searchbox label + label { border-left: 1px solid var(--line); }
.searchbox .lab { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.searchbox input { width: 100%; margin-top: 2px; font-size: 16px; }
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox .btn { margin: 8px; border-radius: var(--radius); }

.browse-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.browse-links span { color: var(--ink-3); }

/* ==========================================================================
   Video section
   ========================================================================== */
.video-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.video-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.video-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; }
.video-copy p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 50ch; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--coal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-frame .play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 4px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; max-width: 24ch; }
.section-lede { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }

.cap-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.cap:hover { border-color: var(--line-2); box-shadow: 0 3px 14px rgba(14, 16, 14, 0.07); }
.cap h3 { font-size: 20px; font-weight: 700; }
.cap p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.cap .arrow-link { margin-top: 18px; font-size: 15px; }
.cap .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

/* ==========================================================================
   Hird Integration band
   ========================================================================== */
.integration { background: var(--coal); color: #f2f4f1; }
.integration .kicker { color: var(--green-mark); }
.integration-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.integration h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; }
.integration p { margin-top: 16px; color: #b9c1b9; font-size: 17px; max-width: 52ch; }
.integration .btn { margin-top: 28px; }

.flow { display: flex; flex-direction: column; gap: 10px; }
.flow .node {
  border: 1px solid #2c322c;
  border-radius: var(--radius);
  background: #151815;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.flow .node.problem { border-color: var(--green-mark); color: #fff; }
.flow .node.result { background: var(--green); border-color: var(--green); color: #fff; }
.flow .stage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.flow .stage .node { padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 600; color: #cdd4cd; }
.flow .down { text-align: center; color: #5d655d; font-size: 14px; line-height: 1; }

/* ==========================================================================
   A new way to work
   ========================================================================== */
.newwork { border-top: 1px solid var(--line); }
.newwork-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); padding-block: clamp(56px, 7vw, 96px); }
.newwork h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; }
.newwork .side p { color: var(--ink-2); max-width: 52ch; }
.newwork .side p + p { margin-top: 14px; }
.mode-list { margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.mode-list li {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.mode-list li.on { border-color: var(--green); color: var(--green); background: var(--green-tint); }

/* ==========================================================================
   Economy categories
   ========================================================================== */
.economy { background: var(--paper-2); border-block: 1px solid var(--line); }
.econ-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.econ { border-left: 3px solid var(--green); padding-left: 18px; }
.econ h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.econ p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }

/* ==========================================================================
   Audience rows
   ========================================================================== */
.audiences .aud-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}
.audiences .aud-row:first-of-type { border-top: 1px solid var(--line); margin-top: 44px; }
.aud-row h3 { font-size: 22px; font-weight: 750; }
.aud-row .who { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.aud-row p { color: var(--ink-2); font-size: 15.5px; max-width: 56ch; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 4px 22px; color: var(--ink-2); max-width: 70ch; }

/* ==========================================================================
   Market pages
   ========================================================================== */
.market-page { padding-block: clamp(48px, 6vw, 80px); }
.market-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.market-info h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.market-info .tagline { margin-top: 8px; font-size: 19px; font-weight: 600; color: var(--ink-2); }
.market-info .desc { margin-top: 18px; color: var(--ink-2); }

.market-info h2 { margin-top: 34px; font-size: 14px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.market-list { margin-top: 12px; list-style: none; border-top: 1px solid var(--line); }
.market-list li { padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }

.steps { margin-top: 12px; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 14px; padding-block: 10px; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  padding-top: 2px;
}
.steps b { display: block; font-size: 15px; }
.steps span { font-size: 14.5px; color: var(--ink-2); }

/* ==========================================================================
   Listings — browse rows and detail
   ========================================================================== */
.market-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding-block: clamp(36px, 5vw, 56px) 8px; }
.market-head h1 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
.market-head .tagline { margin-top: 6px; font-size: 17px; color: var(--ink-2); }
.market-head .actions { display: flex; gap: 10px; }
.market-count { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }

.listing-rows { margin-top: 10px; border-top: 1px solid var(--line); }
.lrow { display: block; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.lrow:hover h3 { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.lrow h3 { font-size: 19px; font-weight: 700; }
.lrow .summary { margin-top: 5px; font-size: 15px; color: var(--ink-2); max-width: 78ch; }
.lrow .meta { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-3); }
.lrow .meta .rate { color: var(--green-hover); font-weight: 700; }
.lrow .tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.lrow .tags span {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper-2);
}

.zero-state {
  margin-top: 10px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.zero-state h3 { font-size: 19px; font-weight: 700; }
.zero-state p { margin: 8px auto 18px; max-width: 52ch; color: var(--ink-2); font-size: 15px; }

.listing-page { padding-block: clamp(36px, 5vw, 56px); }
.listing-page .crumb { font-size: 13.5px; color: var(--ink-3); }
.listing-page .crumb a { color: var(--green); font-weight: 600; }
.listing-page h1 { margin-top: 10px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 26ch; }
.listing-grid { margin-top: 26px; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.listing-body { font-size: 16px; color: var(--ink-2); }
.listing-body p + p { margin-top: 14px; }
.listing-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-block: 20px 26px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.listing-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.listing-facts dd { margin-top: 2px; font-size: 15px; font-weight: 600; }
.owner-line { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.owner-line b { color: var(--ink); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 2px 10px rgba(14, 16, 14, 0.05);
  background: var(--paper);
}
.form-card > h2 { font-size: 21px; font-weight: 750; }
.form-card > .form-sub { margin-top: 6px; margin-bottom: 22px; font-size: 14.5px; color: var(--ink-2); }

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
/* Every text-like input, so a new input type can never render unstyled. */
.field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 15px;
  transition: border-color 120ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.intent-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.intent-toggle label {
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.intent-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.intent-toggle label:has(input:checked) { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.intent-toggle label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 8px; }
.checks label { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.checks input { width: 16px; height: 16px; accent-color: var(--green); }

.hp { position: absolute; left: -9999px; top: auto; height: 1px; width: 1px; overflow: hidden; }

.form-success {
  border: 1px solid var(--green);
  background: var(--green-tint);
  color: var(--green-hover);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
}
.form-error {
  border: 1px solid #e5b6b3;
  background: #fdf1f0;
  color: var(--danger);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 14px;
}

/* Landing network-join variant */
.join-card { max-width: 640px; }

/* ==========================================================================
   Post chooser
   ========================================================================== */
.post-page { padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 80px); max-width: 860px; }
.post-head h1 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
.post-lede { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }

.post-group { margin-top: 40px; }
.post-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.post-option {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.post-option:hover h3 { color: var(--green); }
.post-option:hover .post-go { color: var(--green-hover); text-decoration: underline; text-underline-offset: 3px; }
.post-option > div { flex: 1 1 460px; }
.post-option h3 { font-size: 20px; font-weight: 750; transition: color 120ms ease; }
.post-option p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 62ch; }
.post-go { font-size: 15px; font-weight: 600; color: var(--green); white-space: nowrap; }

.post-unsure {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.post-unsure h2 { font-size: 19px; font-weight: 750; }
.post-unsure p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 60ch; }

/* ==========================================================================
   Accounts — auth pages and the member dashboard
   ========================================================================== */
.header-link { font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 6px; }
.header-link:hover { background: var(--paper-2); }

.auth-page { padding-block: clamp(48px, 7vw, 88px); display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 28px; font-weight: 800; }
.auth-card .form-sub { margin-bottom: 24px; }
.auth-card .btn-solid { width: 100%; margin-top: 4px; }
.auth-alt { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); text-align: center; }
.opt { font-weight: 400; color: var(--ink-3); }

.account-page { padding-block: clamp(36px, 5vw, 56px); }
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.account-head h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.account-meta { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.account-actions { display: flex; gap: 10px; align-items: center; }
.account-actions form { margin: 0; }
.account-section { margin-top: 52px; font-size: 22px; font-weight: 750; }
.account-empty { margin-top: 14px; color: var(--ink-3); font-size: 15px; }

.lrow.owned { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start; }
.lrow.owned .owned-main { flex: 1 1 420px; }
.lrow.owned .owned-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.owned-buttons { display: flex; gap: 8px; }
.owned-buttons .btn { padding: 7px 14px; font-size: 13.5px; }
.owned-buttons form { margin: 0; }
.lrow.owned h3 a:hover { color: var(--green); }

/* ==========================================================================
   Public profiles
   ========================================================================== */
.profile-page { padding-block: clamp(36px, 5vw, 56px); }
.profile-head h1 { margin-top: 8px; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
.profile-sub { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.profile-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--ink-3); }
.profile-bio { margin-top: 26px; max-width: 66ch; color: var(--ink-2); font-size: 16px; }
.profile-bio p + p { margin-top: 12px; }
.profile-section { margin-top: 44px; font-size: 20px; font-weight: 750; }

/* ==========================================================================
   Message threads
   ========================================================================== */
.thread-meta { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.thread { margin-top: 28px; display: grid; gap: 14px; max-width: 760px; }
.msg { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; background: var(--paper); }
.msg.mine { border-color: #cfe4d5; background: var(--green-tint); }
.msg-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 13.5px; margin-bottom: 6px; }
.msg-head span { color: var(--ink-3); font-size: 12.5px; }
.msg-body { font-size: 15.5px; color: var(--ink); }
.msg-body p + p { margin-top: 10px; }
.reply-card { margin-top: 24px; max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding-block: clamp(48px, 6vw, 80px); max-width: 760px; }
.legal h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.legal .effective { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.legal section { margin-top: 30px; }
.legal h2 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.legal p { color: var(--ink-2); font-size: 15.5px; }
.legal a { color: var(--green); font-weight: 600; }

/* ==========================================================================
   Search results
   ========================================================================== */
.search-page { padding-block: clamp(40px, 5vw, 64px); }
.search-page h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.search-page .meta { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }
.result-list { margin-top: 28px; display: grid; gap: 16px; max-width: 760px; }
.result {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  display: block;
}
.result:hover { border-color: var(--line-2); box-shadow: 0 3px 14px rgba(14, 16, 14, 0.07); }
.result h2 { font-size: 19px; font-weight: 700; }
.result p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.result .go { margin-top: 10px; display: inline-block; font-size: 14.5px; }

/* ==========================================================================
   Coordination desk (admin)
   ========================================================================== */
.desk { padding-block: clamp(32px, 4vw, 56px); }
.desk h1 { font-size: 28px; font-weight: 800; }
.desk .desk-meta { margin-top: 4px; color: var(--ink-3); font-size: 14px; }
.desk h2 { margin-top: 40px; font-size: 18px; font-weight: 750; }
.desk-filters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.desk-filters a {
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.desk-filters a.on { border-color: var(--green); color: var(--green); background: var(--green-tint); }

.desk-table { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 14px; }
.desk-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
}
.desk-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.desk-table td.body-cell { max-width: 420px; color: var(--ink-2); }
.desk-table .pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pill.status-new { background: var(--green-tint); color: var(--green-hover); }
.pill.status-reviewing { background: #fdf6e3; color: #8a6d1a; }
.pill.status-contacted { background: #eef2fb; color: #33518e; }
.pill.status-matched { background: var(--green); color: #fff; }
.pill.status-closed { background: var(--paper-2); color: var(--ink-3); }

.desk-table select { border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 8px; font-size: 13px; background: var(--paper); }
.desk-table .btn { padding: 6px 12px; font-size: 13px; }

.flash { max-width: var(--measure); margin: 16px auto 0; padding-inline: var(--pad); }
.flash p { border-radius: var(--radius); padding: 12px 16px; font-size: 14.5px; font-weight: 600; }
.flash .notice { background: var(--green-tint); color: var(--green-hover); border: 1px solid var(--green); }
.flash .alert { background: #fdf1f0; color: var(--danger); border: 1px solid #e5b6b3; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--coal); color: #b9c1b9; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px; }
.footer .brand { color: #fff; }
.footer .tagline { margin-top: 12px; font-size: 14.5px; max-width: 30ch; }
.footer h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #7c847c; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 9px; }
.footer ul a { font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-base { border-top: 1px solid #242924; }
.footer-base-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 22px; font-size: 13px; color: #7c847c; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .econ-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .video-inner, .integration-inner, .newwork-inner { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .aud-row { grid-template-columns: 1fr; gap: 12px; }
  .header nav { display: none; }
}
@media (max-width: 680px) {
  .searchbox { grid-template-columns: 1fr; }
  .searchbox label + label { border-left: none; border-top: 1px solid var(--line); }
  .searchbox .btn { margin: 12px; }
  .cap-grid { grid-template-columns: 1fr; }
  .flow .stage { grid-template-columns: repeat(2, 1fr); }
  .field-row, .checks, .intent-toggle { grid-template-columns: 1fr; }
  .desk-table { display: block; overflow-x: auto; }
}
