:root {
  --navy: #1a2744;
  --navy-deep: #101a30;
  --blue: #2563eb;
  --blue-dark: #1e53cd;
  --blue-light: #eaf1ff;
  --teal: #0f766e;
  --teal-light: #e4f6f3;
  --slate: #62708a;
  --line: #dfe7f2;
  --bg: #f7fafd;
  --panel: #ffffff;
  --shadow: 0 22px 48px rgba(26,39,68,.13);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 92% 4%, rgba(37,99,235,.14), transparent 30rem),
    radial-gradient(circle at 5% 34%, rgba(15,118,110,.08), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223,231,242,.84);
  background: rgba(247,250,253,.9);
  backdrop-filter: blur(18px);
}
.nav-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand img { display: block; width: 255px; max-width: 50vw; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #4d5c74; font-size: 14px; font-weight: 760; }
.nav-links a:hover { color: var(--blue); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
}
.button-primary:hover { box-shadow: 0 15px 30px rgba(37,99,235,.32); }
.button-secondary { color: var(--navy); background: white; border-color: #cbd8e8; }
.button-secondary:hover { color: var(--blue); border-color: var(--blue); }
.breadcrumb { padding-top: 24px; color: #6d7b90; font-size: 13px; font-weight: 700; }
.breadcrumb a { color: var(--blue); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 68px;
  --glow-x: 72%;
  --glow-y: 34%;
}
.hero > .container { position: relative; z-index: 1; }
.scan-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20,184,198,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .9;
}
.scan-hero-bg::before {
  content: "";
  position: absolute;
  left: -18%;
  top: 36%;
  width: 136%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(20,184,198,.08), rgba(20,184,198,.68), rgba(37,99,235,.32), transparent);
  box-shadow: 0 0 26px rgba(20,184,198,.35), 0 0 70px rgba(37,99,235,.15);
  animation: scannerSweep 7.5s ease-in-out infinite;
}
.scan-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(20,184,198,.12), transparent 24rem),
    radial-gradient(circle at 84% 68%, rgba(37,99,235,.10), transparent 22rem);
}
.scan-doc, .scan-folder, .scan-route { position: absolute; display: block; }
.scan-doc {
  width: 168px;
  height: 216px;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(37,99,235,.12) 0 42%, transparent 42%),
    linear-gradient(90deg, rgba(20,184,198,.16) 0 34%, transparent 34%),
    linear-gradient(90deg, rgba(37,99,235,.10) 0 60%, transparent 60%),
    linear-gradient(90deg, rgba(20,184,198,.12) 0 28%, transparent 28%),
    rgba(255,255,255,.45);
  background-size: 98px 8px, 74px 8px, 118px 8px, 64px 8px, auto;
  background-position: 28px 44px, 28px 78px, 28px 112px, 28px 148px, 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 24px 70px rgba(26,39,68,.06);
  opacity: .48;
}
.scan-doc::before, .scan-doc::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(20,184,198,.45);
  border-radius: 2px;
  opacity: .75;
}
.scan-doc::before { left: 22px; top: 68px; width: 66px; height: 18px; }
.scan-doc::after { right: 22px; bottom: 46px; width: 58px; height: 18px; border-color: rgba(37,99,235,.35); }
.scan-doc.one { left: 47%; top: 7%; }
.scan-doc.two { left: 52%; bottom: 5%; transform: scale(.72); opacity: .34; }
.scan-doc.three { right: 30%; top: 15%; transform: scale(.62); opacity: .28; }
.scan-route {
  right: 7%;
  top: 28%;
  width: 300px;
  height: 360px;
  border-top: 2px solid rgba(37,99,235,.18);
  border-right: 2px solid rgba(37,99,235,.16);
  border-bottom: 2px dashed rgba(20,184,198,.22);
  border-radius: 0 34px 34px 0;
  opacity: .9;
}
.scan-folder {
  right: 4.6%;
  width: 108px;
  height: 68px;
  border: 1px solid rgba(37,99,235,.20);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(234,241,255,.48));
  box-shadow: 0 16px 40px rgba(26,39,68,.08);
}
.scan-folder::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 48px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2563eb, #14b8c6);
  box-shadow: inset 0 10px rgba(255,255,255,.22);
}
.scan-folder::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 28px;
  height: 12px;
  border-radius: 5px 5px 0 0;
  background: #60a5fa;
}
.scan-folder.a { top: 22%; }
.scan-folder.b { top: 47%; opacity: .9; }
.scan-folder.c { top: 72%; opacity: .78; }
@keyframes scannerSweep {
  0%, 100% { transform: translateY(-92px); opacity: .14; }
  22%, 68% { opacity: 1; }
  50% { transform: translateY(155px); }
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--teal-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
h1, h2 { letter-spacing: -.06em; }
h1 { max-width: 780px; margin: 19px 0 22px; font-size: clamp(3.1rem, 5.9vw, 5.55rem); line-height: .99; }
h1 span { color: var(--blue); }
.hero-copy { max-width: 680px; margin: 0 0 27px; color: #56657b; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 29px; color: #68768c; font-size: 13px; font-weight: 750; }
.proof span { display: inline-flex; align-items: center; gap: 7px; }
.proof i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--teal); background: #e3f6f2; font-style: normal; font-size: 11px; }
.workflow-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid #eef2f7; }
.window-dot { width: 9px; height: 9px; border-radius: 50%; background: #d7e0eb; }
.window-dot:nth-child(1) { background: #f59e0b; }
.window-dot:nth-child(2) { background: #22c55e; }
.window-dot:nth-child(3) { background: #60a5fa; }
.window-title { margin-left: 8px; color: #66758b; font-size: 12px; font-weight: 850; }
.workflow-list { display: grid; gap: 12px; padding-top: 16px; }
.workflow-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #e5edf6; border-radius: 14px; background: #f8fbff; }
.workflow-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--blue); background: var(--blue-light); font-size: 12px; font-weight: 900; }
.workflow-row strong { display: block; font-size: .95rem; }
.workflow-row small { color: #6d7b90; font-size: .78rem; font-weight: 720; }
.workflow-pill { padding: 5px 8px; border-radius: 999px; color: var(--teal); background: var(--teal-light); font-size: 10px; font-weight: 900; }
.section { padding: 62px 0; }
.section-alt { border-top: 1px solid #e9eff6; border-bottom: 1px solid #e9eff6; background: white; }
.section-head { max-width: 790px; margin-bottom: 38px; }
.kicker { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 12px 0 13px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.06; }
.section-head p, .lede { margin: 0; color: #647389; font-size: 1.07rem; }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature, .step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 32px rgba(26,39,68,.06);
}
.feature {
  min-height: 172px;
  padding: 20px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  align-content: start;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-light);
  font-size: 11px;
  font-weight: 900;
  grid-row: 1 / span 2;
}
.feature-icon.teal { color: var(--teal); background: var(--teal-light); }
.feature h3 { margin: 1px 0 7px; font-size: 1.06rem; }
.feature p { margin: 0; color: #69788d; font-size: .93rem; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.step { padding: 24px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 17px; border-radius: 10px; color: white; background: var(--navy); font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step p { margin: 0; color: #69788d; font-size: .95rem; }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
summary { padding: 18px 20px; cursor: pointer; font-weight: 850; }
details p { margin: 0; padding: 0 20px 20px; color: #647389; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.related-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--navy); font-weight: 850; }
.related-card:hover { color: var(--blue); border-color: rgba(37,99,235,.35); }
.cta { padding: 62px 0; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 42px; border-radius: 25px; color: white; background: linear-gradient(135deg,#14233f,var(--navy)); box-shadow: var(--shadow); }
.cta-box h2 { margin: 0 0 8px; font-size: clamp(2rem,4vw,3.15rem); }
.cta-box p { max-width: 690px; margin: 0; color: #becbe0; }
.cta-box .button-primary { color: var(--navy); background: white; box-shadow: none; }
footer { padding: 25px 0 42px; color: #738198; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 17px; padding-top: 21px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.demo-modal[hidden] { display: none; }
.demo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(16,26,48,.62); backdrop-filter: blur(6px); }
.demo-modal-card { width: min(760px, 100%); max-height: min(92vh, 900px); overflow: auto; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 28px 72px rgba(16,26,48,.28); }
.demo-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 24px 16px; border-bottom: 1px solid #eaf0f6; }
.demo-modal-header h2 { margin: 4px 0 6px; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.demo-modal-header p { margin: 0; color: #647389; font-size: .96rem; }
.demo-close { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid #d9e2ef; border-radius: 10px; background: white; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.demo-close:hover { border-color: var(--blue); color: var(--blue); }
.demo-form { display: grid; gap: 16px; padding: 22px 24px 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--navy); font-size: 13px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #cfd9e8; border-radius: 10px; background: white; color: var(--navy); padding: 12px 13px; outline: none; transition: .18s ease; }
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.details-toggle { display: inline-flex; align-items: center; gap: 7px; width: fit-content; border: 0; background: transparent; color: var(--blue); padding: 0; font-weight: 800; cursor: pointer; }
.optional-details[hidden] { display: none; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 3px; }
.form-note { margin: 0; color: #738198; font-size: 12px; }
.form-note a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 20px; margin: 0; font-size: 13px; font-weight: 750; }
.form-status.success { color: var(--teal); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .scan-hero-bg::before { animation: none; }
}
@media (max-width: 960px) {
  .hero-grid, .features, .steps, .related-grid { grid-template-columns: 1fr; }
  .workflow-card { max-width: 650px; }
  .nav-links a:not(.button) { display: none; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand img { width: 180px; }
  .nav-inner { min-height: 68px; gap: 10px; }
  .nav-links { gap: 0; }
  .nav-links .button { padding: 10px 11px; font-size: 12px; }
  h1 { font-size: 3.2rem; }
  .hero { padding-top: 40px; }
  .scan-doc, .scan-folder, .scan-route { opacity: .2; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-actions { align-items: stretch; }
  .form-actions .button { width: 100%; }
  .cta-box { padding: 28px; }
}
