@charset "UTF-8";
:root {
  --bg: #f5f7fb;
  --surface: #fff;
  --soft: #eaf0fa;
  --text: #17233b;
  --secondary: #566780;
  --muted: #617087;
  --line: #d8e1ee;
  --accent: #285bce;
  --accent-soft: #e6edff;
  --glass: rgb(245 247 251 / 92%);
  --mono: "Cascadia Code", Consolas, monospace;
  --font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #10151f;
  --surface: #18212f;
  --soft: #202b3e;
  --text: #eef3ff;
  --secondary: #acbad0;
  --muted: #a0aec4;
  --line: #334157;
  --accent: #a3beff;
  --accent-soft: #263859;
  --glass: rgb(16 21 31 / 92%);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  font: 15px/1.8 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button {
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: clamp(29px, 3.2vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1.3;
  text-wrap: balance;
}
h3 {
  font-size: 17px;
  font-weight: 650;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent-soft);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.mono {
  font-family: var(--mono);
}
.eyebrow {
  font: 10px/1.7 var(--mono);
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 19px;
}
.section {
  padding-block: 95px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 38px;
}
.intro {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--secondary);
}
.intro br {
  display: block;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--accent);
  font-size: 13px;
}
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 50;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 25;
}
.header-inner {
  width: min(1360px, calc(100% - 56px));
  height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand small {
  font-size: 10px;
  font-weight: 450;
  color: var(--secondary);
  margin-left: 2px;
  letter-spacing: 0;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  color: var(--secondary);
  font-size: 12px;
}
.site-nav a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-actions button {
  height: 40px;
  min-width: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 0;
  border-radius: 7px;
  color: var(--secondary);
  font: 11px var(--mono);
}
.header-actions button:hover {
  background: var(--soft);
}
#theme-toggle svg,
#site-menu svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.github-link {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 8px 13px;
  font-size: 11px;
  margin-left: 5px;
}
#site-menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 46px;
  padding: 10px 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: #285bce;
  color: #fff;
  border-color: #285bce;
}
.button.primary:hover {
  background: #204eb5;
}
.button.quiet {
  border-color: transparent;
  background: none;
  padding-inline: 0;
}
.hero {
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 55px;
  min-height: min(680px, calc(100svh - 126px));
  padding-block: 60px;
}
.hero-copy {
  animation: arrive 0.7s both;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(66px, 7.3vw, 108px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.085em;
}
.hero h1 span {
  color: var(--accent);
}
.hero-tagline {
  font-size: 27px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin-top: 26px;
}
.hero-description {
  max-width: 375px;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font: 9px var(--mono);
  color: var(--secondary);
  letter-spacing: 0.06em;
}
.hero-bottom a {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0;
}
.hero-visual {
  min-width: 0;
  position: relative;
  animation: arrive 0.9s 0.12s both;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font: 9px var(--mono);
  color: var(--muted);
  margin-bottom: 12px;
}
.live-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-mark::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.screen-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 25px 50px -30px #13275355;
}
.visual-foot {
  margin-top: 13px;
  font-size: 10px;
  color: var(--secondary);
  text-align: right;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 3px;
  background: var(--soft);
}
.segmented button {
  border: 0;
  border-radius: 5px;
  padding: 7px 14px;
  color: var(--secondary);
  font-size: 11px;
  min-height: 34px;
  white-space: nowrap;
}
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 3px #00000010;
}
.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.demo-tabs {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
.demo-tabs button {
  border: 0;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  color: var(--secondary);
  font-size: 12px;
}
.demo-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.compare-stage {
  height: 570px;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  background: #15171c;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
}
.compare-stage img {
  max-height: 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
  animation: arrive 0.25s both;
}
.compare-stage[data-kind="mobile"] img {
  width: 100%;
}
.compare-stage[data-kind="sessions"] img {
  width: min(420px, 90%);
  image-rendering: auto;
}
.compare-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 11px;
}
.compare-caption p {
  max-width: 700px;
}
.feature-section {
  background: var(--surface);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
}
.feature-row {
  display: flex;
  gap: 19px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.feature-row .index {
  color: var(--accent);
  font: 10px var(--mono);
  margin-top: 5px;
}
.feature-row h3 {
  font-size: 15px;
}
.feature-row p {
  margin-top: 7px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.95;
}
.summary-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 55px;
  border-top: 1px solid var(--line);
}
.summary-copy > p:not(.eyebrow) {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.95;
  margin-top: 18px;
}
.summary-copy h3 {
  font-size: 29px;
  letter-spacing: -0.05em;
  line-height: 1.4;
}
.summary-copy .inline-link {
  margin-top: 20px;
}
.install-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.install-copy > p {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.95;
  margin-top: 19px;
}
.requirements {
  padding-top: 22px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}
.requirements p {
  font-size: 11px;
  color: var(--secondary);
  margin-top: 7px;
}
.install-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  align-self: start;
}
.install-box .demo-tabs {
  padding: 0 24px;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.install-box .demo-tabs button {
  padding: 15px 0;
  font-size: 11px;
}
.command-box {
  padding: 25px;
}
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px var(--mono);
  color: var(--secondary);
}
.copy {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  font: 10px var(--font);
  background: var(--bg);
  min-height: 30px;
}
.copy:hover {
  color: var(--accent);
}
pre {
  padding: 18px;
  margin: 14px 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.9 var(--mono);
}
.command-note {
  font-size: 11px;
  color: var(--secondary);
  line-height: 1.9;
}
.source-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
}
.faq-section {
  background: var(--surface);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-layout h2 {
  font-size: 28px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 19px 0;
  font-size: 13px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--muted);
  font: 18px var(--mono);
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 15px 22px 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.95;
}
.site-footer {
  padding: 44px 0 27px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 32px;
}
.footer-brand {
  font-weight: 750;
  font-size: 31px;
  letter-spacing: -0.065em;
}
.footer-brand span {
  color: var(--accent);
}
.footer-top p {
  font-size: 11px;
  color: var(--secondary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--secondary);
  font: 9px var(--mono);
}
.footer-bottom div {
  display: flex;
  gap: 22px;
}
.footer-bottom a:hover {
  color: var(--accent);
}
.reveal {
  transition:
    opacity 0.55s,
    transform 0.55s;
}
.reveal.pending {
  opacity: 0;
  transform: translateY(18px);
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 15px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 1050px) {
  .hero-grid {
    gap: 35px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 78px;
  }
  .brand small {
    display: none;
  }
  .hero-tagline {
    font-size: 24px;
  }
  .site-nav {
    gap: 17px;
  }
  .header-inner {
    gap: 20px;
  }
  .compare-stage {
    height: 460px;
  }
  .summary-layout {
    gap: 35px;
  }
  .install-layout,
  .faq-layout {
    gap: 45px;
  }
  .section {
    padding-block: 75px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    width: calc(100% - 36px);
    height: 66px;
    gap: 18px;
  }
  .site-nav {
    font-size: 11px;
    gap: 15px;
  }
  .brand {
    font-size: 15px;
  }
  .github-link {
    padding: 7px 9px;
  }
  .github-link span {
    display: none;
  }
  .hero-grid {
    gap: 24px;
    min-height: 575px;
  }
  .hero h1 {
    font-size: clamp(57px, 8vw, 70px);
  }
  .hero-tagline {
    font-size: 21px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero-actions {
    gap: 17px;
  }
  .button {
    font-size: 11px;
    gap: 14px;
    padding-inline: 17px;
    min-height: 43px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .intro {
    max-width: 500px;
  }
  .compare-stage {
    height: 410px;
  }
  .feature-grid {
    gap: 0 35px;
  }
  .summary-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .summary-copy {
    max-width: 530px;
  }
  .install-layout {
    gap: 35px;
  }
  .faq-layout {
    gap: 35px;
  }
  .compare-caption {
    flex-direction: column;
    gap: 6px;
  }
  .hero-bottom {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 82px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 62px;
    width: calc(100% - 32px);
  }
  .brand img {
    height: 30px;
    width: 30px;
  }
  .brand {
    gap: 7px;
    font-size: 15px;
  }
  .header-actions {
    margin-left: auto;
    gap: 0;
  }
  .header-actions button {
    min-width: 34px;
    padding: 7px;
  }
  .github-link {
    display: none;
  }
  #site-menu {
    display: grid;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    margin: 0;
    gap: 0;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
  }
  .site-nav a {
    padding: 12px 0;
    font-size: 14px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: clamp(66px, 17vw, 95px);
  }
  .hero-tagline {
    font-size: 22px;
    margin-top: 22px;
  }
  .hero-description {
    max-width: 440px;
    font-size: 13px;
    margin-top: 12px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 22px;
  }
  .hero-note {
    margin-top: 15px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .hero-visual {
    margin-top: 3px;
  }
  .visual-caption {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .visual-foot {
    font-size: 9px;
    margin-top: 10px;
  }
  .screen-image {
    border-radius: 7px;
  }
  .hero-bottom {
    font-size: 7px;
    gap: 10px;
  }
  .hero-bottom > span:last-child {
    display: none;
  }
  .hero-bottom a {
    font-size: 10px;
  }
  .section {
    padding-block: 57px;
  }
  h2 {
    font-size: 29px;
  }
  .section-head {
    margin-bottom: 27px;
    gap: 15px;
  }
  .intro {
    font-size: 12px;
  }
  .compare-toolbar {
    gap: 15px;
  }
  .demo-tabs {
    gap: 19px;
  }
  .demo-tabs button {
    font-size: 11px;
  }
  .segmented button {
    padding: 6px 11px;
    font-size: 10px;
  }
  .compare-stage {
    height: 330px;
    padding: 10px;
    border-radius: 8px;
  }
  .compare-stage[data-kind="model"] {
    height: auto;
    min-height: 170px;
    aspect-ratio: 16/10;
  }
  .compare-stage[data-kind="mobile"] {
    height: 440px;
  }
  .compare-stage[data-kind="sessions"] {
    height: 220px;
  }
  .compare-caption {
    font-size: 10px;
    margin-top: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-row {
    padding-block: 22px;
    gap: 17px;
  }
  .feature-row h3 {
    font-size: 14px;
  }
  .feature-row p {
    font-size: 12px;
  }
  .summary-layout {
    padding-top: 35px;
    margin-top: 30px;
    gap: 25px;
  }
  .summary-copy h3 {
    font-size: 26px;
  }
  .summary-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .install-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .install-copy > p {
    font-size: 12px;
  }
  .requirements {
    margin-top: 18px;
    padding-top: 16px;
  }
  .command-box {
    padding: 20px;
  }
  pre {
    font-size: 11px;
    padding: 15px;
  }
  .source-note {
    font-size: 9px;
  }
  .faq-layout h2 {
    font-size: 26px;
  }
  summary {
    font-size: 12px;
  }
  details p {
    font-size: 11px;
  }
  .site-footer {
    padding-top: 31px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-bottom: 25px;
  }
  .footer-brand {
    font-size: 29px;
  }
  .footer-top p {
    font-size: 10px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    font-size: 8px;
    line-height: 1.8;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    width: calc(100% - 24px);
  }
  .brand {
    font-size: 13px;
  }
  .header-actions button {
    min-width: 31px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-tagline {
    font-size: 20px;
  }
  .hero-description {
    font-size: 12px;
  }
  .demo-tabs {
    gap: 13px;
  }
  .demo-tabs button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.pending {
    opacity: 1;
    transform: none;
  }
}
