:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --ink: #24302f;
  --muted: #63706d;
  --surface: rgba(255, 252, 246, 0.86);
  --card: #fffaf1;
  --border: rgba(36, 48, 47, 0.14);
  --accent: #23675e;
  --accent-strong: #194f49;
  --accent-soft: rgba(35, 103, 94, 0.12);
  --warm: #b86b45;
  --shadow: 0 24px 70px rgba(31, 45, 43, 0.14);
  --radius: 28px;
  --radius-sm: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

body,
a {
  text-rendering: optimizeLegibility;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 12%, rgba(184, 107, 69, 0.24), transparent 36%),
    radial-gradient(circle at 82% 16%, rgba(35, 103, 94, 0.22), transparent 34%),
    radial-gradient(circle at 58% 82%, rgba(95, 137, 127, 0.2), transparent 42%),
    linear-gradient(180deg, #faf7ef 0%, #eee7db 100%);
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.hero {
  min-height: 430px;
  display: grid;
  align-content: center;
  padding: clamp(36px, 7vw, 84px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(247, 237, 222, 0.82));
  box-shadow: var(--shadow);
}

.eyebrow,
.card-label {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 52px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 40px);
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.55;
}

.tools {
  padding: 72px 0 56px;
}

.section-heading {
  margin-bottom: 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 44px rgba(31, 45, 43, 0.1);
}

.tool-card p:not(.card-label) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(35, 103, 94, 0.24);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
}

a:focus-visible {
  outline: 3px solid rgba(184, 107, 69, 0.42);
  outline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

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

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

  .hero {
    min-height: auto;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
}
