:root {
  --bg: #0a1f16;
  --card: #112a1e;
  --card-2: #07160f;
  --border: #1e4533;
  --border-bright: #2d6349;
  --cyan: #38bdf8;
  --cyan-dark: #0284c7;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --purple: #8b5cf6;
  --text: #e6f3ec;
  --muted: #9db5a9;
  --radius: 18px 10px 4px 0px;
  --radius-sm: 8px;
  --max-w: 1140px;
  --font-mono: "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --page-pad: 32px;
}

*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.wrap {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
  padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px));
}

/* Nav Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 31, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a1f16;
  font-weight: 900;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover, .nav-links a.is-on {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #07160f !important;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.4);
  background: #fff;
}

.btn-sm {
  min-height: 34px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-line {
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-line:hover {
  background: var(--card-2);
  border-color: var(--cyan);
}

/* Hero Section */
.hero {
  padding: 68px 0 44px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 16px;
  max-width: 860px;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* 4 Checkmarks List */
.checklist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto 36px;
  font-size: 14px;
  color: var(--text);
}

.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checklist strong {
  color: var(--emerald);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.device-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 13.5px;
  color: var(--muted);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

/* Runtime Monitor Card */
.monitor-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: left;
}

.monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.monitor-tag {
  font-size: 11.5px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.monitor-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 3px 10px;
  border-radius: var(--radius);
}

.monitor-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 13px;
  background: var(--card-2);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
}

.monitor-stats span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

/* Sections */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.section-sub {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

/* 3-Column Feature Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-pine {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.card-pine:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
}

.card-pine h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #fff;
}

.card-pine p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.pine-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

.pine-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pine-list span {
  color: var(--cyan);
  font-weight: 700;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  margin: 28px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

th {
  background: var(--card-2);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

tr:last-child td {
  border-bottom: none;
}

td code {
  background: var(--card-2);
  color: var(--cyan);
  padding: 3px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* 4 Steps */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.step-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: inline-block;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ Details */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 18px 22px;
  transition: all 0.2s ease;
}

details[open] {
  border-color: var(--cyan);
  background: var(--card-2);
}

summary {
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  color: var(--cyan);
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Download Platform Cards */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl-card:hover {
  border-color: var(--border-bright);
}

.dl-card.highlight {
  border: 2px solid var(--cyan);
}

.dl-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
}

.dl-card-meta {
  font-size: 12.5px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.dl-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.dl-card .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 68px;
  font-size: 13px;
  color: var(--muted);
  background: #06140e;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .grid-3, .grid-4, .monitor-stats {
    grid-template-columns: 1fr;
  }
}
