/* Shared company-site furniture; product palettes and illustrations stay local. */
body .shell, body.alma-home .shell, body.alma-home .platform-section .shell {
 width: min(1240px, calc(100% - 80px));
}
.site-context { background: #142b49; color: #b9c9dc; font: 11px/1.5 "Segoe UI", Arial, sans-serif; }
.site-context .shell { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 34px; padding-block: 7px; }
.site-context a { display: inline-flex; align-items: center; gap: 9px; color: #e8eff7; text-decoration: none; }
.site-context a span { color: #92c5df; transition: transform 250ms ease; }
.site-context a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-context a:hover span { transform: translateX(-2px); }
.site-context-divider { color: #6d829e; }
body .site-header .brand img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
body .site-header .nav { min-height: 88px; }
body .site-header .language-option { font-size: 11px; }
body .site-header .language-option img { display: none; }
body .site-footer { background: #10243f; }
body .site-footer .footer-grid h4 { font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
body .site-footer .footer-grid p, body .site-footer .footer-grid a { font-size: 13px; line-height: 1.7; }
body .site-footer .footer-grid > div > .footer-brand { display: inline-block; margin-top: 0; color: #fff; text-decoration: none; }
body .site-footer .footer-brand strong { font-size: 17px; font-weight: 650; }
body .site-footer .footer-brand:hover { text-decoration: underline; text-underline-offset: 5px; }
body .site-footer .footer-bottom { font-size: 12px; }
.site-context a:focus-visible, .footer-brand:focus-visible { outline: 2px solid #8bd0ed; outline-offset: 4px; }
@media(max-width:1150px) {
 body .shell, body.alma-home .shell, body.alma-home .platform-section .shell { width: calc(100% - 48px); }
}
@media(max-width:980px) {
 body .site-header .nav { min-height: 76px; flex-wrap: wrap; flex-direction: row; align-items: center; gap: 12px; padding: 14px 0; }
 body .site-header .brand { min-width: 0; max-width: calc(100% - 95px); width: auto; }
 body .site-header .nav-links { width: 100%; flex-wrap: wrap; margin: 0; gap: 16px; }
 body .site-header .nav-links[data-collapsed="true"] { display: none; }
}
@media(max-width:760px) {
 body .shell, body.alma-home .shell, body.alma-home .platform-section .shell { width: calc(100% - 40px); }
 body .site-header .brand img, body.alma-home .compact-header .brand img { width: 42px; height: 42px; flex-basis: 42px; }
 body .site-header .nav { min-height: 76px; flex-direction: row; align-items: center; }
 .site-context { font-size: 10px; }
 .site-context .shell { gap: 9px; }
}
@media(prefers-reduced-motion:reduce) { .site-context a:hover span { transform: none; } }

/* Long Greek words must wrap within the actual column, including at 320px. */
body :where(h1, h2, h3, h4, p, li, dt, dd) { overflow-wrap: anywhere; }
body :is(.hero-grid, .module-grid, .workflow-grid, .product-grid, .reports-grid,
 .compliance-grid, .pro-grid, .help-grid, .feature-grid, .operations-grid,
 .trust-grid, .trust-strip) > * { min-width: 0; }
body .trust-grid strong { overflow-wrap: anywhere; }
/* Status text belongs under the step description, not in the number column. */
body .workflow-preview .workflow-steps small { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }

/* Give the expanded phone menu comfortable, consistent tap areas. */
@media(max-width:760px) {
 body:not(.alma-home) .hero h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.15; }
 body .site-header .nav-links { gap: 8px 12px; align-items: center; }
 body .site-header .nav-links > a, body.alma-home .compact-header .nav-links > a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 6px; font-size: 14px; line-height: 1.4;
 }
 body .site-header .nav-links > a.button { padding-inline: 14px; }
 body .site-header .language-option { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; }
 body .site-header .menu-toggle { min-height: 44px; }
}
