:root {
  --ink: #18212a;
  --muted: #5d6a72;
  --line: #dce3df;
  --paper: #f7f8f3;
  --white: #ffffff;
  --blue: #2267a8;
  --blue-dark: #154269;
  --green: #778b55;
  --gold: #c7933d;
  --charcoal: #25313a;
  --shadow: 0 20px 60px rgba(24, 33, 42, 0.14);
}

* {
  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 {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(24, 33, 42, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(174px, 18vw, 244px);
}

.brand-logo {
  width: 100%;
  height: auto;
  filter: saturate(0.88) contrast(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: saturate(0.82) contrast(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:not(.nav-cta) {
  opacity: 0.88;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  object-fit: cover;
  z-index: -3;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 23, 31, 0.88) 0%, rgba(12, 23, 31, 0.62) 42%, rgba(12, 23, 31, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 23, 31, 0.44), rgba(12, 23, 31, 0.05) 48%);
}

.hero-content {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 108px 0 24px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 680px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(34, 103, 168, 0.22);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.button.secondary.light {
  color: var(--ink);
  border-color: rgba(24, 33, 42, 0.22);
  background: var(--white);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 850px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: clamp(14px, 1.5vw, 20px);
  background: rgba(16, 30, 41, 0.34);
}

.hero-metrics dt {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section,
.band {
  padding: clamp(70px, 9vw, 124px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  background: var(--white);
}

.intro-grid,
.sample-grid,
.pricing-grid,
.split-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.intro p,
.section-heading p,
.sticky-copy p,
.sample p,
.price-panel p,
.site-footer p {
  color: var(--muted);
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.card-icon {
  display: inline-grid;
  width: 38px;
  height: 32px;
  place-items: center;
  margin-bottom: 50px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #e5eef5;
  font-weight: 900;
  font-size: 0.76rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(119, 139, 85, 0.1), transparent 48%),
    var(--paper);
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 124px;
  padding: 24px 24px 24px 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(24, 33, 42, 0.05);
  color: var(--muted);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.sample-grid {
  align-items: center;
}

.report-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.report-toolbar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #eef2ee;
}

.report-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue-dark);
  background: #f8faf7;
  font-size: 0.76rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.price-panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.price {
  display: block;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.9;
}

.price-label {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.price-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.testimonials {
  background: var(--white);
}

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

figure {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

blockquote {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.45;
}

figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.cta-section {
  padding: clamp(74px, 10vw, 136px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(34, 103, 168, 0.92), rgba(37, 49, 58, 0.96)),
    var(--charcoal);
}

.cta-inner {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-inner .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #121a21;
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 800;
}

.footer-credit {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 650;
  text-align: right;
}

.footer-credit a {
  color: var(--white);
  font-weight: 850;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    color: var(--white);
    border-color: transparent;
    background: var(--blue);
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(12, 23, 31, 0.88) 0%, rgba(12, 23, 31, 0.72) 58%, rgba(12, 23, 31, 0.28) 100%);
  }

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

  .intro-grid,
  .sample-grid,
  .pricing-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .sticky-copy {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-credit {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand small {
    display: none;
  }

  .brand {
    width: 168px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: min(100% - 28px, 1160px);
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
  }

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

  .service-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics div {
    padding: 12px;
  }

  .hero-metrics dt {
    font-size: 1.65rem;
  }

  .hero-metrics dd {
    font-size: 0.72rem;
    line-height: 1.25;
  }

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

  .card-icon {
    margin-bottom: 28px;
  }

  .process-list li {
    padding-left: 74px;
  }

  th,
  td {
    padding: 12px 10px;
    font-size: 0.78rem;
  }
}
