@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #18201c;
  --muted: #66706a;
  --accent: #257a55;
  --accent-light: #dff2e8;
  --border: #dde3df;
  --shadow: 0 14px 40px rgba(29, 52, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "DM Sans", Arial, sans-serif;
}

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand span,
.hero h1 span {
  color: var(--accent);
}

.header-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  width: min(840px, calc(100% - 40px));
  padding: 110px 0 120px;
  margin: auto;
  text-align: center;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 560px;
  margin: 28px auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease;
}

.primary-button {
  min-height: 52px;
  padding: 0 24px;
}

.primary-button:hover,
.download-button:hover {
  transform: translateY(-2px);
  background: #1e6848;
}

.downloads {
  width: min(1120px, calc(100% - 40px));
  padding: 72px 0 100px;
  margin: auto;
  border-top: 1px solid var(--border);
}

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

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.045em;
}

.search {
  width: min(100%, 310px);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}

.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.search svg {
  width: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

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

.file-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.file-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.file-card h3 {
  margin: 0 0 7px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.file-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-button {
  min-height: 42px;
  padding: 0 17px;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
}

.empty-state {
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
}

footer {
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .hero {
    padding: 80px 0 90px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search {
    width: 100%;
    max-width: none;
  }

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