/* Approved direction: light theme, native CSS. Dials: variance 6 / motion 3 / density 3. */
:root {
  color-scheme: light;
  --page: #fff;
  --ink: #111;
  --muted: #646464;
  --stage: #f5f5f5;
  --line: #e9e9e9;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, .button { touch-action: manipulation; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 2; padding: 12px 20px; border-radius: 12px; background: #111; color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
/* Layer 1: sticky navigation. Layer 2: keyboard skip link. */
.site-header { position: sticky; top: 0; z-index: 1; background: rgb(255 255 255 / 96%); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header-left { display: flex; align-items: center; gap: 48px; min-width: 0; }
.wordmark { font-size: 19px; font-weight: 650; letter-spacing: -.6px; white-space: nowrap; }
.main-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; white-space: nowrap; }
.main-nav a { padding-block: 12px; }
.main-nav a:hover, .site-footer a:hover { color: #111; text-decoration: underline; text-underline-offset: 5px; }
.main-nav a span { display: inline-block; margin-left: 2px; font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #111; border-radius: 999px; background: #111; color: #fff; font-weight: 500; white-space: nowrap; line-height: 1.3; }
.button:hover { background: #303030; border-color: #303030; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding: 10px 22px; font-size: 13px; }
.button-primary { min-height: 50px; padding: 14px 30px; font-size: 16px; }
.hero { padding-block: 88px 54px; text-align: center; }
h1 { margin: 0; font-size: clamp(38px, 4.3vw, 62px); font-weight: 650; letter-spacing: -2.7px; line-height: 1.2; text-wrap: balance; }
.hero-description { margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; text-wrap: balance; }
.download-area { margin-top: 30px; }
.system-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.system-note > span:first-child { padding-inline: 4px; }
.download-status { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.download-status:focus { outline: none; text-decoration: underline; text-underline-offset: 4px; }
.product { display: grid; gap: 20px; }
.feature { min-width: 0; padding: 32px 28px 18px; border-radius: var(--radius); background: var(--stage); }
.feature-heading { margin: 0 10px 24px; }
h2 { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.3; letter-spacing: -1px; }
.feature-heading p { margin: 9px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
kbd { font: inherit; }
.demo { margin: 0; }
.demo-stage { position: relative; overflow: hidden; isolation: isolate; border-radius: 15px; background: #e8e8e8; aspect-ratio: var(--crop-ratio); }
/* The approved generated concept is clipped by CSS, without modifying its source image.
   Each frame is a static illustration until a real poster / GIF is configured. */
.demo-poster.is-cropped { position: absolute; width: var(--poster-width); max-width: none; height: auto; left: var(--poster-left); top: var(--poster-top); }
.crop-trash { --crop-ratio: 855 / 326; --poster-width: 113.5673%; --poster-left: -6.7836%; --poster-top: -142.3313%; }
.crop-paste { --crop-ratio: 633 / 266; --poster-width: 153.3965%; --poster-left: -26.6983%; --poster-top: -348.4962%; }
.crop-edit { --crop-ratio: 383 / 210; --poster-width: 253.5248%; --poster-left: -18.2768%; --poster-top: -630%; }
.crop-save { --crop-ratio: 388 / 207; --poster-width: 250.2577%; --poster-left: -134.5361%; --poster-top: -641.0628%; }
.demo-poster:not(.is-cropped), .demo-animation { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.demo-toggle { position: absolute; bottom: 14px; right: 14px; min-height: 42px; padding: 9px 17px; border: 1px solid #111; border-radius: 999px; color: #fff; background: #111; cursor: pointer; font-size: 13px; }
.demo-toggle:hover { background: #303030; }
.demo-toggle:disabled { cursor: wait; }
figcaption { margin: 11px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: right; }
figcaption span { padding-inline: 3px; }
.demo-error { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-paste .demo-stage { max-width: 900px; margin-inline: auto; }
.feature-paste { padding-top: 32px; }
.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-pair .feature { padding: 28px 24px 16px; }
.feature-pair .feature-heading { margin-inline: 5px; }
.feature-pair h2 { font-size: 30px; }
.feature-pair .feature-heading p { font-size: 16px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 28px; padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-footer p { margin: 0; }
.site-footer a { padding-block: 8px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color .18s ease, transform .18s ease; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; gap: 14px; }
  .header-left { gap: 22px; }
  .wordmark { font-size: 16px; letter-spacing: -.4px; }
  .main-nav { gap: 17px; font-size: 13px; }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .button-small { padding: 9px 14px; font-size: 12px; }
  .hero { padding-block: 66px 38px; }
  h1 { max-width: 540px; margin-inline: auto; font-size: clamp(34px, 6vw, 44px); letter-spacing: -1.6px; line-height: 1.3; }
  .hero-description { max-width: 360px; margin: 19px auto 0; font-size: 16px; line-height: 1.8; }
  .download-area { margin-top: 26px; }
  .button-primary { min-height: 48px; font-size: 15px; }
  .download-status { font-size: 11px; }
  .product { gap: 14px; }
  .feature, .feature-pair .feature { padding: 23px 16px 14px; border-radius: 20px; }
  .feature-heading, .feature-pair .feature-heading { margin: 0 3px 20px; }
  h2, .feature-pair h2 { font-size: 25px; letter-spacing: -.6px; }
  .feature-heading p, .feature-pair .feature-heading p { margin-top: 7px; font-size: 14px; }
  .demo-stage { border-radius: 10px; }
  .feature-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  figcaption { font-size: 10px; }
  .site-footer { gap: 7px 20px; margin-top: 22px; padding-block: 22px 28px; font-size: 11px; }
  .site-footer p { flex-basis: 100%; text-align: center; }
}
@media (max-width: 390px) {
  .header-left { gap: 13px; }
  .main-nav { gap: 12px; font-size: 12px; }
  .wordmark { font-size: 15px; }
  .button-small { padding-inline: 12px; }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 24px); }
  .header-inner { gap: 8px; }
  .header-left { gap: 9px; }
  .main-nav { gap: 9px; }
  .wordmark { font-size: 13px; }
  .button-small { padding-inline: 9px; font-size: 11px; }
}
