:root {
  color-scheme: light;
  --ink: #101923;
  --ink-soft: #374556;
  --muted: #657486;
  --line: #d7e0ea;
  --line-strong: #aebccc;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --blue: #0c63ce;
  --teal: #118a94;
  --teal-soft: #e2f5f6;
  --graphite: #16202b;
  --shadow: 0 18px 44px rgba(16, 25, 35, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body,
button,
input,
textarea {
  font: inherit;
}

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

button,
input,
textarea {
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid rgba(215, 224, 234, 0.36);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 25, 35, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.42)),
    var(--blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 10px 24px rgba(12, 99, 206, 0.26);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.brand-mark::before {
  left: 8px;
  right: 8px;
  top: 9px;
  height: 3px;
}

.brand-mark::after {
  width: 3px;
  top: 9px;
  bottom: 8px;
  left: 15px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  padding: 10px 0;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: 128px 40px 86px;
  background-image: url("./assets/tracer-solutions-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  width: min(640px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

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

h1 {
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 850;
  color: #0d1722;
}

.hero p {
  max-width: 560px;
  margin-top: 26px;
  color: #243241;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 520;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.contact-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary,
.contact-form button {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(12, 99, 206, 0.22);
}

.button.secondary {
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(174, 188, 204, 0.7);
}

.intro-section,
.domain-section,
.operating-section,
.contact-section {
  padding: 92px 40px;
}

.intro-section,
.operating-section,
.site-footer {
  background: var(--paper);
}

.domain-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading,
.capability-list,
.domain-grid,
.operating-section,
.contact-section,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 72px;
  align-items: end;
}

.section-heading.compact {
  align-items: start;
}

h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 830;
}

.section-heading p,
.operating-copy p,
.contact-section > div p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.capability-list {
  margin-top: 66px;
  border-top: 1px solid var(--line-strong);
}

.capability-list article {
  display: grid;
  grid-template-columns: 88px minmax(220px, 0.6fr) minmax(320px, 1fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.capability-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 780;
}

.capability-list p,
.domain-panel p,
.operating-rows span,
.form-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.domain-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.domain-panel {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 30px rgba(16, 25, 35, 0.06);
}

.domain-panel.strong {
  color: white;
  border-color: #1d3448;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.domain-panel a {
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
}

.domain-panel.strong a {
  color: #8de4ea;
}

.domain-panel.strong h3,
.domain-panel.strong p {
  color: white;
}

.domain-panel.strong p {
  opacity: 0.8;
}

.operating-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: 70px;
  align-items: start;
}

.operating-rows {
  border-top: 1px solid var(--line-strong);
}

.operating-rows div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.operating-rows strong {
  color: var(--teal);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 0.7fr);
  gap: 70px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 104px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(16, 25, 35, 0.08);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c7d3df;
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fbfdff;
  font-size: 15px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 99, 206, 0.13);
}

.form-note {
  min-height: 24px;
}

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 720;
}

.site-footer a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding: 12px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 78svh;
    padding: 132px 22px 58px;
    background-position: 26% center;
  }

  h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  .hero p {
    max-width: 420px;
    font-size: 18px;
  }

  .intro-section,
  .domain-section,
  .operating-section,
  .contact-section {
    padding: 66px 22px;
  }

  .section-heading,
  .operating-section,
  .contact-section,
  .capability-list article,
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .operating-section,
  .contact-section {
    gap: 28px;
  }

  h2 {
    font-size: 32px;
  }

  .capability-list {
    margin-top: 42px;
  }

  .capability-list article {
    gap: 10px;
    padding: 24px 0;
  }

  .domain-panel {
    min-height: 0;
    padding: 24px;
  }

  .operating-rows div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    padding: 18px 22px;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-header {
    transition: none;
  }
}
