@import url('./tokens.css');

:root { font-family: "PingFang SC", "Microsoft YaHei", var(--font-body); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-text); background: var(--color-surface); line-height: var(--line-height-body); }
::selection { color: #fff; background: var(--color-brand); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--color-brand-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 100; padding: .7rem 1rem; color: #fff; background: var(--color-brand); }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--page-gutter), var(--content-width)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #edf0f5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; white-space: nowrap; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand strong { display: block; font-size: 1.06rem; letter-spacing: -.02em; line-height: 1.15; }
.brand small { display: block; font-size: .75rem; color: var(--color-text-muted); letter-spacing: .04em; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { font-size: .91rem; font-weight: 600; text-decoration: none; color: #354153; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-brand); }
.nav .nav-contact { padding: .58rem 1rem; border: 1px solid #cbd9ed; border-radius: 999px; color: var(--color-brand-hover); }
.language-switch { display: inline-flex; align-items: center; flex: none; gap: 2px; padding: 3px; border: 1px solid #dce6f2; border-radius: 10px; background: #f5f8fc; }
.language-switch a { min-width: 42px; padding: .35rem .5rem; border-radius: 7px; color: #52637a; font-size: .8rem; font-weight: 700; text-align: center; text-decoration: none; }
.language-switch a[aria-current="page"] { color: #0b58c2; background: #fff; box-shadow: 0 1px 5px rgb(34 65 112 / 12%); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero { overflow: hidden; background: linear-gradient(145deg, #fff 40%, #f1f7ff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; min-height: 625px; gap: 2rem; padding-block: clamp(4rem, 8vw, 7rem); }
.hero h1 { max-width: 10ch; margin: 0; font-size: clamp(3.25rem, 6.3vw, 6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
.hero h1 em { display: block; color: var(--color-brand); font-style: normal; }
.hero-lead { max-width: 30rem; margin: 1.8rem 0 0; font-size: clamp(1.08rem, 1.55vw, 1.27rem); color: #43516a; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: 12px; font-weight: 700; text-decoration: none; transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.button-primary { color: #fff; background: var(--color-brand); }
.button-primary:hover { color: #fff; background: var(--color-brand-hover); }
.button-secondary { color: var(--color-brand-hover); background: transparent; border: 1px solid #bfd3ef; }
.button-secondary:hover { color: var(--color-brand-hover); background: #eef5ff; }
.hero-note { margin: 1.2rem 0 0; font-size: .85rem; color: var(--color-text-muted); }
.hero-visual { display: grid; place-items: center; min-height: 380px; position: relative; }
.hero-visual::before { content: ""; position: absolute; width: min(30vw, 410px); height: min(30vw, 410px); border-radius: 50%; background: #dcecff; filter: blur(48px); opacity: .8; }
.hero-visual img { position: relative; width: min(29vw, 360px); min-width: 240px; filter: drop-shadow(0 24px 32px rgb(24 32 48 / 13%)); }
.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.section h2 { max-width: 17ch; margin: 0 0 1.1rem; font-size: clamp(2.05rem, 3.3vw, 3.5rem); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.section-intro { max-width: 43rem; margin: 0; color: #526076; font-size: 1.03rem; }
.platform-strip { padding-block: .5rem; border-top: 1px solid #e4eaf2; border-bottom: 1px solid #e4eaf2; background: #fff; }
.platform-strip-inner { display: grid; grid-template-columns: 1fr 1fr; padding-block: .25rem; }
.platform-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1rem 1.3rem 0; }
.platform-item + .platform-item { border-left: 1px solid #e4eaf2; padding-left: 2rem; }
.platform-item strong { display: block; font-size: 1.02rem; }
.platform-item small { display: block; color: var(--color-text-muted); }
.status { flex: none; padding: .3rem .7rem; border-radius: 999px; background: #eaf3ff; color: #0c4daa; font-size: .76rem; font-weight: 700; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4.5rem; margin-top: 3.3rem; }
.feature { border-top: 1px solid #d7e1ee; padding-top: 1.3rem; }
.feature h3 { margin: 0 0 .45rem; font-size: 1.2rem; letter-spacing: -.015em; }
.feature p { margin: 0; max-width: 30rem; color: #59667a; }
.preview-section { background: #f7f9fc; }
.preview-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.preview-head p { max-width: 25rem; margin: 0 0 .3rem; color: var(--color-text-muted); }
.preview-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .55fr); gap: 2.5rem; align-items: end; margin-top: 3rem; }
.preview-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.preview-label strong { font-size: 1.06rem; }
.preview-label span { font-size: .82rem; color: var(--color-text-muted); }
.mac-frame { padding: 12px; background: #dfe7f1; border-radius: 17px; box-shadow: 0 25px 55px rgb(24 32 48 / 12%); }
.mac-bar { display: flex; gap: 5px; height: 29px; align-items: flex-start; padding: 4px 0 0 4px; }
.mac-bar i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #aab8ca; }
.preview-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 340px; padding: 1.5rem; border: 1px dashed #b7cae2; border-radius: 9px; color: #365a87; background: linear-gradient(145deg, #fff, #edf5ff); text-align: center; }
.preview-empty strong { font-size: 1.03rem; }
.preview-empty small { max-width: 20rem; color: #50627c; }
.phone-frame { max-width: 254px; margin-inline: auto; padding: 12px; border: 5px solid #263c5d; border-radius: 34px; background: #263c5d; box-shadow: 0 22px 48px rgb(24 32 48 / 14%); }
.phone-frame .preview-empty { min-height: 400px; border-radius: 23px; }
.download { background: #102f62; color: #fff; }
.download h2 { max-width: none; }
.download .section-intro { color: #d1def0; }
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.download-option { border-top: 1px solid #7292bd; padding-top: 1.25rem; }
.download-option h3 { margin: 0 0 .55rem; font-size: 1.34rem; }
.download-option p { max-width: 25rem; min-height: 3.3rem; margin: 0 0 1.35rem; color: #d1def0; }
.button-disabled { border: 1px solid #7799c4; color: #e8f2ff; background: #294b78; cursor: not-allowed; }
.site-footer { padding-block: 2.7rem; border-top: 1px solid #e6ebf2; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.footer-grid p { max-width: 37rem; margin: .9rem 0 0; font-size: .84rem; color: var(--color-text-muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; align-content: start; gap: .7rem 1.3rem; }
.footer-links a { font-size: .87rem; color: #425573; }
.footer-bottom { margin-top: 2rem; font-size: .79rem; color: #5b6a80; }
.legal-hero { padding-block: 5rem 3rem; background: #f7faff; border-bottom: 1px solid #e8eef6; }
.legal-hero h1 { margin: .6rem 0 0; font-size: clamp(2.45rem, 4vw, 4rem); line-height: 1.15; letter-spacing: -.025em; }
.legal-hero p { max-width: 45rem; margin: 1rem 0 0; color: #53657d; }
.draft-pill { display: inline-block; padding: .3rem .65rem; border-radius: 999px; color: #7d4c0e; background: #fff1d8; font-size: .78rem; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4rem; padding-block: 3.5rem 6rem; }
.legal-nav { align-self: start; position: sticky; top: 1.5rem; display: grid; gap: .8rem; }
.legal-nav a { color: #5c6b80; font-size: .88rem; text-decoration: none; }
.legal-nav a:hover { color: var(--color-brand); }
.legal-content { max-width: 48rem; }
.legal-content section { padding-block: 1.6rem; border-bottom: 1px solid #e7edf4; scroll-margin-top: 2rem; }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { margin: 0 0 .65rem; font-size: 1.42rem; letter-spacing: -.012em; }
.legal-content p, .legal-content li { color: #48576e; }
.legal-content p { margin: .5rem 0; }
.legal-content ul { padding-left: 1.3rem; }
.pending { color: #8d5709; font-weight: 650; }
.notice { padding: 1rem 1.2rem; border-radius: 12px; color: #6c470f; background: #fff4e2; }
.faq-list details { border-bottom: 1px solid #e7edf4; padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { margin-bottom: .2rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .65fr; min-height: 0; }
  .hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
  .preview-grid { grid-template-columns: 1fr 220px; gap: 1.5rem; }
  .legal-layout { gap: 2rem; grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--page-gutter) 1rem; background: #fff; border-bottom: 1px solid #e6ebf2; box-shadow: 0 18px 26px rgb(16 47 98 / 8%); }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .3rem; }
  .nav .nav-contact { margin-top: .45rem; padding: .65rem 1rem; text-align: center; }
  .nav .language-switch { align-self: flex-start; margin-top: .8rem; }
  .nav .language-switch a { padding: .35rem .5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 4rem 3rem; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 4.7rem); }
  .hero-visual { min-height: 250px; }
  .hero-visual::before { width: 240px; height: 240px; }
  .hero-visual img { min-width: 0; width: 225px; }
  .platform-strip-inner, .features, .download-options, .footer-grid { grid-template-columns: 1fr; }
  .platform-item + .platform-item { border-left: 0; border-top: 1px solid #e4eaf2; padding-left: 0; }
  .features { gap: 1.7rem; margin-top: 2rem; }
  .preview-head { display: block; }
  .preview-head p { margin-top: 1rem; }
  .preview-grid { grid-template-columns: 1fr; }
  .phone-frame { margin-top: .2rem; }
  .download-options { gap: 1rem; }
  .download-option p { min-height: 0; }
  .footer-links { justify-content: start; }
  .legal-hero { padding-block: 3.7rem 2.4rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 4rem; }
  .legal-nav { position: static; display: flex; overflow-x: auto; gap: 1.2rem; white-space: nowrap; padding-bottom: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
