:root {
  color-scheme: light;
  --page: #fff;
  --panel: #fff;
  --text: #202124;
  --quiet: #65666c;
  --dim: #73747b;
  --line: #e4e5e8;
  --soft: #f5f5f6;
  --bar: rgb(255 255 255 / .89);
  --primary: #202124;
  --on-primary: #fff;
  --brand-mark: #29343a;
  --blue: #006be0;
  --shadow: 0 12px 36px rgb(20 24 33 / .07);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--page);
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121212;
  --panel: #191919;
  --text: #e6e6e6;
  --quiet: #aaa9ad;
  --dim: #97969c;
  --line: #363638;
  --soft: #252527;
  --bar: rgb(18 18 18 / .9);
  --primary: #dedede;
  --on-primary: #151515;
  --brand-mark: #e0e2e0;
  --blue: #639fff;
  --shadow: 0 14px 36px rgb(0 0 0 / .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, a, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--blue); }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.icon { flex: none; vertical-align: middle; }
.skip { position: fixed; z-index: 100; left: 1rem; top: -5rem; background: var(--primary); color: var(--on-primary); padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: .5rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bar); backdrop-filter: blur(18px); }
.bar { height: 64px; width: min(calc(100% - 96px), 1280px); margin: auto; display: flex; align-items: center; gap: 44px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; line-height: 1; font-weight: 650; letter-spacing: -.07em; white-space: nowrap; }
.brand-mark { width: 27px; height: 27px; display: inline-block; flex: none; background-color: var(--brand-mark); -webkit-mask: url('/public/mark.svg') center / contain no-repeat; mask: url('/public/mark.svg') center / contain no-repeat; }
.desktop-nav, .bar-tools, .mobile-nav { display: flex; align-items: center; }
.desktop-nav { gap: 28px; color: var(--quiet); font-size: 14px; }
.desktop-nav a:hover, .product-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.bar-tools { margin-left: auto; gap: 8px; }
.icon-button, .nav-minor, .nav-download { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 10px; min-height: 34px; gap: 7px; font-size: 14px; font-weight: 500; }
.icon-button { width: 36px; height: 36px; padding: 0; color: var(--quiet); background: transparent; }
.theme-button:hover, .icon-button:hover { color: var(--text); background-color: var(--soft); }
.nav-minor { background: var(--soft); color: var(--text); padding: 0 12px; }
.nav-download { background: var(--primary); color: var(--on-primary); padding: 0 13px; }
.when-dark, [data-theme="dark"] .when-light { display: none; }
[data-theme="dark"] .when-dark { display: inline; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; background: var(--soft); cursor: pointer; border-radius: 50%; }
summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 188px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.member-number { margin: 0 0 5px; padding: 8px 6px 10px; color: var(--quiet); border-bottom: 1px solid var(--line); font-size: .88rem; }
.menu-pop form button, .mobile-nav a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 7px; background: transparent; border: 0; border-radius: 6px; font-size: .88rem; }
.menu-pop form button:hover, .mobile-nav a:hover { background: var(--soft); }
.mobile-nav { display: none; }
.entry-page { min-height: calc(100svh - 64px); display: flex; flex-direction: column; overflow: clip; }
.entry-hero, .product-hero { position: relative; isolation: isolate; padding: 180px 24px 120px; text-align: center; }
.entry-hero { padding-top: clamp(64px, 11.8vh, 138px); padding-bottom: 58px; }
.entry-stack, .product-stack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.app-icon { display: block; border-radius: 23%; width: 96px; height: 96px; background: var(--page); box-shadow: 0 0 18px 6px var(--page); }
.halo { position: relative; isolation: isolate; }
.halo::before { content: ""; position: absolute; z-index: -1; inset: -2px -10px; background: var(--page); filter: blur(9px); }
.product-stack h1, .entry-stack h1 { margin: 24px 0 0; color: var(--text); font-size: 40px; letter-spacing: -.045em; line-height: 56px; font-weight: 520; }
.hero-sub { margin: 10px 0 0; color: var(--quiet); font-size: 17px; line-height: 30px; }
.button { border: 0; border-radius: 12px; min-height: 40px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 520; font-size: 15px; line-height: 22px; transition: background .2s, transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.98); }
.button:disabled { cursor: wait; opacity: .66; }
.primary { background: var(--primary); color: var(--on-primary); }
.primary:hover { opacity: .9; }
.wide { width: 100%; }
.hero-actions {display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.hero-secondary {border:1px solid var(--line);background:var(--panel);color:var(--text)}
.hero-secondary:hover {background:var(--soft)}
.login-panel { width: min(100%, 356px); margin-top: 28px; padding: 22px 24px 19px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); text-align: left; box-shadow: var(--shadow); }
.login-panel label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 540; }
.login-panel input:not([type="hidden"]) { display: block; width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); color: var(--text); font: inherit; font-size: 16px; }
.login-panel input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.login-panel input::placeholder { color: var(--dim); font-size: 14px; }
.login-panel label:not(:first-of-type) { margin-top: 15px; }
.login-panel .button { margin-top: 20px; min-height: 43px; }
.form-message { margin: 10px 0 0; color: light-dark(#9e3022,#ff9f8d); font-size: 14px; }
.entry-footer { margin-top: auto; padding: 20px; color: var(--dim); font-size: 13px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.entry-footer .brand-mark { width: 16px; height: 16px; background: var(--dim); }
dialog { width: min(calc(100% - 32px), 418px); max-height: calc(100svh - 32px); background: var(--panel); color: var(--text); padding: 24px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(0 0 0 / .42); }
.dialog-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-title h2 { font-size: 21px; font-weight: 550; margin: 0; }
.help-note { margin: 15px 0 20px; color: var(--quiet); line-height: 1.75; }
.product-page { overflow: clip; }
.vision-section { padding: 76px 24px 90px; text-align: center; }
.vision-inner { max-width: 700px; margin: 0 auto; }
.vision-mark { width: 46px; height: 46px; }
.vision-section h2, .section-heading h2, .faq-section h2, .plain-section h2 { font-size: 28px; font-weight: 550; line-height: 1.35; letter-spacing: -.035em; margin: 12px 0; }
.vision-section p, .section-heading p, .plain-section p { color: var(--quiet); line-height: 1.8; margin: 0; font-size: 16px; }
.download-section { padding: 76px 24px 120px; }
.section-heading, .plain-section { text-align: center; max-width: 740px; margin: 0 auto 34px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(100%, 980px); margin: auto; }
.download-card { position: relative; overflow: hidden; padding: 28px 24px 24px; text-align: left; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(150deg, color-mix(in srgb,#7aabff 16%, var(--panel)), var(--panel) 77%); }
.download-card:nth-child(2) { background: linear-gradient(150deg, color-mix(in srgb,#a9c2db 22%, var(--panel)), var(--panel) 77%); }
.download-card:nth-child(3) { background: linear-gradient(150deg, color-mix(in srgb,#efbd84 21%, var(--panel)), var(--panel) 77%); }
.download-card > .icon { margin-bottom: 20px; }
.download-card h3 { margin: 0 0 5px; font-size: 24px; line-height: 1.3; font-weight: 570; letter-spacing: -.025em; }
.download-card h3 span { font-size: 15px; color: var(--quiet); font-weight: 480; letter-spacing: 0; }
.download-card p, .download-card small { font-size: 13px; color: var(--quiet); }
.download-card p { margin: 0 0 22px; }
.download-card small { display: block; margin-top: 12px; }
.card-button { color: var(--on-primary); background: var(--primary); min-height: 35px; padding: 6px 13px; font-size: 14px; border-radius: 10px; }
.faq-section { width: min(calc(100% - 48px), 880px); margin: auto; padding: 12px 0 94px; }
.faq-section h2 { margin: 0 0 26px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; list-style: none; font-size: 16px; font-weight: 535; }
.faq-section summary .icon { transition: transform .24s; color: var(--quiet); }
.faq-section details[open] summary .icon { transform: rotate(180deg); }
.faq-section details p { font-size: 15px; line-height: 1.8; margin: -2px 0 20px; max-width: 740px; color: var(--quiet); }
.product-footer { margin: auto; width: min(calc(100% - 96px),1280px); padding: 27px 0 38px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; color: var(--quiet); font-size: 13px; }
.product-footer .brand { font-size: 17px; color: var(--text); }
.product-footer > a:last-child { margin-left: auto; }
@media (max-width: 999px) {
  .bar { width: calc(100% - 64px); gap: 28px; }
  .desktop-nav { gap: 20px; }
  .product-hero { padding-top: 140px; }
  .product-stack h1 { font-size: 36px; line-height: 44px; }
}
@media (max-width: 679px) {
  .bar { width: calc(100% - 36px); height: 58px; gap: 12px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; flex-direction: column; align-items: stretch; }
  .bar-tools { gap: 5px; }
  .entry-page { min-height: calc(100svh - 58px); }
  .entry-hero { padding: clamp(42px, 10vh, 94px) 20px 42px; }
  .product-hero { padding: 130px 20px 110px; }
  .product-stack h1, .entry-stack h1 { margin-top: 16px; font-size: 28px; line-height: 36px; }
  .app-icon { width: 80px; height: 80px; }
  .hero-sub { font-size: 14px; line-height: 23px; margin-top: 8px; }
  .login-panel { margin-top: 24px; padding: 20px; }
  .vision-section { padding: 48px 24px 54px; }
  .vision-section h2, .section-heading h2, .faq-section h2, .plain-section h2 { font-size: 23px; }
  .vision-section p, .section-heading p { font-size: 15px; }
  .download-section { padding: 40px 20px 70px; }
  .download-grid { max-width: 460px; grid-template-columns: 1fr; gap: 12px; }
  .download-card { display: grid; grid-template-columns: 1fr auto; padding: 20px; }
  .download-card > .icon { display: none; }
  .download-card h3, .download-card p, .download-card small { grid-column: 1; }
  .download-card p { margin: 2px 0 0; }
  .download-card small { margin: 6px 0 0; }
  .download-card .card-button { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .faq-section { padding-bottom: 62px; }
  .product-footer { width: calc(100% - 40px); flex-wrap: wrap; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
