:root {
  --ink: #000000;
  --ink-2: #222222;
  --muted: #555555;
  --line: #d9d9d9;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --white: #ffffff;
  --accent: #000000;
  --accent-2: #ffffff;
  --shadow: none;
  --radius: 8px;
  --max: 1180px;
}

* {
  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.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.site-header.simple {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.brand img {
  width: 156px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a,
.header-phone {
  padding: 10px 14px;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.header-phone {
  color: var(--white);
  background: var(--ink);
  font-weight: 650;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font: inherit;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.actions.stacked {
  align-content: flex-start;
  min-width: 260px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 720;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.status-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 72px;
  color: #ffffff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: transparent;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 44px;
  font-size: 1.35rem;
}

.metric-grid span {
  color: #d8d8d8;
  font-size: 0.95rem;
}

.compact {
  padding-top: 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 780px;
}

.section-heading p,
.split p,
.cta p,
.about-split p,
.values p,
.contact-notes p,
.legal p {
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-row article,
.service-detail-grid article,
.values article,
.contact-notes article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.dark-section {
  max-width: none;
  color: var(--white);
  background: var(--ink);
}

.dark-section .split {
  max-width: var(--max);
  margin: 0 auto;
}

.dark-section p {
  color: #d8d8d8;
}

.split,
.cta,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  align-items: start;
}

.service-list {
  width: min(460px, 100%);
  display: grid;
  gap: 10px;
}

.service-list a {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: transparent;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-2);
  font-weight: 720;
}

.industry-grid,
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-grid span,
.partner-grid span {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 650;
}

.partners {
  padding-top: 36px;
}

.partner-grid span {
  color: var(--muted);
}

.manufacturer-section {
  padding-top: 24px;
}

.manufacturer-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.manufacturer-grid span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-weight: 650;
  text-align: center;
}

.remote-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 72px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.remote-support-copy {
  max-width: 660px;
}

.remote-support-copy p:not(.eyebrow) {
  color: var(--muted);
}

.remote-support .text-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.download-button {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 22px 58px 22px 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  transition: background 160ms ease, color 160ms ease;
}

.download-button::after {
  content: "↓";
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.download-button span {
  color: var(--muted);
  font-size: 0.82rem;
}

.download-button strong {
  font-size: 1.15rem;
}

.download-button:hover,
.download-button:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.download-button:hover span,
.download-button:focus-visible span {
  color: #d8d8d8;
}

.cta {
  margin-bottom: 76px;
  border-radius: var(--radius);
  background: var(--soft);
}

.page-hero {
  padding-bottom: 40px;
}

.page-hero h1,
.contact-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 20px;
}

.service-detail-grid h2,
.values h2,
.contact-notes h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.about-split {
  padding-top: 20px;
}

.fact-box {
  width: min(380px, 100%);
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.fact-box strong,
.fact-box span {
  display: block;
}

.fact-box strong {
  margin-bottom: 70px;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.fact-box span {
  color: #d8d8d8;
}

.values,
.contact-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 20px;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 20px;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.team-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-size: 2rem;
  font-weight: 700;
}

.team-card h2 {
  margin: 0;
  padding: 18px;
  font-size: 1.35rem;
}

.contact-card {
  width: min(430px, 100%);
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-card span,
.contact-card a {
  display: block;
}

.contact-card span {
  color: #d8d8d8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-card a {
  margin: 8px 0 30px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 760;
  letter-spacing: -0.04em;
}

.legal {
  min-height: 55vh;
}

.legal section {
  max-width: 920px;
  margin-top: 42px;
}

.legal section h2 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.legal section p {
  color: var(--muted);
}

.legal-date {
  margin-top: 48px;
  font-weight: 700;
}

.legal h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.3;
}

.legal section p {
  line-height: 1.75;
}

.legal a {
  text-decoration: underline;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.site-footer img {
  width: 120px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer a {
  color: #d8d8d8;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    margin: 0;
    border-radius: 0;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 6px;
  }

  .site-nav.is-open a {
    background: var(--soft);
  }

  .hero,
  .split,
  .cta,
  .contact-hero,
  .remote-support {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-pad {
    padding: 72px 20px;
  }

  .hero {
    min-height: auto;
  }

  .feature-row,
  .service-detail-grid,
  .values,
  .contact-notes,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 126px;
  }

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

  .actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .team-grid {
    gap: 12px;
  }

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

@media (min-width: 901px) and (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
