/* The shell provides independent navigation and scrolling for each destination. */
:root {
  --color-brand:#234bc4; --color-brand-hover:#17399e; --color-ink:#19232e; --color-muted:#526171;
  --color-subtle:#626f80; --color-line:#dce2e8; --color-surface:#f1f4f7;
  --page-width:1280px; --page-gutter:4vw; --header-height:72px;
  --font-sans:"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
}
html { height:100%; scroll-padding-top:0; }
body { height:100vh; height:100dvh; margin:0; min-height:0; display:grid; grid-template-rows:var(--header-height) minmax(0,1fr) auto; overflow:hidden; }
.wrap { width:min(var(--page-width),92%); margin-inline:auto; }
::selection { color:#102452; background:#cddeff; }
:where(a,button,summary,input):focus-visible { outline:3px solid #2856c9; outline-offset:3px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.site-header { height:var(--header-height); position:relative; background:white; border-color:var(--color-line); }
.header-inner { height:100%; width:min(1440px,92%); }
.header-inner .brand { height:100%; }
.header-inner .brand img { width:auto; height:calc(var(--header-height) - 12px); }
.main-nav { gap:clamp(20px,3.1vw,50px); }
.nav-link { font-size:15px; color:#354357; font-weight:550; }
.nav-link.is-active { color:var(--color-brand); }
.nav-link::after { width:18px; height:3px; left:calc(50% - 9px); bottom:10px; border-radius:3px; }
.header-store { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #202e44; border-radius:100px; padding:9px 17px; color:#fff; font-weight:600; background:#202e44; }
.header-store:hover { color:#fff; border-color:#324e80; background:#324e80; }
#main { min-height:0; overflow:hidden; outline:none; }
[data-page-panel] { scroll-margin-top:var(--header-height); }
.page-panel h1[tabindex="-1"]:focus { outline:none; }
.page-panel { height:100%; min-height:0; display:flex; flex-direction:column; padding:clamp(20px,3.5vh,42px) max(4vw,calc((100% - 1280px)/2)); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.page-heading { flex-shrink:0; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.page-heading h1 { color:var(--color-ink); margin:0; font-size:clamp(27px,3.1vw,45px); line-height:1.18; letter-spacing:-.045em; }
.page-heading p { margin-top:8px; font-size:15px; color:var(--color-muted); }
.site-footer { border-top:1px solid #dce1e6; background:#f6f7f8; }
.site-footer .footer-bottom { min-height:39px; border:0; padding-block:7px; align-items:center; justify-content:space-between; font-size:11px; line-height:1.5; color:#626d79; gap:3px 14px; }
.footer-bottom a { color:var(--color-brand); }
.site-footer .footer-bottom > span:nth-child(2) { margin:0 0 0 auto; }

.home-resources { display:grid; grid-template-columns:1fr 1fr; gap:clamp(10px,1.4vw,18px); }
.resource { position:relative; isolation:isolate; display:flex; align-items:center; min-width:0; overflow:hidden; border-radius:14px; }
.resource-copy { z-index:2; margin-left:clamp(20px,2.65vw,39px); }
.resource h2 { font-size:clamp(20px,1.9vw,30px); line-height:1.25; letter-spacing:-.03em; }
.resource p { margin-top:6px; font-size:clamp(12px,.99vw,15px); line-height:1.5; }
.resource-download { background:linear-gradient(105deg,#162940,#354d77); color:#fff; }
.resource-download p { color:#d5e1f3; }
.resource-monitor { position:absolute; left:58%; top:23%; width:44%; aspect-ratio:1.62; padding:4px; background:#182734; border:2px solid #8497ae; border-radius:8px; transform:rotate(-8deg); box-shadow:0 10px 18px #06152866; }
.resource-monitor img { width:100%; height:100%; object-fit:cover; border-radius:3px; }
.resource-guides { color:#18283a; background:#e9eaeb; }
.resource-scene { position:absolute; inset:0 0 0 auto; height:100%; width:61%; object-fit:cover; object-position:62% 46%; mask-image:linear-gradient(90deg,transparent,#000 45%); }
.resource-arrow { z-index:2; position:absolute; top:12px; right:14px; font:18px/1 Arial; color:inherit; }
.resource-guides .resource-arrow { border-radius:50%; padding:4px; background:#fffffff0; }
.resource:hover .resource-copy h2 { text-decoration:underline; text-underline-offset:5px; }
@media (max-width:900px) {
  :root { --header-height:62px; }

  .main-nav { z-index:5; right:0; left:0; padding:8px; gap:0; border:1px solid var(--color-line); border-radius:0 0 12px 12px; }
  .nav-link.is-active { background:#edf3ff; color:#2149a5; }
  .menu-toggle { border-radius:50%; }

}
@media (max-width:640px) {
  :root { --header-height:57px; }
  .header-inner { gap:9px; }
  .header-store { padding:7px 11px; font-size:12px; }
  .site-footer .footer-bottom { font-size:10px; min-height:30px; padding-block:5px; gap:3px 8px; }
  .page-panel { padding:16px 4vw; }

  .home-resources { gap:8px; }
  .resource { border-radius:10px; align-items:flex-start; }
  .resource-copy { margin:12px 8px 0 13px; }
  .resource h2 { font-size:17px; }
  .resource p { font-size:10px; margin-top:3px; }
  .resource-monitor { width:58%; top:65%; left:55%; }
  .resource-scene { width:74%; height:53%; top:auto; mask-image:linear-gradient(138deg,transparent 12%,#000 75%); }
  .resource-arrow { top:auto; bottom:9px; left:13px; right:auto; font-size:14px; }
  .resource-guides .resource-arrow { padding:0; background:transparent; }
}
@media (min-width:641px) and (max-height:650px) {
  :root { --header-height:56px; }

}

@media (max-width:640px) and (max-height:670px) {

  .resource-copy { margin-top:8px; }
  .resource h2 { font-size:15px; }
  .page-panel { padding-block:10px; }
}
@media (min-width:641px) and (max-height:475px) {
  :root { --header-height:46px; }
  .site-footer .footer-bottom { min-height:25px; padding-block:3px; }
  .page-panel { padding-block:8px; }

  .resource h2 { font-size:18px; }
  .resource p { margin-top:2px; }
}

