:root {
  color-scheme: light;
  --page: #ffffff;
  --section: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-dark: #005bb5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--text); background: var(--page); line-height: 1.5; }
body, button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid #2997ff; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 max(24px, calc((100% - 1024px) / 2));
  color: #1d1d1f;
  background: rgba(250, 250, 252, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; font-weight: 650; text-decoration: none; }
.brand img { border-radius: 5px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #333336; font-size: 12px; text-decoration: none; transition: color 180ms ease, background-color 180ms ease; }
.site-header nav a:hover { color: #000; }
.site-header .header-download { min-width: 64px; min-height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: #fff; background: var(--blue); border-radius: 18px; font-weight: 600; }
.site-header .header-download:hover { color: #fff; background: var(--blue-hover); }

.hero {
  position: relative;
  height: calc(100svh - 96px);
  min-height: 640px;
  max-height: 840px;
  overflow: hidden;
  background: var(--section);
  text-align: center;
}

.hero-content { position: relative; z-index: 2; width: min(820px, calc(100% - 40px)); margin: 0 auto; padding-top: 48px; }
.hero h1 { margin: 0; color: #1d1d1f; font-size: 56px; font-weight: 700; line-height: 1.08; letter-spacing: 0; }
.hero h1 span + span::before { content: ""; }
.hero-tagline { margin: 12px 0 0; color: #1d1d1f; font-size: 30px; font-weight: 600; line-height: 1.25; }
.hero-copy { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; }
.download-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 24px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease; touch-action: manipulation; }
.download-button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.download-button:active { background: var(--blue-dark); border-color: var(--blue-dark); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 16px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link span { font-size: 24px; line-height: 1; }
.release-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 12px 0 0; color: #86868b; font-size: 12px; font-variant-numeric: tabular-nums; }
.hero-product {
  --product-scale: 0.965;
  --product-shift: 22px;
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 64px));
  margin: 38px auto 0;
  transform: translate3d(0, var(--product-shift), 0) scale(var(--product-scale));
  transform-origin: top center;
  will-change: transform;
}
.hero-product .live-demo { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2); }

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1024px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0; background: #fff; }
.trust-strip div { min-width: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.trust-strip div:first-child { padding-left: 0; border-left: 0; }
.trust-strip div:last-child { padding-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--text); font-size: 14px; font-weight: 600; }
.trust-strip span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.interface-section { padding: 112px 24px 120px; background: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading.compact { max-width: 700px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 14px; font-weight: 600; }
.section-heading h2, .download-section h2 { margin: 0; color: var(--text); font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.section-heading > p:last-child { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.product-figure { width: min(1100px, 100%); margin: 0 auto; }
.product-figure img { width: 100%; height: auto; aspect-ratio: 1024 / 728; object-fit: cover; border: 1px solid #b9b9be; border-radius: 7px; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.15); }
.product-figure figcaption { margin-top: 14px; color: #86868b; font-size: 12px; text-align: center; }

.interface-section.mode-showcase {
  height: clamp(1180px, 180svh, 1700px);
  padding: 0 24px;
}
.interface-sticky {
  position: sticky;
  top: 52px;
  display: flex;
  min-height: calc(100svh - 52px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
  overflow: hidden;
}
.mode-showcase .section-heading { margin-bottom: 18px; }
.mode-showcase .section-heading > p:last-child { margin-top: 12px; }
.mode-figure {
  position: relative;
  width: min(1000px, 100%, calc(177.78svh - 500px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.live-demo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #dce9f2;
  background: #071523;
  border: 1px solid #29445a;
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
  font-size: clamp(5px, 0.8vw, 12px);
  text-align: left;
}
.demo-titlebar {
  display: flex;
  height: 3.25em;
  align-items: center;
  gap: 0.75em;
  padding: 0 1.35em;
  color: #dce9f2;
  background: #06111e;
  border-bottom: 1px solid #213a4d;
}
.demo-titlebar img { width: 1.55em; height: 1.55em; border-radius: 0.25em; }
.demo-titlebar strong { font-size: 1.05em; font-weight: 650; }
.demo-body {
  display: flex;
  height: calc(100% - 3.25em);
  flex-direction: column;
  padding: 1.25em 1.55em 1.55em;
}
.demo-tabs {
  position: relative;
  display: grid;
  flex: 0 0 3.15em;
  grid-template-columns: repeat(2, 1fr);
  width: 14em;
  margin-bottom: 1em;
  color: #94afc2;
  background: #0b1d2d;
  border: 1px solid #29465c;
  border-radius: 0.55em;
}
.demo-tabs::before {
  content: "";
  position: absolute;
  inset: 0.28em auto 0.28em 0.28em;
  width: calc(50% - 0.28em);
  background: #61d1c0;
  border-radius: 0.38em;
  transform: translate3d(0, 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-tabs span { position: relative; z-index: 1; display: grid; place-items: center; font-size: 1.05em; font-weight: 650; transition: color 300ms ease; }
.demo-tabs span:first-child { color: #041722; }
.live-demo.is-three .demo-tabs::before { transform: translate3d(100%, 0, 0); }
.live-demo.is-three .demo-tabs span:first-child { color: #94afc2; }
.live-demo.is-three .demo-tabs span:last-child { color: #041722; }
.demo-layout {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.1em;
}
.demo-form,
.demo-result-shell {
  min-width: 0;
  overflow: hidden;
  background: #0b1d2d;
  border: 1px solid #29465c;
  border-radius: 0.55em;
}
.demo-form { display: flex; min-height: 0; flex-direction: column; gap: 0.9em; padding: 1.15em; }
.demo-amount { display: flex; flex: 0 0 4.2em; align-items: center; justify-content: space-between; padding: 0 1.1em; border-bottom: 1px solid #29465c; }
.demo-amount > span { color: #a7c0d2; font-size: 1em; font-weight: 600; }
.demo-amount strong { color: #f7fbff; font-size: 1.45em; font-variant-numeric: tabular-nums; }
.demo-amount small, .demo-market small { color: #82a8c0; font-size: 0.72em; font-weight: 500; }
.demo-market-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0fr);
  gap: 0.8em;
  transition: grid-template-columns 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.live-demo.is-three .demo-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-market { min-width: 0; overflow: hidden; padding: 0.85em; background: #0f2437; border: 1px solid #31526a; border-radius: 0.45em; }
.demo-market-c { padding-inline: 0; opacity: 0; border-width: 0; transform: translate3d(1.6em, 0, 0); transition: opacity 260ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), padding 520ms ease, border-width 520ms ease; }
.live-demo.is-three .demo-market-c { padding-inline: 0.85em; opacity: 1; border-width: 1px; transform: translate3d(0, 0, 0); }
.demo-market-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.05em; font-weight: 650; }
.demo-market-head b { display: grid; width: 2.25em; height: 2.25em; place-items: center; color: #06131e; background: #61d1c0; border-radius: 0.42em; }
.demo-market-b .demo-market-head b { background: #f8bd5b; }
.demo-market-c .demo-market-head b { color: #fff; background: #5277d8; }
.demo-market dl { display: grid; gap: 0.62em; margin: 0.72em 0 0; }
.demo-market dl div { min-width: 0; }
.demo-market dt { margin-bottom: 0.26em; color: #9ab6c8; font-size: 0.86em; font-weight: 600; }
.demo-market dd { position: relative; min-height: 2.45em; margin: 0; padding: 0.62em 0.72em; color: #f4f9fc; background: #071725; border: 1px solid #385d77; border-radius: 0.35em; font-size: 1em; font-variant-numeric: tabular-nums; }
.demo-three-value { position: absolute; left: 0; opacity: 0; transform: translate3d(0, 0.5em, 0); }
.demo-two-value, .demo-three-value { transition: opacity 240ms ease, transform 360ms ease; }
.live-demo.is-three .demo-two-value { opacity: 0; transform: translate3d(0, -0.5em, 0); }
.live-demo.is-three .demo-three-value { opacity: 1; transform: translate3d(0, 0, 0); }
.demo-action { display: grid; flex: 0 0 3em; width: 48%; place-items: center; align-self: center; color: #061723; background: #61d1c0; border-radius: 0.42em; font-size: 1.05em; font-weight: 700; }
.demo-result-shell { position: relative; }
.demo-result { position: absolute; inset: 0; padding: 1.15em; transition: opacity 260ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1); }
.demo-result-three { opacity: 0; transform: translate3d(1.5em, 0, 0); }
.live-demo.is-three .demo-result-two { opacity: 0; transform: translate3d(-1.5em, 0, 0); }
.live-demo.is-three .demo-result-three { opacity: 1; transform: translate3d(0, 0, 0); }
.demo-result-kicker { color: #7eacc7; font-size: 0.82em; font-weight: 600; }
.demo-result h3 { margin: 0.25em 0 0.85em; color: #f4f9fc; font-size: 1.55em; line-height: 1.2; }
.demo-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #29465c; border-radius: 0.35em 0.35em 0 0; }
.demo-stats div { min-width: 0; padding: 0.75em; border-left: 1px solid #29465c; }
.demo-stats div:first-child { border-left: 0; }
.demo-stats span, .demo-table-head { color: #7fa8c0; font-size: 0.78em; }
.demo-stats strong { display: block; margin-top: 0.3em; color: #f7fbff; font-size: 1.3em; font-variant-numeric: tabular-nums; }
.demo-result-status { padding: 0.65em; color: #64e59a; background: #0c392f; font-size: 0.88em; font-weight: 650; text-align: center; }
.demo-table { border: 1px solid #29465c; border-top: 0; }
.demo-table > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 2.45em; align-items: center; padding: 0 0.75em; border-top: 1px solid #29465c; font-size: 0.83em; font-variant-numeric: tabular-nums; }
.demo-table > div:first-child { border-top: 0; }
.demo-table > div span:nth-child(2), .demo-table > div strong { text-align: right; }
.demo-table strong { color: #64e59a; font-weight: 600; }
.demo-table .is-current { background: #174a4a; font-weight: 650; }

.details-section { width: 100%; padding: 112px 24px; background: var(--section); }
.details-section > .section-heading, .detail-list { width: min(1024px, 100%); }
.detail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 54px auto 0; }
.detail-list article { min-width: 0; padding: 0 38px; text-align: center; border-left: 1px solid var(--line); }
.detail-list article:first-child { padding-left: 0; border-left: 0; }
.detail-list article:last-child { padding-right: 0; }
.detail-index { color: var(--blue); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.detail-list h3 { margin: 14px 0 8px; color: var(--text); font-size: 21px; font-weight: 650; }
.detail-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.download-section { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding: 92px max(24px, calc((100% - 1024px) / 2)); color: #f5f5f7; background: #000; }
.download-section > div { max-width: 700px; }
.download-section .eyebrow { color: #2997ff; }
.download-section h2 { color: #f5f5f7; }
.download-section p:last-child { margin: 16px 0 0; color: #a1a1a6; font-size: 15px; }
.download-button.light { flex: 0 0 auto; color: #fff; background: var(--blue); border-color: var(--blue); }
.download-button.light:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.faq-section { display: grid; grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr); gap: 88px; width: min(1024px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.faq-section .section-heading { margin: 0; text-align: left; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 68px; padding: 22px 42px 22px 0; cursor: pointer; color: var(--text); font-size: 15px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--blue); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; min-height: 96px; padding: 22px max(24px, calc((100% - 1024px) / 2)); color: #6e6e73; background: var(--section); border-top: 1px solid #dedee2; font-size: 11px; }
footer p { margin: 0; }
.footer-brand { color: #3a3a3c; font-size: 12px; }

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (max-width: 860px) {
  .hero h1 { font-size: 48px; }
  .hero-tagline { font-size: 27px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .trust-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list article, .detail-list article:first-child, .detail-list article:last-child { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .detail-list article:first-child { border-top: 0; }
  .faq-section { grid-template-columns: 1fr; gap: 36px; }
  .faq-section .section-heading { text-align: center; }
}

@media (max-width: 640px) {
  .site-header { height: 48px; padding: 0 16px; }
  .brand span { font-size: 12px; }
  .site-header nav { gap: 8px; }
  .site-header nav > a:not(.header-download) { display: none; }
  .site-header .header-download { min-width: 60px; min-height: 32px; }
  .hero { height: calc(100svh - 88px); min-height: 590px; max-height: 724px; }
  .hero-content { width: calc(100% - 32px); padding-top: 34px; }
  .hero h1 { font-size: 38px; }
  .hero h1 span { display: block; }
  .hero-tagline { margin-top: 10px; font-size: 24px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 2px; margin-top: 20px; }
  .download-button { min-height: 44px; }
  .release-line { margin-top: 8px; }
  .hero-product { --product-scale: 0.985; --product-shift: 12px; width: calc(100% - 16px); margin-top: 26px; }
  .live-demo { border-radius: 6px; font-size: 5px; }
  .trust-strip { width: calc(100% - 36px); grid-template-columns: 1fr; row-gap: 18px; padding: 24px 0; }
  .trust-strip div, .trust-strip div:first-child, .trust-strip div:nth-child(3), .trust-strip div:last-child { padding: 0; border-left: 0; }
  .interface-section, .details-section { padding: 80px 18px; }
  .interface-section.mode-showcase { height: clamp(1080px, 180svh, 1460px); padding: 0 18px; }
  .interface-sticky { top: 48px; min-height: calc(100svh - 48px); padding: 28px 0; }
  .mode-showcase .section-heading { margin-bottom: 14px; }
  .mode-showcase .section-heading > p:last-child { margin-top: 10px; }
  .mode-figure { width: 100%; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .download-section h2 { font-size: 32px; }
  .section-heading > p:last-child { font-size: 16px; }
  .product-figure img { aspect-ratio: 4 / 3; object-position: left top; }
  .product-figure figcaption { text-align: left; }
  .details-section > .section-heading, .detail-list { width: 100%; }
  .detail-list { margin-top: 34px; }
  .download-section { align-items: stretch; flex-direction: column; gap: 30px; padding: 68px 18px; }
  .download-button.light { width: 100%; }
  .faq-section { width: calc(100% - 36px); padding: 80px 0; }
  footer { grid-template-columns: 1fr; gap: 10px; padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-product { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .interface-section.mode-showcase { height: auto; }
  .interface-sticky { position: relative; top: auto; min-height: auto; padding: 80px 0; }
}
