:root {
  --ink: #10211f;
  --muted: #52635f;
  --paper: #f6f5ef;
  --paper-deep: #ecebe3;
  --white: #fff;
  --night: #0a1715;
  --line: #d5d8cf;
  --accent: #d5ff58;
  --accent-dark: #293c00;
  --teal: #2f7367;
  --shadow: 0 24px 70px rgb(10 23 21 / 14%);
  --radius: 1.1rem;
  --max: 74rem;
}

* {
  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;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image: radial-gradient(rgb(16 33 31 / 12%) 0.55px, transparent 0.55px);
  background-size: 8px 8px;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--teal);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--night);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 5.4rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--accent);
  border: 1px solid var(--night);
  border-radius: 50%;
  font-size: 0.86rem;
  box-shadow: 3px 3px 0 var(--night);
}

.site-header nav,
footer nav,
.legal-footer {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-header nav > a:not(.button),
footer nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 42rem;
  margin: 0 auto;
  padding: 6rem 0 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.lede,
.section-heading > p:last-child,
.approach-copy > p:last-child,
.cta > p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.button {
  min-height: 3.25rem;
  padding: 0.78rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--night);
  border: 1px solid var(--night);
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--accent);
}

.button-small {
  min-height: 2.45rem;
  padding: 0.5rem 0.85rem;
  box-shadow: none;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.hero-panel {
  position: relative;
  min-height: 28rem;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  border-radius: calc(var(--radius) * 1.35);
  box-shadow: var(--shadow);
}

.signal {
  position: absolute;
  border: 1px solid rgb(213 255 88 / 35%);
  border-radius: 50%;
}

.signal-one {
  width: 17rem;
  height: 17rem;
  top: -10rem;
  right: -5rem;
}

.signal-two {
  width: 23rem;
  height: 23rem;
  top: -13rem;
  right: -8rem;
}

.panel-label {
  margin-bottom: 4.5rem;
  color: #aebcb8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-item {
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.panel-item span {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
}

.panel-item strong {
  font-size: 1.08rem;
}

.panel-status {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #ced8d5;
  font-size: 0.82rem;
}

.panel-status span {
  width: 0.55rem;
  height: 0.55rem;
  display: inline-block;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.28rem rgb(213 255 88 / 14%);
}

.proof-strip {
  padding: 1.25rem max(1rem, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  color: var(--white);
  background: var(--teal);
}

.proof-strip p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-heading {
  max-width: 56rem;
  margin-bottom: 3.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 22rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card.featured {
  color: var(--white);
  background: var(--night);
  border-color: var(--night);
  transform: translateY(-1rem);
}

.card-number {
  margin-bottom: auto;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.featured .card-number {
  color: var(--accent);
}

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

.featured p {
  color: #b9c7c3;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 4.3rem;
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}

.steps li::before {
  position: absolute;
  top: 1.25rem;
  left: 0;
  content: "0" counter(process);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
}

.steps span {
  font-size: 1.12rem;
  font-weight: 850;
}

.steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.cta {
  padding: clamp(4rem, 9vw, 7rem) max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--night);
}

.cta h2 {
  max-width: 15ch;
}

.cta > p {
  color: #bdc9c6;
}

.button-light {
  margin-top: 1.2rem;
  color: var(--night);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

.button-light:hover {
  box-shadow: 5px 5px 0 var(--teal);
}

footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}

footer strong {
  font-size: 1.1rem;
}

footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-header {
  min-height: 5.4rem;
}

.legal-header > a:last-child {
  font-size: 0.9rem;
  font-weight: 750;
}

.legal-page {
  width: min(calc(100% - 2rem), 48rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-page h1 {
  max-width: 14ch;
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.legal-page h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

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

.legal-page > p:nth-of-type(2) {
  color: var(--ink);
  font-size: 1.1rem;
}

.email-address,
.contact-address {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-address {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  font-size: 1.2rem;
}

.legal-footer {
  width: min(calc(100% - 2rem), 48rem);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.legal-footer a {
  font-size: 0.9rem;
  font-weight: 750;
}

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 45rem;
  }

  .hero-panel {
    min-height: 24rem;
  }

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

  .service-card {
    min-height: 17rem;
  }

  .service-card.featured {
    transform: none;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 4.7rem;
  }

  .site-header nav {
    gap: 0.8rem;
  }

  .site-header nav > a:not(.button) {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.8rem;
  }

  .proof-strip p {
    text-align: left;
  }

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

  footer nav,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .copyright {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
