:root {
  color-scheme: light;
  --paper: #f9f7fb;
  --surface: #fff;
  --ink: #251d31;
  --muted: #625670;
  --line: #e2daea;
  --hero-base: #1e1628;
  --accent: #6840a4;
  --green: #8cdda6;
  --mono: "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 system-ui, "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #7348b5; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; transform: translateY(-150%); padding: 8px 14px; background: white; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.035em; font-size: 20px; white-space: nowrap; }
.brand img { border-radius: 9px; }
#main-nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 26px); font-size: 14px; font-weight: 680; }
#main-nav a, .site-footer nav a { padding-block: 7px; }
#main-nav a:hover, .site-footer nav a:hover, .footer-meta a:hover { color: var(--accent); }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--green); color: #123620; font-weight: 850; line-height: 1.35; white-space: nowrap; cursor: pointer; transition: background .18s, transform .18s; }
.button:hover { background: #acebbd; transform: translateY(-1px); }
.button-small { padding: 10px 15px; font-size: 13px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 76% 51%, #533a6c 0, var(--hero-base) 61%); color: #faf5ff; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(#e3c8ff15 1px, transparent 1px), linear-gradient(90deg, #e3c8ff15 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent 23%, #000 75%); }
.platform-bar { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; border-bottom: 1px solid #d3b4f530; color: #e1cff5; font: 700 11px/1.45 var(--mono); letter-spacing: .08em; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 490px; gap: clamp(18px, 4vw, 48px); padding-block: 32px; }
.eyebrow { color: var(--accent); font: 800 11px/1.45 var(--mono); letter-spacing: .12em; }
.hero :focus-visible, .download-panel :focus-visible { outline-color: #e1c8ff; }
.hero .eyebrow, .download-panel .eyebrow { color: #d9bfff; }
.hero h1 { font-size: clamp(56px, 7.7vw, 112px); font-weight: 900; line-height: .96; letter-spacing: -.085em; margin-block: 16px 20px; }
.hero h1 span { display: block; font-size: clamp(23px, 3.1vw, 42px); line-height: 1.25; letter-spacing: -.02em; margin-top: 11px; }
.hero-description { max-width: 36ch; color: #e0d2ea; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; margin-top: 24px; }
.hero-link { font-size: 13px; font-weight: 750; color: #f0e1fc; }
.hero-link:hover { color: var(--green); }
.hero-link span { margin-left: 3px; }
.hero-visual { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(10px, 1.8vw, 23px); align-items: center; padding: 18px 0 15px; position: relative; isolation: isolate; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; inset: 50% auto auto 41%; width: 69%; aspect-ratio: 1; border: 1px solid #bf96ec60; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; }
.hero-visual::after { width: 88%; border-color: #bf96ec33; }
.hero-device { width: min(100%, 226px); justify-self: end; border-radius: 19px; padding: 7px 7px 0; background: #130d1b; border: 1px solid #8b6aa6; box-shadow: 0 19px 42px #1009147a; transform: rotate(-6deg); }
.hero-device img { border-radius: 12px 12px 7px 7px; width: 100%; }
.hero-device figcaption { color: #e5d3f4; text-align: center; font: 700 10px/1.2 var(--mono); padding: 8px 0; }
.status-card { padding: clamp(13px, 2vw, 22px); border: 1px solid #b898d555; border-radius: 12px; background: #3b294e; box-shadow: 0 18px 42px #1009145c; }
.status-card h2 { font-size: 19px; line-height: 1.2; margin: 6px 0 13px; }
.hero-fps { color: #a0ebaf; font: 750 13px/1 var(--mono); margin-bottom: 13px; }
.hero-fps strong { font-size: clamp(40px, 4vw, 65px); font-weight: 850; letter-spacing: -.1em; }
.status-list > div { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-list dt { color: var(--muted); }
.status-list dd { text-align: right; font-weight: 750; }
.status-card .status-list > div { border-color: #c8a7e333; font-size: 12px; }
.status-card dt { color: #e1cde9; }
.progress-label { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #e3d0ed; margin-top: 13px; }
.progress-label strong { color: var(--green); font-family: var(--mono); }
progress { display: block; width: 100%; height: 5px; margin-top: 7px; border: 0; border-radius: 6px; accent-color: var(--green); }
progress::-webkit-progress-bar { background: #5e4375; border-radius: 6px; }
progress::-webkit-progress-value { background: var(--green); border-radius: 6px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 6px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 13px 0 16px; border-top: 1px solid #d3b4f530; }
.hero-note strong { font-size: 13px; letter-spacing: .08em; }
.hero-note p { font-size: 13px; color: #e1d2eb; }

.section { padding-block: clamp(45px, 6.2vw, 84px); scroll-margin-top: 18px; }
.tinted { background: #f0eaf6; border-block: 1px solid #e6dcef; }
.section-heading { margin-bottom: 25px; }
.section-heading h2 { margin: 7px 0 8px; font-size: clamp(25px, 3.6vw, 45px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p:last-child { color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.screenshot { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #eee7f4; }
.screenshot img { width: 100%; border-radius: 8px; background: #d9cbe5; }
.screenshot figcaption { display: flex; align-items: center; gap: 10px; margin: 11px 2px 1px; }
.screenshot strong { font-size: 14px; }

.setup-grid { display: grid; grid-template-columns: 1.28fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: start; }
.options { display: grid; gap: 16px; }
.options fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.options legend { margin-bottom: 7px; padding: 0; font-weight: 760; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: grid; place-items: center; padding: 10px 3px; border: 1px solid #cdbddc; border-radius: 7px; background: var(--surface); font-size: 14px; font-weight: 700; }
.choices label:hover span { border-color: var(--accent); }
.choices input:checked + span { background: var(--accent); color: white; border-color: var(--accent); }
.choices input:focus-visible + span { outline: 3px solid #7348b5; outline-offset: 3px; }
.summary { padding: clamp(17px, 3vw, 28px); background: var(--surface); border: 1px solid #dacbe8; border-radius: 13px; box-shadow: 0 12px 25px #48295813; }
.summary h3 { margin: 5px 0 9px; font-size: 23px; }
.score { display: flex; align-items: baseline; gap: 10px; margin: 13px 0; color: var(--muted); font-size: 13px; }
.score output { color: var(--accent); font: 850 47px/.9 var(--mono); letter-spacing: -.08em; }
.summary .button { width: 100%; border-color: #73c88c; }
.feedback { margin-top: 9px; min-height: 1.5em; color: #236746; font-size: 13px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
table { width: 100%; min-width: 405px; border-collapse: collapse; text-align: left; }
th, td { padding: 13px clamp(9px, 2.4vw, 27px); border-bottom: 1px solid var(--line); font-size: 14px; }
thead th { background: #ebe1f6; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
td strong { color: var(--accent); font: 850 17px/1 var(--mono); margin-right: 7px; }
td span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.steps-heading { margin: 25px 0 9px; font-size: 19px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.steps li { border-top: 2px solid #956dc4; background: #f0eaf7; border-radius: 0 0 7px 7px; padding: 15px; }
.steps h4 { margin-block: 5px 4px; font-size: 15px; }
.steps li > p:last-child { font-size: 13px; color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 25px; align-items: start; }
.faq-list { border-top: 1px solid #d5c8e2; }
.faq-list details { border-bottom: 1px solid #d5c8e2; }
.faq-list summary { display: flex; align-items: center; gap: 11px; padding: 15px 0; cursor: pointer; list-style: none; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); margin-left: auto; font: 800 22px/1 var(--mono); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); padding: 0 18px 15px 33px; font-size: 14px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.review h3 { font-size: 14px; }
.review time { font: 600 11px/1.3 var(--mono); color: var(--muted); }
.review p { margin-top: 7px; color: var(--muted); font-size: 14px; }

.download-section { padding-bottom: clamp(42px, 6.2vw, 80px); }
.download-panel { padding: clamp(21px, 4vw, 45px); display: flex; align-items: center; justify-content: space-between; gap: 17px; border-radius: 14px; background: radial-gradient(ellipse at 85% 30%, #5a3d71, #2b203a 70%); color: #fbf5ff; }
.download-panel h2 { font-size: clamp(23px, 3vw, 38px); line-height: 1.25; margin-block: 7px; }
.download-panel p:last-child { color: #eadcf4; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.footer-meta small { font-size: inherit; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .hero-grid { min-height: 415px; }
  .status-card .status-list > div { gap: 6px; }
}
@media (max-width: 730px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 9px; flex-wrap: wrap; }
  .brand img { width: 31px; }
  .brand { font-size: 18px; }
  #main-nav { order: 4; width: 100%; padding: 0 0 11px; gap: 10px 16px; }
  .menu-ready .menu-button { display: inline-flex; margin-left: auto; border: 1px solid var(--line); background: white; border-radius: 6px; padding: 6px 9px; color: var(--ink); font-size: 13px; cursor: pointer; }
  .menu-ready #main-nav { display: none; position: absolute; top: 100%; left: 0; padding: 9px 18px; background: white; box-shadow: 0 12px 21px #251d3126; }
  .menu-ready #main-nav.is-open { display: flex; }
  .platform-bar { font-size: 9px; }
  .platform-bar span:last-child { text-align: right; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding: 31px 0 21px; }
  .hero h1 { margin-block: 11px 15px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 17px; }
  .hero-visual { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); max-width: 490px; margin-inline: auto; gap: 13px; }
  .hero-device { width: min(92%, 190px); }
  .gallery, .steps, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .screenshot { padding: 8px; }
  .setup-grid, .faq-grid { grid-template-columns: 1fr; gap: 22px; }
  .faq-grid .section-heading { margin-bottom: 0; }
  .download-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .button { padding-inline: 12px; }
  .hero-actions { gap: 11px; }
  .status-card { padding: 9px; }
  .status-card h2 { font-size: 16px; }
  .status-card .status-list > div { font-size: 10px; }
  .platform-bar span:last-child { max-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

