:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #5d6c67;
  --line: #d8dfdc;
  --paper: #f8faf9;
  --surface: #ffffff;
  --green: #1d6b59;
  --blue: #315f9f;
  --amber: #996d1d;
  --shadow: 0 22px 60px rgba(22, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 5px;
  box-shadow: inset 6px 0 0 rgba(49, 95, 159, 0.22);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: end;
  min-height: 560px;
  padding: 58px 0 42px;
}

.hero-copy {
  max-width: 760px;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.tools article a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  padding: 9px 14px;
  font-weight: 720;
  text-decoration: none;
}

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

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row span {
  color: var(--muted);
}

.tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0 56px;
}

.tools article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.tools h2,
.proof h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.tools p,
.proof p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tools article a {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
}

.tools article:nth-child(2) h2 {
  color: var(--blue);
}

.tools article:nth-child(4) h2 {
  color: var(--green);
}

.tools article:nth-child(5) h2 {
  color: var(--amber);
}

.proof {
  border-top: 1px solid var(--line);
  padding: 44px 0 72px;
}

.proof p {
  max-width: 780px;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

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

  .tools article {
    min-height: 190px;
  }
}

