:root {
  --bg: #f5f7f6;
  --paper: #ffffff;
  --ink: #16211f;
  --muted: #5d6965;
  --line: #dbe4df;
  --teal: #075f5a;
  --teal-dark: #063f3b;
  --teal-soft: #e8f3f1;
  --amber: #b76d16;
  --amber-soft: #fff2db;
  --shadow: 0 24px 70px rgba(22, 33, 31, 0.10);
  --radius: 8px;
  color-scheme: light;
  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;
  background:
    radial-gradient(circle at 82% 8%, rgba(7, 95, 90, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0, var(--bg) 38rem);
  color: var(--ink);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 223, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

nav a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(7, 95, 90, 0.34);
}

.nav-cta,
.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.button.secondary {
  color: var(--teal-dark);
}

main {
  padding: 52px clamp(20px, 5vw, 72px) 72px;
}

.hero,
.proof-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: 0;
}

.hero-copy,
.hero-panel,
.proof-note,
.service-grid article,
.boundary-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  max-width: 100%;
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px);
}

.overline {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.02;
}

h3 {
  font-size: 20px;
  line-height: 1.18;
}

.lead,
.copy-stack p,
.service-grid p,
.boundary-grid li,
.proof-copy p,
.contact-strip p,
.proof-note p,
footer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(232, 243, 241, 0.95), rgba(255, 255, 255, 0.92) 52%),
    #ffffff;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span,
.signal-list dt,
.contact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  text-transform: uppercase;
}

.panel-top strong {
  color: var(--teal-dark);
  font-size: 14px;
}

.signal-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.signal-list div {
  padding: 18px;
  border: 1px solid rgba(219, 228, 223, 0.9);
  border-radius: var(--radius);
  background: #ffffff;
}

.signal-list dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.section {
  margin-top: 84px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.copy-stack p {
  margin: 0;
}

.copy-stack p + p {
  margin-top: 18px;
}

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

.service-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.service-grid article {
  min-height: 252px;
  padding: 24px;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.service-grid p {
  margin: 16px 0 0;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 63, 59, 0.96), rgba(7, 95, 90, 0.92)),
    var(--teal-dark);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.proof-band .overline,
.proof-band .proof-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.proof-copy p {
  margin: 18px 0 24px;
}

.proof-image {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.proof-image img,
.dashboard-preview img {
  width: 100%;
  height: auto;
}

.boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-top: 84px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.boundary-grid article {
  padding: 24px;
}

.boundary-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.boundary-grid li + li {
  margin-top: 8px;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-top: 84px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-strip h2 {
  max-width: 720px;
  font-size: clamp(28px, 3.3vw, 46px);
}

.contact-strip p {
  max-width: 760px;
  margin: 14px 0 0;
}

.contact-card {
  min-width: 280px;
  padding: 22px;
  box-shadow: none;
}

.contact-card a,
footer a {
  display: block;
  margin: 5px 0 16px;
  color: var(--teal-dark);
  font-weight: 780;
}

.proof-hero {
  min-height: auto;
  align-items: end;
}

.proof-hero > div:first-child {
  padding: clamp(22px, 4vw, 48px) 0 0;
}

.proof-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
}

.proof-note {
  padding: 28px;
  border-color: rgba(183, 109, 22, 0.34);
  background: var(--amber-soft);
  box-shadow: none;
}

.proof-note strong {
  color: var(--amber);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.proof-note p {
  margin: 12px 0 0;
}

.dashboard-preview {
  overflow: hidden;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header,
  .contact-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .proof-hero,
  .split,
  .proof-band,
  .boundary-section {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  main,
  footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  main {
    padding-inline: 16px;
    padding-top: 34px;
  }

  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  nav a,
  .button {
    width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .proof-band,
  .contact-strip {
    padding: 22px;
  }

  .hero,
  .proof-hero,
  .split,
  .proof-band,
  .boundary-section,
  .service-grid,
  .service-grid.compact,
  .boundary-grid,
  .contact-strip {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .hero-panel,
  .service-grid article,
  .boundary-grid article,
  .proof-note,
  .dashboard-preview,
  .contact-card {
    margin-top: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy {
    width: calc(100vw - 32px);
  }

  .hero-copy > *,
  .hero-panel > *,
  .proof-note > *,
  .contact-strip > * {
    max-width: calc(100vw - 76px);
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 29px;
  }

  .lead,
  .copy-stack p,
  .service-grid p,
  .boundary-grid li,
  .proof-copy p,
  .contact-strip p,
  .proof-note p {
    font-size: 15px;
  }
}
