/* DanAI OCR site. Be Vietnam Pro: SIL Open Font License 1.1 (assets/fonts/OFL.txt). */
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Tokens: DanAI blue #1876B5, reverse #155B8B, lotus rose #EE6385. Text pairs meet WCAG AA. */
:root {
  color-scheme: light dark;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --ink: #0f2236;
  --ink-2: #43536a;
  --ink-3: #5f6f84;
  --line: #e1e8f0;
  --line-strong: #c9d4e2;
  --blue: #1876B5;
  --blue-strong: #125f93;
  --blue-soft: #e6f0f9;
  --reverse: #155B8B;
  --rose: #EE6385;
  --on-blue: #ffffff;
  --shadow: 0 1px 2px rgba(15, 34, 54, .06), 0 8px 24px rgba(15, 34, 54, .06);
  --shadow-lg: 0 2px 6px rgba(15, 34, 54, .06), 0 24px 60px rgba(15, 34, 54, .14);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c131b;
    --surface: #121b26;
    --surface-2: #182432;
    --ink: #e7edf5;
    --ink-2: #b0bccb;
    --ink-3: #8b99ab;
    --line: #213042;
    --line-strong: #2e4157;
    --blue-strong: #7bbde9;
    --blue-soft: #132d45;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: var(--s2) var(--s4); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border-radius: 12px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 1px 2px rgba(15, 34, 54, .1), 0 6px 18px rgba(24, 118, 181, .28); }
.btn.primary:hover { background: var(--reverse); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--blue); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.small { min-height: 40px; padding: 0 var(--s4); font-size: 15px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: var(--s5); height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.lockup img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: var(--s5); margin-left: var(--s3); }
.nav-links a, .head-actions .lang { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover, .head-actions .lang:hover { color: var(--ink); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.mnav { display: none; margin-left: auto; position: relative; }
.mnav summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: var(--radius-sm); cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--s2); display: flex; flex-direction: column; }
.mnav nav a { padding: var(--s3); color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--radius-sm); }
.mnav nav a:hover { background: var(--surface-2); }
.mnav nav .btn { margin-top: var(--s2); color: var(--on-blue); }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-strong); margin-bottom: var(--s4); }
h1 { font-size: clamp(40px, 6.4vw, 70px); letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -.03em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: var(--s5); max-width: 60ch; }
.sub { font-size: 18px; color: var(--ink-2); margin-top: var(--s3); max-width: 62ch; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.center .lead, .center .sub { margin-inline: auto; }

/* Signature: the Quick OCR selection marquee, drawn once over the key word. */
.mark { position: relative; display: inline-block; padding: 0 .08em; color: var(--blue-strong); }
.mark::before { content: ""; position: absolute; inset: .04em -.06em -.02em; border: 3px dashed var(--blue); border-radius: 6px; background: color-mix(in srgb, var(--blue) 9%, transparent); animation: marquee 1.1s cubic-bezier(.2, .7, .2, 1) .35s both; }
.mark::after { content: ""; position: absolute; right: -.18em; bottom: -.16em; width: .2em; height: .2em; min-width: 12px; min-height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); animation: handle 1.1s cubic-bezier(.2, .7, .2, 1) .35s both; }
@keyframes marquee { from { clip-path: inset(0 100% 100% 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes handle { from { opacity: 0; transform: translate(-1.2em, -.8em); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark::before, .mark::after { animation: none; }
}

/* hero */
.hero { padding: var(--s8) 0 var(--s6); overflow: hidden; background: radial-gradient(1100px 480px at 50% -10%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 70%); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 16ch; }
.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; margin-top: var(--s6); }
.trust { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: center; color: var(--ink-3); font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.ico-sm { width: 18px; height: 18px; color: var(--blue); flex: none; }
.hero-shot { margin-top: var(--s7); }
.frame { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { height: 36px; display: flex; gap: 7px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-left: var(--s3); flex: 0 1 340px; height: 22px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.frame picture { display: block; }
.frame img { width: 100%; }
.shot-note { margin-top: var(--s3); font-size: 14px; color: var(--ink-3); text-align: center; }

/* sections */
.section { padding: var(--s9) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
.section.alt .card { background: var(--bg); box-shadow: none; }
.card h3, .feature h3 { font-size: 19px; margin-bottom: var(--s2); letter-spacing: -.01em; }
.card p, .feature p { color: var(--ink-2); }
.card .how { margin-top: var(--s3); font-size: 15px; color: var(--blue-strong); font-weight: 600; }
.ico { width: 44px; height: 44px; padding: 10px; color: var(--blue-strong); background: var(--blue-soft); border-radius: 12px; margin-bottom: var(--s4); }

.steps { list-style: none; padding: 0; margin: var(--s7) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.steps .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 2px dashed var(--blue); color: var(--blue-strong); font-weight: 700; margin-bottom: var(--s4); }
.steps li:last-child .num { border-style: solid; background: var(--blue); color: var(--on-blue); }
.steps h3 { font-size: 20px; margin-bottom: var(--s2); }
.steps p { color: var(--ink-2); }
kbd { font: 600 .82em/1 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.showcase { margin-top: var(--s7); }
.frame figcaption { padding: var(--s3) var(--s4); font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s7); align-items: center; }
.ticks { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); color: var(--ink-2); }
.ticks li { display: flex; gap: var(--s3); align-items: flex-start; }
.ticks .ico-sm { margin-top: 4px; }
.formats { margin-top: var(--s5); font-size: 15px; color: var(--ink-3); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7) var(--s6); margin-top: var(--s7); }

/* privacy band */
.band { background: var(--reverse); color: #fff; padding: var(--s8) 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 260px; border: 3px dashed rgba(255, 255, 255, .22); border-radius: 18px; transform: rotate(-8deg); pointer-events: none; }
.band .eyebrow { color: #cfe6f7; }
.band .h2 { color: #fff; max-width: 20ch; }
.band .sub { color: #d9e8f4; }
.pillars { list-style: none; padding: 0; margin: var(--s7) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); position: relative; z-index: 1; }
.pillars li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: var(--s5); }
.pillars h3 { font-size: 18px; margin-bottom: var(--s2); color: #fff; }
.pillars p { color: #d9e8f4; font-size: 16px; }
.pillars svg { width: 28px; height: 28px; color: #fff; margin-bottom: var(--s3); }
.band a { color: #fff; }
.pillars + .sub { margin-top: var(--s5); }

/* FAQ */
.faq { margin-top: var(--s6); display: grid; gap: var(--s3); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 var(--s5); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: var(--s4); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue-strong); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s4); color: var(--ink-2); }

/* closing call to action */
.cta-band { text-align: center; padding: var(--s8) 0; }
.section + .cta-band { padding-top: 0; }
.cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s7) var(--s5); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.cta-card img { width: 64px; height: 64px; margin-bottom: var(--s4); }

/* privacy policy document */
.policy { padding: var(--s8) 0 var(--s9); border-top: 1px solid var(--line); background: var(--surface); }
.policy .meta { margin-top: var(--s3); color: var(--ink-3); font-size: 15px; }
.policy .summary { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.policy h3 { font-size: 21px; margin: var(--s6) 0 var(--s3); letter-spacing: -.01em; }
.policy p { color: var(--ink-2); margin-top: var(--s3); }
.downloads { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2); }
.downloads a { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.downloads svg { width: 18px; height: 18px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s6); font-size: 15px; color: var(--ink-3); }
.foot-row { display: flex; flex-wrap: wrap; gap: var(--s5); justify-content: space-between; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: var(--s4); }
.foot-brand img { width: 132px; height: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.fineprint { margin-top: var(--s5); font-size: 14px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--s8) 0; }
.notfound .num { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--blue-strong); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .grid3, .steps, .pillars, .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .head-actions { display: none; }
  .mnav { display: block; }
  .section { padding: var(--s8) 0; }
  .hero { padding-top: var(--s7); }
  .grid3, .steps, .pillars, .features { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .frame-bar span { display: none; }
  .band::after { display: none; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
