:root {
  color-scheme: light;
  --green: #1A7A4A;
  --green-dark: #156040;
  --green-soft: #E8F7EF;
  --green-selected: #D6F0E3;
  --ink: #0D0D0D;
  --ink-soft: #2E2E2E;
  --muted: #555555;
  --muted-light: #888888;
  --line: #E0EDE6;
  --line-soft: #EEF6F1;
  --wash: #F4FAF7;
  --paper: #FFFFFF;
  --amber: #B76A00;
  --amber-soft: #FFF7E8;
  --sky: #E4F3FB;
  --sky-text: #2A7DB5;
  --lavender: #EDE8FA;
  --lavender-text: #6B52C8;
  --theme: var(--green);
  --theme-dark: var(--green-dark);
  --theme-soft: var(--green-soft);
  --theme-selected: var(--green-selected);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow: 0 1px 4px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .05);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
}

.theme-auto {
  --theme: var(--sky-text);
  --theme-dark: #1F628F;
  --theme-soft: var(--sky);
  --theme-selected: #D7EDF8;
}

.theme-beauty {
  --theme: var(--lavender-text);
  --theme-dark: #5844AA;
  --theme-soft: var(--lavender);
  --theme-selected: #E3DCF7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

input, button { font: inherit; }

input:focus, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--theme);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 64px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26, 122, 74, .18);
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--theme-selected);
  color: var(--theme-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link {
  padding: 8px 10px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1.5px solid var(--theme);
  border-radius: 999px;
  background: var(--theme);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 122, 74, .18);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover { background: var(--theme-dark); }

.button-small {
  min-height: 40px;
  padding: 0 20px;
  font-size: .84rem;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--theme-soft);
}

.button.on-dark {
  color: rgba(255, 255, 255, .86);
  border-color: rgba(255, 255, 255, .24);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(155deg, var(--theme-selected) 0%, var(--wash) 42%, var(--paper) 74%);
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto -12% 0 -12%;
  height: min(460px, 52vw);
  background: url("/assets/slc-skyline-stencil.png") center bottom / cover no-repeat;
  opacity: .15;
  pointer-events: none;
}

.hero-auto,
.hero-beauty {
  background: linear-gradient(155deg, var(--theme-soft) 0%, #fff 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 640px;
  padding: clamp(56px, 7vw, 92px) 0 clamp(46px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: 64px;
  align-items: center;
}

.page-hero.compact .container {
  padding: 72px 0 56px;
  max-width: 800px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: 0;
}

.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

.hero-copy > p:not(.eyebrow):not(.status-pill),
.page-hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.8;
}

.eyebrow,
.status-pill {
  margin: 0 0 24px;
  color: var(--theme);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme);
}

.search-card {
  max-width: 560px;
  margin-top: 34px;
}

.search-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-card div {
  display: flex;
  gap: 10px;
}

.search-card input {
  min-width: 0;
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 15px 18px;
}

.search-card button {
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: var(--theme);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
}

.trust-row span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--theme-selected);
  box-shadow: inset 0 0 0 5px var(--paper);
  border: 1px solid var(--theme);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions.centered { justify-content: center; }

.bid-visual {
  width: min(100%, 420px);
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.bid-job {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 14px;
}

.bid-job strong,
.bid-job span {
  display: block;
}

.bid-job strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.bid-job span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
}

.bid-job em,
.bid-alert {
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}

.bid-alert {
  margin-bottom: 12px;
  background: var(--theme-selected);
  color: var(--theme-dark);
  text-align: center;
}

.bid-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 9px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 13px 14px;
}

.bid-row.featured {
  border-color: var(--theme);
  box-shadow: 0 4px 20px rgba(26, 122, 74, .18);
}

.avatar-initials,
.service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--theme-selected);
  color: var(--theme-dark);
  font-size: .76rem;
  font-weight: 900;
}

.bid-row strong,
.bid-row small {
  display: block;
}

.bid-row strong { font-size: .86rem; }
.bid-row small { color: var(--muted); font-size: .73rem; }
.bid-row b { color: var(--theme); font-family: var(--font-mono); }

.band {
  background: var(--wash);
  border-block: 1px solid var(--line-soft);
}

.band .container,
.section {
  padding: 82px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2,
.cta-band h2,
.common-jobs h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header p:not(.eyebrow),
.cta-band p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.steps,
.category-grid,
.feature-grid,
.provider-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.step-card,
.service-card,
.feature-grid article,
.provider-card,
.faq-item,
.common-jobs,
.access-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.step-card,
.feature-grid article,
.common-jobs,
.access-panel {
  padding: 26px 24px;
}

.step-card span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--theme-selected);
  color: var(--theme-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.step-card h3,
.feature-grid h3,
.service-card strong,
.provider-card h3,
.faq-item h3,
.comparison h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.step-card p,
.feature-grid p,
.service-card p,
.provider-card p,
.faq-item p,
.comparison p,
.common-jobs li,
.access-panel li,
.access-panel p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.72;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px 26px;
  text-decoration: none;
}

.category-card:hover,
.service-card:hover,
.link-cloud a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-home { background: var(--green-soft); }
.category-auto { background: var(--sky); }
.category-beauty { background: var(--lavender); }

.category-card span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--theme-dark);
  font-weight: 900;
}

.category-card h3 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.category-card b {
  margin-top: auto;
  color: var(--theme-dark);
  font-size: .86rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 220px;
  padding: 22px 20px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.service-card strong {
  margin: 5px 0 0;
}

.card-link {
  margin-top: auto;
  color: var(--theme-dark);
  font-size: .82rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: start;
}

.provider-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 38px;
}

.provider-card {
  padding: 22px;
}

.provider-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.provider-card h3 {
  margin: 15px 0 3px;
}

.provider-card span {
  display: block;
  color: var(--muted-light);
  font-size: .78rem;
}

.provider-card b {
  display: inline-block;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--theme-selected);
  color: var(--theme-dark);
  font-size: .72rem;
  padding: 5px 10px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dark-panel {
  margin: 0;
  background: var(--ink);
  color: #fff;
  padding: 82px 0;
}

.dark-panel .section-header h2,
.dark-panel .section-header p,
.dark-panel .eyebrow {
  color: #fff;
}

.feature-grid.dark article {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  box-shadow: none;
}

.feature-grid.dark h3 { color: #fff; }
.feature-grid.dark p { color: rgba(255, 255, 255, .64); }

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-cloud a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 17px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item h3 {
  margin: 0 0 7px;
}

.cta-band {
  margin: 18px 0 82px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--wash);
  padding: clamp(42px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
}

.cta-band.dark {
  border-color: var(--ink);
  background: var(--ink);
}

.cta-band.dark h2 { color: #fff; }
.cta-band.dark p { color: rgba(255, 255, 255, .66); }
.cta-band .actions { justify-content: center; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.comparison article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 22px;
}

.common-jobs h2 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.common-jobs ul,
.access-panel ul {
  margin: 0;
  padding-left: 20px;
}

.access-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.access-panel p {
  margin-top: 18px;
}

.legal-content {
  max-width: 780px;
  padding: 48px 0 86px;
}

.legal-content h2 {
  margin: 32px 0 8px;
  color: var(--ink);
  font-size: 1.25rem;
}

.legal-content h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-content strong {
  color: var(--ink);
}

.legal-meta {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legal-content a,
.back-home {
  color: var(--theme-dark);
  font-weight: 700;
}

.back-home {
  display: inline-block;
  margin-top: 34px;
  text-decoration: none;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 42px;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(130px, 1fr));
  gap: 34px;
}

.brand-footer {
  color: #fff;
}

.footer-brand p {
  max-width: 250px;
  color: rgba(255, 255, 255, .54);
  font-size: .86rem;
  line-height: 1.8;
}

.footer-brand > span,
.footer-bottom {
  color: rgba(255, 255, 255, .34);
  font-size: .82rem;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .4);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 6px 10px;
  }

  .nav-actions {
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .hero-grid,
  .split-section,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 34px;
  }

  .steps,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .nav,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1200px);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .nav-actions .ghost-link {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding: 0 14px;
    font-size: .8rem;
  }

  .search-card div,
  .actions {
    flex-direction: column;
  }

  .search-card button,
  .button {
    width: 100%;
  }

  .band .container,
  .section {
    padding: 58px 0;
  }

  .bid-visual {
    border-radius: 20px;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
