:root {
  --accent: #1457ff;
  --ink: #172033;
  --muted: #617080;
  --line: rgba(23, 32, 51, 0.12);
  --paper: #f4f5f1;
  --card: rgba(255, 255, 255, 0.82);
  --container: min(1200px, calc(100% - 2.5rem));
  --header-height: 68px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.65; background: radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--accent), transparent 84%), transparent 30%), var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 245, 241, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 750; }
.brand-mark { display: block; width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.brand small { display: block; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.14em; }
.nav { display: flex; gap: 1.4rem; font-size: 0.84rem; color: var(--muted); }
.nav a:hover { color: var(--accent); }
.back-link { padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; }

.hero {
  display: grid;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(1.75rem, 4vh, 3.25rem) 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.eyebrow, .section-kicker { font: 0.7rem/1.4 "Cascadia Code", monospace; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.hero h1 { margin: 0.8rem 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.065em; }
.hero-lead { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 46px; padding: 0 1.25rem; border-radius: 999px; font-weight: 650; font-size: 0.88rem; }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(23, 32, 51, 0.2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }
.hero-download { margin-top: 1.7rem; }
.hero-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.download-button { min-width: 13rem; }
.download-button[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.platform-picker { display: flex; align-items: center; gap: .75rem; margin-top: .8rem; color: var(--muted); font-size: .68rem; }
.platform-picker > div { display: flex; gap: .35rem; flex-wrap: wrap; }
.platform-picker button { padding: .25rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.5); cursor: pointer; font-size: .68rem; }
.platform-picker button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }

.showcase-stage { position: relative; min-height: clamp(320px, 54vh, 460px); min-height: clamp(320px, 54svh, 460px); display: grid; place-items: center; overflow: visible; }
.showcase-stage figure { width: 100%; margin: 0; }
.showcase-stage figcaption { margin-top: 1.1rem; text-align: center; color: var(--muted); font-size: .68rem; }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #eef1f5; }
.device-screen > img { width: 100%; height: 100%; object-fit: cover; }
.device-laptop { width: min(100%, 560px); margin-inline: auto; filter: drop-shadow(0 26px 24px rgba(23,32,51,.2)); }
.laptop-lid { position: relative; width: 88%; aspect-ratio: 16 / 10; margin: auto; padding: 14px 14px 18px; border-radius: 1.1rem 1.1rem .45rem .45rem; background: linear-gradient(145deg, #252c39, #111722); border: 1px solid #424a58; }
.laptop-camera { position: absolute; top: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #687383; box-shadow: 0 0 0 1px #0c1018; }
.laptop-lid .device-screen { border-radius: .25rem; }
.laptop-base { position: relative; width: 100%; height: 24px; margin-top: -1px; border-radius: 3px 3px 45% 45%; background: linear-gradient(180deg, #dce0e5 0%, #9ea6b0 65%, #737b86 100%); box-shadow: inset 0 1px 0 #f8fafc; }
.laptop-base::before { content: ""; position: absolute; left: 7%; right: 7%; top: 0; height: 5px; background: #c7ccd3; border-radius: 0 0 10px 10px; }
.laptop-base i { position: absolute; left: calc(50% - 34px); top: 0; width: 68px; height: 5px; border-radius: 0 0 8px 8px; background: #858d98; }
.device-phone { position: relative; width: min(220px, 62%); aspect-ratio: 9 / 19; margin: auto; padding: 9px; border-radius: 2.2rem; background: #171c27; box-shadow: 0 24px 48px rgba(23,32,51,.25); }
.device-phone > i { position: absolute; z-index: 2; width: 58px; height: 14px; margin: 6px 0 0 calc(50% - 29px); border-radius: 999px; background: #171c27; }
.device-phone .device-screen { border-radius: 1.65rem; }
.device-mixed { position: relative; min-height: 360px; display: flex; align-items: center; }
.device-mixed .device-laptop { width: 88%; }
.device-mixed .device-phone { position: absolute; right: 0; bottom: -1rem; width: 30%; }
.screen-placeholder { height: 100%; display: grid; place-content: center; gap: .35rem; padding: 1.5rem; text-align: center; background: linear-gradient(145deg, #f8fafc, color-mix(in srgb, var(--accent), white 88%)); }
.screen-placeholder span { color: var(--accent); font: .58rem "Cascadia Code", monospace; letter-spacing: .12em; }
.screen-placeholder strong { font-size: .95rem; }
.screen-placeholder small { color: var(--muted); font-size: .66rem; }

.section { padding: 4.25rem 0; }
.section-alt { background: rgba(255,255,255,.48); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section h2 { margin: 0.6rem 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.05em; }
.section-intro { color: var(--muted); }
#features { padding-block: 3rem; }
#features .section-head { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); align-items: end; max-width: none; gap: 2rem; margin-bottom: 1.35rem; }
#features .section-kicker { grid-column: 1 / -1; margin: 0; }
#features .section-intro { margin: 0; }
#features h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.highlight { min-height: 125px; padding: 1.15rem; border-radius: 1.2rem; background: var(--card); border: 1px solid var(--line); }
.highlight b { display: block; margin-bottom: 1.35rem; color: var(--accent); font: 0.68rem "Cascadia Code", monospace; }
.highlight h3 { margin: 0; font-size: 1.05rem; }

.release-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: 1.8rem; background: var(--ink); color: #fff; }
.release-version { margin: 0; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.06em; }
.release-date { color: #aeb8c7; font-size: 0.8rem; }
.download-list { display: grid; gap: 0.7rem; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.download:hover { background: rgba(255,255,255,.16); }
.download small { display: block; color: #b6c0cd; }
.coming { padding: 3rem; border: 1px dashed var(--line); border-radius: 1.5rem; text-align: center; color: var(--muted); background: rgba(255,255,255,.45); }

.release-history { display: grid; gap: 0; border-top: 1px solid var(--line); }
.release-row { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.release-row h3 { margin: 0; font-size: 1.35rem; }
.release-row time { color: var(--muted); font-size: 0.76rem; }
.change-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.change-columns h4 { margin: 0 0 0.5rem; font-size: 0.82rem; }
.change-columns ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.86rem; }
.release-downloads { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.release-download { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 210px; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 0.85rem; background: var(--card); font-size: 0.82rem; font-weight: 650; }
.release-download:hover { border-color: var(--accent); color: var(--accent); }
.release-download span { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: steps; }
.step { counter-increment: steps; padding: 1.5rem; border-left: 2px solid var(--accent); background: rgba(255,255,255,.48); }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 2rem; color: var(--accent); font: 0.72rem "Cascadia Code", monospace; }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
details { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.58); }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.88rem; }

.ad-shell { min-height: 90px; margin: 2rem auto; display: grid; place-items: center; }
.ad-shell::before { content: "ADVERTISEMENT"; color: var(--muted); font: 0.58rem "Cascadia Code", monospace; letter-spacing: .12em; }
.ad-shell .adsbygoogle { width: 100%; }
.privacy { max-width: 760px; color: var(--muted); font-size: 0.86rem; }
.privacy h2 { color: var(--ink); }
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.76rem; }
.footer-links { display: flex; gap: 1rem; }
.consent {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: min(420px, calc(100% - 2rem)); padding: 1.2rem;
  color: #fff; background: var(--ink); border-radius: 1.2rem;
  box-shadow: 0 18px 60px rgba(23,32,51,.28);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 1rem; color: #c8d0da; font-size: .82rem; }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent button { padding: .55rem .9rem; border: 0; border-radius: 999px; cursor: pointer; }
.consent-accept { color: #fff; background: var(--accent); }

@media (max-width: 820px) {
  :root { --container: min(100% - 2rem, 680px); }
  .nav { display: none; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 1.75rem 0 2.25rem; overflow: clip; }
  .hero-grid, .release-card { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .hero-lead { max-width: 38rem; margin-block: .75rem 0; line-height: 1.7; }
  .hero-download { margin-top: 1.25rem; }
  .showcase-stage { min-height: clamp(280px, 36svh, 360px); }
  .device-laptop { width: min(86%, 520px); }
  #features .section-head { grid-template-columns: 1fr; gap: .7rem; }
  .highlights, .steps { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --container: calc(100% - 1.25rem); --header-height: 60px; }
  .header-inner { gap: .75rem; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand small { display: none; }
  .back-link { display: none; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 1.25rem 0 1.75rem; }
  .hero-grid { gap: 1.15rem; }
  .eyebrow { margin: 0; font-size: .6rem; }
  .hero h1 { margin: .45rem 0; font-size: clamp(2.55rem, 14vw, 3.6rem); }
  .hero-lead { margin: 0; font-size: .92rem; line-height: 1.58; }
  .hero-download { margin-top: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; min-height: 43px; }
  .platform-picker { align-items: flex-start; flex-direction: column; gap: .45rem; margin-top: .65rem; }
  .showcase-stage { min-height: clamp(210px, 29svh, 280px); }
  .showcase-stage figcaption { margin-top: .55rem; }
  .device-laptop { width: min(94%, 430px); }
  .device-phone { width: min(132px, 36vw); }
  .device-mixed { min-height: 230px; }
  .device-mixed .device-laptop { width: 88%; }
  .device-mixed .device-phone { width: 28%; }
  .release-row { grid-template-columns: 1fr; gap: 1rem; }
  .change-columns { grid-template-columns: 1fr; }
  .release-download { width: 100%; min-width: 0; }
}
@media (max-height: 700px) and (min-width: 821px) {
  .hero { padding-block: 1.25rem; }
  .hero h1 { font-size: clamp(3rem, 8vh, 4.5rem); }
  .hero-lead { line-height: 1.6; }
  .hero-download { margin-top: 1rem; }
  .showcase-stage { min-height: clamp(280px, 50svh, 360px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
