:root {
  color-scheme: dark;
  --bg: #080e18;
  --surface: #101a2a;
  --line: #263448;
  --text: #f0f5fa;
  --muted: #b7c5d7;
  --lime: #d9fb64;
  --cyan: #87ddf0;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
p { line-height: 1.75; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px; color: var(--bg); background: var(--lime); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.masthead { position: sticky; z-index: 3; top: 0; background: #080e18f2; border-bottom: 1px solid #7492b12b; backdrop-filter: blur(14px); }
.masthead-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 23px; letter-spacing: .035em; font-weight: 800; line-height: 1.03; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .04em; font-weight: 500; padding-top: 5px; }
.mark { display: grid; place-items: center; width: 40px; height: 40px; color: #0c1514; background: var(--lime); border-radius: 10px 10px 3px 10px; font: italic 900 26px/1 Barlow, Arial, sans-serif; }
.masthead nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.masthead nav a:hover, .masthead nav a[aria-current="page"], .footer a:hover { color: var(--lime); }
.masthead nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--lime); }
.masthead .button[aria-current="page"] { border-color: var(--lime); color: var(--lime); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background .18s, border-color .18s, color .18s; }
.button-small { min-height: 44px; padding-inline: 16px; font-size: 14px; }
.button-primary { color: #131c0b; background: var(--lime); }
.button-primary:hover { background: #ecffa1; }
.button-outline { border-color: #94adca65; background: #0a1427b8; }
.button-outline:hover { border-color: var(--cyan); background: #14273b; }
.button span { font: 700 20px/1 Inter, system-ui, sans-serif; }
.hero { background: radial-gradient(ellipse at 79% 10%, #132b3d 0%, #080e18 69%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.16fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; min-height: 576px; padding-block: 64px 70px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cyan); font-size: 14px; font-weight: 650; letter-spacing: .11em; }
.eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; flex: none; }
.hero-eyebrow { color: #d0e9f3; }
h1 { margin-top: 21px; font-size: clamp(50px, 5.4vw, 84px); font-weight: 850; line-height: 1.11; letter-spacing: -.055em; }
h1 em { color: var(--lime); font-style: normal; }
.hero h1 { font-size: clamp(39px, 4.3vw, 70px); }
.hero-description { max-width: 455px; margin-top: 26px; color: #d1dcea; font-size: clamp(16px, 1.45vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-model { overflow: hidden; border: 1px solid #41607a; border-radius: 12px; background: #0c1725; box-shadow: 0 18px 65px #050b1390; }
.hero-model img { width: 100%; height: auto; }
.hero-model figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 13px 16px; border-top: 1px solid var(--line); background: #111e2d; }
.hero-model strong { color: var(--cyan); font-size: 14px; }
.hero-model figcaption span { color: var(--muted); font-size: 12px; }

.summary-strip { background: #0b1421; border-block: 1px solid var(--line); }
.summary-inner { display: grid; grid-template-columns: 1fr 1.15fr 1fr; min-height: 112px; align-items: center; }
.summary-inner > div { display: flex; min-height: 54px; padding: 6px 24px; align-items: center; justify-content: center; gap: 15px; }
.summary-inner > div + div { border-left: 1px solid var(--line); }
.summary-inner strong { color: var(--lime); font-size: clamp(19px, 2vw, 28px); font-weight: 800; white-space: nowrap; }
.summary-inner span { color: var(--muted); font-size: 13px; }

.section.home-explore { padding-top: 0; }
.home-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.home-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #101a29; transition: border-color .18s, background .18s; }
.home-card:hover { border-color: var(--cyan); background: #17263b; }
.home-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #0c1725; }
.home-card > div { padding: 22px; }
.home-card h3 { display: flex; justify-content: space-between; gap: 12px; }
.home-card h3 span { color: var(--lime); }
.home-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.page-lead { padding-block: clamp(47px, 7vw, 86px) clamp(35px, 5vw, 61px); background: radial-gradient(ellipse at 86% 0%, #10283e 0%, transparent 68%); }
.page-lead h1 { font-size: clamp(35px, 5vw, 67px); }
.page-lead p:last-child { max-width: 610px; margin-top: 18px; color: var(--muted); font-size: 17px; }
.page-lead + .section { padding-top: 10px; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 30px; margin-bottom: 46px; border-block: 1px solid var(--line); }
.next-step h2 { margin-top: 0; font-size: clamp(23px, 3vw, 34px); }
.next-step p { margin-top: 8px; color: var(--muted); }

.theory-preview { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 38px); margin-bottom: 58px; border: 1px solid var(--line); border-radius: 12px; background: #101c2a; }
.theory-preview h2 { font-size: clamp(24px, 3vw, 36px); }
.theory-preview p:last-child { margin-top: 10px; color: var(--muted); }
.theory-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 42px); align-items: start; margin-bottom: 60px; }
.theory-paper { color-scheme: light; min-width: 0; padding: clamp(22px, 4vw, 52px); border: 1px solid #cbd5d9; border-radius: 12px; color: #1c303e; background: #f4f7f4; }
.theory-paper h2, .theory-notes h2 { margin-top: 0; font-size: clamp(26px, 3vw, 36px); }
.theory-section { padding-top: 20px; margin-top: 23px; border-top: 1px solid #ccd7da; }
.theory-section p { margin-top: 9px; color: #3d515d; font-size: 15px; }
.equation { display: grid; align-content: center; min-height: 117px; margin-block: 16px; padding: 15px 12px; overflow-x: auto; border: 1px solid #d3e1e3; border-radius: 7px; background: #eaf0f1; text-align: center; }
.equation math { display: block; width: max-content; margin-inline: auto; color: #172f3e; font-family: "Cambria Math", math; font-size: clamp(20px, 2.3vw, 28px); }
.equation figcaption { margin-top: 12px; color: #425863; font-size: 12px; }
.equation-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.theory-insight { padding-top: 17px; margin-top: 19px; border-top: 1px solid var(--line); }
.theory-insight h3, .theory-case h3 { font-size: 18px; }
.theory-insight p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.theory-case { margin-top: 24px; }
.theory-case > div { padding: 17px 19px; }

.section { padding-block: 94px; }
.section-intro { margin-bottom: 32px; }
h2 { margin-top: 9px; font-size: clamp(29px, 3.45vw, 50px); line-height: 1.22; letter-spacing: -.04em; }
h3 { font-size: 20px; font-weight: 750; line-height: 1.4; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(148deg, #142237 0%, #0d1624 78%); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 23px; border: 1px solid #75d7ec43; border-radius: 8px; background: #152d3d; color: var(--cyan); font-size: 25px; }
.feature p { margin-top: 11px; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; margin-top: 10px; color: var(--lime); font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.demo-section { background: #0b1421; border-block: 1px solid var(--line); }
.result-wrap { padding-block: 26px 38px; }
.demo-section + .next-step { border-top: 0; }
.result-viewer { border: 1px solid var(--line); border-radius: 14px; background: #101b2a; }
.result-tabs { display: flex; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.result-tabs button { flex: 0 1 auto; min-height: 44px; padding: 7px 18px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); background: transparent; font-size: 14px; font-weight: 650; }
.result-tabs button:hover { color: var(--text); }
.result-tabs button[aria-selected="true"] { color: var(--lime); border-color: #acc85f64; background: #23312a; }
.result-panel { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 3vw, 38px); padding: 24px; }
.result-image { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #0c1725; }
.result-image img { width: 100%; height: auto; }
.result-copy { padding-inline: 0 10px; }
.result-copy h3 { margin: 12px 0; font-size: clamp(23px, 2.5vw, 33px); }
.result-copy > p:not(.eyebrow) { color: var(--muted); }
.result-copy > p + p { margin-top: 12px; }
.case-outcomes { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block: 16px; }
.case-outcomes dt { color: var(--muted); font-size: 13px; }
.case-outcomes dd { margin: 4px 0 0; font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; white-space: nowrap; }
.case-outcomes div:last-child dd { color: var(--lime); }
.case-outcomes dd span { font-size: .58em; }
.checklist { margin: 19px 0; padding-left: 20px; color: #dee9f4; font-size: 15px; line-height: 1.85; }
.checklist li::marker { color: var(--lime); }
.figure-note { padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.figure-note a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-left: 8px; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.layer-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 16px 0; color: var(--muted); font-size: 13px; list-style: none; }
.layer-key li { display: flex; align-items: center; gap: 6px; }
.layer-key li::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 2px; background: var(--layer-color); }
.layer-key li:nth-child(1) { --layer-color: #39d2b0; }
.layer-key li:nth-child(2) { --layer-color: #f7a34d; }
.layer-key li:nth-child(3) { --layer-color: #59a9fc; }
.layer-key li:nth-child(4) { --layer-color: #c57df6; }
#cutaway-angle { margin-bottom: 15px; }

.custom { padding-bottom: 52px; }
.custom-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.film { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #101b2b; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080e18; }
.film-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.film-caption strong { display: block; font-size: 15px; }
.film-caption div span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.custom-copy h2 { font-size: clamp(24px, 2.6vw, 34px); }
.custom-copy p { color: var(--muted); margin-top: 12px; }
.industry-header { margin-top: 54px; }
.industry-header p { margin-top: 8px; color: var(--muted); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; margin-top: 19px; }
.industry-grid article { padding-top: 17px; border-top: 1px solid #3a4e65; }
.industry-grid h4 { color: var(--cyan); font-size: 17px; }
.industry-grid p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.faq { display: grid; grid-template-columns: .66fr 1fr; align-items: start; gap: 30px; padding-bottom: 82px; }
.faq h2 { margin-top: 0; font-size: clamp(25px, 3vw, 39px); }
.faq-items { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 0 6px; }
summary { min-height: 52px; padding: 15px 0; cursor: pointer; font-weight: 670; }
summary::marker { color: var(--cyan); }
details p { padding: 0 0 15px 16px; color: var(--muted); font-size: 15px; }

.purchase { padding-bottom: 26px; }
.inquiry { margin-bottom: 55px; }
.purchase-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(24px, 4vw, 52px); border: 1px solid #465b42; border-radius: 15px; background: radial-gradient(ellipse at 105% 0%, #303f2f 0%, transparent 64%), #101c26; }
.purchase-banner h2 { margin-bottom: 12px; font-size: clamp(26px, 3.3vw, 45px); }
.purchase-banner p:not(.eyebrow) { color: var(--muted); }
.purchase-contact { display: grid; gap: 10px; text-align: center; justify-items: stretch; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; font-size: 14px; }
.contact-row a { color: #c0dbe6; text-decoration: underline; text-underline-offset: 3px; }
.contact-row button { min-height: 44px; padding: 4px 8px; border: none; color: var(--cyan); background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.copy-status { min-height: 1.65em; font-size: 12px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; color: var(--muted); font-size: 13px; }
.footer strong { color: var(--text); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-inner { min-height: auto; padding-block: 54px; }
  .summary-inner > div { flex-direction: column; gap: 5px; text-align: center; }
  .section { padding-block: 70px; }
  .result-panel { grid-template-columns: 1fr; }
  .feature { padding: 19px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 108px; }
  .masthead-inner { flex-wrap: wrap; min-height: 62px; padding-top: 8px; gap: 1px 10px; }
  .masthead nav { order: 3; width: 100%; justify-content: space-between; gap: 4px; }
  .masthead nav a { min-height: 44px; white-space: nowrap; }
  .theory-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .masthead nav a { font-size: 13px; }
  .brand { font-size: 21px; }
  .brand small { font-size: 10px; }
  .mark { width: 36px; height: 36px; }
  .hero-inner { padding-block: 48px 24px; }
  h1 { font-size: clamp(43px, 11vw, 62px); margin-top: 18px; }
  .hero h1 { font-size: clamp(34px, 10.7vw, 52px); }
  .hero-description { max-width: 355px; margin-top: 20px; }
  .actions { margin-top: 25px; gap: 9px; }
  .actions .button { padding-inline: 14px; }
  .summary-inner { min-height: 103px; }
  .summary-inner > div { padding: 6px 5px; }
  .summary-inner strong { font-size: clamp(15px, 4.3vw, 23px); }
  .summary-inner span { font-size: 11px; }
  .section { padding-block: 58px; }
  .section-intro { margin-bottom: 22px; }
  .feature-grid, .custom-layout, .faq, .home-links { grid-template-columns: 1fr; }
  .next-step { display: grid; justify-items: start; }
  .theory-preview { display: grid; justify-items: start; margin-bottom: 38px; }
  .theory-paper { padding-inline: clamp(14px, 4vw, 24px); }
  .equation { padding-inline: 8px; }
  .equation math { font-size: clamp(17px, 4.5vw, 23px); }
  .equation-pair { gap: 8px; }
  .equation-pair .equation { padding-inline: 4px; }
  .industry-header { margin-top: 37px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-icon { margin-bottom: 12px; }
  .result-tabs { gap: 2px; padding: 7px; }
  .result-tabs button { flex: 1 1 auto; padding-inline: 3px; font-size: clamp(11px, 3.3vw, 13px); white-space: nowrap; }
  .result-panel { padding: 13px; gap: 20px; }
  .result-copy { padding: 0 7px 7px; }
  .faq { gap: 16px; padding-bottom: 53px; }
  .purchase-banner { display: grid; }
  .purchase-contact { justify-items: start; }
  .footer-inner { min-height: 68px; gap: 8px; }
}


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