:root {
  --ink: #17332b;
  --pine: #1f5b46;
  --jade: #3a755d;
  --mist: #e9f0ec;
  --paper: #f7f9f6;
  --line: #cbd8d1;
  --gold: #a77a38;
  --muted: #64756e;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 4.6rem, rgba(31, 91, 70, 0.08) 4.6rem 4.7rem, transparent 4.7rem),
    var(--paper);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--pine);
  color: var(--pine);
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
}

.mast-note {
  color: var(--muted);
  font: 12px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.sheet {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 620px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 70px rgba(20, 54, 43, 0.08);
}

.sheet,
.content {
  min-width: 0;
}

.domain-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: var(--mist);
  color: var(--pine);
  font: 12px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(34px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--jade);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: var(--gold);
  content: "";
}

h1 {
  max-width: 820px;
  margin: 28px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1.long-title {
  font-size: clamp(38px, 4.6vw, 58px);
  letter-spacing: -0.045em;
}

.summary {
  max-width: 760px;
  margin: 30px 0 0;
  color: #435a51;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.9;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: end;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 116px;
  padding: 22px 24px 20px 0;
}

.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.fact-label {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font: 11px/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.notice {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.notice p {
  max-width: 660px;
  margin: 0;
}

.seal {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font: 12px/1.35 "Songti SC", "STSong", serif;
  letter-spacing: 0.12em;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer a {
  text-underline-offset: 4px;
}

.footer a:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  body {
    background: var(--paper);
  }

  .page {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 18px 12px 28px;
  }

  .masthead {
    align-items: center;
  }

  .mast-note {
    display: none;
  }

  .brand {
    min-width: 0;
    font-size: 14px;
    letter-spacing: 0.035em;
  }

  .sheet {
    grid-template-columns: 42px minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-height: 660px;
    margin-top: 18px;
  }

  .content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 34px 20px 30px;
  }

  .summary,
  .fact-value,
  .notice p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h1 {
    font-size: clamp(34px, 10vw, 50px);
  }

  h1.long-title {
    font-size: clamp(31px, 8vw, 42px);
  }

  .summary {
    font-size: 16px;
  }

  .facts {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .fact {
    min-height: 0;
    padding: 18px 0;
  }

  .fact + .fact {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .seal {
    display: none;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .sheet {
    animation: reveal 500ms ease-out both;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media print {
  body {
    background: #fff;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .sheet {
    box-shadow: none;
  }
}
