@font-face {
  font-family: "MiSans VF";
  src: url("./assets/MiSans-Landing.woff2") format("woff2");
  font-style: normal;
  font-weight: 150 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #25354c;
  --brand: #243c60;
  --muted: #54657d;
  --blue: #3868d4;
  --line: rgba(73, 103, 148, .18);
  --content-width: clamp(980px, 80vw, 1600px);
  --page-gutter: 28px;
  --motion: 200ms cubic-bezier(.16, 1, .3, 1);
  font-family: "MiSans VF", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #b6c4db #f1f5fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; color: var(--ink); background: #f7faff; font-size: 16px; }
::selection { color: #203c68; background: #d4e3ff; }
button { font: inherit; cursor: pointer; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-underline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #557cce; outline-offset: 4px; }
.icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.skip-link { position: fixed; z-index: 20; left: 20px; top: 16px; padding: 12px 18px; background: white; border-radius: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 1; width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: #1c2a40; font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.header-link, .download-menu summary { transition: color var(--motion); }
.header-link:hover, .download-menu summary:hover { color: var(--blue); }
.download-menu { position: relative; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.download-menu summary { display: flex; align-items: center; gap: 7px; min-height: 44px; }
.download-menu summary > .icon:first-child { width: 17px; height: 17px; }
.download-menu .chevron { width: 13px; height: 13px; transition: transform var(--motion); }
.download-menu[open] .chevron { transform: rotate(180deg); }
.download-popover { position: absolute; z-index: 10; top: 52px; left: 50%; transform: translateX(-50%); width: 244px; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 14px 44px rgba(36, 58, 96, .13); text-align: center; }
.download-popover img { display: block; margin: 0 auto; border-radius: 6px; }
.download-popover p { color: var(--muted); margin: 13px 0 8px; font-size: 14px; line-height: 1.7; }
.download-popover a { display: inline-flex; min-height: 44px; gap: 7px; align-items: center; color: var(--blue); font-size: 14px; }
.download-popover a:hover { text-decoration: underline; }
.download-popover a .icon { width: 15px; height: 15px; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 24px; background: rgba(223, 233, 250, .32); }
.language-switch button { min-width: 46px; height: 36px; border: 0; border-radius: 20px; padding: 0 10px; font-size: 14px; color: var(--muted); background: transparent; transition: background var(--motion), color var(--motion); }
.language-switch button[aria-pressed="true"] { color: var(--brand); background: rgba(255, 255, 255, .9); }
.language-switch button:disabled { opacity: .55; cursor: default; }
.mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; padding: clamp(56px, 6.5vh, 88px) var(--page-gutter) 28px; text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -88px 0 0; background: url("./assets/hero-background-soft.webp") center top / cover no-repeat; opacity: .82; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, .6) 68%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, .6) 68%, transparent 100%); pointer-events: none; }
.hero-content { max-width: var(--content-width); margin: 0 auto; }
h1 { margin: 0; color: #233650; font-size: clamp(40px, 3.4vw, 60px); font-weight: 560; letter-spacing: .01em; line-height: 1.25; text-wrap: balance; }
.hero-description { color: var(--muted); margin: 20px 0 0; font-size: 18px; line-height: 1.75; text-wrap: balance; }
.product-entry { margin-top: 32px; }
.conversation-panel { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 156px; padding: 20px 24px; border: 1px solid rgba(118, 140, 173, .25); border-radius: 16px; background: rgba(255, 255, 255, .86); text-align: left; transition: border-color var(--motion), box-shadow var(--motion); }
.conversation-panel-description { color: var(--muted); font-size: 17px; line-height: 1.75; }
.primary-action { display: inline-flex; align-items: center; align-self: flex-end; gap: 12px; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 450; line-height: 1.5; white-space: nowrap; transition: color var(--motion); }
.send-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--brand); transition: background var(--motion); }
.primary-action .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.conversation-panel:hover { border-color: #a2b9df; }
.conversation-panel:hover .primary-action { color: var(--brand); }
.conversation-panel:hover .send-icon { background: #31527d; }
.conversation-panel:focus-visible { border-color: #8ca9e1; box-shadow: 0 0 0 5px rgba(76, 115, 212, .08); }
.applications { margin-top: 24px; text-align: left; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 12px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.6; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.scenario-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.scenario-link { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 48px; padding: 10px 0; color: #3c506e; font-size: 15px; line-height: 1.6; transition: color var(--motion); }
.scenario-link > span:first-child { min-width: 0; }
.scenario-link:hover { color: #2e5590; }
.scenario-link .icon { width: 14px; height: 14px; opacity: .55; transition: opacity var(--motion); }
.scenario-link:hover .icon, .scenario-link:focus-visible .icon { opacity: 1; }
.getting-started { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 64px; width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); margin: 0 auto; padding: 36px 0 40px; }
.getting-started-intro h2 { margin: 10px 0 12px; font-size: 26px; font-weight: 550; letter-spacing: -.01em; line-height: 1.45; }
.getting-started-intro p { max-width: 24ch; color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 16px 0; font-size: 16px; font-weight: 450; line-height: 1.7; }
.faq-item summary:hover { color: #315fa9; }
.faq-item summary .icon { width: 16px; height: 16px; color: #607594; transition: transform var(--motion); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 25px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.faq-answer p { margin: 0; max-width: 68ch; }
.faq-answer a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #315fa9; font-size: 15px; }
.faq-answer a:hover { text-decoration: underline; }
.faq-answer a .icon { width: 15px; height: 15px; }
.site-footer { width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); margin: 0 auto; padding: 36px 0 24px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); align-items: start; gap: 48px; }
.footer-brand .brand { font-size: 28px; }
.footer-brand p { margin: 12px 0 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 32px; }
.footer-navigation > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.footer-navigation h2 { margin: 0 0 8px; font-size: 14px; font-weight: 550; line-height: 1.5; }
.footer-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-navigation a:hover, .footer-bottom a:hover { color: #3d65b5; text-decoration: underline; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(105, 130, 166, .1); font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }
.registration-links { display: flex; width: 100%; flex-wrap: wrap; gap: 0 20px; }
.registration-links a { min-width: 0; max-width: 100%; }
html[lang="en"] h1 { letter-spacing: -.025em; }

@media (min-width: 1280px) {
  .scenario-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1800px) {
  h1 { font-size: 60px; }
  .hero-description { font-size: 18px; }
}
@media (max-width: 800px) {
  .site-header { height: 76px; }
  .header-actions { gap: 19px; }
  .developer-link { display: none; }
  .hero { padding-top: 62px; }
  .hero::before { top: -76px; }
  h1 { font-size: 42px; }
  .hero-description { max-width: 570px; margin-inline: auto; font-size: 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .scenario-links { column-gap: 20px; }
  .getting-started { gap: 32px; grid-template-columns: 1fr 2.1fr; }
  .getting-started-intro h2 { font-size: 25px; }
  .getting-started-intro p { font-size: 14px; }
  .faq-item summary { font-size: 16px; }
  .faq-answer { font-size: 15px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-navigation { gap: 24px; }
}
@media (max-width: 560px) {
  :root { --page-gutter: 20px; }
  .site-header { gap: 12px; }
  .brand { font-size: 27px; letter-spacing: -.7px; }
  .header-actions { gap: 10px; }
  .download-menu { display: none; }
  .language-switch button { min-width: 40px; height: 36px; padding-inline: 7px; font-size: 13px; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; }
  .mobile-menu summary .icon { width: 22px; height: 22px; }
  .mobile-menu .menu-close, .mobile-menu[open] .menu-open { display: none; }
  .mobile-menu[open] .menu-close { display: block; }
  .mobile-menu nav { position: absolute; z-index: 10; top: 49px; right: 0; display: flex; flex-direction: column; width: 225px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px rgba(36, 58, 96, .12); }
  .mobile-menu nav a { padding: 13px 14px; min-height: 46px; border-radius: 9px; font-size: 14px; }
  .mobile-menu nav a:hover { background: #f1f5fd; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(30px, 8.5vw, 36px); line-height: 1.3; }
  .hero-description { margin-top: 14px; padding-inline: 2px; font-size: 15px; line-height: 1.85; max-width: 400px; }
  .product-entry { margin-top: 24px; }
  .conversation-panel { min-height: 152px; padding: 18px 20px; }
  .conversation-panel-description { font-size: 16px; }
  .scenario-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-link { gap: 8px; }
  .scenario-link .icon { width: 13px; height: 13px; }
  .getting-started { display: block; }
  .getting-started-intro { margin-bottom: 16px; }
  .getting-started-intro h2 { margin-top: 0; margin-bottom: 7px; font-size: 25px; }
  .getting-started-intro p { max-width: none; }
  .faq-item summary { min-height: 64px; font-size: 16px; gap: 16px; }
  .faq-answer { padding-right: 20px; font-size: 15px; }
  .faq-answer a { font-size: 14px; }
  .footer-inner { gap: 28px; }
  .footer-brand .brand { font-size: 27px; }
  .footer-brand p { margin-top: 9px; font-size: 14px; }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-navigation > div:first-child { grid-row: span 2; }
  .footer-bottom { gap: 4px; }
  html[lang="en"] h1 { font-size: clamp(30px, 8.5vw, 36px); }
}
@media (max-width: 360px) {
  :root { --page-gutter: 15px; }
  .header-actions { gap: 5px; }
  .conversation-panel { padding-inline: 18px; }
  .scenario-link { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
