:root {
  color-scheme: only light;
  --blue: #0060F8;
  --blue-hover: #0052d6;
  --blue-soft: #eef5ff;
  --ink: #111;
  --text: #555;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --surface: #f6f7f9;
  --nav-height: 76px;
  --gutter: clamp(18px, 4vw, 48px);
  --section-gap: clamp(52px, 7.2vw, 96px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body { margin: 0; background: #fff; font-size: 15px; line-height: 1.7; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.container { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 12; transform: translateY(-150%); padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / .94);
  border-bottom: 1px solid rgb(17 17 17 / .07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .65);
}
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .site-header { background: rgb(255 255 255 / .64); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
}
.nav-wrap {
  width: min(1216px, 100% - 2 * var(--gutter));
  height: calc(var(--nav-height) - 1px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; font-size: 24px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.brand img { width: 34px; height: 34px; }
.desktop-nav, .nav-actions { display: flex; align-items: center; gap: 30px; }
.desktop-nav { color: var(--text); font-size: 14px; }
.desktop-nav a:hover, .footer-nav a:hover, .footer-nav button:hover { color: var(--blue); }
.nav-actions { justify-content: flex-end; gap: 8px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 47px; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 600; line-height: 1.35; transition: background-color .12s, border-color .12s; }
.button-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button-secondary { background: #fff; border-color: #dedede; }
.button-secondary:hover { background: #f8f8f8; border-color: #c7c7c7; }
.nav-download { min-height: 40px; padding-inline: 14px; font-size: 13px; }
.menu-toggle, .mobile-nav { display: none; }

.hero { padding-top: clamp(48px, 5.5vw, 76px); }
.hero-intro { text-align: center; }
.hero-brand { font-size: clamp(68px, 8vw, 94px); font-weight: 660; letter-spacing: -.076em; line-height: 1.02; }
h1 { margin-top: 10px; font-size: clamp(28px, 4.25vw, 54px); color: var(--blue); font-weight: 650; letter-spacing: -.055em; line-height: 1.23; text-wrap: balance; }
.hero-description { max-width: 590px; margin: 14px auto 0; font-size: clamp(15px, 1.6vw, 17px); color: var(--text); text-wrap: pretty; }
.hero-description span { display: block; }
.hero-description span + span { margin-top: 2px; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px; }
.hero .download-actions { margin-top: 18px; }
.showcase { max-width: 1056px; margin: clamp(44px, 5.2vw, 70px) auto 0; border: 1px solid var(--line); border-radius: 13px; padding: 10px; background: #fff; box-shadow: 0 14px 36px -30px rgb(17 37 70 / .28); }
.showcase-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.showcase-note { color: var(--muted); font-size: 12px; }
.screenshot-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; max-width: 100%; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f7f7f7; }
.screenshot-tabs button { min-height: 34px; padding: 5px 12px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--text); font-size: 13px; line-height: 1.3; }
.screenshot-tabs button:hover { color: var(--blue); }
.screenshot-tabs button[aria-selected="true"] { border-color: #d9e6fc; background: var(--blue-soft); color: #0055db; font-weight: 600; }
.screenshot-button { display: block; position: relative; width: 100%; overflow: hidden; padding: 0; background: #fff; border: 1px solid #e4e5e9; border-radius: 8px; cursor: zoom-in; }
.screenshot-button img { width: 100%; }
.zoom-hint { position: absolute; right: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: rgb(255 255 255 / .96); color: #333; font-size: 12px; }
.zoom-hint .icon { width: 13px; height: 13px; }
.screenshot-button:hover .zoom-hint { color: var(--blue); border-color: #c5d9fa; }

.reading-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); max-width: 1056px; margin: clamp(28px, 3vw, 38px) auto 0; }
.reading-benefits article { padding-top: 16px; border-top: 1px solid var(--line); }
.reading-benefits h2 { font-size: clamp(19px, 2.2vw, 24px); }
.reading-benefits p { margin-top: 8px; color: var(--text); }

.faq, .download-section { margin-top: var(--section-gap); }
.features { margin-top: clamp(76px, 9.2vw, 132px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 610; letter-spacing: -.05em; line-height: 1.3; }
.features > h2 { text-align: center; margin-bottom: clamp(20px, 2.4vw, 30px); }
.feature-list { display: grid; gap: clamp(38px, 4.5vw, 64px); }
.feature-card {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.feature-copy h3 { margin-top: 6px; font-size: clamp(23px, 2.5vw, 30px); font-weight: 620; letter-spacing: -.04em; line-height: 1.35; text-wrap: pretty; }
.feature-label { color: var(--blue); font-size: 13px; font-weight: 650; }
.feature-copy h3 + p { margin-top: 10px; color: var(--text); }
.research-details { margin: 16px 0 0; }
.research-details > div { padding: 11px 0; border-top: 1px solid var(--line); }
.research-details > div:last-child { padding-bottom: 0; }
.research-details dt, .ocr-steps strong { font-size: 14px; font-weight: 650; }
.research-details dd { margin: 3px 0 0; font-size: 14px; color: var(--text); }
.feature-media { min-width: 0; margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.feature-media .showcase-bar { padding-inline: 1px; }
.feature-preview .screenshot-button { background: var(--surface); }
.research-card .feature-preview img { aspect-ratio: 2440 / 1640; object-fit: contain; }
.ocr-card { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.ocr-card .feature-media { grid-column: 1; grid-row: 1; }
.feature-media figcaption { padding: 7px 2px 0; color: var(--muted); font-size: 12px; }
.ocr-steps { margin: 15px 0 0; padding-left: 22px; }
.ocr-steps li { padding-left: 4px; }
.ocr-steps li + li { margin-top: 7px; }
.ocr-steps li::marker { color: var(--blue); font-weight: 650; }
.ocr-steps span { display: block; color: var(--text); font-size: 14px; }
.features-note { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: right; }
.features-note a { margin-left: 6px; color: var(--blue); text-underline-offset: 3px; }
.features-note a:hover { text-decoration: underline; }

.faq { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 70px); padding-block: clamp(28px, 3.4vw, 44px); border-block: 1px solid var(--line); }
.faq h2 { font-size: clamp(26px, 3vw, 35px); }
.faq-list details + details { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary > span { flex: none; color: var(--blue); font-size: 20px; font-weight: 400; line-height: 1; }
details[open] > summary > span { transform: rotate(45deg); }
.faq-list summary { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 4px 12px 0; min-height: 48px; font-weight: 550; }
.faq-list p { margin-bottom: 14px; font-size: 14px; color: var(--text); }
.download-section { text-align: center; margin-bottom: var(--section-gap); }
.download-section .download-actions { margin-top: 23px; }
.platform-download .button { min-width: 150px; }
.platform-download p { color: var(--muted); font-size: 12px; margin-top: 7px; }

.site-footer { padding-top: 26px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 26px; }
.footer-brand-copy { margin-top: 7px; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 15px clamp(28px, 6vw, 70px); }
.footer-nav > div { display: grid; gap: 5px; }
.footer-nav strong { font-size: 13px; }
.footer-nav a, .footer-nav button { color: var(--text); font-size: 13px; line-height: 1.55; }
.footer-nav button { background: none; border: 0; padding: 0; text-align: left; }
.footer-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 32px; padding-bottom: 28px; }
.footer-products a { display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 10px; }
.footer-products img { flex: none; width: 46px; height: 46px; border-radius: 6px; object-fit: contain; }
.footer-products strong, .footer-products small { display: block; line-height: 1.45; overflow-wrap: anywhere; }
.footer-products strong { font-size: 14px; font-weight: 600; color: #111; }
.footer-products small { margin-top: 2px; font-size: 12px; font-weight: 500; color: #888; }
.footer-products a:hover strong { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 15px 0 20px; color: var(--muted); font-size: 12px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; text-align: right; }
.footer-bottom-links a:hover { color: var(--blue); }

dialog { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; max-height: calc(100dvh - 32px); }
dialog::backdrop { background: rgb(0 0 0 / .54); }
.contact-dialog { width: min(360px, calc(100% - 32px)); padding: 24px 20px 20px; text-align: center; }
.contact-dialog h2 { font-size: 24px; }
.contact-dialog img { width: min(200px, 100%); margin: 12px auto; }
.contact-dialog p, .contact-dialog a { font-size: 13px; }
.contact-dialog p { color: var(--muted); margin-bottom: 5px; }
.contact-dialog a { color: var(--blue); overflow-wrap: anywhere; }
.dialog-close, .image-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #fff; color: #444; font-size: 24px; line-height: 1; }
.dialog-close:hover, .image-close:hover { color: var(--blue); background: var(--blue-soft); }
.dialog-close { position: absolute; top: 5px; right: 5px; }
.image-dialog { width: min(1240px, calc(100% - 28px)); max-width: none; padding: 8px; overflow: auto; }
.image-close { position: sticky; top: 0; z-index: 1; margin: 0 0 5px auto; }
.lightbox-scroll { overflow: auto; max-height: calc(100dvh - 151px); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
#lightbox-image { width: 100%; }
#lightbox-caption { margin: 7px 6px 3px; font-size: 13px; color: var(--text); }

@media (max-width: 800px) {
  :root { --nav-height: 66px; }
  .desktop-nav { gap: 20px; }
  .footer-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-bottom: 24px; }
  .feature-card { grid-template-columns: minmax(0, 1fr); }
  .ocr-card .feature-media { grid-column: auto; grid-row: auto; }
}
@media (max-width: 650px) {
  .reading-benefits, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq { gap: 12px; }
  .features-note { text-align: left; }
}
@media (max-width: 600px) {
  :root { --nav-height: 62px; }
  .nav-wrap { grid-template-columns: auto 1fr; gap: 8px; }
  .brand { font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
  .menu-toggle span { width: 16px; height: 1.5px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-nav { position: absolute; inset: 100% 0 auto; display: grid; max-height: calc(100dvh - var(--nav-height)); overflow: auto; padding: 6px var(--gutter) 10px; background: #fff; border-bottom: 1px solid var(--line); }
  .mobile-nav a { display: flex; align-items: center; min-height: 44px; }
  .showcase { padding: 6px; }
  .showcase-bar { padding: 0 2px 6px; gap: 6px; }
  .showcase-note { font-size: 11px; }
  .footer-top { flex-direction: column; gap: 16px; padding-bottom: 23px; }
  .footer-brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .footer-brand-copy { margin-top: 0; text-align: right; }
  .footer-bottom { flex-direction: column; }
  #lightbox-image { min-width: 730px; max-width: none; }
}
@media (max-width: 375px) {
  .download-actions { column-gap: 7px; }
  .download-actions .button { padding-inline: 11px; font-size: 13px; }
  .platform-download .button { min-width: 0; width: 100%; }
  .platform-download p { font-size: 11px; }
  .nav-download { padding-inline: 10px; }
  .screenshot-tabs button { padding-inline: 8px; }
}
@media (pointer: coarse) {
  .screenshot-tabs button { min-height: 44px; }
  .nav-download { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
