:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #657068;
  --paper: #f5f3ec;
  --surface: #fffdf7;
  --line: #dcd9cf;
  --accent: #ff6b35;
  --accent-dark: #d94a18;
  --green: #234d3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 107, 53, 0.14), transparent 28rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 800 1.15rem "Manrope", sans-serif;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 12px;
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font: 800 clamp(3.5rem, 8vw, 7rem) / 0.96 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--accent);
}

.intro {
  max-width: 650px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: 160ms ease;
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 33, 27, 0.12);
}

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

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

h2 {
  margin-bottom: 0;
  font: 800 clamp(2.2rem, 5vw, 4rem) / 1.05 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: 180ms ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 45px rgba(23, 33, 27, 0.08);
}

.tool-number {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.tool-card h3 {
  margin: 42px 0 12px;
  font: 800 1.8rem "Manrope", sans-serif;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.6;
}

.tool-link {
  margin-top: auto;
  font-weight: 700;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 24px;
    padding: 22px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
  }

  .hero {
    min-height: 590px;
  }

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

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
