:root {
  --ink: #10233d;
  --ink-soft: #4f6073;
  --paper: #f6f3ec;
  --white: #fffdf9;
  --line: #dcd8ce;
  --teal: #1b8b86;
  --teal-dark: #126b68;
  --coral: #ef7259;
  --gold: #eabf5d;
  --navy: #10233d;
  --shadow: 0 22px 60px rgba(16, 35, 61, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(234, 191, 93, .12), transparent 24rem),
    var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .88); border-bottom: 1px solid rgba(16, 35, 61, .08); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.brand-mark { width: 34px; height: 34px; padding: 6px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; border-radius: 10px; background: var(--ink); transform: rotate(-3deg); }
.brand-mark i { display: block; border-radius: 2px; background: var(--paper); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 700; }
.site-nav a { position: relative; padding: 27px 0 24px; color: #526174; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--coral); transition: .25s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { min-height: 700px; padding-block: 96px 86px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--teal-dark); font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.hero h1, .page-hero h1 { margin: 0; font-family: Georgia, "STSong", serif; font-size: clamp(50px, 6vw, 82px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 620px; margin: 26px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 50px; padding: 13px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--ink); box-shadow: 0 12px 30px rgba(16,35,61,.18); }
.button.primary:hover { background: #1a3658; }
.button.ghost { border-color: #bcc3c8; }
.button.ghost:hover { border-color: var(--ink); }
.hero-facts { margin: 44px 0 0; padding: 25px 0 0; display: flex; gap: 32px; border-top: 1px solid var(--line); list-style: none; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-family: Georgia, serif; font-size: 24px; }
.hero-facts span { color: var(--ink-soft); font-size: 12px; }

.hero-visual { position: relative; min-height: 520px; border-radius: 42% 58% 48% 52% / 54% 36% 64% 46%; background: #dfe9e5; isolation: isolate; }
.visual-grid { position: absolute; inset: 10%; border-radius: 40%; opacity: .35; background-image: linear-gradient(rgba(16,35,61,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(16,35,61,.12) 1px, transparent 1px); background-size: 32px 32px; transform: rotate(-7deg); }
.photo-card, .fingerprint-panel { position: absolute; z-index: 2; background: rgba(255,253,249,.96); border: 1px solid rgba(16,35,61,.12); box-shadow: var(--shadow); }
.photo-card { width: 188px; padding: 12px; border-radius: 20px; }
.photo-card p { margin: 10px 0 1px; font-size: 14px; font-weight: 800; }
.photo-card code { color: #718092; font-size: 11px; }
.card-a { left: 7%; top: 11%; transform: rotate(-8deg); }
.card-b { right: 8%; top: 24%; transform: rotate(7deg); }
.mini-picture { height: 148px; position: relative; overflow: hidden; border-radius: 13px; background: linear-gradient(145deg, #f4c66f 0 38%, #ef7259 38% 58%, #1b8b86 58%); }
.mini-picture::before { content: ""; position: absolute; width: 110px; height: 110px; right: -24px; top: -16px; border: 20px solid rgba(255,255,255,.52); border-radius: 50%; }
.mini-picture::after { content: ""; position: absolute; width: 65px; height: 65px; left: 18px; bottom: 16px; background: var(--navy); border-radius: 50% 50% 12px 50%; transform: rotate(18deg); }
.picture-two { filter: saturate(.78) brightness(1.03); transform: scaleX(-1); }
.fingerprint-panel { left: 25%; right: 20%; bottom: 8%; padding: 20px; border-radius: 20px; }
.panel-title, .match-line { display: flex; justify-content: space-between; align-items: center; }
.panel-title { font-weight: 800; }
.panel-title b { color: var(--teal-dark); font-size: 11px; }
.bit-row { height: 42px; margin: 15px 0; border-radius: 9px; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px, var(--coral) 9px 13px, transparent 13px 17px); opacity: .82; }
.match-line { padding-top: 8px; color: var(--ink-soft); font-size: 12px; border-top: 1px solid #e7e2d9; }
.match-line + .match-line { border-top: 0; }
.match-line strong { color: var(--ink); }
.orbit-dot { position: absolute; z-index: 1; width: 18px; height: 18px; border: 4px solid var(--coral); border-radius: 50%; }
.dot-one { left: 2%; bottom: 23%; }
.dot-two { right: 2%; top: 12%; width: 12px; height: 12px; border-color: var(--gold); }

.section { padding-block: 104px; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2, .boundary-card h2 { margin: 0; font-family: Georgia, "STSong", serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.25; letter-spacing: -.02em; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 310px; padding: 28px; overflow: hidden; background: rgba(255,253,249,.78); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-no { color: #9ca7ad; font: 700 12px/1 Georgia, serif; }
.feature-icon { width: 62px; height: 62px; margin: 45px 0 25px; position: relative; border-radius: 18px; background: #e0eeea; }
.feature-icon::before, .feature-icon::after { content: ""; position: absolute; }
.icon-hash::before { inset: 15px; background: repeating-linear-gradient(0deg, var(--teal-dark) 0 3px, transparent 3px 8px), repeating-linear-gradient(90deg, var(--teal-dark) 0 3px, transparent 3px 8px); }
.icon-compare::before { width: 26px; height: 32px; left: 11px; top: 13px; border: 2px solid var(--teal-dark); border-radius: 6px; }
.icon-compare::after { width: 26px; height: 32px; right: 9px; bottom: 9px; border: 2px solid var(--coral); border-radius: 6px; }
.icon-clean::before { width: 24px; height: 30px; left: 19px; top: 15px; border: 2px solid var(--teal-dark); border-radius: 4px 4px 9px 9px; }
.icon-clean::after { width: 30px; height: 2px; left: 16px; top: 13px; background: var(--coral); transform: rotate(-7deg); }
.icon-sync::before { width: 30px; height: 30px; left: 14px; top: 14px; border: 3px solid var(--teal-dark); border-left-color: transparent; border-radius: 50%; }
.icon-sync::after { width: 8px; height: 8px; left: 11px; top: 29px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-28deg); }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.process-section { color: #fff; background: var(--ink); }
.process-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: 90px; align-items: start; }
.section-heading.compact { position: sticky; top: 120px; margin: 0; }
.section-heading.compact p { color: #b7c2cf; }
.eyebrow.light { color: #75d0c8; }
.text-link { display: inline-flex; gap: 10px; margin-top: 20px; color: #f7cf76; font-weight: 800; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.process-list li { min-height: 130px; padding: 28px 4px; display: grid; grid-template-columns: 70px 1fr; align-items: start; border-bottom: 1px solid rgba(255,255,255,.16); }
.process-list b { color: #75d0c8; font: 700 13px Georgia, serif; }
.process-list h3 { margin: 0 0 6px; font-size: 22px; }
.process-list p { margin: 0; color: #b7c2cf; }

.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-card { min-height: 330px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf9; transition: transform .25s ease, border-color .25s ease; }
.note-card:hover { transform: translateY(-5px); border-color: var(--teal); }
.note-tag { width: fit-content; padding: 5px 10px; color: var(--teal-dark); background: #e2efec; border-radius: 999px; font-size: 11px; font-weight: 800; }
.note-card h3 { margin: 28px 0 12px; font: 700 26px/1.35 Georgia, "STSong", serif; }
.note-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.note-arrow { margin-top: auto; color: var(--coral); font-size: 28px; }

.boundary-section { padding-top: 30px; }
.boundary-card { padding: 58px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 35px 60px; align-items: center; color: #fff; border-radius: 34px; background: var(--teal-dark); box-shadow: var(--shadow); }
.boundary-card p { color: #cfebe8; }
.check-list { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #ffe098; font-weight: 900; }
.light-button { width: fit-content; color: var(--ink); background: #fff; }

.page-hero { padding-block: 92px 74px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 840px; font-size: clamp(46px, 6vw, 76px); }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; }
.content-layout { padding-block: 76px 110px; display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 72px; justify-content: center; }
.side-index { position: sticky; top: 115px; align-self: start; padding: 22px; background: rgba(255,253,249,.8); border: 1px solid var(--line); border-radius: 18px; }
.side-index strong { display: block; margin-bottom: 12px; font-size: 13px; }
.side-index a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 13px; }
.side-index a:hover { color: var(--teal-dark); }
.prose section { scroll-margin-top: 110px; padding: 0 0 62px; }
.prose section + section { padding-top: 62px; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 22px; font: 700 clamp(30px,4vw,42px)/1.3 Georgia, "STSong", serif; }
.prose h3 { margin: 34px 0 12px; font-size: 20px; }
.prose p, .prose li { color: #425267; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.info-box { margin: 28px 0; padding: 22px 24px; border-left: 4px solid var(--coral); background: #fff8ee; border-radius: 0 14px 14px 0; }
.info-box strong { display: block; margin-bottom: 6px; color: var(--ink); }
.formula { margin: 24px 0; padding: 24px; overflow-x: auto; color: #d7f2ef; background: var(--ink); border-radius: 16px; font: 600 14px/1.8 Consolas, monospace; }
.value-grid { margin: 26px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.value-card h3 { margin: 0 0 8px; font-size: 17px; }
.value-card p { margin: 0; font-size: 14px; }
.simple-table { width: 100%; margin: 24px 0; border-collapse: collapse; background: var(--white); }
.simple-table th, .simple-table td { padding: 14px; text-align: left; border: 1px solid var(--line); }
.simple-table th { background: #e8efec; }

.site-footer { color: #dce3ea; background: #091829; }
.footer-main { padding-block: 58px 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.footer-brand { color: #fff; }
.footer-main p { margin: 12px 0 0; color: #8190a0; font-size: 13px; }
.footer-links { display: flex; gap: 26px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-block: 20px 28px; display: flex; justify-content: space-between; gap: 20px; color: #778697; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.footer-bottom a:hover { color: #fff; }

.reveal { animation: rise .7s ease both; }
.feature-card:nth-child(2), .note-card:nth-child(2), .process-list li:nth-child(2) { animation-delay: .08s; }
.feature-card:nth-child(3), .note-card:nth-child(3), .process-list li:nth-child(3) { animation-delay: .16s; }
.feature-card:nth-child(4), .process-list li:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-visual { min-height: 470px; max-width: 620px; width: 100%; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; gap: 50px; }
  .section-heading.compact { position: static; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 240px; }
  .boundary-card { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; gap: 36px; }
  .side-index { position: static; display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .side-index strong { width: 100%; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: 68px; padding: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 10px; }
  .site-nav a::after { display: none; }
  .site-nav a.active { background: #e8efec; }
  .hero { min-height: auto; padding-block: 58px 66px; gap: 46px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-facts { gap: 20px; }
  .hero-visual { min-height: 390px; border-radius: 36px; }
  .photo-card { width: 145px; }
  .mini-picture { height: 108px; }
  .fingerprint-panel { left: 14%; right: 8%; }
  .section { padding-block: 74px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .feature-icon { margin-top: 30px; }
  .boundary-card { padding: 34px 26px; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .page-hero { padding-block: 62px 52px; }
  .content-layout { padding-block: 52px 80px; }
  .value-grid { grid-template-columns: 1fr; }
  .simple-table { font-size: 13px; }
}
