/* Public pages for job seekers and shop owners (/jobs, /shops, /thanks, /text-messages, /sms-terms, /privacy). Plain HTML, no app bundle, so carriers'
   reviewers and search engines read them without JavaScript. Same fonts and colors as the app (src/styles.css). */
@font-face {
  font-family: "Roboto";
  src: url("/brand/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/brand/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fff;
  --subtle: #f6f6f6;
  --line: #e2e2e2;
  --ink: #1b1b1b;
  --ink-2: #3a3a3a;
  --muted: #666;
  --accent: #c9362e;
  --accent-hover: #a60804;
  --accent-soft: #fbeceb;
  --night: #141414;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 16px/1.6 var(--font);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-hover);
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 44px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: 22px;
  font-weight: 650;
}
/* Section headings on the landing pages: bigger and tighter. */
.section > h2,
.faq-aside h2,
.cta-band h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
.doc {
  max-width: 760px;
}

/* Header and footer */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo img {
  height: 40px;
  width: auto;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 14px;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
}
.foot .nav a {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 600 16px/1 var(--font-display);
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn:active {
  transform: scale(0.98);
}
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--subtle);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* /jobs and /shops: the pitch and the sign-up form on the first screen, on a light band */
.hero-band {
  background: var(--subtle);
  border-bottom: 1px solid var(--line);
}
.apply-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas:
    "intro form"
    "more form";
  grid-template-rows: auto 1fr;
  column-gap: 72px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 80px;
}
.apply-intro {
  grid-area: intro;
}
.apply-intro .lead {
  max-width: 560px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.6;
}
.apply-more {
  grid-area: more;
}
.form-card {
  grid-area: form;
  max-width: none;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.form-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.form-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.form.form-card .btn {
  justify-self: stretch;
  width: 100%;
}

/* Line icons (Lucide, ISC license), inlined: 24px grid, drawn in the text color. */
.icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tile .icon {
  width: 22px;
  height: 22px;
}

/* What we offer, beside the form */
.points {
  display: grid;
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.points .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}
.points strong {
  display: block;
  color: var(--ink);
  font: 600 16px/1.4 var(--font-display);
}
.points p {
  color: var(--muted);
}
.text-us {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.text-us > .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--ink-2);
}
.text-us-title {
  color: var(--ink);
  font-weight: 500;
}
.consent-note {
  margin-top: 8px;
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.hero-photo {
  width: 100%;
  margin-top: 32px;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 62% 40%;
}
.more-title {
  margin-top: 40px;
  font-size: 17px;
}
.apply-more .texts {
  margin-top: 14px;
}
/* On the grey band, the example texts get a white bubble. */
.hero-band .texts li {
  border: 1px solid var(--line);
  background: #fff;
}

/* Sections below the band */
.section {
  margin-top: 96px;
}
.section > h2 + p {
  margin-top: 8px;
}

/* How it works: four steps joined by a line (a column of them on phones) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -12px;
  height: 1px;
  background: var(--line);
}
.step-n {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.steps h3 {
  margin-top: 2px;
  font-size: 18px;
}
.steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* Jobs we fill */
.role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.role-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.role-list h3 {
  margin-top: 2px;
}
.role-list p {
  margin-top: 4px;
  color: var(--muted);
}

/* Questions: an accordion beside how to reach us */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  column-gap: 72px;
  align-items: start;
}
.faq-contact p {
  margin-top: 10px;
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--accent-hover);
}
.contact-list .icon {
  color: var(--accent);
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  color: var(--ink);
  font: 600 17px/1.4 var(--font-display);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--accent-hover);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-item summary .icon {
  color: var(--muted);
  transition: transform 200ms ease;
}
.faq-item[open] summary .icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-width: 640px;
  padding: 0 40px 24px 0;
  color: var(--ink-2);
  line-height: 1.65;
}
.faq-item[open] .faq-answer {
  animation: faq-open 200ms ease;
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary .icon {
    transition: none;
  }
  .faq-item[open] .faq-answer {
    animation: none;
  }
}

/* The closing band: the app's own near-black, one button */
.cta-band {
  margin-top: 112px;
  background: var(--night);
  color: #d6d6d6;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  margin-top: 8px;
  color: #b8b8b8;
  font-size: 17px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta-band .btn {
  border-color: #dc4036;
  background: #dc4036;
}
.cta-band .btn:hover {
  border-color: #c9362e;
  background: #c9362e;
}
.cta-text {
  color: #fff;
  text-underline-offset: 3px;
}
.cta-text:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}
.landing .foot {
  margin-top: 0;
}

/* Sign-up forms (/jobs, /shops) */
.form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}
.field {
  display: grid;
  gap: 6px;
}
.field > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.field em {
  margin-left: 4px;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 16px var(--font);
}
.field input:focus,
.field select:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.disclosure {
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--subtle);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}
.disclosure-title {
  margin-bottom: 4px !important;
  color: var(--ink);
  font-weight: 600;
}
.form .btn {
  justify-self: start;
  min-width: 140px;
  cursor: pointer;
}
.form .btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.form-error {
  padding: 12px 14px;
  border-radius: 6px;
  background: #fbeceb;
  color: var(--accent-hover);
  font-size: 14px;
}
.form-error[hidden] {
  display: none;
}
/* Left empty by people, filled in by bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Documents (/text-messages, /sms-terms, /privacy, /thanks) */
.doc-head {
  padding-top: 48px;
}
.doc-head .updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.doc-head .intro {
  margin-top: 16px;
  font-size: 17px;
}
.doc section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.doc section > * + * {
  margin-top: 12px;
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li + li {
  margin-top: 6px;
}
.quote {
  padding: 16px 18px;
  border-radius: 6px;
  background: var(--subtle);
  color: var(--ink);
  font-size: 15px;
}
.quote .box {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 8px -2px 0;
  border: 1.5px solid #8a8a8a;
  border-radius: 3px;
  background: #fff;
}
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.texts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.texts li {
  max-width: 520px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--subtle);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.texts li + li {
  margin-top: 0;
}
.doc .texts {
  padding-left: 0;
}
dl.facts {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}
dl.facts dt,
dl.facts dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
dl.facts dt {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 760px) {
  h1 {
    font-size: 32px;
  }
  .section > h2,
  .faq-aside h2,
  .cta-band h2 {
    font-size: 25px;
  }
  .wrap {
    padding: 0 16px;
  }
  .top .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .logo img {
    height: 34px;
  }
  /* Phones: the pitch, then the form, then the rest. */
  .apply-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "form"
      "more";
    grid-template-rows: auto;
    row-gap: 28px;
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .apply-intro .lead {
    margin-top: 14px;
    font-size: 17px;
  }
  .form-card {
    padding: 22px 20px;
  }
  .points {
    margin-top: 8px;
  }
  .more-title {
    margin-top: 32px;
  }
  .form .btn {
    justify-self: stretch;
  }
  .section {
    margin-top: 64px;
  }
  /* Steps become a timeline: the icon on the left, the line running down between them. */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 28px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 16px;
    padding-bottom: 28px;
  }
  .steps li:last-child {
    padding-bottom: 0;
  }
  .steps .tile {
    grid-row: 1 / span 3;
  }
  .steps li:not(:last-child)::after {
    top: 54px;
    bottom: 10px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step-n {
    margin-top: 0;
  }
  .role-list {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Questions: the heading, the questions, then how to reach us. */
  .faq-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-aside {
    display: contents;
  }
  .faq-aside h2 {
    order: 0;
  }
  .faq-list {
    order: 1;
    margin-top: 20px;
  }
  .faq-contact {
    order: 2;
    margin-top: 28px;
  }
  .faq-answer {
    padding-right: 0;
  }
  .cta-band {
    margin-top: 72px;
  }
  .cta-band .wrap {
    flex-direction: column;
    align-items: stretch;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
  }
  dl.facts {
    grid-template-columns: minmax(0, 1fr);
  }
  dl.facts dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  dl.facts dd {
    padding-top: 2px;
  }
}
