:root {
  color-scheme: light;
  --background: #f3f0e9;
  --surface: rgba(255, 255, 255, 0.68);
  --ink: #14201c;
  --muted: #60706a;
  --line: rgba(20, 32, 28, 0.14);
  --accent: #1f7a5a;
  --accent-soft: #dcece4;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(31, 122, 90, 0.12), transparent 32rem),
    radial-gradient(circle at 92% 82%, rgba(187, 139, 62, 0.12), transparent 30rem),
    var(--background);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 30px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monogram {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: none;
}

.hero {
  max-width: 850px;
  padding: clamp(82px, 14vw, 160px) 0 clamp(72px, 10vw, 112px);
}

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

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

h1 {
  margin-bottom: 20px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(4.2rem, 11vw, 8.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  line-height: 1.48;
}

.tools {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.tool-card {
  display: grid;
  min-height: 265px;
  align-content: space-between;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(20, 32, 28, 0.06);
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: rgba(31, 122, 90, 0.48);
  box-shadow: 0 24px 60px rgba(20, 32, 28, 0.11);
  transform: translateY(-4px);
}

.tool-card:focus-visible {
  outline: 3px solid rgba(31, 122, 90, 0.2);
  outline-offset: 3px;
}

.tool-number {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.tool-card h3 {
  margin-bottom: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.tool-card p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 1rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 18px;
  }

  .hero {
    padding: 76px 0 68px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .section-heading {
    display: grid;
    gap: 8px;
  }

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

  .tool-card {
    min-height: 238px;
  }

  footer {
    display: grid;
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card {
    transition: none;
  }
}
