/* 2026 public-site direction: editorial, operational, and evidence-led. */
:root {
  --navy: #0d3f52;
  --navy-deep: #092f3f;
  --ink: #183943;
  --muted: #5a7680;
  --cream: #f5f2ec;
  --paper: #fdfbf8;
  --line: #d8e2e3;
  --gold: #f5a623;
  --pale: #e9f3f6;
  --green: #36735d;
  --max: 1280px;
}

body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3, .film-message { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.site-header { border-bottom-color: var(--line); background: rgba(253,251,248,.96); }
.site-header nav { gap: clamp(13px, 1.7vw, 26px); }
.site-header nav a { color: #365964; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.button, .booking-button, .contact-submit, .btn-cookie, .benefits-calculator .cta { border-radius: 4px !important; }
.button { background: var(--navy); border-color: var(--navy); }
.button:hover { background: var(--navy-deep); }
.hero-copy .hero-lead { max-width: 880px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; color: #365964; }
.film-message-detail { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.film-shade { background: linear-gradient(0deg, rgba(7,32,43,.84), rgba(7,32,43,.08) 92%); }
.all-use-cases-link { display: block; margin-top: 14px; padding: 19px 20px; color: var(--navy); background: #edf5f7; border-top: 2px solid var(--gold); text-decoration: none; font-weight: 700; }
.all-use-cases-link span { display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy); border: 1px solid #9bbac3; font-variant-numeric: tabular-nums; }
.all-use-cases-link b { display: none; }
.all-use-cases-link:hover { background: #e2f0f3; }

.use-case-page { max-width: 1440px; margin: 0 auto; }
.use-case-hero { padding: clamp(64px, 8vw, 112px) clamp(22px, 6vw, 88px) 52px; background: var(--paper); }
.use-case-hero h1 { max-width: 1000px; margin: 14px 0 20px; color: var(--navy); font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.use-case-hero .eyebrow, .use-case-close .eyebrow { color: #88601f; }
.use-case-lead { max-width: 820px; color: #526f79; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; }
.use-case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 27px; }
.case-jump-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-jump-list a { padding: 8px 11px; color: #355a65; background: #f2f5f4; border: 1px solid #d9e3e3; font-size: 12px; text-decoration: none; }
.case-jump-list a:hover, .case-jump-list a:focus-visible { color: var(--navy); border-color: var(--gold); }
.shared-workflow { display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; gap: 36px; align-items: center; margin: 0 clamp(22px, 6vw, 88px) 50px; padding: 30px 34px; color: white; background: var(--navy); }
.shared-workflow .eyebrow { color: #ffd27c; }
.shared-workflow h2 { margin: 8px 0 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.15; }
.shared-workflow ol { display: grid; grid-template-columns: repeat(5, minmax(90px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.shared-workflow li { position: relative; min-height: 90px; padding: 30px 12px 12px; border-top: 1px solid rgba(255,255,255,.45); color: #f7f4ed; font-size: 13px; }
.shared-workflow li::before { position: absolute; top: 8px; left: 12px; color: #ffd27c; font-size: 11px; font-weight: 800; counter-increment: workflow; content: "0" counter(workflow); }
.use-case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0 clamp(22px, 6vw, 88px); }
.use-case-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 19px; align-content: start; padding: 26px; background: white; border: 1px solid var(--line); border-top: 3px solid #b8d4da; scroll-margin-top: 105px; }
.case-number { color: #9b6820; font: 700 16px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.case-category { margin: 0 0 8px; color: #667f86; font: 700 11px/1.4 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.case-content h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.case-content > p:not(.case-category), .case-columns > p { display: grid; grid-template-columns: 122px 1fr; gap: 13px; margin: 0; padding: 13px 0; border-top: 1px solid #e5ebea; color: #48636d; font-size: 14px; line-height: 1.55; }
.case-content strong { color: var(--navy); font-size: 12px; }
.case-featured { grid-column: 1 / -1; }
.use-case-featured { grid-column: 1 / -1; padding: 32px; color: white; background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); }
.use-case-featured .case-number, .use-case-featured .case-category { color: #ffd27c; }
.use-case-featured .case-content h2, .use-case-featured .case-content strong { color: white; }
.use-case-featured .case-content > p, .use-case-featured .case-columns > p { color: #d8e6e8; border-top-color: rgba(255,255,255,.22); }
.case-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-columns > p { display: block; }
.case-columns strong, .case-columns span { display: block; }
.case-columns strong { margin-bottom: 7px; }
.dossier-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.dossier-flow span { padding: 8px 10px; color: #173d4a; background: #dcecf0; font-size: 11px; font-weight: 700; }
.dossier-flow span:nth-of-type(4) { background: #ffe1a5; }
.dossier-flow i { width: 16px; height: 1px; background: #f4bc57; }
.use-case-close { margin: 50px clamp(22px, 6vw, 88px) 76px; padding: 44px; background: var(--cream); border-left: 4px solid var(--gold); }
.use-case-close h2 { max-width: 780px; margin: 8px 0; color: var(--navy); font-size: clamp(32px, 4vw, 48px); }
.use-case-close > p:not(.eyebrow) { max-width: 800px; color: #526f79; }
.use-case-close .button { margin-top: 12px; }

.business-case-panel { margin-top: 38px; padding: clamp(22px, 4vw, 38px); background: #edf5f7; border-top: 3px solid var(--gold); }
.business-case-panel h2 { color: var(--navy); font: 700 clamp(26px, 3vw, 38px)/1.15 Georgia, "Times New Roman", serif; }
.business-case-intro { max-width: 820px; color: #526f79; }
.business-case-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 24px; margin-top: 24px; }
.business-case-inputs, .business-case-results { padding: 24px; background: white; border: 1px solid var(--line); }
.business-case-field { margin: 0 0 19px; }
.business-case-field label { display: block; margin-bottom: 5px; color: var(--navy); font-weight: 700; }
.business-case-field small { display: block; margin-top: 5px; color: #657d84; font-size: 12px; }
.business-case-field input { width: 100%; min-height: 46px; padding: 9px 12px; color: var(--ink) !important; background: #fdfbf8 !important; border: 1px solid #b9cdd1 !important; border-radius: 3px !important; color-scheme: light !important; font: 600 18px/1.3 system-ui, sans-serif !important; }
.business-case-field input:focus-visible { outline: 3px solid #82c7d8; outline-offset: 2px; }
.business-case-results { color: white; background: var(--navy); }
.business-case-results h3 { margin: 0 0 8px; color: white; font-size: 25px; }
.business-case-results .result-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.23); }
.business-case-results .result-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.business-case-results .result-primary strong { color: #ffd27c; font: 700 28px/1.2 Georgia, serif; }
.business-case-results .muted { margin-top: 18px; color: #c7d9dd; font-size: 12px; }
.business-case-footnote { margin: 16px 0 0; color: #617b82; font-size: 12px; }

@media (max-width: 900px) {
  .site-header { gap: 16px; }
  .shared-workflow { grid-template-columns: 1fr; }
  .shared-workflow ol { grid-template-columns: repeat(5, minmax(75px, 1fr)); }
  .business-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .use-case-list { grid-template-columns: 1fr; }
  .case-featured { grid-column: 1; }
  .case-columns { grid-template-columns: 1fr; gap: 0; }
  .case-content > p:not(.case-category) { grid-template-columns: 1fr; gap: 4px; }
  .shared-workflow { margin-right: 18px; margin-left: 18px; padding: 24px; }
  .shared-workflow ol { grid-template-columns: 1fr; }
  .shared-workflow li { min-height: 52px; padding-top: 20px; }
  .shared-workflow li::before { top: 0; }
  .use-case-close { margin-right: 18px; margin-left: 18px; padding: 28px; }
  .use-case-detail, .use-case-featured { padding: 22px; }
  .use-case-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dossier-flow { gap: 6px; }
  .dossier-flow i { display: none; }
  .business-case-inputs, .business-case-results { padding: 20px; }
}
.decision-proof { display: grid; grid-template-columns: minmax(250px, .7fr) 1.3fr; gap: 24px 42px; align-items: end; padding: 76px max(28px, calc((100vw - var(--max)) / 2)); background: var(--cream); }
.decision-proof-heading { max-width: 560px; }
.decision-proof-heading h2 { margin: 8px 0 14px; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.decision-proof-heading > p:last-child { color: #526f79; }
.decision-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.decision-proof-grid article { min-height: 174px; padding: 20px; background: var(--paper); border-top: 2px solid var(--gold); }
.decision-proof-grid article > span { color: #94641f; font: 700 12px/1 system-ui, sans-serif; }
.decision-proof-grid h3 { margin: 14px 0 7px; color: var(--navy); font-size: 22px; }
.decision-proof-grid p { margin: 0; color: #5a7680; font-size: 14px; }
.decision-proof > .round-link { grid-column: 2; justify-self: start; }
@media(max-width:900px){.decision-proof{grid-template-columns:1fr;padding:60px 24px}.decision-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.decision-proof>.round-link{grid-column:1}}
@media(max-width:600px){.decision-proof-grid{grid-template-columns:1fr}.decision-proof-grid article{min-height:0}.decision-proof-heading h2{font-size:36px}}

.flow-feature .hero-gif { aspect-ratio: 2 / 1; }
.benefits-calculator h1 { font-family: Georgia, "Times New Roman", serif !important; font-weight: 700 !important; letter-spacing: -.03em; }
.benefits-calculator input[type=number] { color: var(--ink) !important; background: #fdfbf8 !important; border: 1px solid #b9cdd1 !important; border-radius: 3px !important; color-scheme: light !important; }
.benefits-calculator .panel { border-radius: 4px !important; }
.benefits-calculator .benefit { border-radius: 4px !important; }

/* Film copy uses the site display face; the Aidecis mark remains the original logo artwork. */
.film-story .film-message { color:#fff; font-family:Georgia, "Times New Roman", serif; font-size:clamp(32px,3.6vw,52px); font-weight:400; letter-spacing:-.025em; line-height:1.15; }
.film-story .film-message-detail { max-width:1150px; }
.film-wordmark-pad { color:#d7a35b; font:inherit; }
.shared-workflow li { padding-top:38px; }
.shared-workflow li::before { content:none; }
.shared-workflow .workflow-icon { position:absolute; top:7px; left:12px; width:24px; height:24px; }
.shared-workflow .workflow-icon .aidecis-icon-svg { width:24px; height:24px; color:#ffd27c; }
.proof-icon { display:block; width:30px; height:30px; margin-bottom:16px; color:#173f57; }
.decision-proof-grid article > .proof-icon .aidecis-icon-svg { width:30px; height:30px; }
.case-number { display:none; }
body .europe-section {
  color: #183943;
  background: #fff;
}
body .europe-section h2,
body .europe-section .europe-points strong { color: #0d3f52; }
body .europe-section .eyebrow { color: #88601f; }
body .europe-section > div:nth-child(2) > p:last-child,
body .europe-section .europe-points p { color: #526f79; }
body .europe-section .europe-points { border-color: #d8e2e3; }
body .europe-section .europe-points div { border-color: #d8e2e3; }
body .europe-section .europe-points span { color: #9b6820; }
@media (max-width: 480px) {
  .film-story .film-message { font-size: 32px; }
}

/* Keep the full site navigation visible; links wrap across the header on smaller screens. */
.menu-toggle { display:none !important; }
@media (max-width: 860px) {
  .site-header { height:auto; min-height:78px; flex-wrap:wrap; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
  .site-header nav { position:static; display:flex !important; order:3; flex:1 0 100%; width:100%; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; gap:10px 20px; margin:0; padding:10px 0 0; background:transparent; border:0; }
  .site-header nav a, .site-header nav summary { font-size:12px; }
}
@media (max-width: 480px) { .film-story .film-message { font-size:32px; } .site-header nav { gap:9px 14px; } }
@media (max-width: 680px) { .use-case-stack, .use-case { min-width: 0; } .use-case { grid-template-columns: minmax(0, 1fr); } .use-case > p { grid-column: 1; min-width: 0; } }
@media (max-width: 480px) { .industry-head h1 { font-size: clamp(36px, 10vw, 40px); overflow-wrap: anywhere; } }
@media (max-width: 860px) { .site-header { background: #fdfbf8; backdrop-filter: none; } }
.shared-workflow { scroll-margin-top: 120px; }


/* Preserve contrast on the pale comparison column and the light header. */
.comparison-labels .aidecis-column { color: var(--navy) !important; background: #e8eeeb !important; }
.site-header .header-contact:hover { color: var(--navy) !important; background: transparent !important; }
.site-header .header-contact { color: #fff !important; background: var(--navy) !important; border-color: var(--navy) !important; }


/* European principles rows: give headings and explanations deliberate, responsive columns. */
body .europe-section .europe-points > div {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 6px;
  padding: 22px 0;
}
body .europe-section .europe-points > div > strong {
  grid-column: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
}
body .europe-section .europe-points > div > p {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 640px) {
  /* Stack the heading and body copy. The icon remains above the pair. */
  body .europe-section .europe-points > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding: 18px 0 !important;
  }
  body .europe-section .europe-points > div > span:first-child {
    position: static !important;
    margin: 0 0 3px !important;
  }
  body .europe-section .europe-points > div > strong,
  body .europe-section .europe-points > div > p {
    display: block !important;
    width: 100% !important;
    grid-column: auto !important;
    margin: 0 !important;
  }
  body .site-header { background-color: #fdfbf8 !important; backdrop-filter: none !important; }
}
/* Keep anchor scrolling and full-page menu navigation feeling like one journey. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:site-page-out 180ms ease-in both}
::view-transition-new(root){animation:site-page-in 240ms cubic-bezier(.2,.7,.2,1) both}
@keyframes site-page-out{to{opacity:0;transform:translateY(-6px)}}
@keyframes site-page-in{from{opacity:0;transform:translateY(10px)}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:1ms}}

/* People, bots or both (decision modes), 25 Oct 2026 */
.decision-modes { padding: 100px var(--space, 28px); background: #fff; color: var(--navy); }
.decision-modes-head { max-width: 900px; }
.decision-modes-head h2 { margin: 8px 0 18px; color: var(--navy); }
.decision-modes-head > p:last-child { max-width: 780px; color: #45545d; font-size: 18px; }
.decision-modes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.decision-modes-grid article { padding: 22px; background: var(--cream); border-top: 2px solid var(--gold); }
.decision-modes-grid article > span { color: #94641f; font: 700 12px/1 system-ui, sans-serif; }
.decision-modes-grid h3 { margin: 14px 0 8px; color: var(--navy); }
.decision-modes-grid p, .decision-modes-points p { margin: 0; color: #5a7680; font-size: 15px; }
.decision-modes-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line, #d8e1e5); }
.decision-modes-points h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
@media (max-width: 860px) { .decision-modes { padding: 64px 24px; } .decision-modes-grid, .decision-modes-points { grid-template-columns: 1fr; gap: 14px; } .decision-modes-points { gap: 24px; } }

/* Decision library on use-cases.html (taxonomy of 26 Oct 2026) */
.decision-library { padding: 72px clamp(22px, 6vw, 88px) 24px; }
.decision-library-head { max-width: 760px; margin-bottom: 28px; }
.decision-library-head p:not(.eyebrow) { color: #48636d; font-size: 16px; line-height: 1.6; }
.decision-families { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.decision-family { background: white; border: 1px solid var(--line); border-top: 3px solid #1a5973; padding: 20px 22px; }
.decision-family h3 { margin: 0 0 10px; font-size: 17px; color: #0d3f52; }
.decision-family ul { margin: 0; padding-left: 18px; color: #48636d; font-size: 14px; line-height: 1.55; }
.decision-family li { margin: 4px 0; }
.flagship-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; background: #f5a623; color: #0d3f52; font: 700 10px/1.6 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.decision-library-note { max-width: 760px; margin-top: 22px; color: #667f86; font-size: 14px; line-height: 1.55; }
@media (max-width: 1000px) { .decision-families { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .decision-families { grid-template-columns: minmax(0, 1fr); } }

.decision-family-names { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 980px; }
.decision-family-names li { border: 1px solid #bec9ca; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #173f57; background: #fff; }
.decision-library-cta { margin: 0 0 8px; }

/* Pricing section on the homepage (#pilot) and ranged estimates on benefits.html (28 Oct 2026) */
.pricing-floor { margin-top: 26px !important; color: var(--navy) !important; font-size: 17px !important; }
.pricing-floor strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.01em; }
.pricing-floor span { display: block; margin-top: 6px; color: #4b5a63; font-size: 15px; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.button-outline { color: var(--navy) !important; background: transparent !important; border: 1px solid var(--navy) !important; }
.button-outline:hover { background: var(--cream) !important; }
.pricing-scale-title { grid-column: 1 / -1; margin: 56px 0 0; color: var(--navy); }
.pricing-scale { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; margin-top: 22px !important; }
.pricing-scale li { min-height: 0 !important; }
.pricing-cta { gap: 28px; }
.pricing-cta > div { flex: 1 1 520px; }
.pricing-cta > div p { margin: 8px 0 0; max-width: 820px; color: #4b5a63; font-size: 15px; }
@media (max-width: 1100px) { .pricing-scale { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .pricing-scale li:nth-child(3) { padding-left: 0 !important; border-left: 0 !important; } }
@media (max-width: 940px) { .pricing-scale-title { grid-column: 1; margin-top: 18px; } .pricing-scale { grid-template-columns: 1fr !important; } }
@media (max-width: 680px) { .pricing-actions .button { width: 100%; justify-content: center; } }
.benefits-calculator .range-note { margin-top: 6px; }
.benefits-calculator .sprint-row .big { font-size: clamp(24px, 2.7vw, 37px); }
.business-case-check { margin: 18px 0 0; padding: 10px 12px; border-left: 3px solid #7fc8b4; background: rgba(255,255,255,.08); color: #fff; font-size: 14px; line-height: 1.5; }
.business-case-check.is-below { border-left-color: #ffd27c; }
.business-case-check:empty { display: none; }
@media (max-width: 680px) { .benefits-calculator h1 { overflow-wrap: anywhere; hyphens: auto; } }
/* The market's autonomy scale under each mode (blueprint 3.4, 29 Oct 2026). */
.decision-modes-grid article .mode-scale { margin-top: 12px; color: #94641f; font: 600 12px/1.4 system-ui, sans-serif; }
