:root {
  --bg: #10161b;
  --bg-soft: #161f26;
  --paper: #f6f8f7;
  --paper-2: #ffffff;
  --text: #162127;
  --muted: #607078;
  --line: #d8e3df;
  --brand: #29df84;
  --brand-dark: #0f6f4a;
  --blue-gray: #7e92a3;
  --shadow: 0 18px 40px rgba(10, 20, 26, 0.12);
  --radius: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #edf2f4, #f6f8f7);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.skip-link:focus { left: 16px; }

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 22, 27, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; }

.brand-wordmark { width: 132px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: #fff; }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #07311f;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at top, rgba(41, 223, 132, 0.18), transparent 34%),
    linear-gradient(180deg, #10161b, #161f26 54%, #edf2f4 54.1%, #edf2f4);
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section-head h2,
.register-strip h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.06;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 {
  max-width: 12ch;
  margin-inline: auto;
  font-size: clamp(3rem, 5.8vw, 4.7rem);
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #07311f;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.desktop-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 280px);
  gap: 18px;
  align-items: start;
  width: min(100%, 1060px);
  margin: 8px auto 0;
}

.desktop-window {
  background: linear-gradient(180deg, #19242b, #11171c);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 28px 70px rgba(10, 20, 26, 0.24);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 12px 14px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-bar strong {
  margin-left: 8px;
  font-size: 14px;
  letter-spacing: .03em;
}

.window-bar img {
  margin-left: auto;
  width: 26px;
  height: 26px;
}

.window-body {
  background: #f6f8f7;
  color: var(--text);
  border-radius: 22px;
  padding: 18px;
}

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

.window-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.window-panel.active {
  border-color: rgba(41, 223, 132, 0.28);
  background: linear-gradient(180deg, #ffffff, #eef8f1);
}

.window-panel span {
  display: inline-flex;
  min-width: 48px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(41, 223, 132, 0.12);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.window-panel strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
}

.window-panel p {
  margin: 0;
  color: var(--muted);
}

.window-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #07311f;
  font-weight: 700;
}

.mini-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
}

.window-side {
  display: grid;
  gap: 12px;
}

.side-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 33, 39, 0.08);
  border-radius: 20px;
  padding: 18px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.section {
  padding: 72px 0;
  color: var(--text);
}

.section-alt {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head h2,
.register-strip h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.entry-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.entry-card,
.check-card,
.requirements-figure,
.register-strip,
.faq-item,
.footer-grid > div {
  box-shadow: var(--shadow);
}

.entry-card,
.check-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.entry-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.entry-card p {
  margin: 0;
  color: var(--muted);
}

.entry-image {
  padding: 0;
  overflow: hidden;
}

.entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 700;
}

.requirements-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.requirements-copy {
  max-width: 560px;
}

.check-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 8px;
}

.requirements-figure {
  background: linear-gradient(180deg, #ffffff, #eef4f1);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
}

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

.check-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.check-card p {
  margin: 0;
  color: var(--muted);
}

.register-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #11171c, #1b2730);
  color: #fff;
  border-radius: 24px;
  padding: 26px 28px;
}

.register-strip h2,
.register-strip p { color: #fff; }

.register-strip p { margin-bottom: 0; color: rgba(255,255,255,0.76); }

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

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 999px;
  transform: translateY(-50%);
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s ease;
}

.faq-item.is-open .faq-icon::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-panel {
  padding: 0 20px 18px;
  color: var(--muted);
}

.site-footer {
  background: #11171c;
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1fr;
  gap: 20px;
}

.footer-logo {
  width: 142px;
  margin-bottom: 10px;
}

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

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #fff;
}

.footer-meta {
  text-align: right;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--brand);
  color: #07311f;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-meta p { margin: 0; }

@media (max-width: 1080px) {
  .desktop-stage,
  .entry-layout,
  .requirements-layout,
  .check-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta { text-align: left; }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 58px 0;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(16, 22, 27, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .nav-cta { text-align: center; margin-top: 6px; }

  .window-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-lead {
    font-size: 16px;
  }

  .register-strip {
    padding: 22px 20px;
  }
}
