/* Whitepaper resource and shared footer. */
.footer-container { width: min(100% - 80px, 1280px); margin-inline: auto; }
.whitepaper-section, .site-footer { font-family: 'IBM Plex Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.whitepaper-section *, .site-footer * { box-sizing: border-box; }
.whitepaper-section { position: relative; overflow: hidden; background: linear-gradient(120deg, #f4f7fa, #fff 75%); border-top: 1px solid #e2eaf0; color: #142a40; }
.whitepaper-section__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 86px; padding-block: 72px; }
.footer-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.whitepaper-section__eyebrow { display: flex; align-items: center; gap: 10px; color: #41576a; }
.whitepaper-section__eyebrow > span { width: 22px; height: 2px; background: #b94f00; }
.whitepaper-section h2 { max-width: 730px; margin: 17px 0 18px; font-size: clamp(29px, 2.8vw, 39px); line-height: 1.16; font-weight: 500; letter-spacing: -.035em; }
.whitepaper-section__copy > p { max-width: 665px; margin: 0; color: #41576a; font-size: 16px; line-height: 1.7; }
.whitepaper-section__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 26px; }
.whitepaper-download { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 22px; padding: 13px 20px; border: 1px solid transparent; border-radius: 6px; background: #ff8a3d; color: #142a40; font-size: 15px; line-height: 1.5; font-weight: 600; text-decoration: none; transition: background 160ms; }
.whitepaper-download:hover { background: #e86f21; }
.whitepaper-download:focus-visible { outline: 3px solid #254e76; outline-offset: 5px; }
.whitepaper-section__note { color: #5d7182; font-size: 12px; line-height: 1.5; }

.whitepaper-art { position: relative; display: block; width: 226px; margin: 8px auto 8px 24px; border-radius: 4px; perspective: 1100px; }
.whitepaper-art:focus-visible { outline: 3px solid #254e76; outline-offset: 12px; }
.whitepaper-art__sheet { position: absolute; inset: 6px -8px -4px 6px; transform: rotate(-4deg); border: 1px solid #d8e2eb; border-radius: 3px 8px 8px 3px; background: #eaf0f5; }
.whitepaper-art__cover { position: relative; overflow: hidden; width: 100%; transform: rotate(-6deg); border: 1px solid #d8e2eb; border-left: 5px solid #254e76; border-radius: 2px 7px 7px 2px; background: #fff; box-shadow: -7px 12px 24px #142a4012, 8px 20px 35px #142a4012; transition: transform 180ms, box-shadow 180ms; }
.whitepaper-art:is(:hover, :focus-visible) .whitepaper-art__cover { transform: translateY(-4px) rotate(-4deg); box-shadow: -7px 16px 28px #142a401a, 8px 24px 40px #142a401a; }
.whitepaper-art__cover > img { display: block; width: 100%; height: auto; aspect-ratio: auto 210 / 297; object-fit: contain; }

.site-footer { --footer-accent: #ff8a3d; --footer-accent-light: #ffb37f; position: relative; isolation: isolate; overflow: hidden; padding: 0; background: linear-gradient(118deg, #142a40 0%, #1b3a59 58%, #254e76 100%); color: #fff; }
.site-footer__art { position: absolute; inset: 24px 12px 20px; z-index: -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: end; gap: 32px; color: #c3e7f5; opacity: .075; pointer-events: none; }
.footer-art__svg { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; }
.footer-art__svg--equations { height: 80%; }
.site-footer__content { position: relative; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr .85fr 1.2fr; gap: 50px; padding-block: 66px 56px; }
.site-footer__brand { min-width: 0; }
.site-footer__logo { display: inline-block; max-width: 100%; }
.site-footer__logo > img { display: block; width: 168px; height: auto; max-height: 80px; object-fit: contain; object-position: left center; }
.site-footer__description { max-width: 280px; margin: 22px 0 16px; color: #d8e7f1; font-size: 16px; line-height: 1.65; }
.site-footer__location { display: flex; align-items: center; gap: 8px; margin: 0; color: #bfd2e1; font-size: 13px; line-height: 1.5; }
.site-footer__location > svg { flex-shrink: 0; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 10px 19px; margin-top: 21px; }
.site-footer__socials > a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #fff; font-size: 13px; text-decoration: none; transition: color 160ms; }
.site-footer__socials > a:is(:hover, :focus-visible) { color: var(--footer-accent-light); }
.site-footer__heading { position: relative; margin: 4px 0 18px; padding-left: 28px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.site-footer__heading::before { content: ''; position: absolute; left: 0; top: .7em; width: 17px; height: 2px; border-radius: 1px; background: var(--footer-accent); }
.site-footer__nav > ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav li { margin: 0; padding: 0; }
.site-footer__nav a { display: inline-block; min-height: 36px; padding-block: 7px; color: #d1e1ed; font-size: 14px; line-height: 1.5; text-decoration: none; text-underline-offset: 5px; transition: color 160ms; }
.site-footer__nav a:is(:hover, :focus-visible) { color: var(--footer-accent-light); text-decoration: underline; text-decoration-color: currentColor; }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__contact > p { margin: 0 0 15px; color: #d1e1ed; font-size: 14px; line-height: 1.7; }
.site-footer__email { display: inline-flex; min-height: 32px; align-items: center; color: #fff; font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--footer-accent); text-underline-offset: 6px; transition: color 160ms; }
.site-footer__email:is(:hover, :focus-visible) { color: var(--footer-accent-light); text-decoration-color: currentColor; }
.site-footer__contact-link { display: inline-flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 34px; margin-top: 19px; padding: 10px 15px; border: 1px solid #a1bdd1; border-radius: 6px; background: #ffffff05; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 160ms, border-color 160ms; }
.site-footer__contact-link:is(:hover, :focus-visible) { background: #ff8a3d12; border-color: var(--footer-accent); }
.site-footer__contact-link .nav-icon { width: 18px; height: 18px; color: var(--footer-accent); }
.site-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 23px 27px; border-top: 1px solid #bdd3e330; color: #bfd2e1; }
.site-footer__copyright { margin: 0; font-size: 12px; line-height: 1.6; }
.site-footer__registration { display: flex; flex-wrap: wrap; gap: 13px 28px; margin: 0; font-size: 12px; line-height: 1.6; }
.site-footer__registration > div { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__registration dt { color: #e0ebf3; }
.site-footer__registration dd { margin: 0; color: #bfd2e1; }

@media (max-width: 1099px) {
  .footer-container { width: calc(100% - 48px); }
  .whitepaper-section__layout { grid-template-columns: 230px minmax(0, 1fr); gap: 46px; padding-block: 62px; }
  .whitepaper-art { width: 205px; margin-left: 6px; }
  .whitepaper-section h2 { font-size: 33px; }
  .site-footer__grid { gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; padding-block: 56px 42px; }
  .site-footer__contact { grid-column: 2 / -1; }
  .site-footer__contact .site-footer__heading { margin-bottom: 10px; }
  .site-footer__contact > p { margin-bottom: 5px; }
  .site-footer__bottom { align-items: flex-start; }
  .site-footer__registration { justify-content: flex-end; column-gap: 18px; }
}

@media (max-width: 767px) {
  .footer-container { width: calc(100% - 40px); }
  .whitepaper-section__layout { grid-template-columns: 180px minmax(0, 1fr); gap: 34px; padding-block: 48px; }
  .whitepaper-art { width: 165px; margin-left: 4px; }
  .whitepaper-section h2 { font-size: 29px; }
  .whitepaper-section__copy > p { font-size: 15px; }
  .whitepaper-section__actions { gap: 12px; margin-top: 22px; }
  .whitepaper-download { min-height: 48px; padding-inline: 16px; font-size: 14px; gap: 18px; }
  .whitepaper-section__note { font-size: 11px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; padding-block: 44px 36px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__description { max-width: 360px; margin-top: 18px; }
  .site-footer__socials { margin-top: 15px; }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__heading { margin-bottom: 12px; }
  .site-footer__nav a { min-height: 40px; }
  .site-footer__bottom { flex-direction: column; gap: 15px; padding-block: 22px 26px; }
  .site-footer__registration { justify-content: flex-start; row-gap: 8px; }
  .site-footer__art { inset: 64px 12px 120px; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: center; opacity: .055; }
  .footer-art__svg--equations { height: 100%; }
}

@media (max-width: 580px) {
  .whitepaper-section__layout { grid-template-columns: 1fr; gap: 0; padding-block: 45px; }
  .whitepaper-art { display: none; }
  .whitepaper-section h2 { max-width: 480px; margin-top: 16px; font-size: 30px; }
  .whitepaper-section__actions { align-items: flex-start; flex-direction: column; }
  .whitepaper-section__copy > p { font-size: 15px; }
}

@media (max-width: 380px) {
  .footer-container { width: calc(100% - 32px); }
  .whitepaper-section h2 { font-size: 28px; }
  .site-footer__grid { gap: 30px 20px; }
  .site-footer__logo > img { width: 152px; }
  .site-footer__contact-link { margin-top: 16px; }
  .site-footer__registration { flex-direction: column; }
  .site-footer__nav a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .whitepaper-section *, .site-footer * { transition: none !important; }
}

@media print {
  .whitepaper-section, .site-footer { display: none; }
}
