:root {
  color-scheme: light;
  --ink: #182026;
  --subtle: #60707a;
  --line: #d8e0e4;
  --panel: #ffffff;
  --wash: #eef4f4;
  --mint: #2f7d6d;
  --blue: #235a8c;
  --amber: #a06018;
  --red: #9b3730;
  --shadow: 0 20px 55px rgba(28, 47, 56, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f9f9;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 224, 228, 0.8);
  background: rgba(247, 249, 249, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.brand h1,
.brand p,
.hero h2,
.section h2,
.section h3,
p {
  margin: 0;
}

.brand h1 {
  font-size: 20px;
}

.eyebrow {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr) 260px;
  gap: 24px;
  align-items: center;
  min-height: 500px;
  padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 72px) 34px;
  background:
    linear-gradient(110deg, rgba(247, 249, 249, 0.98), rgba(235, 243, 240, 0.92)),
    repeating-linear-gradient(90deg, rgba(35, 90, 140, 0.06) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(47, 125, 109, 0.05) 0 1px, transparent 1px 84px);
}

.hero-copy {
  max-width: 780px;
}

.hero h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(38px, 5.3vw, 66px);
  line-height: 1.02;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 22px;
  color: #3f5159;
  font-size: 18px;
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(216, 224, 228, 0.95);
  border-radius: 8px;
  color: #34464f;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.72);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.compact {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 13px;
  text-decoration: none;
}

.button.primary {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.signal-panel {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(216, 224, 228, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.radar-visual {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(216, 224, 228, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(47, 125, 109, 0.18), transparent 0 58px),
    radial-gradient(circle at center, transparent 0 86px, rgba(35, 90, 140, 0.18) 87px 88px, transparent 89px),
    radial-gradient(circle at center, transparent 0 146px, rgba(47, 125, 109, 0.22) 147px 148px, transparent 149px),
    #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.radar-visual::before,
.radar-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.radar-visual::before {
  width: 14px;
  height: 14px;
  top: 168px;
  left: calc(50% - 7px);
  background: var(--mint);
  box-shadow: 0 0 0 10px rgba(47, 125, 109, 0.14);
}

.radar-visual::after {
  width: 260px;
  height: 2px;
  top: 178px;
  left: 50%;
  background: linear-gradient(90deg, rgba(47, 125, 109, 0.74), transparent);
  transform-origin: left center;
  transform: rotate(-24deg);
}

.orbit {
  position: absolute;
  inset: 46px;
  border: 1px dashed rgba(35, 90, 140, 0.24);
  border-radius: 999px;
}

.orbit-two {
  inset: 94px;
  border-color: rgba(47, 125, 109, 0.28);
}

.route-card {
  position: absolute;
  display: grid;
  gap: 5px;
  width: min(220px, 76%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(28, 47, 56, 0.1);
}

.route-card strong {
  font-size: 14px;
}

.route-card span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
}

.card-one {
  top: 34px;
  left: 24px;
}

.card-two {
  right: 24px;
  top: 142px;
}

.card-three {
  left: 48px;
  bottom: 28px;
}

.signal-panel div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #f7f9f9;
}

.signal-panel span {
  font-size: 34px;
  font-weight: 900;
}

.signal-panel small {
  color: var(--subtle);
  font-weight: 700;
}

.section {
  padding: 54px clamp(20px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #fff;
}

.intro-grid article,
.job-detail,
.review-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.intro-grid p,
.muted,
.service-band p,
.form-note {
  color: var(--subtle);
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

label {
  display: grid;
  gap: 7px;
  color: #45565e;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-card {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.job-card:hover,
.job-card.active {
  border-color: var(--mint);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(28, 47, 56, 0.09);
}

.job-card-top,
.job-meta,
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.job-card-top {
  justify-content: space-between;
  gap: 16px;
}

.job-card h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.28;
}

.company {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: var(--wash);
}

.pill.friendly {
  color: #fff;
  background: var(--mint);
}

.pill.licensed {
  color: #fff;
  background: var(--blue);
}

.pill.risk {
  color: #fff;
  background: var(--amber);
}

.pill.no {
  color: #fff;
  background: var(--red);
}

.job-meta {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--wash);
}

.job-card > .muted {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.job-card-footer strong {
  color: var(--ink);
}

.job-card-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 8px;
}

.job-detail {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.job-detail h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.detail-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-list strong {
  font-size: 13px;
}

.detail-list span {
  color: var(--subtle);
  line-height: 1.55;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: start;
  background: #eaf1ee;
}

.review-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-card strong {
  color: var(--ink);
}

.contact-card span {
  color: #34464f;
  line-height: 1.5;
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--subtle);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .job-layout,
  .service-band {
    grid-template-columns: 1fr;
  }

  .signal-panel,
  .job-detail {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .radar-visual {
    min-height: 260px;
  }

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

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 24px;
    background:
      linear-gradient(180deg, rgba(247, 249, 249, 0.98), rgba(235, 243, 240, 0.95)),
      repeating-linear-gradient(90deg, rgba(35, 90, 140, 0.05) 0 1px, transparent 1px 72px);
  }

  .hero h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .radar-visual {
    display: none;
  }

  .signal-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .signal-panel div {
    display: grid;
    gap: 4px;
    justify-content: stretch;
    padding: 12px 8px;
  }

  .signal-panel span {
    font-size: 24px;
  }

  .signal-panel small {
    font-size: 11px;
    line-height: 1.25;
  }

  .section {
    padding: 38px 18px;
  }

  .filters,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    padding: 12px;
  }

  .job-card {
    padding: 15px;
  }

  .job-card-top {
    display: grid;
    gap: 10px;
  }

  .job-card h3 {
    font-size: 17px;
  }

  .pill {
    width: fit-content;
    max-width: 100%;
  }

  .job-card-footer {
    display: grid;
    justify-content: stretch;
  }

  .job-card-actions {
    grid-template-columns: 1fr;
  }

  .button.compact {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
