:root {
  --ink: #070b14;
  --ink-2: #0f1628;
  --ink-3: #161f35;
  --line: rgba(255, 255, 255, 0.07);
  --paper: #eef1f8;
  --muted: #8b95ad;
  --orange: #ff8a00;
  --orange-dim: #e67700;
  --blue: #3b9eff;
  --violet: #6d5ce8;
  --glow: rgba(255, 138, 0, 0.18);
  --head-h: 56px;
  --sticky-h: 88px;
  --wrap: 1140px;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

.wrap {
  width: min(100% - 28px, var(--wrap));
  margin-inline: auto;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: var(--head-h);
  background: rgba(7, 11, 20, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--head-h);
  gap: 12px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  flex-shrink: 0;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-mark span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-mark strong {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.brand-mark em {
  font-size: 10px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.head-nav {
  display: none;
  gap: 2px;
}

.head-nav a {
  color: var(--muted);
  font-size: 13px;
  padding: 7px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.head-nav a:hover,
.head-nav a.on {
  color: var(--paper);
  border-bottom-color: var(--orange);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-panel {
  position: fixed;
  inset: var(--head-h) 0 0 0;
  background: rgba(7, 11, 20, 0.97);
  z-index: 1300;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.mob-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mob-panel a {
  color: var(--muted);
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mob-panel a.on { color: var(--orange); }

#sticky-dl {
  position: fixed;
  top: var(--head-h);
  left: 0;
  right: 0;
  z-index: 1150;
  background: rgba(15, 22, 40, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
}

#sticky-dl.visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

body.menu-lock #sticky-dl {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#sticky-dl .ad-grid,
#ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 6px 4px;
}

.ad-cell {
  width: calc(25% - 4px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ad-cell figure { display: flex; flex-direction: column; align-items: center; }

.ad-cell img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s;
}

.ad-cell a:hover img { transform: scale(1.06); }

.ad-cap {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
  height: 14px;
}

@media (min-width: 768px) {
  .head-nav { display: flex; }
  .menu-btn { display: none; }
  .ad-cell { width: calc(12.5% - 4px); }
  .ad-cell img { width: 58px; height: 58px; }
}

.dl-band {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 16px;
}

.dl-band-head {
  text-align: center;
  margin-bottom: 12px;
}

.dl-band-head h2 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}

.dl-band-head p {
  font-size: 13px;
  color: var(--muted);
}

.hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(59, 158, 255, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(255, 138, 0, 0.1), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255, 138, 0, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-lead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 520px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  font-size: 12px;
  padding: 6px 14px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
}

.hero-phones {
  position: relative;
  height: 340px;
  margin: 0 auto;
  max-width: 320px;
}

.phone-card {
  position: absolute;
  width: 148px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.phone-card:nth-child(1) { left: 0; top: 24px; transform: rotate(-8deg); z-index: 1; }
.phone-card:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%) rotate(2deg); z-index: 3; }
.phone-card:nth-child(3) { right: 0; top: 32px; transform: rotate(7deg); z-index: 2; }
.phone-card:nth-child(4) { left: 50%; bottom: 0; transform: translateX(-50%) rotate(-3deg); z-index: 4; width: 130px; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .hero-phones {
    height: 420px;
    max-width: 400px;
    margin: 0;
  }
  .phone-card { width: 168px; }
  .phone-card:nth-child(4) { width: 150px; }
}

.stat-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-ribbon div {
  background: var(--ink-2);
  padding: 20px 16px;
  text-align: center;
}

.stat-ribbon strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-ribbon span {
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .stat-ribbon { grid-template-columns: repeat(4, 1fr); }
}

.section { padding: 48px 0; }
.section.alt { background: var(--ink-2); }

.sec-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 30px);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sec-desc {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 640px;
}

.prose-block { margin-bottom: 28px; }

.prose-block p {
  margin-bottom: 14px;
  color: #c5ccdb;
}

.prose-block p + p {
  border-left: 3px solid rgba(255, 138, 0, 0.25);
  padding-left: 16px;
}

.prose-block h3 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--paper);
}

.feat-row {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
  align-items: start;
}

.feat-row .feat-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  max-width: 280px;
  margin: 0 auto;
}

.feat-row .feat-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 10px;
}

.feat-row .feat-body p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 14px;
}

.feat-row .feat-body ul {
  list-style: none;
  margin-top: 12px;
}

.feat-row .feat-body li {
  font-size: 13px;
  color: #b0b9cc;
  padding: 6px 0 6px 18px;
  position: relative;
}

.feat-row .feat-body li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

@media (min-width: 768px) {
  .feat-row {
    grid-template-columns: 3fr 7fr;
    gap: 32px;
  }
  .feat-row.reverse { direction: rtl; }
  .feat-row.reverse > * { direction: ltr; }
  .feat-row .feat-img { margin: 0; max-width: none; }
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.channel-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  transition: border-color 0.2s;
}

.channel-card:hover { border-color: rgba(255, 138, 0, 0.35); }

.channel-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--orange);
}

.channel-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step-item {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--ink-3);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 28px;
  color: var(--orange);
  opacity: 0.7;
  line-height: 1;
}

.step-item h4 { font-size: 16px; margin-bottom: 6px; }
.step-item p { font-size: 14px; color: var(--muted); }

@media (min-width: 768px) {
  .step-list { grid-template-columns: repeat(2, 1fr); }
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.faq-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--paper);
}

.faq-item p { font-size: 14px; color: var(--muted); }

.cta-band {
  text-align: center;
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.08), rgba(59, 158, 255, 0.06));
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 14px;
}

.btn-dl {
  display: inline-block;
  background: var(--orange);
  color: #111;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-dl:hover {
  background: var(--orange-dim);
  color: #111;
  transform: translateY(-2px);
}

.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--paper); }

.page-main { padding: 32px 0 56px; }

.page-main h1 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 20px;
}

.page-main h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--orange);
}

.page-main p,
.page-main li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.page-main ul,
.page-main ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page-main li { margin-bottom: 6px; }

.err-page {
  text-align: center;
  padding: 80px 0;
  min-height: 50vh;
}

.err-page h1 {
  font-family: var(--serif);
  font-size: 72px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}

.err-page h2 { font-size: 20px; margin-bottom: 10px; }
.err-page p { color: var(--muted); margin-bottom: 24px; }

.site-foot {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
}

.foot-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.foot-grid h5 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 12px;
}

.foot-grid a,
.foot-grid p {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.foot-copy {
  text-align: center;
  font-size: 12px;
  color: #5a6478;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.inline-fig {
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 300px;
}

.inline-fig figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--ink-3);
}

@media (min-width: 768px) {
  .inline-fig.float-right {
    float: right;
    margin: 0 0 16px 24px;
    max-width: 240px;
  }
}

.text-columns {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

.text-columns .col h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--paper);
}

.text-columns .col p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .text-columns { grid-template-columns: 1fr 1fr; }
}

.seo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 36px;
}

.seo-gallery figure {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
}

.seo-gallery img { width: 100%; }

.seo-gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 12px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .seo-gallery { grid-template-columns: repeat(4, 1fr); }
}

.article-block {
  margin-bottom: 36px;
  padding: 24px 20px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.article-block h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--orange);
}

.article-block p {
  color: #b8c0d4;
  font-size: 14px;
  margin-bottom: 12px;
}

.article-block p:last-child { margin-bottom: 0; }
