/* Readability system: shared type scale, contrast and responsive text layouts. */
:root {
  --font-body: 1.125rem;
  --font-lead: 1.25rem;
  --font-label: .875rem;
  --muted: #485b78;
  --text-on-dark: #cbd8ef;
}
html { scroll-padding-top: 110px; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: var(--font-body);
  line-height: 1.65;
}
main h1, main h2, main h3, main h4 { font-weight: 700; overflow-wrap: break-word; }
main p { text-wrap: pretty; }
main [id] { scroll-margin-top: 16px; }
.section-shell > *, .hero-inner > *, .contact-panel > *, .footer-shell > * { min-width: 0; }
.main-nav { font-family: inherit; font-size: 15px; line-height: 1.5; letter-spacing: 0; }
.main-nav > a { font-weight: 600; }
.site-header { transition: min-height .25s ease; }
.nav-cta { min-height: 48px; }
.hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.hero-copy { max-width: 680px; }
.hero h1 { font-size: clamp(3.375rem,5vw,5rem); line-height: 1.08; letter-spacing: -.04em; }
.hero-lead { font-size: var(--font-lead); line-height: 1.7; color: var(--text-on-dark); max-width: 58ch; }
.eyebrow, .section-kicker { font-size: var(--font-label); line-height: 1.6; font-weight: 700; letter-spacing: .09em; margin-bottom: 20px; }
.hero .eyebrow, .section-kicker.light { color: #a9c3ff; }
.hero-tags span { font-size: 15px; line-height: 1.5; font-weight: 600; min-height: 40px; padding: 8px 16px; color: #e4ecff; }
.button { font-size: 17px; line-height: 1.4; font-weight: 600; min-height: 58px; padding: 14px 26px; text-align: center; }
.button-primary { background: linear-gradient(135deg,#2454c7,#123a9e); }
.text-link, .solution-card > a, .xl-module--featured a { font-size: 17px; line-height: 1.5; font-weight: 600; min-height: 44px; }
.text-link, .featured > a { color: #a9c3ff; }
.text-link.dark, .solution-card:not(.featured) > a { color: var(--royal); }
.section-heading { max-width: 860px; }
.intro-heading { max-width: 1040px; }
.section-heading.centered { max-width: 960px; }
.section-heading h2, .feature-copy h2, .contact-copy h2 { font-size: clamp(2.25rem,3.8vw,3.75rem); line-height: 1.16; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.section-heading p:not(.section-kicker), .feature-copy > p:not(.section-kicker), .contact-copy > p:not(.section-kicker) { font-size: var(--font-lead); line-height: 1.7; max-width: 64ch; }
.section-heading.centered > p:not(.section-kicker) { margin-left: auto; margin-right: auto; }
.xl-section .feature-copy > p:not(.section-kicker), .contact-copy > p:not(.section-kicker), .featured p { color: var(--text-on-dark); }
.value-section, .solutions-section, .xl-section, .wms-mes-section, .apps-section, .process-section, .industries-section, .faq-section, .about-section { padding: clamp(72px,7vw,104px) 0; }
.value-cards, .industry-grid, .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.value-cards article, .industry-card { min-height: 0; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-cards article:nth-child(2n), .industry-card:nth-child(2n) { border-right: 0; }
.value-cards article:nth-last-child(-n+2), .industry-card:nth-last-child(-n+2) { border-bottom: 0; }
.value-cards h3, .app-card h3, .industry-card h3 { margin-top: 26px; font-size: 27px; line-height: 1.25; letter-spacing: -.02em; }
.value-cards p, .solution-card p, .app-card p, .industry-card p, .process-list p, .xl-module p, .faq-list details p { font-size: var(--font-body); line-height: 1.7; }
.value-cards article > span, .app-card > span, .industry-card > span, .process-list li > span { font-size: var(--font-label); font-weight: 700; color: var(--royal); }
.solution-grid { gap: 24px; }
.solution-card { min-height: 0; padding: 36px; }
.solution-meta { font-size: var(--font-label); font-weight: 600; letter-spacing: .06em; line-height: 1.5; color: var(--muted); }
.solution-meta span { color: var(--royal); }
.featured .solution-meta, .featured .solution-meta span { color: #b7cbf7; }
.solution-card h3 { margin-top: 30px; font-size: clamp(1.875rem,2.5vw,2.5rem); line-height: 1.2; letter-spacing: -.025em; }
.solution-card > a { padding-top: 26px; }
.pill-row span { font-size: var(--font-label); line-height: 1.5; color: #e4ecff; padding: 7px 12px; }
.xl-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.check-list { gap: 14px; }
.check-list li { font-size: var(--font-body); line-height: 1.65; color: #dce6f8; }
.check-list span { flex-shrink: 0; color: #a9c3ff; }
.xl-web-screen__label { flex-wrap: wrap; gap: 6px 18px; padding: 18px 20px; }
.xl-web-screen__label span { font-size: var(--font-label); font-weight: 600; letter-spacing: .06em; color: #b7cbff; }
.xl-web-screen__label strong { font-size: 16px; line-height: 1.5; }
.xl-web-screen figcaption { position: static; padding: 14px 20px; border-radius: 0; background: #0d1745; font-size: var(--font-label); line-height: 1.6; color: #dce6ff; }
.xl-modules__heading { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 20px 48px; }
.xl-modules__heading .section-kicker { grid-column: 1/-1; margin: 0; }
.xl-modules__heading h3 { font-size: clamp(2rem,3vw,2.75rem); line-height: 1.18; letter-spacing: -.025em; }
.xl-modules__heading > p:last-child { font-size: var(--font-lead); line-height: 1.7; color: var(--text-on-dark); }
.xl-modules__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.xl-module { padding: 30px; min-height: 0; }
.xl-module > span { margin-bottom: 26px; font-size: var(--font-label); line-height: 1.5; font-weight: 600; letter-spacing: .05em; color: #b7cbff; }
.xl-module h4 { font-size: 26px; line-height: 1.25; }
.xl-module p { color: var(--text-on-dark); }
.xl-module--featured a b { color: #b7cbff; }
.wms-mes-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.stack-visual { display: grid; gap: 20px; min-height: 0; }
.stack-card { position: relative; inset: auto; width: 100%; min-height: 0; padding: 28px 32px; transform: none; }
.stack-card span { font-size: var(--font-label); line-height: 1.5; font-weight: 700; letter-spacing: .06em; }
.stack-card strong { margin-top: 12px; font-size: 26px; line-height: 1.25; }
.stack-card small { font-size: 16px; line-height: 1.6; }
.app-grid { gap: 24px; }
.app-card { min-height: 0; padding: 32px; }
.app-card i { font-size: var(--font-label); line-height: 1.5; font-weight: 600; padding: 7px 12px; color: #3d5279; }
.process-grid { gap: 72px; }
.process-list li { min-height: 0; padding: 30px 0; grid-template-columns: 64px minmax(0,1fr); }
.process-list li > span { padding-top: 6px; }
.process-list strong { font-size: 28px; line-height: 1.25; }
.faq-grid { gap: 64px; }
.faq-list summary { font-size: 21px; line-height: 1.45; font-weight: 600; gap: 20px; padding-right: 8px; }
.faq-list details p { margin: 0 50px 28px 0; }
.about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.about-list article { grid-template-columns: 1fr; gap: 8px; padding: 26px 28px; }
.about-list strong { font-size: 23px; line-height: 1.3; }
.about-list span { font-size: var(--font-body); line-height: 1.65; }
.contact-panel { grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 56px; padding: 56px; }
.contact-actions { gap: 14px; }
.contact-details span { font-size: var(--font-label); line-height: 1.5; color: #a9bedf; font-weight: 600; letter-spacing: .08em; }
.contact-details a, .contact-details strong { font-size: 20px; line-height: 1.65; font-weight: 600; overflow-wrap: anywhere; }
.contact-details a { min-height: 44px; display: flex; align-items: center; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-links { font-size: 16px; gap: 4px 22px; }
.footer-meta { font-size: var(--font-label); line-height: 1.6; }
.hero-network { min-height: 560px; }
.hero-network-core { width: 208px; height: 208px; padding: 18px; }
.hero-network-core span { font-size: 14px; line-height: 1.5; letter-spacing: .1em; }
.hero-network-core strong { font-size: 36px; line-height: 1.2; }
.hero-network-core small { font-size: 14px; line-height: 1.5; color: #d1dfff; }
.hero-network-node { min-width: 166px; padding: 16px; }
.hero-network-node strong { font-size: 18px; line-height: 1.4; }
.hero-network-node span { max-width: none; font-size: 14px; line-height: 1.5; color: #b8c9ed; }
/* Text remains present even when animation or JavaScript is unavailable. */
.reveal { opacity: 1; transform: none; }
@media(min-width:1440px) { .main-nav { font-size: 16px; } }
@media(max-width:1180px) { .hero-inner { gap: 32px; } }
@media(max-width:1080px) {
  .menu-toggle { flex-shrink: 0; }
  .main-nav { font-size: 16px; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .hero-inner, .xl-grid, .wms-mes-grid, .process-grid, .about-grid, .contact-panel { grid-template-columns: minmax(0,1fr); }
  .hero-copy { max-width: 740px; }
  .hero-actions { justify-content: center; }
  .hero-network { width: 100%; max-width: 720px; margin: 0 auto; }
  .hero-network-core { left: 50%; }
  .xl-web-screen { width: 100%; max-width: 820px; margin: 0 auto; }
  .process-heading { position: static; }
  .footer-shell { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .footer-links { justify-content: flex-start; }
}
@media(max-width:980px) {
  .xl-modules__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .faq-heading { position: static; }
}
@media(max-width:720px) {
  :root { --font-body: 1.0625rem; --font-lead: 1.125rem; --shell: calc(100% - 40px); }
  .hero-inner { padding: 40px 0 110px; gap: 40px; }
  .hero h1 { font-size: clamp(2.625rem,9.8vw,3.5rem); line-height: 1.12; }
  .hero-lead { line-height: 1.65; }
  .eyebrow { font-size: 14px; letter-spacing: .06em; }
  .section-heading h2, .feature-copy h2, .contact-copy h2 { font-size: clamp(2.125rem,7.8vw,2.75rem); line-height: 1.2; }
  .section-heading.centered { margin-bottom: 36px; }
  .value-cards, .industry-grid, .app-grid { grid-template-columns: minmax(0,1fr); }
  .value-cards, .industry-grid { margin-top: 36px; }
  .value-cards article, .industry-card { padding: 28px 18px; border-right: 0; }
  .value-cards article:not(:last-child), .industry-card:not(:last-child) { border-bottom: 1px solid var(--line); }
  .value-cards h3, .app-card h3, .industry-card h3 { font-size: 25px; margin-top: 20px; }
  .solution-card, .app-card { padding: 26px; }
  .solution-meta { flex-wrap: wrap; gap: 8px 16px; }
  .solution-card h3 { font-size: 30px; }
  .xl-grid, .wms-mes-grid, .process-grid, .about-grid { gap: 36px; }
  .xl-modules__heading { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .xl-modules__heading h3 { font-size: 32px; }
  .xl-modules__grid { grid-template-columns: minmax(0,1fr); }
  .xl-module { padding: 26px; }
  .xl-module h4 { font-size: 25px; }
  .xl-web-screen__label { flex-direction: column; align-items: flex-start; }
  .stack-card { padding: 24px; }
  .stack-card strong { font-size: 24px; }
  .stack-card small { font-size: 16px; }
  .process-list li { grid-template-columns: 40px minmax(0,1fr); gap: 10px; }
  .process-list strong { font-size: 25px; }
  .faq-list summary { font-size: 19px; gap: 14px; }
  .faq-list details p { margin: 0 0 24px; }
  .contact-panel { padding: 32px 24px; gap: 30px; }
  .contact-details a, .contact-details strong { font-size: 19px; }
  .footer-links { gap: 6px 22px; }
  .hero-network { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-height: 0; }
  .hero-network-orbits, .hero-network-lines { display: none; }
  .hero-network-core { position: relative; grid-column: 1/-1; inset: auto; transform: none; width: 188px; height: 188px; margin: 0 auto 8px; }
  .hero-network-core strong { font-size: 32px; }
  .hero-network-node { position: relative; inset: auto; min-width: 0; min-height: 100px; padding: 14px 12px; text-align: left; }
  .hero-network-node strong { font-size: 18px; }
  .hero-network-node span { font-size: 14px; }
}
@media(max-width:360px) {
  .site-header { gap: 16px; }
  .contact-panel { padding: 28px 20px; }
  .contact-copy h2 { font-size: 30px; }
  .button { padding: 14px 18px; }
  .hero-network { gap: 10px; }
}
