:root {
  --paper: oklch(0.982 0.008 205);
  --paper-soft: oklch(0.956 0.018 168);
  --ink: oklch(0.19 0.022 205);
  --muted: oklch(0.45 0.028 205);
  --line: oklch(0.875 0.022 176);
  --brand: oklch(0.56 0.155 24);
  --brand-dark: oklch(0.42 0.07 178);
  --brand-deep: oklch(0.25 0.045 190);
  --amber: oklch(0.78 0.105 78);
  --teal: oklch(0.48 0.085 176);
  --green: oklch(0.56 0.1 150);
  --shadow: 0 18px 50px oklch(0.2 0.03 205 / 0.1);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.6rem);
}

h3 {
  font-size: 1.16rem;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  font-size: 1.04rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 0.58rem 0.78rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 680;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.page-hero,
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper-soft);
  color: var(--ink);
}

.hero {
  min-height: 560px;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(32px, 4vw, 46px) 0 clamp(18px, 2vw, 26px);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(104deg, oklch(0.982 0.008 205 / 0.7), oklch(0.93 0.03 175 / 0.9)),
    repeating-linear-gradient(135deg, oklch(0.62 0.08 178 / 0.08) 0 1px, transparent 1px 18px);
}

.hero-copy,
.hero-visual,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand);
}

.hero p {
  max-width: 62ch;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 46px;
  padding: 0.74rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px oklch(0.18 0.04 24 / 0.12);
}

.button:focus-visible,
.nav-toggle:focus-visible,
.modal-close:focus-visible,
.site-nav a:focus-visible,
.qr-link:focus-visible {
  outline: 3px solid oklch(0.79 0.14 70 / 0.95);
  outline-offset: 3px;
}

.button.primary {
  background: var(--brand);
  color: var(--paper);
}

.button.light {
  background: var(--paper);
  color: var(--brand-dark);
}

.hero .button.light,
.page-hero .button.light {
  background: var(--brand);
  color: var(--paper);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: min(430px, 100%);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.35rem;
  max-width: 760px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-proof span {
  padding: 0.72rem 0.82rem;
  background: oklch(0.982 0.008 205);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(62px, 8vw, 104px) 0;
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero p {
  max-width: 68ch;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(1.1rem, 3vw, 1.55rem);
  border: 1px solid oklch(0.84 0.035 178);
  border-radius: var(--radius);
  background: oklch(0.985 0.006 205 / 0.78);
  box-shadow: 0 18px 42px oklch(0.32 0.04 190 / 0.09);
}

.page-hero-panel::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -18px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: oklch(0.9 0.045 178 / 0.76);
}

.panel-label {
  position: relative;
  z-index: 1;
  color: var(--brand-dark);
  font-weight: 850;
  font-size: 0.9rem;
}

.panel-doc {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.panel-doc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-weight: 850;
}

.panel-doc-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-line {
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: oklch(0.88 0.03 190);
}

.panel-line.short {
  width: 68%;
}

.panel-flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-flow li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 720;
}

.panel-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 0.38rem;
  border-radius: 6px;
  background: oklch(0.91 0.035 178);
  color: var(--brand-dark);
  font-weight: 900;
  white-space: nowrap;
}

.panel-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-tags span {
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.965 0.015 188);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
}

.section {
  padding: clamp(62px, 9vw, 112px) 0;
}

.section.tight {
  padding-top: clamp(42px, 6vw, 72px);
}

.section.alt {
  background: var(--paper-soft);
}

.section.dark {
  background: oklch(0.942 0.024 198);
  color: var(--ink);
}

.section.dark p,
.section.dark .section-kicker {
  color: var(--muted);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.68fr);
  gap: clamp(20px, 5vw, 68px);
  align-items: end;
  margin-bottom: clamp(26px, 5vw, 54px);
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--brand);
  font-weight: 850;
}

.section-head p {
  max-width: 62ch;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-strip article {
  min-height: 168px;
  padding: 1.4rem;
  background: var(--paper);
}

.feature-strip img,
.feature-grid img,
.scenario-list img,
.step-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.feature-strip h3,
.feature-grid h3,
.scenario-list h3,
.step-card h3 {
  margin-bottom: 0.55rem;
}

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

.tile,
.step-card,
.quote-card,
.faq-card,
.download-card,
.edition-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}

.tile {
  min-height: 226px;
  padding: 1.45rem;
}

.tile strong,
.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.showcase-visual {
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--radius);
  background: oklch(0.975 0.016 168);
  border: 1px solid var(--line);
}

.workflow {
  display: grid;
  gap: 14px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.workflow-item:first-child {
  border-top: 0;
}

.workflow-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--teal);
  color: var(--paper);
  font-weight: 850;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scenario-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.scenario-list img {
  margin: 0;
}

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

.quote-card {
  padding: 1.35rem;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.1rem;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  font-weight: 850;
}

.rating-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 1.3rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.rating-line span {
  color: var(--brand);
}

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

.step-card {
  padding: 1.4rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: var(--brand-dark);
  color: var(--paper);
  font-weight: 850;
}

.comparison {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--paper-soft);
  color: var(--ink);
}

tr:last-child td {
  border-bottom: 0;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 18px;
  align-items: stretch;
}

.download-card {
  padding: clamp(1.4rem, 4vw, 2.1rem);
}

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

.edition-card {
  padding: 1.35rem;
}

.edition-card .tag {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.26rem 0.52rem;
  border-radius: 5px;
  background: oklch(0.925 0.035 170);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.73em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  padding: 1.2rem 1.35rem;
  color: var(--ink);
  font-weight: 850;
}

.faq-card p {
  padding: 0 1.35rem 1.25rem;
}

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

.source-card {
  padding: 1.3rem;
}

.source-card a {
  color: var(--brand);
  font-weight: 850;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--paper);
}

.cta-band p {
  color: oklch(0.96 0.012 205);
  margin-top: 0.6rem;
}

.site-footer {
  padding: 44px 0;
  background: oklch(0.938 0.022 198);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-grid p {
  color: var(--muted);
  max-width: 76ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--brand-dark);
  font-weight: 720;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: oklch(0.12 0.03 24 / 0.72);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 1.35rem;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.modal-body {
  padding: 1.35rem;
}

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

.qr-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.qr-link {
  display: block;
  width: min(200px, 100%);
  margin: 0 auto 0.9rem;
}

.qr-link img {
/*  width: 100%; */
  border-radius: 6px;
  background: var(--paper);
}

.qr-card h3 {
  margin-bottom: 0.4rem;
}

.modal-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  color: oklch(0.34 0.08 145);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.78rem 0.9rem;
  }

  .hero-inner,
  .showcase,
  .section-head,
  .page-hero-inner,
  .download-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-proof,
  .feature-strip,
  .feature-grid,
  .quotes,
  .steps,
  .edition-grid,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .hero-proof,
  .feature-strip,
  .feature-grid,
  .scenario-list,
  .quotes,
  .steps,
  .edition-grid,
  .source-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .scenario-list article {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
