:root {
  color-scheme: dark;
  --bg: #151412;
  --ink: #fff6e9;
  --orange: #ff903e;
  --muted: #decbbb;
  --line: #71513c;
  --panel: #221e1a;
}

body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #38271e, transparent 62%), var(--bg);
  color: var(--ink);
}

main {
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.page-hero {
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border: 0;
  border-bottom: 1px solid #634837;
  text-align: center;
}

.page-hero img {
  display: block;
  width: clamp(150px, 27vw, 222px);
  height: auto;
  margin-inline: auto;
}

.page-hero h1 {
  max-width: none;
  margin: 20px auto 10px;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  text-wrap: balance;
}

.page-hero p + p { margin-top: 8px; }

.tool-card, .panel, .frame, .difference, main > section {
  background: linear-gradient(145deg, #352921, #221e1a);
  border-color: var(--line);
  border-radius: 16px;
}

.tool-card:hover, .tool-card:focus-visible {
  background: #392c23;
  border-color: var(--orange);
}
