
/* EL-Ai-NE final visual QA corrections */
:root{--text-on-light:#17334b;--body-on-light:#4b657c;--text-on-dark:#eef8fb;--body-on-dark:#c9dce7}
html{scroll-padding-top:96px}
body{font-kerning:normal;text-rendering:optimizeLegibility}
.card,.framework-panel,.framework-grid article,.market-card,.resource-card,.offer-card,.solution-card{overflow-wrap:anywhere}
.card h3,.card p,.card li,.framework-panel h3,.framework-panel p,.framework-panel li{word-break:normal;hyphens:none}
/* Dark sections use dark cards with light text. White framework panels remain genuinely light. */
.section.dark .card{background:linear-gradient(145deg,#0b2c48,#0d3a59);border-color:rgba(101,211,222,.28);box-shadow:0 18px 46px rgba(0,0,0,.22);color:var(--text-on-dark)}
.section.dark .card h3{color:#fff!important}
.section.dark .card p,.section.dark .card li,.section.dark .card span{color:var(--body-on-dark)!important}
.section.dark .card .icon{background:rgba(82,214,224,.13);color:#6ee4e8}
.section.dark .framework-panel{background:#fff;color:var(--text-on-light)}
.section.dark .framework-panel h3{color:#0b2948!important}
.section.dark .framework-panel p,.section.dark .framework-panel li{color:#405b72!important}
.section.dark .framework-panel .kicker{color:#0a8394!important}
.section.dark .framework-grid article{background:#f4f8fa;border-color:#d5e2ea;color:var(--text-on-light)}
.section.dark .framework-grid article>span{color:#067f90!important}
.section.dark .framework-grid li{color:#405b72!important}
.section.dark .claim-note{background:#e8f7f8;color:#254760!important;border-left-color:#11b7c7}
/* Improve spacing and readability across section cards. */
.grid-4>.card,.grid-3>.card{min-width:0}
.section.dark .grid-4>.card{min-height:210px}
.section.dark .grid-4>.card h3{margin-bottom:.72rem}
.section.dark .grid-4>.card p{font-size:1rem;line-height:1.62}
.framework-panel{min-width:0}
.framework-grid article{min-width:0}
.framework-grid ul{padding-left:1.25rem}
.framework-grid li{line-height:1.55}
/* Restored pricing page */
.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.offer-card{min-width:0}
.offer-card .offer-top{min-height:210px}
.offer-card h3{line-height:1.18}
.offer-card ul{margin-top:18px}
.addon-grid,.service-breakdown-grid,.managed-model-grid{align-items:stretch}
/* Deployment comparison animation */
.deployment-comparison{background:linear-gradient(180deg,#f7fafc,#eef5f8)}
.deployment-compare-visual{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.deployment-lane{padding:24px;border-radius:20px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-soft)}
.deployment-lane.with{background:linear-gradient(145deg,#08243d,#0b455b);border-color:#1b7f91;color:#fff}
.lane-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}
.lane-heading span{font-size:.75rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#6c8295}
.lane-heading strong{max-width:330px;text-align:right;color:#17334b}
.deployment-lane.with .lane-heading span{color:#72e2e7}.deployment-lane.with .lane-heading strong{color:#fff}
.lane-path{display:grid;grid-template-columns:1fr 34px 1fr 34px 1fr 34px 1fr;align-items:center;gap:4px}
.lane-path span{min-height:76px;padding:13px;border-radius:13px;border:1px solid #d2e1e9;background:#f6f9fb;color:#345169;font-weight:780;display:grid;place-items:center;text-align:center;line-height:1.28}
.deployment-lane.with .lane-path span{background:rgba(255,255,255,.075);border-color:rgba(105,225,231,.25);color:#e3f4f6}
.lane-path i{position:relative;height:2px;background:#9cb0bf;overflow:visible}
.lane-path i:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#60798d;top:50%;left:-4px;transform:translateY(-50%);animation:elaineLanePacket 2.2s linear infinite}
.deployment-lane.with .lane-path i{background:#2bbdca}.deployment-lane.with .lane-path i:after{background:#77f2f2;box-shadow:0 0 12px rgba(119,242,242,.8)}
@keyframes elaineLanePacket{from{left:-4px}to{left:calc(100% - 4px)}}
/* Focus and reduced motion */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(18,191,208,.38);outline-offset:3px}
@media(max-width:1100px){.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-card .offer-top{min-height:auto}.deployment-compare-visual{grid-template-columns:1fr}}
@media(max-width:760px){.offer-grid{grid-template-columns:1fr}.lane-heading{display:block}.lane-heading strong{display:block;max-width:none;text-align:left;margin-top:5px}.lane-path{grid-template-columns:1fr}.lane-path i{width:2px;height:26px;justify-self:center}.lane-path i:after{top:-4px;left:50%;transform:translateX(-50%);animation:elaineLanePacketVertical 1.8s linear infinite}@keyframes elaineLanePacketVertical{from{top:-4px}to{top:calc(100% - 4px)}}}
@media(prefers-reduced-motion:reduce){.lane-path i:after{animation:none}}
/* Custom dark sections that are not marked with the generic .dark class. */
.governance-lifecycle-section .section-head h2,
.governance-lifecycle-section h2{color:#fff!important}
.governance-lifecycle-section .section-head>p,
.governance-lifecycle-section .section-intro{color:#c8dbe6!important}
.governance-lifecycle-section .kicker{color:#69dfe6!important}
/* Flow cards are reused on both dark and light sections. Give light sections a true light-surface treatment. */
.section:not(.dark) .flow-stage .flow-card,
.section.alt .flow-stage .flow-card,
.section.soft .flow-stage .flow-card,
.profile-panel .flow-card,
.profile-flow .flow-card{
  background:#fff;
  border-color:#cfdee7;
  box-shadow:0 8px 24px rgba(8,29,51,.06);
}
.section:not(.dark) .flow-stage .flow-card strong,
.section.alt .flow-stage .flow-card strong,
.section.soft .flow-stage .flow-card strong,
.profile-panel .flow-card strong,
.profile-flow .flow-card strong{color:#15334c!important}
.section:not(.dark) .flow-stage .flow-card span,
.section.alt .flow-stage .flow-card span,
.section.soft .flow-stage .flow-card span,
.profile-panel .flow-card span,
.profile-flow .flow-card span{color:#557087!important}
.section:not(.dark) .flow-stage .flow-card.active,
.profile-panel .flow-card.active,
.profile-flow .flow-card.active{border-color:#20bac8;box-shadow:0 0 0 3px rgba(18,191,208,.12)}
/* Governance lifecycle uses its own dark background and needs explicit heading contrast. */
.governance-lifecycle-section .section-head h2,
.governance-lifecycle-section h2{color:#fff!important}
.governance-lifecycle-section .section-head>p{color:#c8dbe6!important}

/* Final site-wide polish: preserve exact product casing and contain decoration. */
.deployment-lane .lane-heading span{
  text-transform:none!important;
  letter-spacing:.035em;
}
.gov-stage{
  min-width:0;
  contain:paint;
}
.gov-stage:before{
  right:0!important;
  top:0!important;
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
  background:radial-gradient(circle at 92% 4%,rgba(18,191,208,.17),transparent 44%)!important;
  pointer-events:none;
}
.gov-stage-header,.gov-stage-grid,.gov-stage-grid article{
  min-width:0;
}
.gov-stage-grid strong{
  overflow-wrap:anywhere;
  word-break:normal;
}
.brand-copy small{color:#536b80!important}
.section:not(.dark):not(.governance-lifecycle-section) .kicker{color:#066f80}
.resource-card .type,.solution-card .number,.proxy-card strong{color:#057587}

/* Preferred EL-Ai-NE logo lockup - unified across public header and footer */
.brand-lockup{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;min-width:250px!important;line-height:1!important;text-decoration:none!important}
.brand-logo-image{display:block!important;width:246px!important;max-width:246px!important;height:auto!important;object-fit:contain!important;object-position:left center!important}
.footer-brand{min-width:0!important}
.footer-brand .brand-logo-image{width:270px!important;max-width:270px!important}
@media(max-width:650px){.brand-lockup{min-width:0!important;width:184px!important}.brand-logo-image{width:184px!important;max-width:184px!important}.footer-brand{width:220px!important}.footer-brand .brand-logo-image{width:220px!important;max-width:220px!important}}
