html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-width: 320px; font-family: "Inter", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id], #case-studies, footer[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ff6a00; outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 1rem; padding: .75rem 1rem; z-index: 100; background: white; color: #082752; border: 2px solid #082752; border-radius: .5rem; }
.skip-link:focus { top: .5rem; }
.header-inner { max-width: 1680px; height: 80px; padding: 0 2rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand-link { min-width: 0; flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { width: 210px; max-width: 100%; height: auto; max-height: 70px; object-fit: contain; }
.footer-logo { display: block; width: clamp(220px, 25vw, 320px); max-width: 100%; height: auto; object-fit: contain; }
.brand-fallback { color: #082752; font: 700 24px "Space Grotesk", sans-serif; letter-spacing: .05em; }
.brand-fallback small { display: block; font: 600 7px "Inter", sans-serif; letter-spacing: .06em; }
.desktop-nav { display: flex; align-items: center; gap: 1.25rem; font-size: 14px; font-weight: 500; color: #475569; white-space: nowrap; }
.desktop-nav a:hover { color: #ff6a00; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions > a { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 42px; border-radius: .375rem; padding: .6rem .85rem; font-weight: 600; font-size: 13px; white-space: nowrap; }
.header-claim { background: #ff6a00; color: white; }
.header-demo { background: #082752; color: white; }
.header-login { background: #f1f5f9; border: 1px solid #cbd5e1; color: #082752; }
.header-login .material-symbols-outlined { font-size: 18px; color: #00877e; }
.header-actions > a:hover { filter: brightness(.94); }
.mobile-menu { display: none; }
.mobile-menu summary { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; list-style: none; border: 1px solid #cbd5e1; border-radius: .375rem; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 80px; left: 0; right: 0; padding: 1rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; background: white; border-bottom: 1px solid #cbd5e1; box-shadow: 0 10px 20px #08275215; }
.mobile-menu nav a { padding: .7rem; border-radius: .375rem; font-weight: 500; }
.mobile-menu nav a:hover { background: #f1f5f9; }
main .grid > *, #case-studies .flex > *, footer .grid > * { min-width: 0; }
#case-studies .flex.items-center.justify-between { gap: 1rem; align-items: flex-start; }
#case-studies .flex.items-center.justify-between > :last-child { text-align: right; }
@media (max-width: 1439px) { .desktop-nav { display: none; } .mobile-menu { display: block; } }
@media (max-width: 767px) {
  .header-inner { padding: 0 1rem; gap: .5rem; }
  .header-actions { gap: .5rem; }
  .header-actions > .header-claim, .header-actions > .header-demo { display: none; }
  .brand-logo { width: min(170px, 42vw); height: auto; max-height: 60px; }
  .header-actions > a { padding: .6rem; }
  .mobile-menu nav { grid-template-columns: 1fr; padding: .75rem 1rem; max-height: calc(100dvh - 80px); overflow-y: auto; }
  main .px-margin, footer .px-margin { padding-left: 1rem; padding-right: 1rem; }
  h1.text-headline-xl { font-size: 30px; line-height: 38px; }
  h2.text-headline-lg { font-size: 26px; line-height: 34px; }
  #home > .grid { gap: 2rem; }
  #home .flex.items-center.justify-between { flex-wrap: wrap; gap: .5rem; }
  #home .col-span-5, #home .col-span-7 { grid-column: span 12 / span 12; }
  #home .col-span-7 { gap: .6rem; }
  #home .col-span-7 > .flex { gap: .75rem; }
  #home .bg-primary.flex, #home .bg-surface-container.flex { flex-wrap: wrap; gap: .75rem; }
  #case-studies { padding: 1rem; }
  #case-studies .flex.items-center.justify-between { flex-direction: column; gap: .25rem; }
  #case-studies .flex.items-center.justify-between > :last-child { text-align: left; }
  #request-demo > div { padding: 1.25rem; }
  #request-demo .grid.grid-cols-2 { grid-template-columns: 1fr; gap: .75rem; }
  #request-demo .flex.items-center.gap-space-md { flex-wrap: wrap; }
  footer .flex.items-center.gap-space-lg { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
