:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --heading: #2a2520;
  --body: #3f3930;
  --field: #4a6135;
  --rule: rgba(33, 29, 24, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--paper); }

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(33, 29, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 29, 24, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #faf7f1, var(--paper));
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--body);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(100% - 80px, 1120px);
  margin: 0 auto;
  padding: 44px 0 80px;
}

.hero {
  min-height: 43vh;
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 40px);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}

.wheat-mark {
  width: auto;
  height: clamp(72px, 12vw, 138px);
  flex-shrink: 0;
  image-rendering: pixelated;
}

h1, h2 {
  margin: 0;
  color: var(--heading);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(72px, 14vw, 172px); line-height: 0.82; }

.introduction { padding-top: clamp(40px, 6vw, 70px); }

h2 { max-width: 850px; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.button {
  padding: 17px 24px;
  border: 1px solid var(--field);
  border-radius: 2px;
  font: 400 15px/1.5 "DM Sans", sans-serif;
  text-align: center;
  text-decoration: none;
}

.primary { color: #fffdf8; background: var(--field); }
.secondary { color: var(--field); background: transparent; }
.button:hover { filter: brightness(0.92); }
.button:focus-visible { outline: 2px solid var(--heading); outline-offset: 4px; }

.brand-link { color: inherit; text-decoration: none; }
.tool-list { margin: 40px 0 0; padding-left: 1.5em; font-size: clamp(18px, 2vw, 24px); line-height: 1.5; }
.tool-list li { padding: 20px 0 20px 8px; border-bottom: 1px solid var(--rule); }
.tool-list a { color: var(--field); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.tool-list a:hover { color: var(--heading); }
.brand-link:focus-visible, .tool-list a:focus-visible { outline: 2px solid var(--field); outline-offset: 4px; }

@media (max-width: 600px) {
  .page-shell { width: calc(100% - 40px); padding: 28px 0 48px; }
  .hero { min-height: 32vh; gap: 16px; padding: 42px 0 36px; }
  .wheat-mark { height: clamp(56px, 15vw, 82px); }
  h1 { font-size: clamp(52px, 13.8vw, 82px); }
  .actions { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .button { padding: 17px 14px; }
}
