:root {
  --blue: #2755a5;
  --blue-dark: #0d1b31;
  --cyan: #159a9c;
  --purple: #6750a4;
  --ink: #111b2d;
  --muted: #647087;
  --line: #dbe2ec;
  --soft: #f5f7fa;
  --green: #177458;
  --green-bg: #edf7f3;
  --red: #bd354a;
  --red-bg: #fff3f5;
  --amber: #9d610c;
  --amber-bg: #fff8e9;
  --purple-bg: #f5f1fb;
  --shadow: none;
  --radius: 12px;
}

body { background: #f7f9fc; }
main { background: #fff; }
.shell { width: min(1160px, calc(100% - 40px)); }
.site-header { height: 72px; border-color: #e3e8f0; background: rgba(255,255,255,.98); backdrop-filter: blur(16px); }
.brand { gap: 14px; }
.brand img { width: 176px; height: 36px; }
.brand-copy b { font-size: 15px; }
.brand-copy small { margin-top: 4px; font-size: 10px; }
.site-header nav { align-self: stretch; align-items: center; gap: 12px; }
.site-header nav a { position: relative; padding: 9px 2px; border-radius: 0; background: transparent !important; font-size: 12px; }
.site-header nav a.active::after { position: absolute; right: 0; bottom: -13px; left: 0; height: 2px; background: var(--blue); content: ""; }
.local-chip { padding: 7px 11px; border: 1px solid #cde4da; background: #f2faf7; font-size: 10px; }
.btn { min-height: 40px; border-radius: 7px; box-shadow: none; font-size: 12px; }
.btn-primary { background: #244f9b; box-shadow: none; }
.btn-primary:hover { background: #183f83; }
.btn-light { border-color: #d7deea; background: #fff; }
.eyebrow { font-size: 9px; letter-spacing: .16em; }

.hero { gap: 64px; padding: 64px 0 60px; }
.hero h1 { font-size: 47px; }
.hero-copy > p { font-size: 16px; }
.hero-panel { border: 1px solid #263650; border-radius: 14px; background: #0d1b31; color: #fff; box-shadow: 0 22px 55px rgba(13,27,49,.18); transform: none; }
.panel-toolbar { border-color: #263650; background: #091528; }
.decision-preview { padding: 22px; }
.preview-status { border-color: rgba(238,112,131,.34); background: rgba(189,53,74,.14); }
.preview-status small { color: #ff93a4; }
.preview-grid div { background: #17263f; }
.preview-grid span,
.preview-finding span { color: #aab7cc; }
.preview-finding { background: #13223a; }
.section { padding: 64px 0; }
.section-tint { background: #f4f7fa; }
.section-heading h2 { font-size: 31px; }
.need-problems article,
.profile-mode-grid article,
.output-grid article,
.use-case-card,
.form-card,
.side-card,
.scan-card,
.uploaded-document { border-radius: 10px; box-shadow: none; }
.need-problems article,
.output-grid article,
.use-case-card { border-color: #dde4ed; }
.use-case-card.recommended { border-width: 1px; border-color: #91a9d7; transform: none; }
.savings-bar,
.customization-note,
.contact-card { border-radius: 12px; background: #0d1b31; box-shadow: none; }
.onprem-card { border-radius: 12px; background: #fff; box-shadow: none; }

.workflow-head { align-items: center; padding: 40px 0 24px; }
.workflow-head h1 { font-size: 35px; letter-spacing: -.03em; }
.steps li { display: flex; align-items: center; gap: 6px; padding: 9px 13px; font-size: 10px; white-space: nowrap; }
.steps li::before { position: static; left: auto; flex: 0 0 19px; width: 19px; height: 19px; line-height: 18px; }
.demo-context-banner { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding: 13px 15px; border: 1px solid #cfdcf1; border-left: 3px solid var(--blue); border-radius: 8px; background: #f6f9fe; }
.demo-context-banner > span { flex: 0 0 auto; padding: 4px 7px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.demo-context-banner b { display: block; color: var(--ink); font-size: 11px; }
.demo-context-banner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.guide-strip { border: 0; border-left: 3px solid var(--blue); border-radius: 0; background: #f5f8fc; }
.document-flow-hint > div { border-radius: 8px; box-shadow: none; }
.uploaded-batch-status { border-radius: 8px; }
.scope-foundation-card { border-radius: 9px; }
.workflow-next-callout { border-radius: 8px; }
.document-intro-overlay { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(7,17,33,.72); backdrop-filter: blur(7px); }
.document-intro-overlay.is-open { display: flex; }
.document-intro-modal { position: relative; width: min(620px,100%); padding: 30px; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(6,16,31,.3); }
.document-intro-modal h2 { margin: 7px 40px 8px 0; font-size: 25px; line-height: 1.22; }
.document-intro-modal > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.document-intro-close { position: absolute; top: 14px; right: 14px; display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 21px; cursor: pointer; }
.document-intro-status { display: flex; gap: 11px; align-items: center; margin: 18px 0; padding: 12px 14px; border-left: 3px solid var(--green); background: #f2f8f5; }
.document-intro-status > span { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; font-weight: 900; }
.document-intro-status b,
.document-intro-status small { display: block; }
.document-intro-status b { font-size: 11px; }
.document-intro-status small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.document-intro-modal > .btn { width: 100%; }

.result-head { padding-top: 34px; }
.result-head h1 { font-size: 34px; }
.decision-banner,
.decision-banner.tone-red,
.decision-banner.tone-amber,
.decision-banner.tone-green { padding: 18px 20px; border: 1px solid #23344e; border-left: 4px solid var(--red); border-radius: 10px; background: #0d1b31; color: #fff; }
.decision-banner.tone-amber { border-left-color: #dda84b; }
.decision-banner.tone-green { border-left-color: #42a37f; }
.decision-banner p { color: #aab7cc; }
.decision-banner .eyebrow { color: #ff95a5; }
.decision-banner.tone-amber .eyebrow { color: #f3cb82; }
.decision-banner.tone-green .eyebrow { color: #7bd0af; }
.decision-banner h2 { font-size: 20px; }
.decision-icon { width: 38px; height: 38px; background: rgba(255,255,255,.09); }

.customer-action-center { margin-top: 14px; padding: 22px; border: 1px solid #d9e1ec; border-radius: 10px; background: #fff; box-shadow: none; }
.customer-action-head h2 { margin: 4px 0; font-size: 24px; }
.action-count { border: 1px solid #efd1d6; border-radius: 7px; background: #fff7f8; }
.customer-guidance-line { display: flex; align-items: center; gap: 9px; margin: 16px 0 13px; padding: 10px 12px; border-left: 3px solid var(--blue); background: #f5f8fc; }
.customer-guidance-line > span { display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #e7f4ef; color: var(--green); font-size: 9px; font-weight: 900; }
.customer-guidance-line > i { margin-left: 8px; color: var(--blue); font-style: normal; font-weight: 900; }
.customer-guidance-line p { margin: 0; color: var(--muted); font-size: 10px; }
.customer-guidance-line b { color: var(--ink); }
.priority-action-list { border-top: 1px solid var(--line); }
.priority-action-row { border-bottom: 1px solid var(--line); background: #fff; }
.priority-action-row > summary { display: grid; grid-template-columns: 38px minmax(0,1fr) auto 28px; gap: 13px; align-items: center; padding: 15px 3px; list-style: none; cursor: pointer; }
.priority-action-row > summary::-webkit-details-marker { display: none; }
.priority-action-row[open] > summary { background: #f8fafd; }
.priority-action-number { position: static; top: auto; right: auto; color: #9ba8ba; font-size: 11px; font-weight: 900; }
.priority-action-summary b,
.priority-action-summary small { display: block; }
.priority-action-summary b { font-size: 14px; }
.priority-action-summary small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.priority-action-meta { display: grid; justify-items: end; gap: 4px; }
.priority-action-meta em { padding: 3px 6px; border-radius: 4px; background: var(--red-bg); color: var(--red); font-size: 8px; font-style: normal; font-weight: 850; }
.priority-action-meta small { display: none; }
.priority-action-expand { display: flex; width: 27px; height: 27px; align-items: center; justify-content: center; color: var(--blue); font-size: 17px; transition: transform .18s ease; }
.priority-action-row[open] .priority-action-expand { transform: rotate(180deg); }
.priority-action-details { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 18px; padding: 4px 3px 18px 54px; }
.priority-action-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.priority-action-explanation section { padding: 11px 12px; border-left: 2px solid #cad5e7; background: #f8fafd; }
.priority-action-explanation section:last-child { border-left-color: var(--blue); }
.priority-action-explanation span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.priority-action-explanation p { margin: 0; color: #47546a; font-size: 10px; line-height: 1.48; }
.priority-action-buttons { display: grid; align-content: start; gap: 7px; padding: 0; }
.priority-action-buttons .btn { width: 100%; margin: 0; padding: 8px 10px; font-size: 10px; }
.customer-action-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 10px 2px 0; border: 0; border-radius: 0; background: transparent; }
.customer-action-footer p { margin: 0; color: var(--muted); font-size: 9px; }
.customer-action-footer a { color: var(--blue); font-size: 9px; font-weight: 850; white-space: nowrap; }
.footer-legal { display: flex; gap: 14px; margin-top: 9px; }
.footer-legal a { color: #dce4f4; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(220,228,244,.35); text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; text-decoration-color: #fff; }
.cookie-notice { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: min(620px, calc(100% - 44px)); display: flex; align-items: center; gap: 20px; padding: 17px 18px; border: 1px solid #c9d5ec; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(16,26,49,.2); }
.cookie-notice[hidden] { display: none; }
.cookie-notice-copy { flex: 1; }
.cookie-notice-copy strong, .cookie-notice-copy span { display: block; }
.cookie-notice-copy strong { margin-bottom: 4px; font-size: 12px; }
.cookie-notice-copy span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.cookie-notice-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cookie-notice-actions a { color: var(--blue); font-size: 10px; font-weight: 800; }
.cookie-notice-actions .btn { padding: 8px 12px; font-size: 10px; }

.result-facts { display: flex; align-items: center; gap: 0; margin-top: 13px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-facts > div { display: flex; align-items: baseline; gap: 5px; padding: 0 18px; border-right: 1px solid var(--line); }
.result-facts > div:first-child { padding-left: 0; }
.result-facts strong { font-size: 16px; }
.result-facts span { color: var(--muted); font-size: 9px; }
.result-facts p { margin: 0 0 0 auto; color: var(--muted); font-size: 9px; }
.result-tabs { margin-top: 18px; }
.result-tabs a { padding: 11px 14px; font-size: 11px; }
.result-section { padding-top: 32px; }
.result-overview-minimal { padding-bottom: 58px; }
.finding-card { border-radius: 8px !important; box-shadow: none; }
.finding-summary { padding: 15px 16px; }
.finding-title { font-size: 15px; }
.finding-details { padding: 15px 16px; }
.three-answers { gap: 8px; }
.answer { border-radius: 7px; }

.result-guide-modal { width: min(640px,100%); padding: 29px; border-radius: 14px; }
.result-guide-modal > h2 { font-size: 25px; }
.result-guide-steps { grid-template-columns: 1fr; gap: 7px; margin-top: 18px; }
.result-guide-steps article { grid-template-columns: 30px 1fr; padding: 11px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; }
.result-guide-steps article > span { width: 26px; height: 26px; }
.result-guide-steps h3 { margin-bottom: 2px; font-size: 12px; }
.result-guide-steps p { min-height: 0; font-size: 9px; }
.result-guide-steps a { margin-top: 5px; }
.result-guide-actions { margin-top: 17px; padding-top: 15px; }
.result-guide-help { width: 44px; height: 44px; padding: 0; overflow: hidden; border-radius: 50%; box-shadow: 0 8px 24px rgba(13,27,49,.12); font-size: 0; }
.result-guide-help span { flex: 0 0 auto; width: 42px; height: 42px; font-size: 12px; }
.action-template-modal { border-radius: 12px; }
.action-template-text { border-radius: 7px; }

@media (max-width: 980px) {
  .priority-action-details { grid-template-columns: 1fr; padding-left: 54px; }
  .priority-action-buttons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 24px,1160px); }
  .site-header { height: 66px; }
  .brand img { width: 144px; }
  .hero h1,
  .workflow-head h1 { font-size: 33px; }
  .decision-banner { padding: 16px; }
  .document-intro-overlay { align-items: flex-end; padding: 10px; }
  .document-intro-modal { max-height: calc(100vh - 20px); padding: 27px 20px 20px; overflow: auto; border-radius: 12px; }
  .demo-context-banner { align-items: flex-start; }
  .customer-action-center { padding: 17px; }
  .customer-guidance-line { display: grid; grid-template-columns: 22px 1fr; }
  .customer-guidance-line > i { display: none; }
  .priority-action-row > summary { grid-template-columns: 28px minmax(0,1fr) 25px; gap: 8px; }
  .priority-action-meta { display: none; }
  .priority-action-summary b { font-size: 13px; }
  .priority-action-details { padding: 2px 0 15px 36px; }
  .priority-action-explanation { grid-template-columns: 1fr; }
  .priority-action-buttons { grid-template-columns: 1fr; }
  .customer-action-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-notice-actions { justify-content: space-between; }
  .result-facts { flex-wrap: wrap; row-gap: 8px; }
  .result-facts > div { flex: 1 1 25%; padding: 0 8px; }
  .result-facts > div:first-child { padding-left: 0; }
  .result-facts p { flex: 1 0 100%; margin: 3px 0 0; }
  .section-heading.inline { display: block; }
  .section-heading.inline .text-link { display: inline-flex; margin-top: 8px; }
}
