:root {
  --ink: #101417;
  --ink-soft: #3e4a50;
  --muted: #6f7b80;
  --paper: #f7f4ed;
  --paper-warm: #efe6d8;
  --surface: #ffffff;
  --line: rgba(16, 20, 23, 0.14);
  --blue: #256fb8;
  --blue-deep: #16446e;
  --green: #5f983e;
  --charcoal: #171a1c;
  --shadow: 0 20px 60px rgba(16, 20, 23, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: #ffffff;
  background: var(--blue);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.76), rgba(10, 12, 14, 0.12));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--charcoal);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.nav-links {
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 76vh);
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    url("hero-local-tools.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.84) 0%, rgba(7, 9, 11, 0.62) 42%, rgba(7, 9, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 9, 11, 0.74) 0%, rgba(7, 9, 11, 0.10) 46%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 clamp(44px, 10vh, 92px);
  translate: min(-16vw, -120px) 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fc2ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.1rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.primary:hover {
  background: #1d5f9d;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
}

.button.dark {
  color: var(--ink);
  border-color: rgba(16, 20, 23, 0.24);
  background: #ffffff;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.signal {
  min-height: 92px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
}

.signal-value {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  font-weight: 850;
}

.signal-label {
  color: var(--ink-soft);
  font-weight: 750;
}

.band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 108px) 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-head.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}

.intro-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.intro-card,
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.intro-card {
  display: flex;
  flex-direction: column;
  min-height: 222px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.intro-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 111, 184, 0.44);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(16, 20, 23, 0.10);
}

.intro-card span {
  margin-top: auto;
  color: var(--blue-deep);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.intro-grid p,
.product-card p,
.method-copy p,
.steps p,
.spotlight p,
.link-shelf small {
  color: var(--ink-soft);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab:hover,
.tab.active {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

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

.product-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 256px;
  padding: 22px;
}

.product-card[hidden] {
  display: none;
}

.product-card.feature {
  background: linear-gradient(135deg, #ffffff 0%, #e9f2df 100%);
  border-color: rgba(95, 152, 62, 0.4);
}

.product-type {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card p:not(.product-type) {
  margin: 14px 0 24px;
}

.product-card > a,
.card-links {
  margin-top: auto;
}

.product-card a {
  color: var(--blue-deep);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 104px;
}

.method-copy p {
  max-width: 520px;
  font-size: 1.06rem;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  min-height: 148px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.steps span {
  grid-row: span 2;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.3rem;
}

.steps p {
  margin: 0;
}

.request-intake {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.request-copy {
  position: sticky;
  top: 104px;
}

.request-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.request-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.58fr);
  gap: 14px;
  align-items: start;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 38px rgba(16, 20, 23, 0.08);
}

.request-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-form legend,
.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 850;
}

.choice-grid,
.form-grid {
  display: grid;
  gap: 10px;
}

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

.choice-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 0.94rem;
  font-weight: 850;
  cursor: pointer;
}

.choice-tile span {
  min-width: 0;
  white-space: nowrap;
}

.choice-tile:has(input:checked) {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.choice-tile input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue-deep);
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.choice-tile:focus-within {
  outline: 3px solid rgba(37, 111, 184, 0.18);
  border-color: rgba(37, 111, 184, 0.72);
}

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

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-status {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: #9f321f;
}

.job-board {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 38px rgba(16, 20, 23, 0.08);
}

.job-board-head {
  margin-bottom: 14px;
}

.job-board h3 {
  font-size: 1.34rem;
}

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

.job-item,
.job-empty {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.job-item {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.job-item[href]:hover {
  border-color: rgba(37, 111, 184, 0.46);
  box-shadow: 0 10px 28px rgba(16, 20, 23, 0.08);
}

.job-title {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.18;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.job-status {
  color: var(--blue-deep);
}

.job-status.available {
  color: var(--green);
}

.job-empty {
  color: var(--ink-soft);
  font-weight: 750;
}

.spotlight {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1120px) / 2));
  padding-right: max(16px, calc((100vw - 1120px) / 2));
  color: #ffffff;
  background: var(--charcoal);
}

.spotlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.spotlight .eyebrow {
  color: #8fc2ff;
}

.spotlight p {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.75);
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact {
  padding-bottom: 72px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 38px;
  align-items: start;
}

.link-shelf {
  display: grid;
  gap: 10px;
}

.link-shelf a {
  display: block;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.link-shelf span {
  display: block;
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 1.1rem;
}

.link-shelf small {
  display: block;
  margin-top: 4px;
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  background: #0f1112;
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 850;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.subpage-header {
  position: sticky;
  color: #ffffff;
  background: rgba(15, 17, 18, 0.94);
  backdrop-filter: blur(12px);
}

.page-main {
  background: var(--paper);
}

.detail-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(76px, 12vw, 132px) 0 clamp(48px, 8vw, 84px);
}

.detail-hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3rem, 7.2vw, 6.5rem);
}

.detail-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.page-section {
  padding-top: 20px;
}

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

@media (max-width: 980px) {
  .hero-inner {
    translate: 0 0;
  }

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

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

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

  .method,
  .request-intake,
  .request-workspace,
  .contact-inner,
  .spotlight-panel {
    grid-template-columns: 1fr;
  }

  .method-copy,
  .request-copy {
    position: static;
  }

  .spotlight-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    min-height: auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 9, 11, 0.88) 0%, rgba(7, 9, 11, 0.58) 100%),
      linear-gradient(0deg, rgba(7, 9, 11, 0.84) 0%, rgba(7, 9, 11, 0.16) 52%);
  }

  .hero-inner {
    width: min(100% - 32px, 620px);
    padding-top: 112px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .signal-strip,
  .intro-grid,
  .product-grid,
  .product-grid.two-up,
  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .section-head.row {
    align-items: flex-start;
    flex-direction: column;
  }

  .tabs {
    justify-content: flex-start;
  }

  .steps li {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .steps span {
    grid-row: auto;
  }
}

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

  .button {
    transition: none;
  }

  .intro-card {
    transition: none;
  }

  .button:hover {
    transform: none;
  }

  .intro-card:hover {
    transform: none;
  }
}
