:root {
  color-scheme: light;
  --primary: #5546ff;
  --primary-hover: #4132e6;
  --heading: #0b1029;
  --text: #616b83;
  --text-accent: #6247d0;
  --muted: #727b90;
  --line: #e5e7f5;
  --soft: #f5f7fc;
  --radius: 12px;
  --section-space: 64px;
  --section-space-compact: 48px;
  --chapter-space: 96px;
  --surface-fade: 48px;
  --section-fade: linear-gradient(180deg, #fff, #fff0 var(--surface-fade), #fff0 calc(100% - var(--surface-fade)), #fff);
  --ease-arrive: cubic-bezier(.16, 1, .3, 1);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.3; font-weight: 750; }
h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
h3 { font-size: 23px; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8b81ff; outline-offset: 5px; }
button:disabled { cursor: not-allowed; }
.container { width: calc(100% - 64px); max-width: 1200px; margin-inline: auto; }
/* Chapter pauses sit outside anchor targets, so navigation lands on content. */
[data-site-section] + [data-site-section] { margin-block-start: var(--chapter-space); }
.skip-link { position: fixed; left: 20px; top: 10px; padding: 10px 20px; background: white; color: var(--primary); z-index: 30; clip-path: inset(100%); }
.skip-link:focus { clip-path: none; }
/* Layers: navigation 10, mobile navigation 11, native dialog in the top layer. */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #f0f1f9; background: #fff; }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #11121a; flex-shrink: 0; font-size: 24px; font-weight: 750; white-space: nowrap; }
.brand img { width: 116px; height: 56px; object-fit: contain; }
.primary-nav { display: flex; align-items: stretch; align-self: stretch; gap: 36px; margin-left: auto; margin-right: auto; }
.primary-nav a { position: relative; display: flex; align-items: center; font-size: 15px; white-space: nowrap; transition: color .18s; }
.primary-nav a:hover, .primary-nav a[aria-current="location"] { color: var(--primary); }
.primary-nav a[aria-current="location"]::after { content: ""; position: absolute; height: 2px; background: var(--primary); bottom: 7px; left: 0; right: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 46px; padding: 10px 28px; border: 1px solid transparent; border-radius: 7px; font-size: 16px; line-height: 1.4; font-weight: 550; white-space: nowrap; text-decoration: none; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: linear-gradient(110deg, #5842ff, #503bff 55%, #624eff); border-color: #6958ff; color: white; box-shadow: inset 0 1px 1px #ffffff32; }
.button-primary:hover { background: var(--primary-hover); box-shadow: 0 5px 16px #5546ff24; }
.button-secondary { background: #ffffff8c; color: var(--heading); border-color: #d5d6ee; }
.button-secondary:hover { border-color: #a9a1ff; background: #f6f4ff; }
.button-quiet { color: var(--text); background: transparent; }
.button-quiet:hover { background: #f5f3ff; color: var(--primary); }
.nav-actions .button { min-height: 39px; padding: 8px 25px; font-size: 14px; }
.button-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #4e3df1; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.app-icon { display: grid; place-items: center; flex-shrink: 0; border: 1px solid #e2dcff; border-radius: 12px; background: #eeeaff; color: var(--primary); }
.app-icon .icon { width: 28px; height: 28px; }
.eyebrow { display: inline-block; padding: 1px 10px; border: 1px solid #e2deff; background: #f8f7ff; color: #5546f8; border-radius: 7px; font-size: 15px; font-weight: 650; margin-bottom: 19px; }
.section-heading { margin-bottom: 26px; }
.section-heading p { margin-top: 6px; }
.soft-section { background: var(--section-fade), linear-gradient(105deg, #f5f7fb, #f1f4f9 52%, #f8f9fc); }
.screenshot { width: 100%; border: 1px solid #e2e7f8; border-radius: 12px; box-shadow: 0 5px 25px #515ab00c; overflow: hidden; background: #fff; }
.screenshot img { width: 100%; }
.feature-list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 25px; }
.feature-item { display: flex; gap: 19px; align-items: flex-start; }
.feature-item h3, .feature-item h4 { font-size: 19px; margin-bottom: 3px; }
.feature-item p { font-size: 15px; line-height: 1.65; }
.feature-icon { width: 53px; height: 53px; border-radius: 12px; background: #efecff; color: var(--primary); flex: 0 0 auto; display: grid; place-items: center; font-size: 28px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--heading); }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .menu-close-icon, .menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.site-footer { margin-top: var(--section-space-compact); border-top: 1px solid #e5e1f2; background: #f7f6fc; color: #625d77; }
.footer-inner { padding-top: 58px; }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.9fr); gap: 80px; padding-bottom: 42px; }
.footer-brand .brand img { width: 126px; height: 61px; }
.footer-tagline { margin-top: 18px; color: var(--heading); font-size: 25px; line-height: 1.55; font-weight: 650; letter-spacing: -.02em; }
.footer-description { margin-top: 14px; font-size: 14px; line-height: 1.9; }
.footer-download { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; color: var(--primary); font-size: 14px; font-weight: 600; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 17px; }
.footer-column h2 { margin-bottom: 21px; color: #312943; font-size: 15px; line-height: 1.5; letter-spacing: 0; font-weight: 650; }
.footer-column ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.footer-column a, .footer-column button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; font-size: 14px; line-height: 1.6; text-align: left; }
.site-footer a, .footer-column button { transition: color 180ms; }
.site-footer a:hover, .footer-column button:hover { color: var(--primary); }
.footer-column a:hover, .footer-column button:hover, .footer-download:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-signoff { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; font-size: 13px; }
.footer-back-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0 30px; border-top: 1px solid #dfdcea; color: #716a82; font-size: 12px; line-height: 1.8; }
.footer-registration { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-registration a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-registration > * { overflow-wrap: anywhere; }
.notice-dialog { width: min(460px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 34px; border: 1px solid #e0dcff; border-radius: 18px; color: var(--text); background: white; box-shadow: 0 25px 100px #17133530; }
.notice-dialog::backdrop { background: #12102e55; backdrop-filter: blur(5px); }
.notice-dialog .dialog-brand { width: 132px; height: 64px; object-fit: contain; margin-bottom: 16px; }
.notice-dialog h2 { font-size: 26px; margin: 0 25px 12px 0; }
.notice-dialog p { line-height: 1.8; }
.dialog-close { display: grid; place-items: center; position: absolute; right: 12px; top: 9px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f5f4fc; color: #65617c; }
.dialog-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.dialog-actions .button { padding-inline: 22px; }
@media (min-width: 1440px) { .container { max-width: 1280px; } }
@media (max-width: 1024px) {
  :root { --section-space: 56px; --section-space-compact: 40px; --chapter-space: 80px; --surface-fade: 40px; }
  .nav-inner { gap: 16px; }
  .primary-nav { gap: 25px; }
  .nav-actions { gap: 4px; }
  .nav-actions .button { padding-inline: 18px; }
  .footer-main { grid-template-columns: minmax(230px, 1fr) minmax(0, 1.9fr); gap: 36px; }
  .footer-navigation { gap: 20px; }
}
@media (max-width: 767px) {
  :root { --section-space: 44px; --section-space-compact: 32px; --chapter-space: 56px; --surface-fade: 32px; }
  .container { width: calc(100% - 40px); }
  body { font-size: 15px; }
  .nav-inner { height: 64px; gap: 12px; }
  .brand { font-size: 22px; gap: 7px; }
  .brand img { width: 98px; height: 48px; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #2211690d; z-index: 11; }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav a { min-height: 46px; padding: 10px; }
  .primary-nav a[aria-current="location"] { background: #f6f4ff; border-radius: 6px; }
  .primary-nav a[aria-current="location"]::after { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .button-quiet { display: none; }
  .nav-actions .button { min-height: 44px; padding: 8px 16px; font-size: 13px; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .button { min-height: 44px; padding: 10px 23px; font-size: 15px; }
  .button-row { gap: 12px; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  .eyebrow { margin-bottom: 13px; font-size: 13px; }
  .feature-list { gap: 20px; }
  .feature-item { gap: 14px; }
  .footer-inner { padding-top: 34px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 28px; }
  .footer-tagline { font-size: 23px; margin-top: 14px; }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 0; }
  .footer-column h2 { margin-bottom: 12px; }
  .footer-signoff { flex-wrap: wrap; gap: 4px 16px; padding-bottom: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0 26px; }
  .footer-registration { gap: 6px 20px; }
}
/* Default content stays visible; all entrance effects are finite enhancements. */
[data-delay="1"] { --motion-delay: 80ms; }
[data-delay="2"] { --motion-delay: 160ms; }
[data-delay="3"] { --motion-delay: 240ms; }
@keyframes content-arrive {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes preview-arrive {
  from { opacity: 0; translate: 0 24px; scale: .985; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes mascot-greeting {
  from { opacity: 0; translate: 0 16px; rotate: -5deg; }
  65% { opacity: 1; translate: 0 -3px; rotate: 1deg; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}
@keyframes handwriting-unfold {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes backdrop-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter="copy"] { animation: content-arrive 560ms var(--ease-arrive) var(--motion-delay, 0ms) backwards; }
  [data-enter="preview"] { animation: preview-arrive 680ms var(--ease-arrive) 180ms backwards; }
  [data-enter="mascot"] { transform-origin: 50% 85%; animation: mascot-greeting 760ms var(--ease-arrive) 100ms backwards; }
  [data-enter="handwriting"] { animation: handwriting-unfold 680ms var(--ease-arrive) 240ms backwards; }
  [data-reveal].is-revealing { animation: content-arrive 600ms var(--ease-arrive) var(--motion-delay, 0ms) backwards; }
  /* Keyboard navigation never waits for an entrance to finish. */
  [data-enter]:focus-within, [data-reveal]:focus-within { animation: none; }
  .button .icon, .text-link .icon, .footer-download .icon, .footer-back-top .icon { transition: translate 180ms var(--ease-arrive); }
  .button:is(:hover, :focus-visible) .arrow, .text-link:is(:hover, :focus-visible) .arrow, .footer-download:is(:hover, :focus-visible) .arrow { translate: 4px 0; }
  .button:is(:hover, :focus-visible) .arrow-diagonal { translate: 3px -3px; }
  .button:is(:hover, :focus-visible) .download-icon, .text-link:is(:hover, :focus-visible) .download-icon { translate: 0 3px; }
  .footer-back-top:is(:hover, :focus-visible) .icon { translate: 0 -3px; }
  .notice-dialog[open] { animation: preview-arrive 240ms var(--ease-arrive) backwards; }
  .notice-dialog[open]::backdrop { animation: backdrop-arrive 160ms ease-out backwards; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .primary-nav.is-open { animation: content-arrive 180ms var(--ease-arrive) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
@media print {
  [data-enter], [data-reveal] { animation: none !important; }
}
