:root {
  --ink: #101114;
  --ink-soft: #4f5661;
  --ink-muted: #6f7782;
  --paper: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --line: rgba(16, 17, 20, 0.1);
  --line-strong: rgba(16, 17, 20, 0.16);
  --blue: #0066cc;
  --blue-dark: #004a99;
  --warm: #9a6b18;
  --mint: #dceee8;
  --plum: #ece8f7;
  --shadow: 0 28px 90px rgba(16, 17, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.36);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: saturate(160%) blur(22px);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  font-size: 14px;
  font-weight: 640;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(16, 17, 20, 0.68);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(22px, 6vw, 92px) 50px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 245, 247, 0.98) 0%, rgba(245, 245, 247, 0.9) 35%, rgba(245, 245, 247, 0.64) 62%, rgba(245, 245, 247, 0.96) 100%),
    url("assets/sourcelight-audit-visual.png") 72% center / min(1200px, 92vw) auto no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(890px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 6.7vw, 98px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  width: 196px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(0, 102, 204, 0.22);
}

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

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(16, 17, 20, 0.12);
  box-shadow: 0 12px 30px rgba(16, 17, 20, 0.07);
}

.button-secondary:hover {
  background: #ffffff;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal {
  min-height: 138px;
  padding: 30px clamp(22px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
}

.signal span,
.signal strong {
  display: block;
}

.signal span {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 680;
}

.signal strong {
  max-width: 420px;
  margin-top: 14px;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section {
  padding: clamp(82px, 10vw, 150px) clamp(22px, 6vw, 92px);
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.section p,
.contact-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.62;
}

.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
  max-width: 1320px;
}

.about-copy {
  display: grid;
  gap: 26px;
}

.services-section {
  background:
    linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(34px, 6vw, 98px);
  align-items: start;
  max-width: 1320px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}

.service-card {
  display: flex;
  min-height: 580px;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 17, 20, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(16, 17, 20, 0.06);
}

.service-card h3 {
  max-width: 400px;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
}

.service-card p {
  font-size: 17px;
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.42;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.service-detail {
  margin-top: auto;
  padding-top: 28px;
}

.service-detail summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: var(--ink);
  border-top: 1px solid rgba(16, 17, 20, 0.1);
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.service-detail summary::-webkit-details-marker {
  display: none;
}

.service-detail summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: rgba(0, 102, 204, 0.08);
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
}

.service-detail[open] summary::after {
  content: "-";
}

.service-detail ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.48;
}

.contact-section {
  padding: clamp(86px, 10vw, 150px) clamp(22px, 6vw, 92px);
  color: #ffffff;
  background: linear-gradient(135deg, #101114, #142230);
}

.contact-section .eyebrow {
  color: #8cc7ff;
}

.contact-section p {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.52fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
  max-width: 1280px;
}

.contact-button {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 760;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.contact-button:hover {
  background: #edf6ff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 6vw, 92px);
  color: var(--ink-muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(245, 245, 247, 0.99) 0%, rgba(245, 245, 247, 0.93) 54%, rgba(245, 245, 247, 0.99) 100%),
      url("assets/sourcelight-audit-visual.png") center 36% / 940px auto no-repeat;
  }

  .about-grid,
  .section-heading,
  .service-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .button {
    width: 190px;
  }
}

@media (max-width: 760px) {
  .signal-band {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: 118px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    padding: 104px 18px 56px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(245, 245, 247, 0.99) 0%, rgba(245, 245, 247, 0.96) 48%, rgba(245, 245, 247, 0.99) 100%),
      url("assets/sourcelight-audit-visual.png") 58% 24% / 780px auto no-repeat;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .signal,
  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.04;
  }

  .contact-button {
    width: 100%;
    min-height: 60px;
    font-size: clamp(16px, 5vw, 20px);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .nav-links a:not(:last-child) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
