:root {
  color-scheme: light;
  --bg: #f2f2f2;
  --text: #2f2f2f;
  --muted: #555555;
  --line: #e0e0e0;
  --card: #ffffff;
  --primary: #34495e;
  --primary-dark: #2c3e50;
  --blue: #3498db;
  --blue-dark: #2980b9;
  --blue-soft: #4c9cd2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--blue-dark);
}

.site-header,
.site-footer {
  padding: 1.35rem clamp(1rem, 4vw, 4rem);
}

.site-header {
  background: var(--primary);
  color: var(--white);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 750;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
}

main {
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.hero,
.layout-section {
  max-width: 72rem;
  margin: 0 auto;
}

.hero,
.layout-section > .layout-row:first-child .layout-column:first-child {
  padding: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--primary), var(--blue-dark));
  color: var(--white);
  border: 0;
}

.hero-eyebrow,
.block-eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1,
.layout-column h1 {
  max-width: 13ch;
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.95;
}

.hero p,
.layout-column p {
  max-width: 46rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.layout-section {
  display: grid;
  gap: 1.5rem;
}

.layout-row {
  display: grid;
  gap: 1.5rem;
}

.layout-column {
  min-width: 0;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
}

.layout-column:not(:first-child) h1,
.layout-column:not(:first-child) h2,
.layout-column:not(:first-child) h3 {
  color: var(--primary-dark);
}

.layout-column:not(:first-child) .block-eyebrow {
  color: var(--blue-dark);
}

.placeholder {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem;
  background: var(--white);
  border-left: 0.4rem solid var(--blue);
}

img {
  max-width: 100%;
  height: auto;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

@media (min-width: 760px) {
  .layout-row {
    grid-template-columns: repeat(60, minmax(0, 1fr));
  }

  .layout-column {
    grid-column: span var(--span, 60);
  }
}
