:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #5e6965;
  --line: #d9dfdc;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --accent: #2f6f5e;
  --accent-dark: #204c41;
  --warm: #c78f3a;
  --blue: #315d86;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(48px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.button.secondary {
  background: #fff;
}

.signal-panel {
  display: grid;
  gap: 14px;
}

.signal-panel > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(23, 34, 31, 0.08);
}

.signal-panel span {
  color: var(--warm);
  font-weight: 850;
  font-size: 0.78rem;
}

.signal-panel strong {
  display: block;
  margin: 8px 0;
}

.signal-panel p,
.grid p,
.copy-stack p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

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

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

.grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.grid article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.grid article:nth-child(3) {
  border-top: 4px solid var(--warm);
}

.grid article:nth-child(4) {
  border-top: 4px solid var(--accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
}

.copy-stack {
  max-width: 760px;
  font-size: 1.08rem;
}

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

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

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  align-self: center;
  color: #fff;
  font-weight: 750;
}

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

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 760px;
  }

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

@media (max-width: 580px) {
  .site-header {
    position: static;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

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

  .button {
    width: 100%;
  }
}
