:root {
  font-family: Geist, "Segoe UI", sans-serif;
  color: #22342a;
  background: #f7f7ee;
  font-synthesis: none;
  --text: #22342a;
  --muted: #526456;
  --line: #d6ddcf;
  --paper: #fffef8;
  --forest: #203a2d;
  --accent: #dcfa79;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
main { flex: 1; padding-block-end: 52px; }
a { color: inherit; }
button, select { font: inherit; }
button:enabled, select:enabled { cursor: pointer; }
:focus-visible { outline: 3px solid #46805b; outline-offset: 4px; }
.site-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-block-end: 1px solid var(--line); }
.header-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 70px;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; font-size: 1.17rem;
  font-weight: 750; letter-spacing: -.04em; text-decoration: none;
}
.brand-mark { display: inline-flex; align-items: center; gap: 2px; padding: 7px; background: var(--forest); border-radius: 8px; }
.brand-mark i { width: 4px; height: 12px; border-radius: 1px; background: var(--accent); }
.brand-mark i:nth-child(2) { height: 16px; }
.skip-link { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 12px; background: var(--paper); }
.skip-link:not(:focus), .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
h1, h2, p { margin-top: 0; }
h1, h2, .tool-card strong { font-family: "Space Grotesk", Geist, "Segoe UI", sans-serif; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .99; letter-spacing: -.065em; margin-bottom: 18px; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; margin-bottom: 14px; }
.lead { max-width: 54ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.5; }
.home, .prose { padding-top: clamp(48px, 8vw, 96px); }
.home-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; }
.slice-art { display: flex; gap: 9px; height: clamp(130px, 21vw, 250px); padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #e9eedc; }
.slice-art i { flex: 1; border-radius: 6px; background: var(--forest); transform: skewY(-7deg) scaleY(.85); }
.slice-art i:nth-child(2) { background: #557b63; transform: skewY(-7deg) translateY(-5%); }
.slice-art i:nth-child(3) { background: #9cb898; transform: skewY(-7deg) translateY(4%) scaleY(.8); }
.slice-art i:nth-child(4) { background: #b7d551; transform: skewY(-7deg) scaleY(.65); }
.tool-list { margin-top: clamp(38px, 7vw, 74px); }
.tool-card {
  max-width: 620px; display: grid; align-items: center; grid-template-columns: auto 1fr auto;
  gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none;
}
.tool-card:hover { border-color: #6c8a6b; background: #f3f7e7; }
.tool-card strong, .tool-card strong + span { display: block; }
.tool-card strong { margin-bottom: 4px; font-size: 1.2rem; }
.tool-card strong + span { color: var(--muted); line-height: 1.45; }
.tool-symbol, .tool-arrow { color: var(--forest); font-size: 1.45rem; }
.tool-symbol { padding: 8px 11px; border-radius: 8px; background: var(--accent); }
.prose p { max-width: 66ch; color: var(--muted); line-height: 1.65; }

@media (max-width: 650px) {
  .home-hero { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 450px) {
  .site-width { width: calc(100% - 30px); }
  nav { gap: 12px; }
}
