:root { color-scheme: light; --ink: #162033; --muted: #5c687d; --brand: #ff6840; --brand-dark: #e9522e; --surface: #fff7f3; --soft-blue: #f2f6ff; --line: #e6e9f0; --card: #fff; --shadow: 0 18px 60px rgba(29, 43, 74, .1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }
.shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-links .download-link { color: var(--brand-dark); }
.hero { overflow: hidden; padding: clamp(62px, 9vw, 108px) 0 66px; background: radial-gradient(circle at 80% 12%, #fff1e9 0, rgba(255, 241, 233, 0) 27%), linear-gradient(135deg, #fff9f6 0, #fff 50%, #f4f7ff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.eyebrow { margin: 0; color: var(--brand-dark); font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 12px 0 18px; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.1; letter-spacing: -.055em; }
.lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 8px 18px rgba(255, 104, 64, .22); text-decoration: none; font-size: 15px; font-weight: 750; transition: transform .18s ease, background .18s ease; }
.button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.demo-device { position: relative; width: min(100%, 304px); margin: 0 auto; padding: 8px; border: 7px solid #1b2335; border-radius: 37px; background: #1b2335; box-shadow: 0 24px 58px rgba(22, 32, 51, .26); }
.demo-device::before { position: absolute; z-index: 2; top: 13px; left: 50%; width: 35%; height: 19px; border-radius: 999px; background: #1b2335; content: ""; transform: translateX(-50%); }
.demo-device video { display: block; width: 100%; aspect-ratio: 9 / 19.4; border-radius: 25px; background: #e9edf5; object-fit: cover; }
.demo-caption { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 24px; padding: 17px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 14px; }
.trust-row span::before { margin-right: 8px; color: var(--brand); content: "●"; font-size: 10px; vertical-align: 1px; }
.section { padding: clamp(54px, 8vw, 88px) 0; }
.section.alt { background: var(--surface); }
.section.blue { background: var(--soft-blue); }
.section-heading { max-width: 680px; margin-bottom: 30px; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.35; }
.section-intro { margin: 0; color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 8px 30px rgba(27, 40, 70, .035); }
.card p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 150px; padding: 56px 22px 20px; border-radius: 18px; background: #fff; color: var(--muted); }
.steps li::before { position: absolute; top: 18px; left: 22px; color: var(--brand-dark); content: "0" counter(steps); counter-increment: steps; font-size: 15px; font-weight: 850; }
.steps strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }
.note { max-width: 850px; margin-top: 24px; padding: 17px 20px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; color: var(--muted); background: #fff; }
.faq { max-width: 800px; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; }
details p { margin: 10px 0 0; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; min-height: 168px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.related-card:hover { border-color: #ffcbbd; box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card .tag, .feature-tile .tag { display: block; margin-bottom: 8px; color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.related-card p { margin: 0; color: var(--muted); font-size: 14px; }
.hub-hero { padding-bottom: 70px; }
.hub-hero h1 { max-width: 800px; }
.intent-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.intent-links a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); text-decoration: none; font-size: 14px; }
.intent-links a:hover { border-color: #ffb9a6; color: var(--brand-dark); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-tile { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 7px 26px rgba(27, 40, 70, .04); }
.feature-tile a { display: block; height: 100%; padding: 25px; text-decoration: none; }
.feature-tile a:hover { background: linear-gradient(145deg, #fff, #fff8f5); }
.feature-tile h2 { font-size: 23px; }
.feature-tile p { margin: 0; color: var(--muted); }
.tile-link { display: inline-block; margin-top: 18px; color: var(--brand-dark); font-size: 14px; font-weight: 800; }
.architecture-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.architecture-table th, .architecture-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.architecture-table th { color: var(--muted); font-size: 13px; }
.architecture-table a { color: var(--brand-dark); font-weight: 700; }
footer { padding: 34px 0; color: var(--muted); font-size: 14px; }
footer a { margin-left: 8px; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; } .demo-device { margin: 0; } .grid, .related-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .shell { width: min(100% - 32px, 1100px); } .nav { min-height: 62px; } .nav-links a:not(.download-link) { display: none; } .hero { padding-top: 46px; } .grid, .related-grid, .feature-grid, .steps { grid-template-columns: 1fr; } .demo-device { width: min(100%, 278px); } .architecture-table { display: block; overflow-x: auto; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Document scan: keep source and output at their natural proportions. */
.document-hero { padding: clamp(52px, 7vw, 84px) 0; }
.document-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .75fr); }
.document-hero h1 { max-width: 670px; }
.hero-footnote { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.document-hero-figure { width: min(100%, 390px); margin: 0 auto; padding: 15px 15px 10px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.document-hero-figure img { display: block; width: 100%; height: 405px; border-radius: 15px; background: #f4f1ed; object-fit: contain; }
.document-hero-figure figcaption { margin-top: 8px; color: var(--muted); text-align: center; font-size: 12px; }
.comparison-section { background: #fff; }
.comparison-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.comparison-heading .section-intro { max-width: 390px; font-size: 15px; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.comparison-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.comparison-card-featured { border-color: #ffc4b3; box-shadow: 0 12px 32px rgba(233, 82, 46, .1); }
.comparison-image { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: clamp(320px, 37vw, 470px); padding: 12px; place-items: center; background: #f5f6f8; }
.comparison-card-featured .comparison-image { background: #fff7f3; }
.comparison-image img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.comparison-card figcaption { display: flex; min-height: 145px; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; }
.comparison-card strong { color: var(--ink); font-size: 18px; }
.comparison-card figcaption span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.comparison-card figcaption a { margin-top: auto; color: var(--brand-dark); font-size: 14px; font-weight: 750; text-underline-offset: 3px; }
.comparison-card figcaption a:hover { text-decoration: underline; }
.comparison-note { max-width: 900px; margin: 22px 0 0; padding: 15px 18px; border-left: 3px solid var(--brand); color: var(--muted); background: var(--surface); font-size: 14px; }
.pricing-section { background: #fafbfe; }
.pricing-heading { max-width: 760px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pricing-card { min-width: 0; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 34px rgba(29, 43, 74, .045); }
.pricing-card-alt { border-color: #ffd5c8; background: linear-gradient(145deg, #fff 0%, #fffaf7 100%); }
.pricing-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pricing-card-heading h3 { margin: 0; }
.pricing-kicker { margin: 0 0 5px; color: var(--muted); font-size: 13px; font-weight: 650; }
.pricing-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: var(--brand-dark); background: #fff1eb; font-size: 11px; font-weight: 750; }
.pricing-plans { margin: 24px 0 17px; border-top: 1px solid var(--line); }
.pricing-plans > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricing-plans dt { color: var(--muted); font-size: 14px; }
.pricing-plans dd { margin: 0; color: var(--ink); font-size: 25px; font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.pricing-plans dd span { margin-left: 3px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: 0; }
.pricing-source { color: var(--brand-dark); font-size: 14px; font-weight: 750; text-underline-offset: 3px; }
.pricing-source:hover { text-decoration-thickness: 2px; }
.pricing-genius-values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 24px 0 10px; }
.pricing-genius-values strong { color: var(--brand-dark); font-size: clamp(26px, 3vw, 34px); font-weight: 850; letter-spacing: -.04em; }
.pricing-genius-values strong span { color: var(--ink); }
.pricing-genius-values small { color: var(--muted); font-size: 13px; }
.pricing-detail { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.pricing-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pricing-note { max-width: 900px; margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.demo-layout .button { margin-top: 26px; }
.demo-figure { margin: 0; }
.demo-device video { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #1f5abb; outline-offset: 3px; }
@media (max-width: 800px) {
  .document-hero .hero-grid, .demo-layout { grid-template-columns: 1fr; }
  .document-hero .hero-media { order: initial; }
  .comparison-heading { display: block; }
  .comparison-heading .section-intro { max-width: 680px; margin-top: 12px; }
  .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-figure { justify-self: center; }
}
@media (max-width: 580px) {
  .document-hero-figure { max-width: 290px; }
  .document-hero-figure img { height: 320px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-image { height: 380px; }
  .comparison-card figcaption { min-height: 0; }
}

/* Shared product pages: consistent app identity and responsive, uncropped previews. */
:root { --brand: #a8300f; --brand-dark: #89270c; --ink: #252728; --muted: #565e68; --surface: #faf7f5; --soft-blue: #f3f5f8; }
h1, h2, h3 { text-wrap: balance; }
h1 { line-height: 1.18; letter-spacing: -.035em; }
.hero { background: #f6f7f9; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 16px; padding: 12px 18px; color: white; background: var(--brand); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.promo-figure { min-width: 0; margin: 0; }
.promo-figure img { display: block; width: 100%; height: auto; border-radius: 22px; }
.promo-figure figcaption { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.scan-hero-grid, .document-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 42px; }
.feature-grid, .grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-tile h3 { font-size: 22px; }
.feature-tile a { display: flex; flex-direction: column; }
.feature-tile .tile-link { margin-top: auto; padding-top: 22px; }
.feature-tile .tag { align-self: flex-start; }
.hub-hero h1 { max-width: 850px; }
.hub-group + .hub-group { padding-top: 20px; }
.hub-promo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; text-decoration: none; padding: 20px 35px 20px 20px; background: #f6f7f9; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 24px; }
.hub-promo h3 { font-size: clamp(25px, 3vw, 36px); }
.hub-promo p { color: var(--muted); }
.hub-promo img { border-radius: 15px; }
.mode-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.action-path { color: var(--brand) !important; font-size: 13px; font-weight: 700; margin-top: 22px !important; }
.content-updated { margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.brand, .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
section[id] { scroll-margin-top: 25px; }
.demo-device video { object-fit: contain; }
.card, .feature-tile, .related-card { min-width: 0; }
@media (max-width: 800px) {
 .scan-hero-grid, .document-hero .hero-grid { grid-template-columns: 1fr; }
 .hero-media { order: initial; }
 .hero-grid > .promo-figure { max-width: 580px; }
 .grid, .related-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .hub-promo { gap: 24px; }
 .hub-promo h3 { font-size: 26px; }
 .nav { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; }
 .nav-links { flex-wrap: wrap; gap: 4px 14px; }
}
@media (max-width: 580px) {
 .grid, .related-grid, .feature-grid, .mode-comparison, .hub-promo { grid-template-columns: 1fr; }
 .hub-promo { padding: 16px; }
 .hub-promo > div { padding: 8px; }
 .nav { gap: 0 8px; }
 .nav-links { font-size: 12px; }
 .brand { font-size: 15px; }
 .hero { padding-bottom: 42px; }
 .nav-links a:not(.download-link) { display: inline-flex; }
 .nav-links { width: 100%; }
 .pricing-card-heading { flex-wrap: wrap; }
 .demo-device { margin: 0 auto; }
}
@media (max-width: 580px) {
 .nav-links { width: auto; }
 .nav-links a:not(.download-link) { display: none; }
}

/* Real app recordings and direct workflow explanations. */
.recording { width: min(100%, 236px); margin-inline: auto; padding: 5px; border-radius: 26px; background: #111; box-shadow: 0 18px 34px -22px #16191e80; }
.recording video { display: block; width: 100%; height: auto; aspect-ratio: 592 / 1280; border-radius: 21px; object-fit: contain; background: #111; }
.hub-recording { padding: 26px; }
.hub-recording .recording { width: 190px; }
.scan-example { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.scan-example h2 { font-size: 30px; }
.scan-example ol { padding: 0; margin: 28px 0; list-style: none; counter-reset: scan-step; }
.scan-example li { counter-increment: scan-step; position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); }
.scan-example li::before { content: counter(scan-step, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: var(--brand); font-size: 13px; }
.scan-example strong, .scan-example span { display: block; }
.scan-example span { margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 580px) { .scan-example { padding: 24px; } .scan-example h2 { font-size: 26px; } }
