:root {
  color-scheme: light;
  --background: #f7f4ef;
  --foreground: #1f2933;
  --muted: #5f6b76;
  --surface: #ffffff;
  --accent: #176b87;
  --accent-foreground: #ffffff;
}

* {
  box-sizing: border-box;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
}

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

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.segment {
  display: flex;
  align-items: flex-start;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.segment-feature {
  background: var(--surface);
}

.segment-grid {
  display: grid;
  grid-auto-rows: minmax(80px, auto);
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 11px;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.segment-item {
  grid-column: var(--column) / span var(--column-span);
  grid-row: var(--row) / span var(--row-span);
  min-width: 0;
}

.segment-hero h1,
.segment-copy h2 {
  margin: 0;
}

.segment-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
}

.segment-hero p,
.segment-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  margin-top: 1rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  color: var(--muted);
}

@media (max-width: 760px) {
  .segment-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .segment-item {
    grid-column: var(--mobile-column) / span var(--mobile-column-span);
    grid-row: var(--mobile-row) / span var(--mobile-row-span);
  }
}