:root {
  --paper: #f5f0e8;
  --paper-deep: #ebe2d4;
  --ink: #2b2a27;
  --muted: #756f67;
  --green: #6a7c63;
  --green-soft: #dfe8dc;
  --brown: #b96f38;
  --line: #d8d0c2;
  --white: #fffdf8;
  --shadow: 0 20px 60px rgba(43, 42, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(106, 124, 99, 0.08) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(106, 124, 99, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 10;
  transform: translateY(-80px);
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: stretch;
}

.identity-rail {
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--line);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 253, 248, 0.45);
}

.site-mark {
  width: 58px;
  height: 58px;
}

.rail-domain,
.rail-note {
  writing-mode: vertical-rl;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.rail-note {
  margin-top: auto;
  color: var(--green);
}

.hero {
  position: relative;
  padding: 76px 52px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 34px;
  width: 92px;
  height: 5px;
  background: var(--brown);
}

.eyebrow,
.panel-kicker,
.statement-label {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 9em;
  margin-top: 18px;
  font-size: 64px;
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.statement {
  width: min(560px, 100%);
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.statement p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

.scope-panel {
  align-self: end;
  min-height: 70%;
  padding: 30px 28px;
  background: var(--green-soft);
  border: 1px solid rgba(106, 124, 99, 0.24);
}

.scope-panel h2 {
  margin-top: 8px;
  font-size: 30px;
}

.scope-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.scope-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(106, 124, 99, 0.25);
}

.scope-list span {
  display: block;
  color: var(--brown);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13px;
}

.scope-list strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.scope-list p {
  margin: 8px 0 0;
  color: #596653;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  text-decoration: none;
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.site-footer a:hover {
  color: var(--brown);
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .scope-panel {
    grid-column: 2;
    min-height: 0;
  }

  h1 {
    font-size: 48px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 560px);
    min-height: auto;
    padding: 24px 0 24px;
    display: block;
  }

  .identity-rail {
    min-height: 76px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }

  .site-mark {
    width: 46px;
    height: 46px;
  }

  .rail-domain,
  .rail-note {
    writing-mode: horizontal-tb;
    margin: 0;
    font-size: 12px;
  }

  .rail-note {
    margin-left: auto;
  }

  .hero {
    padding: 54px 22px 30px;
  }

  .hero::before {
    left: 22px;
    top: 26px;
    width: 70px;
  }

  h1 {
    max-width: 100%;
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.8;
  }

  .statement {
    margin-top: 36px;
  }

  .scope-panel {
    margin-top: 16px;
    padding: 24px 22px;
  }

  .site-footer {
    width: min(100% - 28px, 560px);
    display: block;
    padding-bottom: 24px;
  }

  .site-footer span,
  .site-footer a {
    display: block;
    margin-top: 8px;
  }
}
