:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --paper: #ffffff;
  --paper-2: #eef3f8;
  --text: #13202a;
  --muted: #5d6d79;
  --line: #d8e1e8;
  --brand: #2ad67a;
  --brand-dark: #0f6e4a;
  --blue: #5f84b8;
  --shadow: 0 18px 40px rgba(19, 32, 42, 0.1);
  --radius: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f5f7fb, #eef3f8);
  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(245, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 32, 42, 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: #233341;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--brand-dark); }

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

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

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

.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at top, rgba(42, 214, 122, 0.12), transparent 34%),
    linear-gradient(180deg, #f5f7fb, #eef3f8 58%, #ffffff 58.1%, #ffffff);
}

.hero-layout {
  display: grid;
  gap: 26px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #678192;
  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: 11ch;
  margin-inline: auto;
  font-size: clamp(3rem, 5.8vw, 4.6rem);
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--muted);
  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: #06311f;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.hero-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1080px);
  margin: 4px auto 0;
}

.device-card,
.path-panel,
.prepare-card,
.register-strip,
.faq-item,
.footer-grid > div {
  box-shadow: var(--shadow);
}

.device-card {
  min-height: 220px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 20px;
}

.badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(42, 214, 122, 0.12);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.device-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 20px;
}

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

.guide-card {
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card img {
  border-radius: 18px;
  margin-bottom: 12px;
}

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

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

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

.path-panel h3,
.prepare-card strong {
  margin: 0 0 10px;
  font-size: 22px;
}

.path-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.path-panel li + li { margin-top: 8px; }

.image-panel {
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

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

.prepare-card {
  background: linear-gradient(180deg, #ffffff, #f3f7fa);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

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

.register-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #13232e, #1d3442);
  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: #f0f4f8;
  color: rgba(19, 32, 42, 0.9);
  padding: 36px 0;
  border-top: 1px solid rgba(19, 32, 42, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 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: var(--brand-dark);
}

.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: #06311f;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-meta p { margin: 0; }

@media (max-width: 1080px) {
  .hero-board,
  .path-layout,
  .prepare-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(245, 247, 251, 0.98);
    border: 1px solid rgba(19, 32, 42, 0.1);
    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; }

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

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

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