:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #656b75;
  --line: #d9dde3;
  --soft: #f3f5f7;
  --paper: #ffffff;
  --red: #d51f26;
  --red-dark: #a8141a;
  --green: #147a4b;
  --focus: #0b62d6;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }

:focus-visible {
  outline: 3px solid rgba(11, 98, 214, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 20px; }
.brand-copy span { color: var(--muted); font-size: 12px; margin-top: 5px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.primary-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.nav-action:hover,
.button:hover { background: #000; }
.button.secondary { background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: var(--red); color: var(--red); }
.button.red { border-color: var(--red); background: var(--red); }
.button.red:hover { background: var(--red-dark); }
.button.disabled { cursor: not-allowed; opacity: 0.55; }

.nav-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
  content: "";
}

.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }

main { min-height: 60vh; }

.hero {
  min-height: 560px;
  height: min(680px, calc(100svh - 128px));
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #17191d;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.43) saturate(0.8);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.22);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 74px 0 70px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ff767b; }
.hero h1 { margin: 0; max-width: 860px; font-size: 64px; line-height: 1.06; }
.hero-lead { max-width: 760px; margin: 24px 0 30px; font-size: 21px; color: #eef0f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button.secondary { background: rgba(255,255,255,0.92); }

.proof-strip {
  background: var(--ink);
  color: #fff;
}

.proof-grid {
  width: min(calc(100% - 40px), var(--content));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.proof-grid div { padding: 18px 24px; border-left: 1px solid #3b3e44; }
.proof-grid div:last-child { border-right: 1px solid #3b3e44; }
.proof-grid strong { display: block; font-size: 17px; }
.proof-grid span { color: #adb2bb; font-size: 13px; }

.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: #fff; }
.container { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2, .page-hero h1 { margin: 0 0 16px; font-size: 40px; line-height: 1.2; }
.section-head p, .page-hero p { margin: 0; color: var(--muted); font-size: 18px; }
.dark .section-head p { color: #bfc4cc; }

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.8fr) minmax(280px, 1.5fr);
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-index { color: var(--red); font-size: 18px; font-weight: 800; }
.feature-row h3 { margin: 0; font-size: 22px; }
.feature-row p { margin: 0; color: var(--muted); }

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #464a50;
}

.workflow article { min-height: 210px; padding: 28px; border-right: 1px solid #464a50; }
.workflow article:last-child { border-right: 0; }
.workflow b { color: #ff777c; font-size: 13px; }
.workflow h3 { margin: 20px 0 10px; font-size: 20px; }
.workflow p { margin: 0; color: #bdc2c9; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.product-shot {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.12);
}

.check-list { list-style: none; padding: 0; margin: 28px 0; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { position: absolute; left: 0; color: var(--green); content: "✓"; font-weight: 900; }

.page-hero {
  padding: 82px 0 62px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero .container { display: grid; grid-template-columns: 1fr minmax(220px, 360px); gap: 50px; align-items: end; }
.page-hero .meta { color: var(--muted); text-align: right; }

.content-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
}

.side-nav { position: sticky; top: 100px; align-self: start; border-top: 2px solid var(--ink); }
.side-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.side-nav a:hover { color: var(--red); }

.prose { max-width: 850px; }
.prose h2 { margin: 48px 0 14px; font-size: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 8px; font-size: 20px; }
.prose p, .prose li { color: #41464e; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.prose th, .prose td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.notice { padding: 18px 20px; border-left: 4px solid var(--red); background: #fff4f4; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.price-card.featured { border: 2px solid var(--red); }
.price-card h3 { margin: 0; font-size: 20px; }
.price { margin: 24px 0 4px; font-size: 42px; font-weight: 800; line-height: 1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.price-card p { color: var(--muted); }
.price-card .button { margin-top: auto; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0; }
.faq summary { padding: 22px 0; font-weight: 700; cursor: pointer; }
.faq details p { margin: -4px 0 22px; color: var(--muted); }

.contact-band {
  padding: 64px 0;
  background: var(--red);
  color: #fff;
}

.contact-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-band h2 { margin: 0; font-size: 32px; }
.contact-band p { margin: 8px 0 0; }
.contact-band .button { border-color: #fff; background: #fff; color: var(--ink); }

.site-footer { padding: 54px 0 28px; background: #0f1114; color: #d4d7dc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand { display: flex; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; }
.footer-grid h2 { margin: 0 0 10px; font-size: 20px; color: #fff; }
.footer-grid h3 { margin: 0 0 14px; font-size: 15px; color: #fff; }
.footer-grid p { margin: 4px 0; color: #9da3ad; font-size: 14px; }
.footer-grid a { display: block; margin: 7px 0; color: #b9bec6; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid #30343a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #858b95; font-size: 13px; }
.footer-bottom a { color: #aeb4bd; }

@media (max-width: 980px) {
  .site-header { height: 66px; }
  .nav-shell { width: min(calc(100% - 28px), var(--content)); }
  .nav-toggle { display: inline-flex; }
  .nav-action { margin-left: 0; }
  .primary-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); }
  .primary-nav .nav-action { margin-top: 10px; }
  .hero h1 { font-size: 50px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(2) { border-right: 1px solid #3b3e44; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow article:nth-child(2) { border-right: 0; }
  .workflow article:nth-child(-n+2) { border-bottom: 1px solid #464a50; }
  .two-column, .page-hero .container { grid-template-columns: 1fr; }
  .page-hero .meta { text-align: left; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .nav-shell { width: calc(100% - 24px); gap: 12px; }
  .brand-copy span { display: none; }
  .hero { min-height: 540px; height: calc(100svh - 104px); }
  .hero-content { width: calc(100% - 32px); padding: 50px 0; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 18px; }
  .proof-grid { width: 100%; }
  .proof-grid div { padding: 15px 16px; }
  .section { padding: 64px 0; }
  .container, .page-hero .container { width: calc(100% - 32px); }
  .section h2, .page-hero h1 { font-size: 32px; }
  .feature-row { grid-template-columns: 48px 1fr; gap: 12px; }
  .feature-row p { grid-column: 2; }
  .workflow, .pricing-grid { grid-template-columns: 1fr; }
  .workflow article { border-right: 0; border-bottom: 1px solid #464a50; }
  .workflow article:last-child { border-bottom: 0; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .contact-band .container { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
