:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #52606a;
  --line: #d9e0e6;
  --paper: #f6f8f7;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0d4f4a;
  --amber: #c47a22;
  --charcoal: #111820;
  --shadow: 0 14px 40px rgba(16, 24, 32, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 230, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: relative;
}

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

.brand-mark {
  align-items: center;
  background: var(--charcoal);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.site-footer a:hover,
.legal-content a:hover {
  color: var(--teal);
}

.hero {
  min-height: calc(100svh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 18, 24, 0.88) 0%, rgba(12, 18, 24, 0.68) 42%, rgba(12, 18, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 18, 24, 0.08) 0%, rgba(12, 18, 24, 0.42) 100%);
}

.hero-content {
  color: var(--white);
  max-width: 720px;
  padding: clamp(78px, 13vh, 130px) clamp(20px, 5vw, 72px) 86px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 600px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
}

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

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 78px clamp(20px, 5vw, 40px);
}

.intro {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.intro p,
.section-heading p,
.contact-section p,
.legal-hero p,
.legal-content p {
  color: var(--muted);
}

.metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.metrics div,
.service-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 142px;
  padding: 22px;
}

.metrics dt {
  color: var(--teal-dark);
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
}

.metrics dd {
  color: var(--muted);
  margin: 12px 0 0;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 780px;
}

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

.service-card {
  min-height: 232px;
  padding: 24px;
}

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

.workflow-section {
  border-top: 1px solid var(--line);
}

.workflow-list {
  counter-reset: workflow;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-list li {
  border-top: 4px solid var(--teal);
  min-height: 210px;
  padding: 22px 4px 0;
}

.workflow-list span {
  color: var(--amber);
  display: block;
  font-weight: 850;
  margin-bottom: 18px;
}

.workflow-list strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.workflow-list p {
  color: var(--muted);
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.contact-panel {
  padding: 26px;
}

.contact-panel a {
  color: var(--teal-dark);
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 850;
  margin-bottom: 26px;
  word-break: break-word;
}

.label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.site-footer {
  align-items: center;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding: 28px clamp(20px, 5vw, 72px);
}

.site-footer p {
  margin: 0;
}

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

.site-footer .disclaimer {
  color: rgba(255, 255, 255, 0.56);
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 72px clamp(20px, 5vw, 72px);
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.legal-content {
  margin: 0 auto;
  max-width: 900px;
  padding: 58px clamp(20px, 5vw, 40px) 86px;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  margin-top: 34px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 960px) {
  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    max-width: 460px;
  }
}

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

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-image,
  .hero-shade {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 88px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .metrics,
  .service-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 58px;
    padding-top: 58px;
  }

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

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