@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
  --green: #87ff71;
  --yellow: #ffce5c;
  --ink: #192617;
  --paper: #f6f8ea;
  --soft: #eefce6;
  --r: 18px;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(25, 38, 23, .18) 1.2px, transparent 1.2px),
    radial-gradient(rgba(25, 38, 23, .09) 1.2px, transparent 1.2px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
  font-family: 'Outfit', 'Rubik', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: .005em;
}

img { max-width: 100%; }

:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: 3px;
}

/* ---------- 背景几何块 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg span {
  position: absolute;
  display: block;
  opacity: .62;
  mix-blend-mode: multiply;
  will-change: transform;
}

.b1 {
  width: 210px; height: 210px;
  right: -60px; top: 12%;
  border-radius: 50%;
  background: var(--green);
  rotate: 8deg;
}

.b2 {
  width: 150px; height: 130px;
  left: -50px; top: 46%;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.b3 {
  width: 130px; height: 130px;
  right: 8%; bottom: 12%;
  border: 7px dashed var(--ink);
  border-radius: 50%;
  opacity: .35;
}

.b4 {
  width: 190px; height: 60px;
  left: 4%; top: 8%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='60' viewBox='0 0 190 60'%3E%3Cpath d='M0 30 Q12 4 24 30 T48 30 T72 30 T96 30 T120 30 T144 30 T168 30 T190 30' fill='none' stroke='%23192617' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .45;
}

.b5 {
  width: 90px; height: 90px;
  right: 26%; top: 4%;
  background: repeating-linear-gradient(45deg, var(--ink) 0 4px, transparent 4px 12px);
  opacity: .3;
  rotate: 14deg;
}

/* ---------- 页头 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px clamp(12px, 3vw, 30px);
  background: rgba(246, 248, 234, .93);
  backdrop-filter: blur(7px);
  border-bottom: 4px dashed var(--ink);
}

.mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  gap: 0;
  background: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transform: rotate(-7deg);
  transition: transform .22s ease;
}

.mark:hover, .mark:focus-visible { transform: rotate(5deg) scale(1.06); }

.mk-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mk-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-6px, -6px);
}

.mk-tri {
  width: 20px; height: 18px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translate(6px, 5px);
}

.nav { flex: 1 1 auto; min-width: 0; }

.nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 11px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 11px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav a:hover, .nav a:focus-visible, .nav a[aria-current] {
  background: var(--green);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- 主体骨架 ---------- */
main {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 3vw, 40px) clamp(12px, 3vw, 30px) 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 38px);
  align-items: start;
}

/* ---------- 左侧栏 ---------- */
.rail {
  position: sticky;
  top: 96px;
  padding: 14px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--ink);
  min-width: 0;
}

.rail-h {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16em;
}

.rail hr {
  border: 0;
  border-top: 3px dashed var(--ink);
  margin: 0 0 12px;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  transition: background .16s ease, transform .16s ease;
}

.rail-list a:hover, .rail-list a[aria-current] {
  background: var(--yellow);
  transform: translateX(3px);
}

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--green);
}

/* ---------- 首屏 ---------- */
.stage { min-width: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  min-height: 66vh;
  padding: clamp(16px, 3vw, 34px) 0;
}

.hero-copy { position: relative; min-width: 0; }

.stamp {
  display: inline-block;
  padding: 5px 15px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.024em;
  font-weight: 700;
  overflow-wrap: break-word;
}

.hero-art {
  margin: 0;
  min-width: 0;
  border: 4px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  transform: rotate(2.5deg);
  box-shadow: 9px 9px 0 var(--green);
  background: #fff;
}

.hero-img { display: block; width: 100%; height: auto; }

.hero-art.deco {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--green);
  border-style: solid;
}

.deco span { position: absolute; display: block; }

.d1 {
  width: 58%; height: 58%;
  left: 8%; top: 10%;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.d2 {
  width: 52%; height: 46%;
  right: 6%; bottom: 8%;
  background: #fff;
  border: 4px solid var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.d3 {
  width: 46px; height: 46px;
  left: 14%; bottom: 12%;
  background: var(--ink);
  border-radius: 50%;
}

.rule {
  border: 0;
  border-top: 6px dotted var(--ink);
  margin: 0 0 clamp(18px, 3vw, 30px);
}

/* ---------- 正文 ---------- */
.prose { min-width: 0; }

.prose div {
  position: relative;
  margin: 0 0 clamp(24px, 4vw, 42px);
  padding: clamp(18px, 3vw, 32px);
  scroll-margin-top: 100px;
  background: #fff;
  border: 3px solid var(--ink);
  border-bottom: 11px solid var(--green);
  border-radius: var(--r);
  box-shadow: 0 7px 0 rgba(25, 38, 23, .18);
}

.prose div:nth-child(even) {
  background: var(--soft);
  border-bottom-color: var(--yellow);
}

.prose h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.6vw, 2.05rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.01em;
}

.prose h3 {
  margin: 1.3em 0 .5em;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 700;
}

.prose h2 + hr, .prose h3 + hr {
  border: 0;
  border-top: 4px dashed var(--ink);
  margin: 0 0 16px;
}

.prose hr {
  border: 0;
  border-top: 3px dashed var(--ink);
  margin: 18px 0;
}

.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }

.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.35em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: #3f6b32; font-weight: 700; }

.prose a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

.prose a:hover { background: var(--yellow); }

.prose img {
  display: block;
  height: auto;
  margin: 1em 0;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

.prose blockquote {
  margin: 0 0 1em;
  padding: 12px 18px;
  background: #fff;
  border-left: 9px solid var(--green);
  border-radius: 0 12px 12px 0;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose code {
  padding: 2px 6px;
  font-family: 'Rubik', ui-monospace, monospace;
  font-size: .92em;
  background: var(--yellow);
  border-radius: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
  font-size: 16px;
}

.prose th, .prose td {
  padding: 9px 12px;
  border: 2px solid var(--ink);
  text-align: left;
}

.prose th { background: var(--green); }

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(26px, 4vw, 48px) clamp(14px, 3vw, 30px) 22px;
  color: var(--paper);
  background: var(--ink);
  border-top: 10px solid var(--green);
}

.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.fb-addr {
  font-style: normal;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--green);
}

.fb-rule {
  display: block;
  width: 78px;
  height: 6px;
  margin-top: 12px;
  background: var(--yellow);
  border-radius: 3px;
}

.foot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px dotted rgba(246, 248, 234, .45);
}

.foot-links a:hover, .foot-links a:focus-visible {
  color: var(--ink);
  background: var(--green);
  border-bottom-color: var(--green);
}

.sub {
  max-width: var(--maxw);
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  border-top: 3px dashed rgba(246, 248, 234, .35);
}

.sub-l {
  font-size: 16px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: .1em;
}

.sub input {
  flex: 1 1 190px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--paper);
  background: #24361f;
  border: 3px solid var(--green);
  border-radius: 12px;
}

.sub input::placeholder { color: #b9c9b0; }

.sub button {
  min-height: 46px;
  padding: 8px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--green);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.sub button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--green); }

.copy {
  max-width: var(--maxw);
  margin: 22px auto 0;
  font-size: 15px;
  text-align: center;
  color: #c6d3bd;
}

/* ---------- 动效 ---------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}

.rv.in { opacity: 1; transform: none; }

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rail { position: static; padding: 12px; box-shadow: 4px 4px 0 var(--ink); }
  .rail-h { display: inline-block; margin: 0 10px 0 0; }
  .rail hr { display: inline-block; width: 40px; vertical-align: middle; margin: 0 0 8px; border-top-width: 2px; }
  .rail-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .rail-list li { flex: 0 0 auto; }
  .rail-list a { white-space: nowrap; }
  .totop { margin-top: 8px; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 10px; }
  .hero-art { max-width: 360px; transform: rotate(1.5deg); box-shadow: 7px 7px 0 var(--green); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .foot-links ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .top { gap: 10px; }
  .nav a { padding: 6px 9px; font-size: 16px; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .prose div { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .mark, .stamp, .hero-art { transition: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
