:root {
  --ink: #24292e;
  --ink-soft: #444d56;
  --muted: #586069;
  --line: #e1e4e8;
  --line-soft: #eaecef;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --blue: #0366d6;
  --accent: #0969da;
  --accent-strong: #0550ae;
  --accent-soft: #ddf4ff;
  --code-bg: #f6f8fa;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 18px 42px -28px rgba(36, 41, 46, 0.38);
  --shadow-strong: 0 24px 60px -34px rgba(36, 41, 46, 0.5);
  --container: 1012px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(180%) blur(8px);
  transition: box-shadow 0.2s ease;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(36, 41, 46, 0.16);
}
.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
}
.nav a:hover {
  color: var(--blue);
  text-decoration: none;
}

.header-link {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(9, 105, 218, 0.35);
  background: #f1f8ff;
  border-radius: 6px;
  padding: 7px 14px;
}
.header-link:hover {
  background: #dbedff;
  border-color: rgba(9, 105, 218, 0.6);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 4px 24px 16px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}
.mobile-nav a {
  padding: 11px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid #f1f3f5;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  padding: 68px 0 72px;
  background:
    radial-gradient(720px 320px at 82% 6%, rgba(9, 105, 218, 0.09), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #f9fbfd 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 52px;
}

.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--accent);
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 16px; }
.kicker { margin-bottom: 12px; }

.hero-copy h1 {
  font-size: clamp(36px, 4.1vw, 50px);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 18px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tags li {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0969da 0%, #0550ae 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 38px -14px rgba(5, 80, 174, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
}
.download-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 50px -14px rgba(5, 80, 174, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.download-cta:active { transform: translateY(0) scale(0.99); }
.download-cta:focus-visible { outline: 3px solid #0969da; outline-offset: 3px; }
.download-cta svg { flex-shrink: 0; }

@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 16px 38px -14px rgba(5, 80, 174, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
  50% { box-shadow: 0 20px 48px -10px rgba(5, 80, 174, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
}

.hero-secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid #cfd6dd;
  padding-bottom: 3px;
}
.hero-secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
  text-decoration: none;
}
.platform-note {
  margin-top: 16px;
  font-size: 13px;
  color: #6a737d;
}

.hero-visual {
  position: relative;
  margin: 0;
}
.hero-glow {
  position: absolute;
  inset: 6% 2% 8%;
  background: linear-gradient(135deg, rgba(9, 105, 218, 0.22), rgba(3, 102, 214, 0.06));
  filter: blur(34px);
  border-radius: 30px;
}
.window-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #f6f8fa;
  border-bottom: 1px solid var(--line-soft);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #6a737d;
}
.window-frame img {
  width: 100%;
  height: auto;
}
.hero-badge {
  position: absolute;
  left: -16px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 12px 26px -18px rgba(36, 41, 46, 0.5);
}
.hero-badge svg { color: var(--accent); }

/* Trust band */
.trust-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 18px;
  padding-bottom: 18px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 20px;
  border-left: 1px solid var(--line-soft);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-soft); }
.section-head {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-head.align-left {
  margin-left: 0;
  text-align: left;
}
.section-head h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.018em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.section-sub {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: #c8d1da;
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 9px;
  color: var(--accent);
  background: #f1f8ff;
  border: 1px solid #d8e8fa;
}
.feature-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.step {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: #f1f8ff;
  border: 1px solid #d8e8fa;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; line-height: 1.65; color: var(--muted); }

kbd {
  display: inline-block;
  min-width: 24px;
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: var(--ink);
  background: var(--code-bg);
  border: 1px solid #d1d5da;
  border-bottom-color: #c6cbd1;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 #c6cbd1;
}

/* Formats */
.formats-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.formats-copy h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.018em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.formats-copy > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}
.check-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f1f8ff;
  border: 1px solid #cfe3f7;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.format-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.format-card strong {
  font-size: 15.5px;
  color: var(--ink);
}
.format-card span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Local first */
.local-band {
  padding: 72px 0;
  background: #0d1117;
  color: #c9d1d9;
}
.local-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}
.local-copy .kicker { color: #58a6ff; }
.local-copy h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  color: #f0f6fc;
  letter-spacing: -0.018em;
}
.local-copy > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #8b949e;
}
.local-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.local-points li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid #1f6feb;
}
.local-points strong {
  font-family: var(--mono);
  font-size: 13px;
  color: #f0f6fc;
}
.local-points span {
  font-size: 12.5px;
  color: #8b949e;
}
.local-card {
  padding: 26px;
  border: 1px solid #30363d;
  border-radius: var(--radius-lg);
  background: #161b22;
}
.local-card img {
  border-radius: 12px;
  margin-bottom: 16px;
}
.local-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #f0f6fc;
}
.local-card-text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #8b949e;
}
.local-card-sign {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #30363d;
  font-size: 12px;
  line-height: 1.6;
  color: #6e7681;
}

/* Channels */
.channels { padding-top: 64px; padding-bottom: 64px; }
.channels-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.channels h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.018em;
}
.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.channel-list li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
}
.faq-intro h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.018em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.faq-intro p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  position: relative;
  padding-right: 30px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: -3px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* Final band */
.final-band {
  padding: 46px 0;
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.final-inner h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.final-inner p {
  margin-top: 7px;
  font-size: 14.5px;
  color: var(--muted);
}
.final-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid #d1d5da;
  border-radius: 6px;
  padding: 10px 18px;
  background: #fff;
}
.final-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 54px 0 24px;
  background: #f6f8fa;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}
.footer-brand img { border-radius: 8px; }
.footer-brand span {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.footer-brand p {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #6a737d;
}

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-link { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { gap: 34px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats-inner, .local-inner, .channels-inner { gap: 34px; }
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 780px) {
  .hero { padding: 46px 0 54px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .hero-badge { left: 10px; bottom: 12px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .formats-inner, .local-inner, .channels-inner, .faq-inner { grid-template-columns: 1fr; }
  .channel-list { justify-content: flex-start; }
  .local-points { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { min-height: 60px; }
  .brand-icon { width: 28px; height: 28px; }
  .brand-name { font-size: 16px; }
  .hero { padding: 34px 0 46px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .download-cta { width: 100%; min-height: 56px; padding: 0 24px; font-size: 18px; }
  .hero-secondary { text-align: center; border-bottom: 0; }
  .platform-note { text-align: center; }
  .section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .step { padding: 20px 18px; }
  .local-points { grid-template-columns: 1fr; }
  .local-band { padding: 54px 0; }
  .final-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-cta { animation: none; transition: none; }
  .feature-card { transition: none; }
}
