:root {
  --navy: #0e1a45; --navy-2: #16255e; --ink: #1c2541; --muted: #5a6582; --line: #e2e8f3;
  --blue: #2a5bd7; --blue-soft: #eaf1ff; --sky: #38bdf8; --gold: #c98d24; --gold-2: #e3a83b; --gold-soft: #fbf3e2;
  --bg: #f6f8fc; --card: #ffffff; --radius: 18px; --shadow: 0 18px 50px rgba(20, 38, 90, .10);
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Brand */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.wordmark { font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.wm-editor { color: var(--navy); }
.wm-lm { background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold { display: block; background: linear-gradient(180deg, var(--gold-2), #b5771a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 12px;
  font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #fff; box-shadow: 0 10px 24px rgba(201, 141, 36, .32); }
.btn-gold:hover { box-shadow: 0 14px 30px rgba(201, 141, 36, .40); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #c9d3e6; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-light:hover { background: rgba(255, 255, 255, .08); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 252, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(226, 232, 243, .8); }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.topnav { display: flex; gap: 26px; margin-inline-start: auto; }
.topnav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.topnav a:hover { color: var(--navy); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px;
  background: radial-gradient(900px 480px at 85% 10%, rgba(56, 189, 248, .14), transparent 60%),
              radial-gradient(700px 420px at 0% 100%, rgba(227, 168, 59, .12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); font-weight: 850; letter-spacing: -.035em; }
.lead { font-size: 18.5px; color: var(--muted); margin-top: 22px; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-center { justify-content: center; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Flow illustration */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; }
.flow-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px; min-height: 270px; }
.flow-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; text-align: center; }
.flow-arrow { color: var(--blue); width: 26px; align-self: center; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 13.5px; color: var(--ink); }
.file-list li { display: flex; align-items: center; gap: 9px; }
.ftype { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font-size: 10px; font-weight: 800; color: #fff; }
.ftype.pdf { background: #e5322d; } .ftype.doc { background: #2b6fe3; } .ftype.xls { background: #1f8f4e; }
.ftype.scan { background: #5b6b8c; } .ftype.img { background: #9a5cd6; }
.flow-agent { background: linear-gradient(180deg, #f0f5ff, #fff); border-color: #cfdcf7; }
.agent-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 13.5px; }
.agent-steps li { display: flex; gap: 10px; align-items: flex-start; }
.dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 0 4px var(--gold-soft); }
.doc-lines { display: grid; gap: 9px; }
.doc-lines .l { height: 7px; border-radius: 4px; background: #dfe7f5; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }
.cite { justify-self: start; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 6px; }

.ready { justify-self: start; margin-top: 6px; font-size: 11px; font-weight: 800; color: #1f7a45; background: #e5f6ec; padding: 3px 9px; border-radius: 999px; }

/* Strip */
.strip { background: var(--navy); color: #dbe4ff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: 20px; }
.strip p { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.strip svg { width: 22px; height: 22px; color: var(--gold-2); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: #fff; border-block: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.kicker-gold { color: var(--gold-2); }
.section-title { font-size: clamp(30px, 3.8vw, 44px); font-weight: 820; max-width: 22ch; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 62ch; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.workflow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; }
.workflow span { font-weight: 700; color: var(--navy); background: var(--gold-soft); border: 1px solid #f0dcb2; padding: 9px 18px; border-radius: 999px; }
.workflow i { width: 28px; height: 2px; background: linear-gradient(90deg, var(--gold-2), var(--blue)); }

/* Medical */
.medical { background: radial-gradient(700px 400px at 100% 0%, rgba(56, 189, 248, .18), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #dbe4ff; }
.medical .section-title { color: #fff; max-width: 18ch; }
.medical .lead { color: #c4cff0; }
.medical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.medical-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.medical-list li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px 18px; }
.medical-list svg { flex: none; width: 26px; height: 26px; color: var(--gold-2); margin-top: 2px; }
.medical-list strong { display: block; color: #fff; font-size: 16.5px; }
.medical-list span span, .medical-list li > span { font-size: 15px; color: #c4cff0; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; max-width: 820px; }
.download-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.os-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.os-icon svg { width: 26px; height: 26px; }
.download-card h3 { font-size: 22px; }
.download-card p { color: var(--muted); margin: 4px 0 22px; }
.download-card .btn { width: 100%; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 820px; }

/* Closing and footer */
.closing { background: linear-gradient(160deg, var(--navy), #1d3480); color: #dbe4ff; text-align: center; padding: 84px 0; }
.closing h2 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); }
.closing p { margin-top: 12px; font-size: 18px; color: #c4cff0; }
.footer { background: #fff; border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer .logo-mark { width: 30px; height: 30px; }
.footer .wordmark { font-size: 19px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 22px; margin-inline-start: auto; }
.footer nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer nav a:hover { color: var(--navy); text-decoration: underline; }

/* Agent choice and illustrated workspace */
.agent-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.agent-chip { border: 1px solid transparent; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700; }
.agent-codex { background: #daf1eb; color: #175c4e; border-color: #b4ddd1; }
.agent-claude { background: #fbe8dc; color: #884628; border-color: #edc6af; }
.agent-copilot { background: #eae3fc; color: #5e3d99; border-color: #d5c7f4; }
.agent-note { color: var(--muted); font-size: 13px; margin-top: 9px; }
.hero { background: radial-gradient(ellipse at 85% 15%, #e3dcfa 0, transparent 45%), radial-gradient(ellipse at 10% 90%, #e1f3ee 0, transparent 40%); }
.flow-card:first-child { background: #edf7ff; border-color: #c8e1f5; }
.flow-agent { background: linear-gradient(160deg, #eee5ff, #fff); border-color: #d8c7f1; }
.flow-doc { background: #f0faf5; border-color: #c3e2d2; }
.workspace-section { background: linear-gradient(180deg, #fff, #f6f8fc); }
.workspace-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.workspace-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(20,38,90,.06); }
.workspace-art { padding: 12px 8px 0; }
.workspace-art svg { width: 100%; height: auto; }
.tone-blue .workspace-art { background: #e7f0ff; }
.tone-purple .workspace-art { background: #f0e9fc; }
.tone-mint .workspace-art { background: #e2f5ee; }
.tone-peach .workspace-art { background: #fff0e5; }
.workspace-copy { padding: 23px 22px 26px; }
.workspace-copy h3 { font-size: 21px; line-height: 1.2; }
.workspace-copy p { margin-top: 11px; color: var(--muted); font-size: 15.5px; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid, .medical-grid { grid-template-columns: minmax(0, 1fr); }
  .features, .steps, .workspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 44px 0 56px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .flow-card { min-height: 0; }
  .features, .steps, .downloads, .workspace-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 0; }
  .cta-row .btn { width: 100%; }
  .footer nav { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .feature { transition: none; } }
