:root {
  color-scheme: light;
  --bg: #f7f7f3;
  --text: #20211d;
  --muted: #63655d;
  --line: #d8d8cf;
  --panel: #ffffff;
  --accent: #126a5a;
  --accent-strong: #0a4c41;
  --focus: #9b6b00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 243, 0.94);
  position: sticky;
  top: 0;
}

.brand {
  color: var(--accent-strong);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-strong);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 52vh;
  display: grid;
  align-content: center;
  padding: clamp(72px, 12vw, 132px) 0 clamp(52px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  max-width: 760px;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
}

.section {
  padding: clamp(48px, 8vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 32px;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 10px;
}

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

.link-card {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.link-card:hover {
  border-color: var(--accent);
}

.link-card span {
  color: var(--accent-strong);
  font-weight: 750;
}

.link-card small {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .site-nav {
    justify-content: flex-start;
  }

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