*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
html, body { max-width: 100%; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, picture, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid #5EF2C2; outline-offset: 3px; }

:root {
  --wm-ink: #0B1F1A;
  --wm-carbon: #111614;
  --wm-green-mid: #14352B;
  --wm-green-deep: #1E4A3B;
  --wm-lime: #B8FF3D;
  --wm-orange: #FF8A3D;
  --wm-paper: #F2F5E9;
  --wm-sage: #8FA697;
  --wm-line: #2C3A34;
  --wm-pulse: #5EF2C2;

  --wm-font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wm-font-body: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --wm-font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --wm-max: 1320px;
  --wm-gutter: clamp(18px, 4vw, 48px);
  --wm-notch: 16px;
  --wm-ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  min-height: 100vh;
  font-family: var(--wm-font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--wm-paper);
  background-color: var(--wm-ink);
  background-image:
    radial-gradient(1100px 560px at 84% -10%, rgba(94, 242, 194, .09), transparent 62%),
    radial-gradient(880px 480px at 4% 2%, rgba(184, 255, 61, .06), transparent 64%),
    linear-gradient(to right, rgba(143, 166, 151, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 166, 151, .05) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.wm-container {
  width: 100%;
  max-width: var(--wm-max);
  margin-inline: auto;
  padding-inline: var(--wm-gutter);
}

.wm-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wm-skip {
  position: fixed;
  left: 14px;
  top: -120px;
  z-index: 300;
  display: inline-block;
  padding: 11px 20px;
  font-family: var(--wm-font-display);
  font-size: 14px;
  font-weight: 700;
  color: #08130F;
  background: var(--wm-lime);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: top .2s var(--wm-ease);
}
.wm-skip:focus,
.wm-skip:focus-visible { top: 14px; }

/* ===== header ===== */
.wm-header {
  position: sticky;
  top: 0;
  z-index: 200;
  isolation: isolate;
}

.wm-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(44, 58, 52, .55);
  pointer-events: none;
  z-index: 3;
}
.wm-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--wm-pulse), var(--wm-lime));
  transition: width .12s linear;
}

.wm-topbar {
  background: linear-gradient(90deg, #0B1F1A 0%, #123028 52%, #0B1F1A 100%);
  border-bottom: 1px solid var(--wm-line);
}
.wm-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  padding-block: 5px;
}
.wm-topbar__brandline {
  font-family: var(--wm-font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--wm-sage);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wm-topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.wm-topbar__version {
  padding: 2px 9px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--wm-lime);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 61, .38);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}
.wm-topbar__link {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--wm-paper);
  transition: color .2s var(--wm-ease);
}
.wm-topbar__link::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  background: var(--wm-pulse);
  box-shadow: 0 0 0 3px rgba(94, 242, 194, .16);
}
.wm-topbar__link:hover { color: var(--wm-lime); }

.wm-navbar {
  background: rgba(11, 31, 26, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wm-line);
}
.wm-navbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.wm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.wm-brand__mark,
.wm-footer__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--wm-lime);
  color: #08130F;
  font-family: var(--wm-font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.wm-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 2px;
}
.wm-brand__name {
  font-family: var(--wm-font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--wm-paper);
}
.wm-brand__sub {
  font-family: var(--wm-font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--wm-sage);
}

.wm-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 13px;
  color: var(--wm-paper);
  box-shadow: inset 0 0 0 1px var(--wm-green-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: box-shadow .2s var(--wm-ease);
}
.wm-nav-toggle:hover { box-shadow: inset 0 0 0 1px var(--wm-lime); }
.wm-nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.wm-nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--wm-lime);
  transition: transform .22s var(--wm-ease), opacity .18s var(--wm-ease);
}
.wm-nav-toggle__label {
  font-family: var(--wm-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--wm-sage);
}
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bars i:nth-child(2) { opacity: 0; }
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.wm-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.wm-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.wm-nav__item { display: block; }
.wm-nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 11px;
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--wm-sage);
  transition: color .2s var(--wm-ease);
}
.wm-nav__link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 3px;
  height: 2px;
  background: var(--wm-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--wm-ease), background .2s var(--wm-ease);
}
.wm-nav__link:hover { color: var(--wm-paper); }
.wm-nav__link:hover::after { transform: scaleX(1); }
.wm-nav__link[aria-current="page"] { color: var(--wm-paper); font-weight: 600; }
.wm-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--wm-pulse);
  box-shadow: 0 0 8px rgba(94, 242, 194, .55);
}
.wm-nav__cta { flex: 0 0 auto; margin-left: 4px; }

/* ===== buttons ===== */
.wm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--wm-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .2s var(--wm-ease), color .2s var(--wm-ease), box-shadow .2s var(--wm-ease), transform .2s var(--wm-ease);
}
.wm-btn--lime { background: var(--wm-lime); color: #08130F; }
.wm-btn--lime:hover { background: var(--wm-pulse); transform: translateY(-1px); }
.wm-btn--line {
  color: var(--wm-paper);
  box-shadow: inset 0 0 0 1px var(--wm-green-deep);
}
.wm-btn--line:hover { color: var(--wm-lime); box-shadow: inset 0 0 0 1px var(--wm-lime); }
.wm-btn--orange { background: var(--wm-orange); color: #1A0C04; }
.wm-btn--orange:hover { background: #FFA463; transform: translateY(-1px); }

/* ===== typography helpers ===== */
.wm-display {
  font-family: var(--wm-font-display);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 108px);
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.wm-h2 {
  font-family: var(--wm-font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.wm-h3 {
  font-family: var(--wm-font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.wm-lead {
  max-width: 64ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--wm-paper);
}
.wm-text {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--wm-sage);
}
.wm-mono {
  font-family: var(--wm-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

/* ===== labels / tags / panels ===== */
.wm-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--wm-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wm-sage);
}
.wm-label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--wm-lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, .14);
}
.wm-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--wm-font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--wm-paper);
  background: var(--wm-green-mid);
  box-shadow: inset 0 0 0 1px var(--wm-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: box-shadow .2s var(--wm-ease), background .2s var(--wm-ease), color .2s var(--wm-ease), transform .2s var(--wm-ease);
}
.wm-tag:hover { color: var(--wm-lime); box-shadow: inset 0 0 0 1px var(--wm-lime); transform: translateY(-1px); }
.wm-tag--lime { background: var(--wm-lime); color: #08130F; box-shadow: none; }
.wm-tag--lime:hover { background: var(--wm-pulse); color: #08130F; }
.wm-tag--orange { background: var(--wm-orange); color: #1A0C04; box-shadow: none; }
.wm-tag--orange:hover { background: #FFA463; color: #1A0C04; }
.wm-tag--ghost { background: transparent; color: var(--wm-sage); }

.wm-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--wm-carbon);
  box-shadow: inset 0 0 0 1px var(--wm-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--wm-notch)), calc(100% - var(--wm-notch)) 100%, 0 100%);
}
.wm-panel--green { background: var(--wm-green-mid); }
.wm-panel--flush { padding: 0; }

/* ===== layout ===== */
.wm-section { padding-block: clamp(46px, 7vw, 96px); }
.wm-section--tight { padding-block: clamp(26px, 4vw, 52px); }
.wm-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.wm-section__title {
  font-family: var(--wm-font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.wm-section__desc {
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--wm-sage);
}

.wm-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  grid-template-columns: minmax(0, 1fr);
}
.wm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.wm-split {
  display: grid;
  gap: clamp(18px, 2.6vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

/* ===== breadcrumb ===== */
.wm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--wm-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--wm-sage);
}
.wm-breadcrumb a { color: var(--wm-sage); transition: color .2s var(--wm-ease); }
.wm-breadcrumb a:hover { color: var(--wm-lime); }
.wm-breadcrumb__sep { color: var(--wm-green-deep); }
.wm-breadcrumb [aria-current="page"] { color: var(--wm-paper); }

/* ===== media ===== */
.wm-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--wm-green-mid);
  box-shadow: inset 0 0 0 1px var(--wm-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--wm-notch)), calc(100% - var(--wm-notch)) 100%, 0 100%);
}
.wm-media img,
.wm-media picture > img,
.wm-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.92);
}
.wm-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 31, 26, .12) 0%, rgba(11, 31, 26, .74) 100%),
    repeating-linear-gradient(to bottom, rgba(184, 255, 61, .05) 0 1px, transparent 1px 4px);
}
.wm-media--glow { box-shadow: inset 0 0 0 1px rgba(184, 255, 61, .55), 0 0 22px rgba(184, 255, 61, .12); }
.wm-media--wide { aspect-ratio: 16 / 9; }
.wm-media--tall { aspect-ratio: 3 / 4; }
.wm-media--square { aspect-ratio: 1 / 1; }

/* ===== reveal ===== */
.wm-js .wm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s var(--wm-ease), transform .62s var(--wm-ease);
  will-change: opacity, transform;
}
.wm-js .wm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== footer ===== */
.wm-footer {
  margin-top: clamp(40px, 6vw, 90px);
  padding-top: clamp(42px, 6vw, 74px);
  background: #08130F;
  border-top: 1px solid var(--wm-line);
  box-shadow: inset 0 1px 0 rgba(94, 242, 194, .18);
}
.wm-footer__grid {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: 1.5fr .9fr .9fr 1.3fr;
  padding-bottom: clamp(30px, 4vw, 52px);
}
.wm-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.wm-footer__summary {
  max-width: 32ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--wm-sage);
}
.wm-footer__version {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--wm-pulse);
}
.wm-footer__col { display: block; }
.wm-footer__title {
  margin-bottom: 14px;
  font-family: var(--wm-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wm-lime);
}
.wm-footer__links {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}
.wm-footer__links a {
  display: inline-block;
  font-size: 14.5px;
  color: var(--wm-paper);
  opacity: .8;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--wm-ease), opacity .2s var(--wm-ease), border-color .2s var(--wm-ease);
}
.wm-footer__links a:hover {
  color: var(--wm-lime);
  opacity: 1;
  border-bottom-color: rgba(184, 255, 61, .45);
}
.wm-footer__contact {
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--wm-paper);
  word-break: break-all;
}
.wm-footer__note {
  margin-bottom: 10px;
  max-width: 40ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--wm-sage);
}
.wm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--wm-line);
}
.wm-footer__copy {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--wm-sage);
}

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .wm-footer__grid { grid-template-columns: 1fr 1fr; }
  .wm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 128px; }
  .wm-nav-toggle { display: inline-flex; }
  .wm-navbar__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
    min-height: 0;
  }
  .wm-brand { order: 1; }
  .wm-nav-toggle { order: 2; }
  .wm-nav {
    order: 3;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--wm-line);
  }
  .wm-nav[data-open] { display: flex; }
  .wm-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .wm-nav__link {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(44, 58, 52, .7);
  }
  .wm-nav__link::after { left: 4px; right: auto; width: 26px; bottom: -1px; }
  .wm-nav__cta { width: 100%; margin-top: 14px; margin-left: 0; padding-block: 13px; }
  .wm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 120px; }
  .wm-topbar__inner { justify-content: flex-start; gap: 10px; }
  .wm-topbar__brandline { font-size: 10.5px; letter-spacing: .08em; }
  .wm-topbar__meta { margin-left: auto; gap: 10px; }
  .wm-topbar__version { font-size: 10px; padding: 2px 6px; }
  .wm-topbar__link { font-size: 11px; padding-left: 11px; }
  .wm-brand__mark { width: 36px; height: 36px; font-size: 13px; }
  .wm-brand__name { font-size: 15.5px; }
  .wm-brand__sub { font-size: 9.5px; letter-spacing: .12em; }
  .wm-grid--2,
  .wm-grid--3,
  .wm-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .wm-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .wm-footer__legal { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .wm-js .wm-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wm-btn:hover,
  .wm-tag:hover { transform: none; }
}
