:root {
  color-scheme: light;
  --bg: #f9f9f6;
  --ink: #171b2b;
  --muted: #4f586e;
  --line: #dbdfe8;
  --blue: #354ddb;
  --dark: #171d36;
  --mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #5269ff; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 22px; }
.container { width: min(1260px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: 12px auto auto 12px; padding: 9px 16px; color: #fff; background: var(--blue); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.header { border-bottom: 1px solid #e0e1e4; }
.masthead, .footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 820; letter-spacing: -.06em; }
.brand-mark { position: relative; width: 33px; height: 33px; border-radius: 9px; background: var(--blue); display: inline-block; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; }
.brand-mark::before { left: 9px; top: 8px; width: 2px; height: 17px; background: #fff; }
.brand-mark::after { left: 11px; top: 10px; width: 11px; height: 10px; border-radius: 0 0 8px 0; border: solid #fff; border-width: 0 2px 2px 0; }
.brand-mark i { position: absolute; z-index: 1; width: 6px; height: 6px; border-radius: 50%; border: 2px solid #fff; background: var(--blue); }
.brand-mark i:nth-child(1) { left: 7px; top: 6px; }
.brand-mark i:nth-child(2) { left: 7px; bottom: 5px; }
.brand-mark i:nth-child(3) { right: 6px; top: 6px; }
nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--blue); }
.nav-login { border: 1px solid #bec8f1; border-radius: 8px; padding: 7px 14px; color: var(--blue); font-weight: 750; }
.nav-login:hover { background: #e6ebff; }
.hero { min-height: 650px; display: grid; grid-template-columns: .9fr 1.3fr; align-items: center; gap: 34px; padding-block: 70px 63px; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: #3e50bb; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.eyebrow span, figcaption span:first-child { width: 7px; height: 7px; background: currentColor; border-radius: 50%; flex: 0 0 7px; }
h1, h2, h3 { margin: 0; line-height: 1.17; text-wrap: balance; }
h1 { font-size: clamp(56px, 6.65vw, 96px); letter-spacing: -.045em; font-weight: 850; }
h1 em { color: var(--blue); font-style: normal; }
.lead { max-width: 382px; margin: 23px 0 25px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid #cbd1e4; border-radius: 8px; padding: 11px 17px; min-height: 48px; font-size: 14px; font-weight: 730; }
.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.primary:hover { background: #263bbd; }
.secondary:hover { border-color: var(--blue); color: var(--blue); }
.availability { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.hero-product {
  position: relative; min-width: 0; margin: 0; overflow: hidden;
  padding: 27px 26px 17px; border: 1px solid #252d53; border-radius: 22px;
  background: radial-gradient(ellipse at 87% 4%, #5362d0 0, transparent 49%),
    linear-gradient(135deg, #20264b, #292e65 60%, #3a4388);
}
.hero-product::before {
  content: ""; position: absolute; pointer-events: none; inset: 0;
  background-image: linear-gradient(#a2a9fc18 1px, transparent 1px), linear-gradient(90deg, #a2a9fc18 1px, transparent 1px);
  background-size: 32px 32px;
}
.studio { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #858ac968; background: #151b22; box-shadow: 0 21px 44px #090e2e8a; }
.studio-bar, .studio-status { display: flex; align-items: center; justify-content: space-between; padding: 0 13px; color: #bfc8de; font: 11px var(--mono); }
.studio-bar { height: 36px; border-bottom: 1px solid #374158; background: #252c3c; }
.studio-status { height: 25px; background: #283045; border-top: 1px solid #414a5f; }
.window-lights { display: flex; gap: 5px; }
.window-lights i { width: 7px; height: 7px; border-radius: 50%; background: #63776c; }
.window-lights i:first-child { background: #df8d8b; }
.window-lights i:nth-child(2) { background: #d9b570; }
.window-lights i:last-child { background: #8dbd9e; }
.hero-shot { display: block; width: 100%; height: auto; }
figcaption { position: relative; display: flex; align-items: center; gap: 9px; margin: 16px 0 0; color: #e5e9ff; font-size: 12px; }
.caption-divider { height: 12px; border-left: 1px solid #b7c1ef8c; }
.features-band { background: #e9edf9; border-block: 1px solid #d5dcef; padding-block: 65px 74px; }
.section-title h2 { font-size: clamp(32px, 4.05vw, 52px); letter-spacing: -.028em; }
.section-title > p:last-child:not(.eyebrow) { margin: 13px 0 0; color: var(--muted); }
.feature-layout { margin-top: 25px; }
.feature-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.feature-nav button { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; text-align: left; padding: 12px; color: var(--ink); border: 1px solid #cfd7ed; background: #f8faff; border-radius: 10px; cursor: pointer; }
.feature-nav button:hover { border-color: #7c8ee1; }
.feature-nav [aria-selected="true"] { background: #303fa9; border-color: #303fa9; color: #fff; }
.feature-symbol { display: grid; place-items: center; width: 36px; height: 36px; color: #3449c0; font: 22px var(--mono); background: #e3e8ff; border-radius: 7px; }
.feature-nav small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }
.feature-nav [aria-selected="true"] small { color: #e0e6ff; }
.feature-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; min-height: 344px; align-items: center; border: 1px solid #cbd2ec; border-radius: 14px; background: #f5f7ff; padding: 24px 38px; }
#panel-compare { background: #f4f0ff; }
#panel-review { background: #eff7ee; }
.feature-detail > div:first-child { padding: 10px 0 30px; max-width: 455px; }
.feature-detail h3 { font-size: clamp(25px, 3.3vw, 43px); }
.feature-detail p:not(.feature-area) { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.feature-area { margin: 0 0 10px; color: #3e51bd; font-size: 13px; font-weight: 750; }
.feature-image { justify-self: center; width: min(100%, 350px); max-height: 400px; overflow: auto; border: 1px solid #445064; border-radius: 10px; background: #202428; box-shadow: 0 12px 24px #1b285e29; }
.feature-image img { display: block; width: 100%; height: auto; }
.graph-image { width: 100%; max-height: none; }
.history-image, .compare-image, .review-image { max-height: 340px; }
.compare-image img, .review-image img { margin-top: -65%; }
.editions-band { padding-block: 73px; background: #faf8f3; }
.editions-title { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 28px; }
.editions-title > p { max-width: 340px; }
.table-frame { border: 1px solid #d4d9e7; border-radius: 13px; overflow: hidden; margin-top: 25px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; text-align: left; }
th, td { padding: 13px 18px; }
thead th { color: #fff; background: #242b46; font-size: 15px; }
thead th:first-child { width: 58%; }
thead th:not(:first-child), td { text-align: center; }
tbody tr + tr { border-top: 1px solid #e4e7ef; }
tbody th { font-weight: 600; }
tbody td { font-size: 14px; }
tbody .pro-column { background: #edf0ff; }
thead .pro-column { background: #3548c5; }
.included { color: #2f429f; font-size: 19px; font-weight: 700; }
.unavailable { color: #69738c; }
.pricing { display: grid; grid-template-columns: .63fr 2fr; align-items: center; gap: 23px; padding: 23px 26px; margin-top: 20px; border-radius: 13px; background: #202746; color: #f5f7ff; }
.pricing h3 { font-size: 25px; }
.pricing p { color: #c5cdef; font-size: 13px; margin: 6px 0 0; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid #586288; }
.price-option { padding: 4px 12px; }
.price-option + .price-option { border-left: 1px solid #586288; }
.price-option > span { display: block; color: #cbd3ff; font-size: 13px; }
.price-option strong { font-size: clamp(23px, 3.5vw, 40px); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.price-option small { white-space: nowrap; color: #c7cfee; }
.price-option a { display: inline-flex; align-items: center; min-height: 36px; margin-top: 10px; padding: 5px 10px; background: #dce4ff; color: #252f70; font-size: 13px; font-weight: 750; border-radius: 6px; }
.price-option a:hover { background: #fff; }
.pricing-intro a { display: block; margin-top: 10px; color: #dce4ff; font-size: 13px; text-decoration: underline; }
#pricing { scroll-margin-top: 20px; }
tbody th a:hover { color: var(--blue); text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.install-band { background: #f0eee8; border-block: 1px solid #e1ded4; }
.install { padding-block: 64px; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 27px 0 0; padding-left: 22px; gap: 28px; }
.install-steps li { padding-left: 8px; border-top: 2px solid #6d79c5; }
.install-steps li::marker { color: var(--blue); font: bold 16px var(--mono); }
.install-steps p { margin: 0; padding-top: 14px; }
.install-steps span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
kbd { padding: 1px 4px; font-family: var(--mono); border: 1px solid #b9bfd4; border-radius: 4px; }
.footer { color: var(--muted); font-size: 13px; }
.footer-inner { flex-wrap: wrap; }
.footer .brand { color: var(--ink); }
@media (max-width: 1120px) {
  .container { width: min(1260px, calc(100% - 56px)); }
  .hero { gap: 22px; min-height: 510px; }
  .hero-product { padding: 16px 15px 13px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .masthead { min-height: 62px; gap: 12px; }
  .brand { font-size: 20px; }
  nav { gap: 12px; font-size: 12px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 49px 42px; gap: 27px; }
  h1 { font-size: clamp(52px, 11vw, 77px); }
  .lead { font-size: 16px; margin-block: 18px; }
  .features-band, .editions-band, .install { padding-block: 43px; }
  .feature-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .feature-nav button { display: flex; min-height: 70px; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 4px; font-size: 11px; text-align: center; }
  .feature-nav small { display: none; }
  .feature-symbol { width: 22px; height: 22px; font-size: 15px; }
  .feature-detail { min-height: 256px; grid-template-columns: 1fr; gap: 12px; padding: 17px 13px; }
  .feature-detail > div:first-child { padding: 0; }
  .feature-detail h3 { font-size: 21px; }
  .feature-detail p:not(.feature-area) { font-size: 13px; }
  .feature-image { max-height: 310px; }
  .graph-image { max-height: none; }
  .graph-image img { min-width: 460px; }
  .price-option a { padding-inline: 6px; font-size: 12px; }
  tbody th { font-size: 13px; }
  th, td { padding: 11px 8px; }
  .pricing { grid-template-columns: 1fr; gap: 12px; padding: 16px 11px; }
  .pricing-intro { padding-left: 7px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; row-gap: 12px; }
  .price-option:nth-child(odd) { border-left: 0; }
  .price-option { padding: 3px 8px; }
  .price-option small { display: block; }
  .install-steps { grid-template-columns: 1fr; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.home-auth { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 26px; overflow: auto; background: #fff; color: var(--ink); border: 1px solid #d7def4; border-radius: 18px; box-shadow: 0 24px 80px #151b5555; }
.home-auth::backdrop { background: #171d36a6; }
.home-auth-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-auth-heading h2 { font-size: 25px; }
.home-auth-close { color: #414c69; background: #f0f2fa; border: 0; border-radius: 8px; width: 38px; min-height: 38px; cursor: pointer; font-size: 24px; }
#home-auth-context { color: var(--muted); margin: 10px 0 16px; }
.home-auth-switch { display: grid; grid-template-columns: 1fr 1fr; border-radius: 9px; padding: 4px; background: #eff1f9; }
.home-auth-switch button { color: #485372; background: transparent; border: 0; padding: 7px; border-radius: 6px; cursor: pointer; }
.home-auth-switch [aria-pressed="true"] { color: #263dad; background: #fff; box-shadow: 0 1px 4px #1c275023; font-weight: 700; }
.home-auth label { display: grid; gap: 5px; margin-block: 13px; font-size: 14px; font-weight: 650; }
.home-auth input { width: 100%; padding: 9px 11px; color: var(--ink); border: 1px solid #bdc6e1; border-radius: 7px; background: #fcfcff; font: inherit; font-weight: 400; }
.home-auth input:focus-visible { outline: 2px solid #5269ff; outline-offset: 2px; }
.home-auth-submit { width: 100%; cursor: pointer; }
.home-auth-submit:disabled { opacity: .65; cursor: wait; }
.home-auth-message { margin: 10px 0; font-size: 13px; color: #8d3338; }
.home-auth-message:empty { display: none; }
.home-auth-reset { display: block; margin: 14px auto 0; padding: 4px; border: 0; color: #263dad; background: transparent; cursor: pointer; text-decoration: underline; }
