:root {
  color-scheme: dark;
  --ink: #f5f7f1;
  --muted: #a9b3aa;
  --canvas: #072e2a;
  --deep: #031d1b;
  --panel: #0d423b;
  --line: rgba(225, 240, 224, .17);
  --accent: #27d1ad;
  --accent-dark: #0d806c;
  --gold: #e1bb71;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--ink); font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px clamp(22px, 6vw, 96px); background: rgba(3, 29, 27, .94); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-header.compact { min-height: 72px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand img, .footer-brand img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); font-size: 14px; color: var(--muted); }
nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--accent); }
main { overflow: hidden; }
.hero { min-height: 530px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 104px); padding: 76px clamp(22px, 9vw, 144px); background: radial-gradient(ellipse at 80% 12%, rgba(101, 28, 21, .62), transparent 50%), linear-gradient(125deg, #052f2a 0%, #04241f 55%, #2d1b16 100%); }
.hero-copy { max-width: 580px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 4.5vw, 58px); line-height: 1.18; letter-spacing: 0; margin-bottom: 20px; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.26; letter-spacing: 0; margin-bottom: 20px; }
h3 { font-size: 22px; line-height: 1.35; margin-bottom: 12px; }
.hero-text, .intro > p, .preview-copy > p, .support > p { color: var(--muted); font-size: 17px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 21px; border-radius: 5px; font-size: 15px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: #032b25; }
.button.secondary { border: 1px solid rgba(236, 245, 236, .42); color: var(--ink); }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; max-width: 686px; display: block; border: 1px solid rgba(240, 202, 134, .31); box-shadow: 0 25px 65px rgba(0, 0, 0, .35); }
.intro, .services, .app-preview, .support { padding: 92px clamp(22px, 9vw, 144px); }
.intro { max-width: 1060px; padding-bottom: 80px; }
.intro > p:last-child { max-width: 800px; margin-bottom: 0; }
.services { background: #093831; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > a, .text-link { color: var(--accent); font-weight: 700; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-grid article { min-height: 245px; padding: 28px 25px; background: rgba(5, 37, 32, .54); border: 1px solid var(--line); }
.service-number { color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.service-grid h3 { margin-top: 26px; }
.service-grid p { color: var(--muted); margin-bottom: 0; font-size: 15px; }
.app-preview { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, .65fr); align-items: center; gap: clamp(50px, 9vw, 160px); background: #062a26; }
.preview-copy { max-width: 550px; }
.app-preview figure { width: min(100%, 360px); justify-self: center; margin: 0; padding: 13px; background: #021715; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.app-preview figure img { width: 100%; display: block; }
.support { text-align: center; background: linear-gradient(120deg, #061f1c, #152d23); }
.support h2 { margin-bottom: 12px; }
.support > p { max-width: 680px; margin: 0 auto 10px; }
.support .support-owner { margin-top: 25px; color: var(--ink); font-size: 15px; font-weight: 700; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 112px; padding: 26px clamp(22px, 6vw, 96px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.site-footer > p { justify-self: end; margin: 0; }
.document-page { min-height: calc(100vh - 184px); padding: 72px max(22px, calc((100vw - 920px) / 2)); background: #062521; }
.document-heading { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.document-heading h1 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 15px; }
.document-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.document-content { padding-top: 18px; }
.document-content section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.document-content h2 { font-size: 22px; margin-bottom: 12px; }
.document-content p { color: #cad3cb; margin-bottom: 0; }
@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 17px; padding-bottom: 17px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 58px; padding-bottom: 60px; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 620px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-preview { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .app-preview figure { justify-self: start; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .footer-links { justify-content: start; }
  .site-footer > p { justify-self: start; }
}
@media (max-width: 520px) {
  .brand, .footer-brand { font-size: 16px; }
  nav { font-size: 13px; }
  .intro, .services, .app-preview, .support { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .document-page { padding-top: 52px; padding-bottom: 58px; }
}
