:root {
  color-scheme: light;
  --ink: #151831;
  --muted: #525b75;
  --accent: #493cce;
  --accent-dark: #3729b7;
  --paper: #f8f9fd;
  --line: #e2e5f0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; line-height: 1.7; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
:focus-visible { outline: 3px solid #6c61eb; outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { position: relative; z-index: 2; border-bottom: 1px solid #e3e6f1; background: #f9faff; }
.header-row { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 10px; font-size: 1.25rem; font-weight: 750; white-space: nowrap; }
.brand img { object-fit: contain; }
nav { display: flex; gap: 38px; align-items: center; }
nav a { padding: 10px 1px; font-weight: 550; color: #363d59; }
nav a:hover, .text-link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 51px; padding: 10px 23px; border: 1px solid transparent; border-radius: 8px; font-size: .95rem; font-weight: 650; white-space: nowrap; transition: background .18s, border-color .18s; }
.button.small { min-height: 41px; padding: 8px 16px; font-size: .875rem; }
.head-contact { justify-self: end; }
.outline { background: #ffffffa8; border-color: #d6d9e8; }
.outline:hover { background: #eeedfe; border-color: #bfb9f3; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.play { position: relative; display: inline-block; width: 0; height: 0; border-right: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 76% 48%, #dedfff 0%, #eef0ff 38%, #f8f9fd 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; min-height: 548px; }
.hero-copy { position: relative; z-index: 1; padding: 68px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: #4b47a0; font: 700 .875rem/1.2 system-ui, sans-serif; letter-spacing: .16em; }
.eyebrow span { width: 20px; height: 2px; background: #6658e2; }
h1 { font-size: clamp(3.2rem, 5.5vw, 5.2rem); line-height: 1.12; letter-spacing: -.07em; font-weight: 780; }
h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 31rem; margin-top: 26px; color: #424c6a; font-size: 1.14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-art { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.12; }
.hero-art::before { content: ""; position: absolute; inset: 8% -10%; z-index: -2; opacity: .7; background: radial-gradient(ellipse, #b4b8fd8a, #c8ccff3d 48%, transparent 70%); }
.hero-art img { position: absolute; z-index: 1; width: 99%; height: auto; max-width: none; top: 49%; left: 52%; transform: translate(-50%, -50%); filter: drop-shadow(0 26px 18px #4e59a048); }
.orbit { position: absolute; width: 88%; height: 60%; top: 20%; left: 7%; border: 1px solid #8587d44a; border-radius: 50%; transform: rotate(-21deg); }
.orbit-two { width: 100%; height: 72%; top: 14%; left: 2%; }
.orbit-three { width: 112%; height: 85%; top: 7%; left: -4%; border-style: dashed; opacity: .68; }
.light-dot { position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: #7466e8; box-shadow: 0 0 0 5px #7466e821; }
.dot-one { top: 23%; right: 17%; }
.dot-two { bottom: 24%; left: 7%; width: 5px; height: 5px; }
.dot-three { right: 10%; bottom: 23%; width: 5px; height: 5px; }
.art-caption { position: absolute; z-index: 2; bottom: 8%; right: 4%; display: flex; align-items: center; gap: 8px; border: 1px solid #fff; border-radius: 8px; background: #f8f8ffde; padding: 10px 13px; color: #48427c; font-size: .875rem; font-weight: 650; box-shadow: 0 5px 20px #6a63a615; }
.art-caption i { background: #7466e8; width: 6px; height: 6px; border-radius: 50%; }

.section { padding: 74px 0 83px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 28px; margin-bottom: 28px; }
h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 750; letter-spacing: -.055em; }
.section-head p, .product-copy p, .demo-grid p, .about p { color: var(--muted); }
.product-grid, .demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.product-art { min-height: 178px; display: grid; place-items: center; background-size: 22px 22px, auto; }
.term-art { background-image: radial-gradient(#8076cf44 1px, transparent 1px), linear-gradient(120deg,#f2edff,#eceefe); }
.computer-art { background-image: radial-gradient(#698aa941 1px, transparent 1px), linear-gradient(120deg,#e8f0fb,#eaf4fa); }
.mini-flow { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; width: min(335px, 85%); }
.mini-step { display: grid; gap: 8px; padding: 13px 17px; background: #ffffffd9; border: 1px solid #d9d2fb; border-radius: 9px; box-shadow: 0 8px 26px #6558a012; }
.mini-step span { color: #524a78; font-size: .875rem; font-weight: 650; }
.mini-step b, .task-content b { font: 700 1.25rem/1.2 ui-monospace, monospace; color: #4435bd; }
.mini-step.result { border-color: #c3bbfa; }
.connector { height: 2px; background: #9287e9; }
.task-window { width: min(313px, 85%); border: 1px solid #ccdce8; background: #fdfefe; box-shadow: 0 8px 26px #3f76981a; border-radius: 9px; overflow: hidden; }
.window-top { display: flex; align-items: center; gap: 5px; padding: 8px 11px; color: #4a667a; font-size: .875rem; background: #edf5f9; }
.window-top i { width: 6px; height: 6px; border-radius: 50%; background: #8ba9ba; }
.window-top span { margin-left: auto; }
.task-content { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 11px; }
.task-content span { color: #3b5265; font-size: .875rem; }
.task-content b { color: #125e71; }
.product-copy { padding: 25px 26px 29px; }
h3 { font-size: 1.4rem; font-weight: 720; }
.product-copy p { margin-top: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-weight: 650; margin-top: 17px; }
.text-link .play { scale: .78; }

.demos { background: #edf0fa; border-block: 1px solid #e2e6f3; }
.video-cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid #dae0f0; border-radius: 13px; padding: 0; overflow: hidden; background: #171c36; color: #fff; cursor: pointer; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.video-cover:hover img { transform: scale(1.035); }
.video-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg,#0d103944,transparent 66%); }
.video-play { position: absolute; z-index: 1; display: grid; place-items: center; bottom: 16px; left: 16px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid #ffffff80; background: #332b99e8; box-shadow: 0 6px 22px #14124050; }
.video-play .play { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
.video-cover:hover .video-play { background: var(--accent-dark); }
.demo-grid h3 { margin: 17px 0 7px; }

.about-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 50px; align-items: center; }
.about p { margin-top: 13px; }
.contact { background: #eeedff; border: 1px solid #e0dcfc; padding: 28px 30px; border-radius: 14px; }
.contact h2 { font-size: 1.65rem; }
.email { display: inline-block; color: var(--accent-dark); margin-top: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer { background: #f3f5fc; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; }
.footer .brand { font-size: 1rem; }
.footer p { color: var(--muted); font-size: .875rem; }
dialog { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 14px; border: 1px solid #d8dbed; border-radius: 14px; background: #fff; color: var(--ink); }
dialog::backdrop { background: #10142cbd; }
.player-head { display: flex; gap: 13px; justify-content: space-between; align-items: center; padding: 0 2px 10px; }
.player-head h2 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); }
.close { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #f5f6fa; color: var(--ink); cursor: pointer; font-size: 1.5rem; }
dialog video { display: block; width: 100%; max-height: calc(100dvh - 138px); aspect-ratio: 16 / 9; background: #14162a; border-radius: 8px; }
.player-fallback { margin-top: 9px; font-size: .875rem; }
.player-fallback a { color: var(--accent-dark); text-decoration: underline; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { min-height: 480px; }
  .hero-copy { padding-block: 56px; }
  .hero-description { font-size: 1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 34px); }
  .header-row { min-height: 62px; gap: 10px; grid-template-columns: 1fr auto; }
  nav { gap: 17px; font-size: .875rem; }
  .top .brand { font-size: 1.02rem; gap: 6px; }
  .top .brand img { width: 25px; height: 28px; }
  .head-contact { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-block: 44px 0; }
  h1 { font-size: clamp(2.65rem, 11vw, 4.55rem); }
  .hero-description { margin-top: 17px; }
  .actions { margin-top: 22px; }
  .hero-art { width: min(430px, 93%); margin: -3% auto -1%; }
  .art-caption { right: 0; }
  .section { padding: 48px 0 54px; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .product-grid, .demo-grid, .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-copy { padding: 20px; }
  .about-grid { gap: 24px; }
  .contact { padding: 22px; }
  .footer-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
