:root {
  --bg: #17211d;
  --bg-deep: #101713;
  --bg-panel: rgba(255, 255, 255, 0.1);
  --bg-panel-strong: rgba(255, 255, 255, 0.16);
  --border: #2f463b;
  --border-strong: #527061;
  --purple: #2f8a6b;
  --muted: #4f6f61;
  --violet: #24533f;
  --lime: #c2ef4e;
  --coral: #ffb287;
  --pink: #fa7faa;
  --text: #ffffff;
  --muted-text: #d9d7e5;
  --soft-text: #aaa5bd;
  --shadow-card: rgba(0, 0, 0, 0.2) 0 16px 34px -18px;
  --shadow-hover: rgba(0, 0, 0, 0.26) 0 12px 30px -14px;
  --shadow-inset: rgba(0, 0, 0, 0.14) 0 1px 3px 0 inset;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 23, 19, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 172px;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand span {
  color: var(--soft-text);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--lime);
}

.nav-action,
.menu-toggle {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--muted);
  color: var(--text);
  box-shadow: var(--shadow-inset);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.nav-action {
  padding: 9px 15px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #101713;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 19, 0.9) 0%, rgba(16, 23, 19, 0.72) 48%, rgba(16, 23, 19, 0.5) 100%),
    radial-gradient(circle at 18% 12%, rgba(47, 138, 107, 0.34), transparent 34%),
    radial-gradient(circle at 85% 8%, rgba(255, 178, 135, 0.16), transparent 28%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.eyebrow,
.section-label {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.lead {
  color: var(--muted-text);
  font-size: 18px;
  max-width: 680px;
}

.hero-actions,
.cta-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--lime);
  color: #101713;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--bg-panel-strong);
  color: var(--text);
  backdrop-filter: blur(18px) saturate(180%);
}

.btn-muted {
  border-color: var(--border-strong);
  background: var(--muted);
  color: var(--text);
  box-shadow: var(--shadow-inset);
}

.hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(180%);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 23, 19, 0.58);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--soft-text);
  font-size: 12px;
}

.section {
  padding: 72px 0;
  background: var(--bg);
}

.section.alt {
  background: var(--bg-deep);
}

.container {
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted-text);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.article-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(180%);
}

.card,
.feature-card {
  padding: 22px;
}

.card p,
.feature-card p,
.article-card p,
.page-copy p,
.list-panel li {
  color: var(--muted-text);
}

.card:hover,
.article-card:hover {
  border-color: rgba(194, 239, 78, 0.42);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(194, 239, 78, 0.13);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.article-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.article-card a {
  color: var(--lime);
  font-weight: 800;
}

.media-frame,
.photo-card,
.wide-photo {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.media-frame img,
.wide-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card-body {
  padding: 18px;
}

.photo-card-body p {
  margin-bottom: 0;
  color: var(--muted-text);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 24px;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  color: var(--muted-text);
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-block {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted-text);
}

.story-text p:last-child {
  margin-bottom: 0;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.image-strip .photo-card:first-child {
  grid-row: span 2;
}

.image-strip .photo-card:first-child img {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.list-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 23, 19, 0.74);
}

.list-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 12%, rgba(47, 138, 107, 0.32), transparent 32%),
    linear-gradient(180deg, #17211d 0%, #101713 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 74px 0 58px;
}

.page-hero h1 {
  max-width: 860px;
}

.page-copy {
  max-width: 760px;
}

.cta-band {
  padding: 56px 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 178, 135, 0.12), transparent 30%),
    #101713;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(180%);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #101713;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact a {
  color: var(--muted-text);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--lime);
}

.footer-links a,
.footer-inner p {
  color: var(--muted-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: min(1152px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--soft-text);
  font-size: 13px;
}

.legal-meta {
  color: var(--soft-text);
  font-size: 14px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-item span {
  display: block;
  color: var(--soft-text);
  font-size: 13px;
}

.contact-item strong {
  display: block;
  margin-top: 4px;
}

.license-layout {
  display: grid;
  gap: 30px;
}

.license-summary {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.license-card {
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-card);
}

.license-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
  background: #fff;
  image-orientation: from-image;
}

.license-watermark {
  position: absolute;
  inset: -24%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  align-content: space-around;
  justify-content: space-around;
  gap: 36px 58px;
  color: rgba(23, 33, 29, 0.48);
  font-size: clamp(12px, 1.55vw, 20px);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1;
  opacity: 0.38;
  pointer-events: none;
  transform: rotate(-24deg);
  mix-blend-mode: multiply;
}

.license-watermark span {
  white-space: nowrap;
}

.license-note {
  color: var(--muted-text);
}

@media (max-width: 980px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-action {
    display: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    align-items: stretch;
    padding: 12px 0 4px;
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-inner,
  .split,
  .license-summary,
  .cta-box,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .section-head {
    display: block;
  }

  .grid-4,
  .grid-3,
  .trust-grid,
  .detail-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip .photo-card:first-child {
    grid-row: auto;
  }

  .cta-actions {
    margin-top: 6px;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1152px);
  }

  .nav-links.is-open,
  .grid-2,
  .grid-3,
  .grid-4,
  .trust-grid,
  .detail-columns,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .button-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .page-hero .container {
    padding: 54px 0 42px;
  }
}
