:root {
  color-scheme: light;
  --ink: #111827;
  --navy: #0f2747;
  --blue: #2365dd;
  --teal: #0b9b83;
  --yellow: #f0b429;
  --muted: #64748b;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

.brochure-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brochure-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brochure-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

.brochure-brand-mark { font-size: 12px; font-weight: 800; }

.brochure-brand > span:last-child { display: grid; gap: 1px; }
.brochure-brand strong { font-size: 16px; font-weight: 800; }
.brochure-brand small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.brochure-nav nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.brochure-nav nav a {
  color: #45546a;
  font-size: 13px;
  font-weight: 700;
}

.brochure-nav nav a:hover { color: var(--blue); }

.brochure-nav-actions { display: flex; align-items: center; gap: 10px; }

.brochure-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.brochure-icon-btn:hover { border-color: var(--blue); color: var(--blue); }

.brochure-login-btn,
.brochure-primary-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.brochure-login-btn:hover,
.brochure-primary-link:hover { background: #184fb5; }

.brochure-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 150px));
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) clamp(24px, 7vw, 110px) 116px;
  overflow: hidden;
  isolation: isolate;
  background: url("assets/brochure/ocr-case-workspace.png") center top / cover no-repeat;
  color: var(--white);
}

.brochure-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 24, 48, 0.76);
}

.brochure-hero-copy { width: min(770px, 80vw); }

.brochure-eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brochure-hero .brochure-eyebrow { color: #78e3d2; }

.brochure-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.08;
  font-weight: 800;
}

.brochure-hero-copy > p:not(.brochure-eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e8eef7;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}

.brochure-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.brochure-hero .brochure-primary-link { min-height: 50px; padding: 0 26px; background: var(--yellow); color: #16223a; }
.brochure-hero .brochure-primary-link:hover { background: #ffd164; }

.brochure-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.brochure-text-link .brochure-symbol { font-size: 18px; }

.brochure-hero-proof {
  position: absolute;
  left: clamp(24px, 7vw, 110px);
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #dfe9f7;
  font-size: 12px;
  font-weight: 700;
}

.brochure-hero-proof .brochure-symbol { color: #78e3d2; font-size: 19px; }

.brochure-intro,
.brochure-capability-band,
.brochure-showcase,
.brochure-integrations,
.brochure-cta {
  padding: clamp(68px, 8vw, 118px) clamp(22px, 7vw, 110px);
}

.brochure-intro { padding-top: 36px; }

.brochure-section-heading { max-width: 760px; margin-bottom: 46px; }
.brochure-section-heading.compact { margin-bottom: 34px; }

.brochure-section-heading h2,
.brochure-showcase-copy h2,
.brochure-integrations-copy h2,
.brochure-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.18;
  font-weight: 800;
}

.brochure-section-heading > p:last-child,
.brochure-showcase-copy > p:not(.brochure-eyebrow),
.brochure-integrations-copy > p:not(.brochure-eyebrow),
.brochure-cta > p:not(.brochure-eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.brochure-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.brochure-flow li {
  min-width: 0;
  padding: 24px 22px 0 0;
}

.brochure-flow li + li { border-left: 1px solid var(--line); padding-left: 22px; }
.brochure-flow li > span { color: var(--blue); font-size: 12px; font-weight: 800; }
.brochure-flow strong { display: block; margin-top: 22px; font-size: 17px; }
.brochure-flow p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.brochure-showcase,
.brochure-integrations {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.4fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
  background: var(--soft);
}

.brochure-showcase-files { grid-template-columns: minmax(520px, 1.4fr) minmax(280px, 0.82fr); background: var(--white); }

.brochure-screen {
  min-width: 0;
  margin: 0;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(19, 44, 77, 0.14);
}

.brochure-screen img { width: 100%; height: auto; display: block; }
.brochure-screen figcaption { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; }

.brochure-showcase-copy ul { list-style: none; display: grid; gap: 12px; margin: 28px 0 0; padding: 0; }
.brochure-showcase-copy li { display: flex; align-items: flex-start; gap: 10px; color: #344257; font-size: 13px; line-height: 1.55; }
.brochure-showcase-copy li .brochure-symbol { color: var(--teal); font-size: 18px; font-weight: 800; }

.brochure-capability-band { background: var(--navy); color: var(--white); }
.brochure-capability-band .brochure-eyebrow { color: #78e3d2; }

.brochure-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.2); }
.brochure-capability-grid article { min-height: 220px; padding: 30px 30px 30px 0; }
.brochure-capability-grid article:nth-child(3n + 2),
.brochure-capability-grid article:nth-child(3n + 3) { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 30px; }
.brochure-capability-grid article:nth-child(n + 4) { border-top: 1px solid rgba(255,255,255,0.16); }
.brochure-capability-grid .brochure-symbol { color: #78e3d2; font-size: 20px; font-weight: 800; }
.brochure-capability-grid h3 { margin: 28px 0 10px; font-size: 18px; }
.brochure-capability-grid p { margin: 0; color: #b9c8da; font-size: 13px; line-height: 1.72; }

.brochure-detail-list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.brochure-detail-list div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.brochure-detail-list strong { font-size: 13px; }
.brochure-detail-list span { color: var(--muted); font-size: 12px; line-height: 1.6; }

.brochure-integrations { grid-template-columns: minmax(320px, 0.86fr) minmax(500px, 1.34fr); background: #f8fafc; }
.brochure-integration-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.brochure-integration-points div { border-top: 3px solid var(--yellow); padding: 20px 0 0; }
.brochure-integration-points div:last-child { border-color: var(--blue); }
.brochure-integration-points .brochure-symbol { display: block; color: var(--navy); font-size: 22px; font-weight: 800; }
.brochure-integration-points strong { display: block; margin-top: 14px; font-size: 17px; }
.brochure-integration-points p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.brochure-cta { text-align: center; background: var(--white); }
.brochure-cta .brochure-eyebrow { text-align: center; }
.brochure-cta h2 { max-width: 800px; margin-inline: auto; }
.brochure-cta > p:not(.brochure-eyebrow) { max-width: 620px; margin-inline: auto; }
.brochure-cta .brochure-primary-link { margin-top: 30px; min-height: 48px; }

.brochure-footer {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(22px, 7vw, 110px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.brochure-footer p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .brochure-nav { grid-template-columns: 1fr auto; }
  .brochure-nav nav { display: none; }
  .brochure-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .brochure-flow li,
  .brochure-flow li + li { border: 0; border-top: 1px solid var(--line); padding: 22px 18px 24px 0; }
  .brochure-flow li:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
  .brochure-showcase,
  .brochure-showcase-files,
  .brochure-integrations { grid-template-columns: 1fr; }
  .brochure-showcase-files .brochure-screen { order: 2; }
  .brochure-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brochure-capability-grid article:nth-child(n) { border: 0; border-top: 1px solid rgba(255,255,255,0.16); padding: 28px 24px 28px 0; }
  .brochure-capability-grid article:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 24px; }
}

@media (max-width: 620px) {
  .brochure-nav { min-height: 64px; padding: 8px 14px; }
  .brochure-brand small { display: none; }
  .brochure-nav-actions { gap: 6px; }
  .brochure-login-btn { min-height: 40px; padding: 0 13px; }
  .brochure-hero { min-height: calc(100vh - 128px); padding: 70px 22px 110px; background-position: 34% top; }
  .brochure-intro { padding-top: 32px; }
  .brochure-hero-copy { width: 100%; }
  .brochure-hero h1 { font-size: 42px; }
  .brochure-hero-copy > p:not(.brochure-eyebrow) { font-size: 16px; line-height: 1.7; }
  .brochure-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .brochure-hero-proof { left: 22px; right: 22px; bottom: 26px; align-items: flex-start; }
  .brochure-flow,
  .brochure-capability-grid,
  .brochure-integration-points { grid-template-columns: 1fr; }
  .brochure-flow li:nth-child(n),
  .brochure-capability-grid article:nth-child(n) { border-left: 0; padding-left: 0; }
  .brochure-capability-grid article { min-height: 0; }
  .brochure-detail-list div { grid-template-columns: 1fr; gap: 5px; }
  .brochure-footer { align-items: flex-start; flex-direction: column; }
}

@media print {
  .brochure-nav { position: static; }
  .brochure-nav nav,
  .brochure-nav-actions,
  .brochure-hero-actions { display: none; }
  .brochure-hero { min-height: 620px; break-after: page; }
  .brochure-showcase,
  .brochure-capability-band,
  .brochure-integrations { break-inside: avoid; }
  .brochure-screen { box-shadow: none; }
}
