:root {
  --ink: #09120d;
  --muted: #526159;
  --line: rgba(8, 25, 16, 0.13);
  --leaf-bright: #8dff54;
  --paper: #f4f8f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a3a25;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  background: url("og.png") center / cover no-repeat;
  transform: scale(1.012);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(1, 17, 10, 0.92) 0%, rgba(1, 17, 10, 0.67) 39%, rgba(1, 17, 10, 0.08) 72%),
    linear-gradient(0deg, rgba(1, 17, 10, 0.55), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 84px;
  color: white;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(4, 34, 20, 0.54);
  backdrop-filter: blur(12px);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf-bright);
  box-shadow: 0 0 0 5px rgba(141, 255, 84, 0.13);
}

.eyebrow,
.section-kicker {
  margin: 34px 0 13px;
  color: var(--leaf-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

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

h1 {
  max-width: 730px;
  margin-bottom: 21px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
}

.intro {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--leaf-bright);
  outline-offset: 4px;
}

.button-primary {
  background: var(--leaf-bright);
  color: #0b2b18;
}

.button-primary:hover {
  background: #a4ff79;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(4, 34, 20, 0.34);
  color: white;
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(4, 34, 20, 0.5);
}

.document-meta {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.reader-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 70px;
}

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

.section-kicker {
  margin: 0 0 9px;
  color: #2d8524;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.text-link {
  color: #245d35;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.reader-frame {
  position: relative;
  height: min(84vh, 980px);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #dfe6e1;
  box-shadow: 0 25px 70px rgba(11, 33, 20, 0.1);
}

.reader-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

.reader-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.reader-fallback p {
  color: var(--muted);
}

.reader-fallback a {
  color: #256b32;
  font-weight: 700;
}

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.09em;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: 760px;
  }

  .hero-art {
    background-position: 57% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(1, 17, 10, 0.96) 0%, rgba(1, 17, 10, 0.75) 62%, rgba(1, 17, 10, 0.16) 100%);
  }

  .hero-content,
  .reader-section,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    padding: 180px 0 52px;
  }

  .eyebrow {
    margin-top: 28px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .actions {
    display: grid;
  }

  .reader-section {
    padding-top: 62px;
  }

  .reader-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .reader-frame {
    min-height: 540px;
    height: 74vh;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
