:root {
  color-scheme: light;
  --ink: #13271c;
  --muted: #53665a;
  --green-950: #113f27;
  --green-800: #1e5a35;
  --green-600: #3d8a4b;
  --green-100: #eaf4e8;
  --paper: #fffdf7;
  --line: rgba(19, 39, 28, 0.14);
  --amber: #f5b84b;
  --blue: #3e86c8;
  --shadow: 0 24px 70px rgba(12, 35, 22, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

.landing {
  min-height: 100svh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 72svh;
  padding: 32px;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 34%, rgba(255, 253, 247, 0.18) 72%),
    linear-gradient(0deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0) 28%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  max-width: 1180px;
  min-height: calc(72svh - 64px);
  margin: 0 auto;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-800);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 620px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--green-950);
}

.lead {
  max-width: 610px;
  margin-top: 20px;
  color: #294536;
  font-size: 21px;
  line-height: 1.72;
}

.facts,
.progression {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 90, 53, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-950);
  font-size: 15px;
  font-weight: 800;
}

.progression {
  gap: 8px;
  margin-top: 16px;
}

.progression span {
  padding: 8px 12px;
  background: var(--green-950);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.progression span:nth-child(2) {
  background: var(--green-800);
}

.progression span:nth-child(3) {
  background: var(--blue);
}

.progression span:nth-child(4) {
  background: #d58b25;
}

.progression span:nth-child(5) {
  background: #263d74;
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.panel-heading p {
  color: var(--green-600);
  font-size: 14px;
  font-weight: 900;
}

.panel-heading h2 {
  color: var(--green-950);
  font-size: 24px;
  line-height: 1.15;
  text-align: right;
}

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

.qr-card {
  min-width: 0;
}

.qr-image,
.qr-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: white;
}

.qr-image {
  object-fit: contain;
  padding: 8px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(19, 39, 28, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(19, 39, 28, 0.07) 1px, transparent 1px), #ffffff;
  background-size: 16px 16px;
  color: var(--muted);
}

.qr-placeholder[hidden] {
  display: none;
}

.qr-placeholder span,
.qr-placeholder small {
  font-size: 12px;
  font-weight: 700;
}

.qr-placeholder strong {
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.2;
}

figcaption {
  margin-top: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  max-width: 1180px;
  margin: -58px auto 0;
  padding: 0 32px 28px;
  position: relative;
  z-index: 2;
}

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

.outcomes article {
  min-height: 160px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  box-shadow: 0 18px 46px rgba(12, 35, 22, 0.1);
}

.outcomes span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.outcomes h3 {
  margin-top: 12px;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.2;
}

.outcomes p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.works-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 46px rgba(12, 35, 22, 0.1);
}

.works-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

@media (min-width: 980px) {
  body {
    min-width: 980px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    min-height: calc(78svh - 64px);
  }
}

@media (max-width: 979px) {
  .hero {
    min-height: auto;
    padding: 22px 18px 92px;
  }

  .hero-media {
    height: 360px;
    inset: 0 0 auto;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(255, 253, 247, 1) 0%, rgba(255, 253, 247, 0.94) 42%, rgba(255, 253, 247, 0.16) 92%),
      linear-gradient(90deg, rgba(255, 253, 247, 0.82), rgba(255, 253, 247, 0.08));
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding-top: 220px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: 43px;
  }

  .lead {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.62;
  }

  .facts span,
  .progression span {
    font-size: 13px;
  }

  .contact-panel {
    padding: 18px;
  }

  .summary {
    grid-template-columns: 1fr;
    margin: -58px auto 0;
    padding: 0 18px 28px;
  }

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

  .outcomes article {
    min-height: auto;
    padding: 17px;
  }

  .works-card img {
    max-height: 280px;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-inline: 14px;
  }

  .hero-content {
    padding-top: 202px;
  }

  h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 16px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-heading h2 {
    text-align: left;
  }

  .qr-grid {
    gap: 10px;
  }

  .qr-placeholder strong {
    font-size: 16px;
  }
}
