:root {
  --canvas: #fbfbfa;
  --surface: #fff;
  --ink: #262824;
  --muted: #777973;
  --line: #eaeaea;
  --green: #52705a;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
::selection { background: #e4ebdf; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(251 251 250 / 94%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.5px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: white; font-weight: 550; font-size: 14px; line-height: 1.5; transition: background 180ms, transform 180ms; }
.button:hover { background: #444840; }
.button:active { transform: scale(.98); }
.button-small { padding: 8px 16px; font-size: 13px; gap: 16px; }
.hero { padding-top: 56px; text-align: center; }
h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.3; font-weight: 550; letter-spacing: -.045em; }
.hero-description { margin-top: 18px; color: var(--muted); font-size: 15px; }
.hero-actions { margin-top: 24px; }
.product-showcase { margin-top: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; text-align: left; }
.showcase-toolbar { min-height: 53px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.view-tabs { display: flex; align-items: center; gap: 5px; }
.view-tabs button { border: 0; background: transparent; padding: 6px 16px; font-size: 12px; color: var(--muted); border-radius: 4px; transition: background 180ms, color 180ms; white-space: nowrap; }
.view-tabs button:hover { background: #f6f6f3; }
.view-tabs button[aria-selected='true'] { background: #efefeb; color: var(--ink); font-weight: 550; }
.expand-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0 5px 8px; background: none; border: 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.expand-button:hover { color: var(--ink); }
.product-panel > img { width: 100%; aspect-ratio: 2720 / 1562; object-fit: contain; background: white; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 48px 64px; }
.benefits h2 { font-size: 18px; font-weight: 550; }
.benefits p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.download-section { padding-block: 44px 56px; text-align: center; border-top: 1px solid var(--line); }
.download-section h2 { font-size: 24px; font-weight: 550; letter-spacing: -.03em; }
.platform-downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px; margin: 26px auto 0; }
.platform-downloads a { padding: 14px 18px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-size: 14px; transition: background 180ms; }
.platform-downloads a:hover { background: #f0f1eb; }
.platform-downloads span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
footer { padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 11px; }
dialog { width: min(1500px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 8px; padding: 0; color: var(--ink); background: white; }
dialog::backdrop { background: rgb(28 30 25 / 68%); }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.dialog-toolbar h2 { font-size: 13px; font-weight: 500; }
.dialog-toolbar button { border: 1px solid var(--line); border-radius: 4px; background: var(--canvas); padding: 4px 10px; font-size: 12px; }
.dialog-toolbar button span { margin-left: 10px; }
.dialog-image-wrap { overflow: auto; }
.dialog-image-wrap img { width: 100%; }
.dialog-note { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-pending { opacity: 0; transform: translateY(12px); }
  .reveal { transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), transform 600ms cubic-bezier(.16, 1, .3, 1); }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { height: 60px; gap: 10px; }
  .logo { font-size: 16px; gap: 8px; }
  .logo img { width: 26px; }
  .button-small { padding: 7px 12px; font-size: 12px; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(28px, 6.5vw, 38px); }
  .hero-description { font-size: 12px; margin-top: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { padding: 11px 20px; font-size: 12px; gap: 16px; }
  .product-showcase { margin-top: 28px; border-radius: 6px; }
  .showcase-toolbar { min-height: 46px; padding: 8px; gap: 6px; }
  .view-tabs { gap: 0; }
  .view-tabs button { padding: 6px 8px; font-size: 10px; }
  .expand-button { font-size: 10px; gap: 4px; padding-left: 0; }
  .expand-button svg { width: 12px; }
  .benefits { grid-template-columns: 1fr; gap: 25px; padding-block: 32px 40px; }
  .benefits h2 { font-size: 16px; }
  .benefits p { font-size: 12px; margin-top: 5px; }
  .download-section { padding-block: 32px 36px; }
  .download-section h2 { font-size: 22px; }
  .platform-downloads { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .platform-downloads a { padding: 12px; font-size: 13px; }
  footer { font-size: 9px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-image-wrap img { width: 1100px; max-width: none; }
  .dialog-toolbar { padding: 12px; }
  .dialog-toolbar h2 { font-size: 11px; }
  .dialog-note { display: block; padding: 10px 12px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
