:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5a6962;
  --line: #d9e2dd;
  --paper: #f7faf6;
  --panel: #ffffff;
  --teal: #177c72;
  --teal-dark: #0f5f58;
  --coral: #d7664b;
  --leaf: #5c7f49;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(23, 124, 114, 0.08), rgba(215, 102, 75, 0.05)),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.landing-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #191a17;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.header-link,
.site-footer a {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.header-link:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.landing-shell {
  padding: 54px 0 52px;
}

.hero {
  max-width: 880px;
  min-height: 280px;
  border-bottom: 1px solid var(--line);
}

.hero__content {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.hero__text {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.tools-section {
  margin-top: 42px;
}

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

.tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.07);
  padding: 22px;
}

.tool-card--active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

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

.tool-card__body p:not(.tool-card__meta) {
  max-width: 780px;
}

.tool-card__meta {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  text-decoration: none;
}

.tool-link:hover {
  background: var(--teal-dark);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card--inactive {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.66);
}

.tool-card--inactive h3 {
  margin-bottom: 0;
  color: #394840;
}

.tool-card--inactive .tool-card__meta {
  color: var(--coral);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 22px 0 28px;
}

@media (max-width: 860px) {
  .tool-card--active,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
    padding-bottom: 4px;
  }

  .tool-link {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .landing-shell {
    width: min(100% - 20px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-shell {
    padding-top: 28px;
  }

  .tool-card {
    padding: 18px;
  }
}
