:root {
  --color-field: #1B5E20;
  --color-moss: #558B2F;
  --color-rock: #37474F;
  --color-cream: #F5F5DC;
  --color-terra: #D84315;
  --color-silver: #C0C0C0;
  --color-neon: #FF6D00;
  --color-white: #FFFFFF;
  --color-ink: #000000;
  --font-head: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --content-max: 1280px;
  --header-bg: var(--color-field);
  --footer-bg: var(--color-rock);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

p {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--color-neon);
  color: var(--color-ink);
}

:focus-visible {
  outline: 3px solid var(--color-neon);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn--cta:focus-visible {
  outline-color: var(--color-white);
}

#main-content {
  min-height: 60vh;
  scroll-margin-top: 140px;
  outline: none;
}

.container {
  width: min(var(--content-max), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-white);
}

.section--tint {
  background: var(--color-cream);
}

.section__header {
  margin-bottom: 40px;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-terra);
}

.section__title {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--color-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid var(--color-silver);
  border-radius: 6px;
  background: transparent;
  color: var(--color-white);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--cta {
  background: var(--color-neon);
  border-color: var(--color-neon);
  color: var(--color-ink);
  box-shadow: 0 2px 14px rgba(255, 109, 0, 0.35);
}

.btn--cta:hover {
  background: #FF8533;
  border-color: #FF8533;
  color: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 109, 0, 0.5);
}

.site-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--color-neon);
  color: var(--color-ink);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}

.site-skip:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-field);
  color: var(--color-white);
  border-bottom: 3px solid var(--color-neon);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--color-neon);
  z-index: 5;
  pointer-events: none;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 0 16px;
}

.masthead__side {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-cream);
  white-space: nowrap;
}

.live-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 8px rgba(255, 109, 0, 0.8);
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  position: relative;
}

.brand__name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
}

.brand__badge {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-white);
  background: var(--color-field);
  border: 1px solid var(--color-neon);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.masthead__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--color-neon);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: block;
  padding: 13px 20px 11px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-cream);
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-neon);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-white);
  font-weight: 700;
  border-bottom-color: var(--color-neon);
}

.page-head {
  padding: 56px 0 32px;
  border-bottom: 3px solid var(--color-field);
}

.page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-terra);
}

.page-head__title {
  font-size: clamp(32px, 5vw, 56px);
  margin-top: 8px;
  color: var(--color-field);
}

.page-head__intro {
  margin-top: 14px;
  max-width: 72ch;
  font-size: 16px;
  color: var(--color-rock);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--color-field);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  color: var(--color-silver);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-rock);
  font-weight: 700;
}

.media-shell {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-moss), var(--color-field));
  border-radius: 12px;
}

.media-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-shell:hover img {
  transform: scale(1.03);
}

.media-shell--16x9 {
  aspect-ratio: 16 / 9;
}

.media-shell--4x3 {
  aspect-ratio: 4 / 3;
}

.media-shell--3x4 {
  aspect-ratio: 3 / 4;
}

.media-shell--1x1 {
  aspect-ratio: 1 / 1;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--color-field);
  margin-bottom: 0;
}

.tabs__btn {
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-rock);
  background: transparent;
  border: 1px solid var(--color-silver);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tabs__btn:hover {
  background: rgba(85, 139, 47, 0.1);
}

.tabs__btn[aria-selected="true"] {
  background: var(--color-field);
  border-color: var(--color-field);
  color: var(--color-white);
}

.tab-panel {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.panel-stack {
  display: grid;
  gap: 28px;
  align-items: start;
}

.panel-stack > * {
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px;
  background: var(--color-field);
  color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-band__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
}

.cta-band__text {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-cream);
  max-width: 48ch;
}

.site-footer {
  background: var(--color-rock);
  color: var(--color-cream);
  border-top: 4px solid var(--color-field);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer-brand__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand__about {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-cream);
  max-width: 40ch;
  line-height: 1.6;
}

.footer-brand__trust {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--color-neon);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-silver);
  max-width: 52ch;
}

.footer-links__title,
.footer-contact__title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-silver);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.footer-links__list li + li {
  margin-top: 8px;
}

.footer-links__list a {
  font-size: 14px;
  color: var(--color-cream);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links__list a:hover {
  color: var(--color-neon);
  padding-left: 4px;
}

.footer-contact__line {
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-cream);
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--color-silver);
}

.footer-meta__copyright {
  margin: 0;
}

.footer-meta__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-meta__legal a {
  color: var(--color-silver);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-meta__legal a:hover {
  color: var(--color-white);
}

.footer-meta__icp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-silver);
}

@media (max-width: 980px) {
  .masthead {
    grid-template-columns: 1fr auto;
    padding: 14px 0 12px;
    gap: 12px;
  }

  .masthead__side {
    display: none;
  }

  .masthead__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand__name {
    font-size: 20px;
  }

  .brand__badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    overflow: hidden;
  }

  .site-nav[data-open] {
    display: block;
    animation: nav-reveal 0.25s ease;
    padding-bottom: 12px;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
    padding: 14px 10px 13px;
  }

  .site-nav__link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-neon);
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav__link[aria-current="page"] {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-neon);
    background: rgba(255, 255, 255, 0.08);
  }
}

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

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .section {
    padding: 40px 0;
  }

  .section__header {
    margin-bottom: 24px;
  }

  .page-head {
    padding: 36px 0 24px;
  }

  .masthead__actions .btn--cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 24px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-meta__icp {
    margin-left: 0;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .panel-stack > * {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
