.sgcw-downloads {
  --sgcw-green-900: #123d24;
  --sgcw-green-800: #18562e;
  --sgcw-green-700: #1f6b38;
  --sgcw-green-500: #65a72f;
  --sgcw-gold: #d6b43b;
  --sgcw-ink: #17221b;
  --sgcw-muted: #5f6d63;
  --sgcw-surface: #ffffff;
  --sgcw-bg: #f4f7f1;
  --sgcw-line: #dfe7dc;
  --sgcw-radius: 20px;
  --sgcw-shadow: 0 12px 32px rgba(18, 61, 36, .10);
}

.sgcw-downloads,
.sgcw-downloads * {
  box-sizing: border-box;
}

.sgcw-downloads {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  color: var(--sgcw-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

.sgcw-downloads a {
  color: inherit;
}

.sgcw-downloads__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(214, 180, 59, .25), transparent 24%),
    linear-gradient(135deg, var(--sgcw-green-900), var(--sgcw-green-700));
  color: #fff;
  box-shadow: var(--sgcw-shadow);
}

.sgcw-downloads__hero::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border: 34px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.sgcw-downloads__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e8f2de;
}

.sgcw-downloads__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #fff;
}

.sgcw-downloads__intro {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.86);
}

.sgcw-downloads__section {
  padding: clamp(34px, 6vw, 70px) 0 0;
}

.sgcw-downloads__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.sgcw-downloads__heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--sgcw-green-900);
}

.sgcw-downloads__heading p {
  max-width: 510px;
  margin: 0;
  color: var(--sgcw-muted);
}

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

.sgcw-file {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--sgcw-line);
  border-radius: var(--sgcw-radius);
  background: var(--sgcw-surface);
  box-shadow: 0 8px 22px rgba(18, 61, 36, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sgcw-file:hover {
  transform: translateY(-4px);
  border-color: #b8cfb6;
  box-shadow: var(--sgcw-shadow);
}

.sgcw-file__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.sgcw-file__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 16px;
  background: #eaf3e4;
  color: var(--sgcw-green-700);
}

.sgcw-file__icon--gold {
  background: #fbf4d9;
  color: #8b7114;
}

.sgcw-file__icon svg {
  width: 27px;
  height: 27px;
}

.sgcw-file__tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sgcw-bg);
  color: var(--sgcw-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.sgcw-file h3 {
  margin: 22px 0 6px;
  font-size: 1.23rem;
  line-height: 1.25;
  color: var(--sgcw-green-900);
}

.sgcw-file p {
  margin: 0 0 22px;
  color: var(--sgcw-muted);
}

.sgcw-file__action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--sgcw-green-700);
}

.sgcw-file__action::after {
  content: "↗";
  transition: transform .2s ease;
}

.sgcw-file:hover .sgcw-file__action::after {
  transform: translate(2px, -2px);
}

.sgcw-downloads__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: clamp(34px, 6vw, 64px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #d8e4d3;
  border-radius: 24px;
  background:
    linear-gradient(100deg, rgba(101,167,47,.14), rgba(214,180,59,.12)),
    #fff;
}

.sgcw-downloads__cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--sgcw-green-900);
}

.sgcw-downloads__cta p {
  max-width: 650px;
  margin: 0;
  color: var(--sgcw-muted);
}

.sgcw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 999px;
  background: var(--sgcw-green-700);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(31,107,56,.20);
  transition: transform .2s ease, background .2s ease;
}

.sgcw-button:hover {
  transform: translateY(-2px);
  background: var(--sgcw-green-900);
}

.sgcw-downloads a:focus-visible {
  outline: 3px solid var(--sgcw-gold);
  outline-offset: 4px;
}

.sgcw-downloads__note {
  margin: 18px 2px 0;
  font-size: .88rem;
  color: var(--sgcw-muted);
}

@media (max-width: 760px) {
  .sgcw-downloads__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sgcw-downloads__grid {
    grid-template-columns: 1fr;
  }

  .sgcw-downloads__cta {
    grid-template-columns: 1fr;
  }

  .sgcw-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgcw-file,
  .sgcw-file__action::after,
  .sgcw-button {
    transition: none;
  }
}
