/* LocalAdKit. One family (Archivo, using its width axis) and a job-site palette:
   asphalt, concrete, hi-vis yellow. Yellow is spent only on the main action and the ad captions. */

:root {
  --asphalt: #1c2321;
  --asphalt-2: #2b3431;
  --concrete: #e4e6e3;
  --concrete-2: #d3d7d3;
  --paper: #ffffff;
  --hivis: #f2d21b;
  --duct: #0e5e6f;
  --muted: #5b6662;
  --danger: #b3261e;
  --ok: #2e7d4f;
  --radius-s: 6px;
  --radius-l: 14px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wide: 'Archivo', system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.6rem, 6vw, 4.6rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--asphalt);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
}

img,
canvas,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--duct);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--duct);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.05;
  font-weight: 800;
  font-variation-settings: 'wdth' 72;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  font-variation-settings: 'wdth' 85;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--asphalt-2);
}

.muted {
  color: var(--muted);
}

/* Header */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--asphalt);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.02em;
}

.wordmark svg {
  width: 28px;
  height: 28px;
}

.site-head nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-head nav a:not(.btn) {
  color: var(--asphalt);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 640px) {
  .site-head nav a:not(.btn) {
    display: none;
  }
}

/* Buttons and inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--asphalt);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--concrete-2);
}

.btn-go {
  background: var(--hivis);
}

.btn-go:hover {
  background: #e3c30c;
}

.btn-dark {
  background: var(--asphalt);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--asphalt-2);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--asphalt);
  font: inherit;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.field {
  margin-bottom: 16px;
}

.hint {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 6px;
}

.form-msg {
  min-height: 1.5em;
  font-size: var(--step--1);
  margin-top: 8px;
}

.form-msg.error {
  color: var(--danger);
}

.form-msg.ok {
  color: var(--ok);
}

.hp {
  position: absolute;
  left: -9999px;
}

/* Work-order ticket: the app's one container shape (a form you fill out) */
.ticket {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-l);
  padding: 22px 22px 18px;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px dashed var(--concrete-2);
  font-weight: 700;
}

.ticket-head span:last-child {
  color: var(--muted);
  font-weight: 500;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-block: 40px 72px;
}

.hero h1 {
  max-width: 13ch;
}

.hero .ticket {
  margin-top: 28px;
  max-width: 520px;
}

.url-row {
  display: flex;
  gap: 10px;
}

.url-row input {
  flex: 1;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .url-row {
    flex-direction: column;
  }
}

/* Phone frame around the live demo ad */
.phone {
  justify-self: center;
  width: min(320px, 82vw);
  padding: 12px;
  border-radius: 38px;
  background: var(--asphalt);
  box-shadow: 0 30px 60px -30px rgba(28, 35, 33, 0.55);
}

.phone canvas {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: var(--asphalt-2);
  cursor: pointer;
}

.phone-caption {
  text-align: center;
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 12px;
}

/* Sections */
.band {
  padding-block: 72px;
}

.band-dark {
  background: var(--asphalt);
  color: var(--concrete);
}

.band-dark a {
  color: var(--hivis);
}

.band-dark .muted {
  color: #a9b2ae;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 2px solid currentColor;
}

.steps li {
  counter-increment: step;
  padding: 24px 24px 8px 0;
}

.steps li + li {
  padding-left: 24px;
  border-left: 2px solid rgba(228, 230, 227, 0.25);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-size: var(--step-3);
  font-weight: 800;
  font-variation-settings: 'wdth' 62;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--hivis);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 2px solid rgba(228, 230, 227, 0.25);
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Pricing: a rate sheet, not three floating cards */
.rates {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.rates th,
.rates td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--concrete-2);
}

.rates tr:last-child td {
  border-bottom: 0;
}

.rates .price {
  font-size: var(--step-2);
  font-weight: 800;
  font-variation-settings: 'wdth' 72;
  white-space: nowrap;
}

.rates .plan-name {
  font-weight: 800;
  font-size: var(--step-1);
}

.rates tr.pick td {
  background: #fbf4c6;
}

@media (max-width: 640px) {
  .rates thead {
    display: none;
  }
  .rates tr {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid var(--concrete-2);
  }
  .rates td {
    border: 0;
  }
  .rates td:nth-child(3),
  .rates td:nth-child(4) {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}

.faq details {
  border-top: 2px solid var(--asphalt);
  padding-block: 16px;
}

.faq details:last-child {
  border-bottom: 2px solid var(--asphalt);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--step-1);
}

.faq details p {
  margin-top: 10px;
}

.site-foot {
  padding-block: 32px 48px;
  font-size: var(--step--1);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

/* App */
.app-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

.meter {
  height: 10px;
  border-radius: 10px;
  background: var(--concrete-2);
  overflow: hidden;
  margin: 8px 0 4px;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--asphalt);
}

.jobs {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.jobs th,
.jobs td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--concrete-2);
  vertical-align: middle;
}

.jobs th {
  font-size: var(--step--1);
  color: var(--muted);
  font-weight: 600;
}

.jobs select {
  min-height: 36px;
  padding: 4px 8px;
  border-width: 1px;
}

.jobs .biz {
  font-weight: 700;
}

.empty {
  padding: 32px;
  text-align: center;
  background: var(--paper);
  border: 2px dashed var(--asphalt);
  border-radius: var(--radius-l);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--muted);
}

.status-dot.live {
  background: var(--ok);
}

.status-dot.busy {
  background: var(--hivis);
  box-shadow: 0 0 0 2px var(--asphalt) inset;
}

@media (max-width: 700px) {
  .jobs .hide-sm {
    display: none;
  }
}

/* Pitch page */
.pitch-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 28px 8px;
}

.pitch-head img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--paper);
  border: 2px solid var(--asphalt);
  border-radius: var(--radius-s);
  padding: 6px;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block: 28px;
}

@media (max-width: 900px) {
  .reels {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

.reel canvas {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-l);
  border: 2px solid var(--asphalt);
  background: var(--asphalt-2);
  cursor: pointer;
}

.reel h3 {
  margin-top: 12px;
}

.reel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reel-actions .btn {
  min-height: 38px;
  padding: 6px 14px;
  font-size: var(--step--1);
}

.callout {
  background: var(--asphalt);
  color: var(--concrete);
  border-radius: var(--radius-l);
  padding: 28px;
  margin-bottom: 48px;
}

.callout .btn {
  margin-top: 8px;
}

.powered {
  font-size: var(--step--1);
  color: var(--muted);
  padding-bottom: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--duct);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
