/* Global Hire — contact and legal pages.

   Standalone from landing.css and from the dashboard stylesheet. The landing
   header is built to sit over a near-black hero and starts with white links;
   these pages are white documents from the first pixel, so they need their own
   header rather than a pile of overrides fighting the other file. */

:root {
  --red: #b91f28;
  --ink: #12141a;
  --ink-soft: #3f4650;
  --muted: #606773;
  --faint: #8a9099;
  --line: #e4e7ea;
  --paper: #ffffff;
  --wash: #f6f7f9;

  --shell: min(760px, 100% - 2.5rem);
  --wide: min(1140px, 100% - 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 800; }
p { margin: 0; }

a { color: var(--red); }

/* Header ------------------------------------------------------------------ */

.page-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--wide)) / 2));
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.page-header .brand img { width: 136px; }

.page-nav { display: flex; align-items: center; gap: 1.1rem; }

.page-nav a {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-nav a:hover { color: var(--red); }

.page-nav .nav-login {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.page-nav .nav-login:hover { border-color: var(--red); color: var(--red); }

.page-nav .nav-cta {
  padding: .55rem 1.15rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px -12px rgba(185, 31, 40, .9);
}

.page-nav .nav-cta:hover { background: #d4242f; color: #fff; }

@media (max-width: 640px) {
  .page-nav a.plain { display: none; }
  .page-nav { gap: .5rem; }
  .page-nav a { font-size: .82rem; }
  .page-nav .nav-login, .page-nav .nav-cta { padding: .42rem .7rem; font-size: .82rem; }
  .page-header { padding-left: 1rem; padding-right: 1rem; }
  .page-header .brand img { width: 100px; }
}

/* Document ---------------------------------------------------------------- */

.doc {
  width: var(--shell);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.doc-kicker {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}

.doc h1 {
  margin: .7rem 0 1rem;
  font-size: clamp(2.1rem, 5vw, 2.9rem);
}

.doc-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.doc-updated {
  margin-top: 1.6rem;
  padding: .7rem 1rem;
  border-left: 3px solid var(--line);
  font-size: .87rem;
  color: var(--muted);
}

.doc h2 {
  margin: 3rem 0 .9rem;
  font-size: 1.32rem;
  scroll-margin-top: 5.5rem;
}

.doc h3 {
  margin: 2rem 0 .6rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.doc p + p { margin-top: 1rem; }
.doc h2 + p, .doc h3 + p { margin-top: 0; }

.doc ul, .doc ol { margin: 1rem 0; padding-left: 1.3rem; }
.doc li { margin-bottom: .55rem; }
.doc li::marker { color: var(--faint); }

.doc strong { font-weight: 700; }

/* The one thing on a legal page a reader must not skim past. */
.callout {
  margin: 1.6rem 0;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(185, 31, 40, .22);
  background: rgba(185, 31, 40, .045);
}

.callout p { font-size: .95rem; }
.callout p + p { margin-top: .7rem; }

.callout-title {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem !important;
}

.doc-toc {
  margin: 2rem 0 0;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: var(--wash);
  border: 1px solid var(--line);
}

.doc-toc p {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .6rem !important;
}

.doc-toc ol { margin: 0; padding-left: 1.2rem; }
.doc-toc li { margin-bottom: .3rem; font-size: .92rem; }
.doc-toc a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.doc-toc a:hover { color: var(--red); }

table.plain {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  font-size: .92rem;
}

table.plain th, table.plain td {
  padding: .7rem .8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.plain th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

.table-scroll { overflow-x: auto; }

/* Contact ------------------------------------------------------------------ */

.contact-shell {
  width: var(--wide);
  margin: 0 auto;
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; }
}

.contact-intro h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin: .7rem 0 1rem; }
.contact-intro .doc-lede { max-width: 44ch; }

.contact-ways { margin-top: 2.5rem; display: grid; gap: 1.4rem; }

.contact-way-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-way strong { display: block; font-size: 1.02rem; margin-top: .2rem; }
.contact-way a { text-decoration: none; font-weight: 700; }
.contact-way a:hover { text-decoration: underline; }
.contact-way small { display: block; color: var(--muted); font-size: .87rem; margin-top: .15rem; }

.contact-card {
  padding: 2.1rem 2.2rem 2.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 60px -40px rgba(18, 20, 26, .5);
}

@media (max-width: 560px) { .contact-card { padding: 1.5rem 1.3rem 1.7rem; } }

.contact-card h2 { font-size: 1.25rem; }
.contact-card > p { margin-top: .5rem; color: var(--muted); font-size: .93rem; }

.field { display: block; margin-top: 1.15rem; }

.field-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}

.field-label i { font-style: normal; color: var(--faint); font-weight: 600; text-transform: none; letter-spacing: 0; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(185, 31, 40, .1);
}

.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field-hint { margin-top: .45rem; font-size: .82rem; color: var(--muted); }
.field-hint.is-warn { color: var(--red); }

/* Off-screen rather than display:none — a bot reading the DOM sees a normal
   field, while nobody using the page ever meets it. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.phone-field { display: flex; align-items: stretch; gap: .5rem; }

.phone-dial {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0 .75rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
}

.btn-primary {
  width: 100%;
  margin-top: 1.6rem;
  padding: .95rem 1.6rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.btn-primary:hover:not(:disabled) { background: #d4242f; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: default; }

.form-feedback { margin-top: .9rem; font-size: .9rem; color: var(--red); min-height: 1.2rem; }

.form-privacy { margin-top: 1rem; font-size: .82rem; color: var(--muted); line-height: 1.6; }
.form-privacy a { color: var(--ink-soft); font-weight: 600; }

.sent {
  padding: 1rem 0;
  text-align: center;
}

.sent h2 { font-size: 1.35rem; }
.sent p { margin-top: .7rem; color: var(--muted); }

.sent-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(17, 131, 77, .1);
  position: relative;
}

.sent-mark::after {
  content: "";
  position: absolute;
  left: 19px; top: 15px;
  width: 13px; height: 23px;
  border: solid #11834d;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Footer ------------------------------------------------------------------- */

.page-footer {
  padding: 3.2rem max(1.25rem, calc((100vw - var(--wide)) / 2));
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.page-footer .footer-mark { width: 124px; margin: 0 auto 1.2rem; }
.page-footer .footer-address { font-size: .88rem; color: var(--muted); }

.page-footer .footer-links {
  margin-top: .7rem;
  font-size: .88rem;
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--faint);
}

.page-footer .footer-links a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.page-footer .footer-links a:hover { color: var(--red); }
.page-footer .footer-fine { margin-top: 1.3rem; font-size: .78rem; color: var(--faint); }

/* Agency credit ----------------------------------------------------------- */

.site-credit {
  margin-top: .55rem;
  font-size: .78rem;
  color: var(--faint);
}

.site-credit a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.site-credit a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ----------------------------------------------- the revenue-share choice */
/* Owner signup only: how the monthly revenue share gets paid. The choice is
   recorded with the signup as the consent everything later obeys. */

.share-method,
.agreement {
  border: 1px solid var(--line, #e3e6ec);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.2rem;
  margin-top: 1.4rem;
  display: grid;
  gap: .65rem;
}
.share-method legend,
.agreement legend {
  font-weight: 700;
  font-size: .92rem;
  padding: 0 .4rem;
}
.share-method legend i,
.agreement legend i { font-style: normal; color: var(--faint, #a0a6b1); font-weight: 600; font-size: .8rem; }
.share-method > label,
.agreement > label {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  border: 1px solid var(--line, #e3e6ec);
  border-radius: 10px;
  padding: .75rem .9rem;
  cursor: pointer;
}
.share-method > label:hover,
.agreement > label:hover { border-color: var(--red, #e63946); }
.share-method > label:has(input:checked),
.agreement > label:has(input:checked) { border-color: var(--red, #e63946); background: rgba(230, 57, 70, 0.04); }
.share-method input,
.agreement input { margin-top: .2rem; accent-color: var(--red, #e63946); }
.share-method span { display: grid; gap: .15rem; }
.share-method strong { font-size: .92rem; }
.share-method small { color: var(--muted, #5a6272); font-size: .82rem; line-height: 1.45; }
.share-method .field-hint { margin: 0 0 .3rem; }

/* ---------------------------------------------------------------------------
   404
   ---------------------------------------------------------------------------
   A mistyped or expired address used to reach Vercel's generic page, which
   carries no branding and no way back into the site. This one names every
   route a stranger could plausibly have been aiming for, and says plainly
   that a personal emailed link cannot be typed by hand. */

.notfound-shell {
  width: var(--wide);
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  max-width: 62ch;
}

.notfound-code {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--red, #b91f28);
}

.notfound-shell h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin: .5rem 0 1rem;
  text-wrap: balance;
}

.notfound-ways {
  margin: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .9rem;
}

.notfound-way {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, rgba(124, 130, 142, 0.24));
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.notfound-way:hover {
  border-color: var(--red, #b91f28);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -20px rgba(12, 13, 16, .55);
}

.notfound-way strong { font-size: .96rem; }
.notfound-way span { font-size: .84rem; color: var(--muted, #5a6272); line-height: 1.5; }

.notfound-help {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted, #5a6272);
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .notfound-way, .notfound-way:hover { transition: none; transform: none; }
}

/* The two ticks at owner signup read as sentences, not as options in a
   list - each is a thing being agreed to, with the link inside it. */
/* One line each. Both sentences are short now - the price lives in the
   policy behind the link, not beside the tick - so they only need room not
   to wrap, and a little less padding than the radio rows above them. */
.agreement > label { align-items: center; padding: .6rem .8rem; }
.agreement span { display: block; font-size: .9rem; line-height: 1.5; color: var(--ink, #12141a); }
.agreement a { font-weight: 700; }
