:root {
  --lime: #80ff00;
  --acid: #00ff00;
  --ink: #1f2617;
  --paper: #f3ffe2;
  --edge: 3px solid #1f2617;
  --r: 10px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Rubik', -apple-system, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 8% 0, rgba(128, 255, 0, 0.5), rgba(128, 255, 0, 0) 46%),
    radial-gradient(circle at 96% 24%, rgba(0, 255, 0, 0.4), rgba(0, 255, 0, 0) 44%),
    radial-gradient(circle at 55% 100%, rgba(128, 255, 0, 0.32), rgba(128, 255, 0, 0) 52%);
  background-attachment: fixed;
  overflow-x: hidden;
}
html.menu-open body {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
.mark,
.burger,
.sticker,
.foot-brand a {
  font-family: 'Outfit', -apple-system, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', system-ui, sans-serif;
}
:focus-visible {
  outline: 3px solid #1f2617;
  outline-offset: 3px;
}
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--acid);
}
.ticker-run {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker-set {
  display: flex;
  gap: 26px;
  padding: 6px 26px 6px 0;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ticker-set i {
  font-style: normal;
  color: var(--lime);
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lime);
  border-bottom: var(--edge);
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
}
.mark {
  position: relative;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border: var(--edge);
  border-radius: var(--r);
  background: var(--acid);
  text-decoration: none;
  transform: rotate(-5deg);
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mark-txt {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  padding: 2px;
}
.burger {
  position: relative;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 17px;
  border: var(--edge);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transform: rotate(2deg);
}
.burger:active {
  background: var(--acid);
}
.burger-lines {
  display: block;
  width: 18px;
  height: 12px;
  background: linear-gradient(var(--ink) 0 0) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 50% / 100% 3px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 100% / 100% 3px no-repeat;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-content: center;
  padding: 96px 18px 36px;
  background: var(--acid);
  background-image: radial-gradient(circle at 22% 14%, rgba(128, 255, 0, 0.95), rgba(128, 255, 0, 0) 58%),
    radial-gradient(circle at 82% 88%, rgba(31, 38, 23, 0.16), rgba(31, 38, 23, 0) 55%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu.open {
  opacity: 1;
  visibility: visible;
}
.menu p {
  margin: 0 auto;
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 9px 18px;
  border: var(--edge);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.05rem, 4.2vw, 1.4rem);
  line-height: 1.2;
}
.menu a:nth-child(odd) {
  transform: rotate(-2deg);
  background: var(--lime);
}
.menu a:nth-child(even) {
  transform: rotate(1.6deg);
}
.menu a:hover {
  background: var(--ink);
  color: var(--acid);
}
main {
  display: block;
}
div {
  min-width: 0;
}
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 26px 16px 46px;
  min-height: calc(100svh - 100px);
  border-top: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 8vw, 4.4rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero .lead {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.75;
  color: #2b3823;
}
.hero-media {
  position: relative;
  padding: 6px;
}
.hero-img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: var(--r);
  filter: saturate(150%);
  transform: rotate(-2deg);
  object-fit: cover;
}
.hero-blank {
  aspect-ratio: 4 / 3;
  border: 4px dashed var(--ink);
  border-radius: var(--r);
  background: var(--acid);
  mix-blend-mode: multiply;
  transform: rotate(-2deg);
}
.sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: var(--edge);
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  mix-blend-mode: multiply;
}
.sticker-a {
  top: 8px;
  left: 2px;
  background: var(--acid);
  transform: rotate(-9deg);
}
.sticker-b {
  bottom: 12px;
  right: 0;
  background: var(--lime);
  transform: rotate(7deg);
}
div > section {
  padding: 38px 16px;
  border-top: 3px dashed rgba(31, 38, 23, 0.42);
  scroll-margin-top: 104px;
}
div > .hero {
  border-top: 0;
}
div h2 {
  display: inline-block;
  margin: 0 0 0.55em;
  padding: 0 4px 2px 0;
  font-size: clamp(1.5rem, 5.2vw, 2.3rem);
  line-height: 1.16;
  font-weight: 700;
  background: linear-gradient(transparent 66%, var(--lime) 66%);
}
div h3 {
  margin: 1.5em 0 0.4em;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
}
div h4 {
  margin: 1.2em 0 0.35em;
  font-size: 1.05rem;
  font-weight: 700;
}
div p {
  margin: 0 0 1.05em;
}
div ul,
div ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}
div li {
  margin: 0.32em 0;
}
div li::marker {
  color: #4a9b00;
  font-weight: 700;
}
div a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--acid);
}
div a:hover {
  background: var(--lime);
}
div strong {
  background: linear-gradient(transparent 60%, var(--acid) 60%);
}
div blockquote {
  margin: 0 0 1.2em;
  padding: 14px 16px;
  border-left: 6px solid var(--acid);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(128, 255, 0, 0.34);
}
div figure {
  margin: 0 0 1.2em;
}
div img {
  border: 3px solid var(--ink);
  border-radius: var(--r);
}
div figcaption {
  font-size: 16px;
  line-height: 1.6;
  color: #47543b;
  padding-top: 6px;
}
div hr {
  border: 0;
  border-top: 3px dashed rgba(31, 38, 23, 0.42);
  margin: 2em 0;
}
div table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 16px;
}
div th,
div td {
  border: 2px solid var(--ink);
  padding: 8px 10px;
  text-align: left;
}
div th {
  background: var(--lime);
}
.rail {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px 16px 34px;
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--ink);
}
.rail h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--acid);
  letter-spacing: 0.02em;
}
.rail .subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #a9c98d;
  letter-spacing: 0.05em;
  border-bottom: 2px dashed rgba(0, 255, 0, 0.4);
  padding-bottom: 10px;
}
.rail-links {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}
.rail-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid rgba(0, 255, 0, 0.55);
  border-radius: var(--r);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.rail-links a:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  border: 2px dashed rgba(128, 255, 0, 0.75);
  border-radius: var(--r);
  color: var(--lime);
  font-size: 16px;
  text-decoration: none;
}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 22px 16px;
  background: var(--acid);
  border-top: 4px solid var(--ink);
}
.foot-brand a {
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 2px;
}
footer nav {
  flex: 1 1 240px;
}
footer nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
}
footer nav a:hover {
  background: var(--ink);
  color: var(--acid);
}
.foot-copy {
  font-size: 16px;
  font-weight: 600;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (min-width: 700px) {
  div > section {
    padding: 52px 32px;
  }
}
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 34px;
    padding: 36px 32px 56px;
  }
  .hero .lead {
    font-size: 18px;
  }
}
@media (min-width: 960px) {
  main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    align-items: start;
  }
  .rail {
    position: sticky;
    top: 76px;
    min-height: calc(100svh - 76px);
    border-top: 0;
    border-left: 4px solid var(--ink);
  }
}
@media (min-width: 1100px) {
  .head-row {
    padding: 10px 22px;
  }
  footer {
    padding: 22px 22px;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
  .sticker {
    font-size: 15px;
    padding: 5px 9px;
  }
  .foot-copy {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes marq {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  @keyframes jitter {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -5px;
    }
  }
  .ticker-run {
    animation: marq 32s linear infinite;
  }
  .sticker {
    animation: jitter 3.6s ease-in-out infinite;
  }
  .sticker-b {
    animation-duration: 4.4s;
    animation-delay: 0.6s;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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