/* Shared navigation, footer, and QA fixes */
html { scroll-padding-top: 90px; }
.vn-header, .vn-home .site-header {
  position: sticky; top: 0; left: auto; transform: none;
  z-index: 50; width: 100%; max-width: none; margin: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; padding: 8px max(20px, calc((100% - 1280px)/2));
  border: 0; border-bottom: 1px solid #243247; background: #07101d;
}
.vn-header .brand { display: flex; width: 158px; flex-shrink: 0; }
.vn-header .brand img { display: block; width: 100%; height: auto; max-width: none; filter: none; }
.vn-header #main-nav { display: flex; align-items: center; gap: clamp(8px,2vw,28px); font-size: 15px; }
.vn-header #main-nav a { padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; color: #eff4fa; }
.vn-header #main-nav a:hover, .vn-header #main-nav .is-current { color: #ff9a55; }
.vn-header #main-nav .nav-cta, .vn-home .hero .button-light, .vn-home .star-button {
  background: #ff8a3d; color: #07101d; border: 1px solid #ff8a3d; border-radius: 30px;
}
.vn-header #main-nav .nav-cta { padding: 8px 20px; margin: 0; }
.vn-header #main-nav .nav-cta:hover, .vn-header #main-nav .nav-cta.is-current { background: #ffbf91; color: #07101d; }
.vn-header .menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 6px; background: transparent; color: #eff4fa; border: 1px solid #60738a; border-radius: 8px; font: inherit; }
.vn-footer { width: 100%; max-width: none; margin: 0; background: #07101d; border-top: 1px solid #243247; padding: 32px max(20px, calc((100% - 1120px)/2)); color: #bbc9d9; font-size: 14px; }
.vn-footer .vn-footer-row { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0; }
.vn-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.vn-footer a:hover { color: #ffad77; }
.vn-footer p { margin: 10px 0 0; }
.vn-footer strong { color: #eff4fa; }
.vega-faq, main details { color: #eef4fc; }
main details { border-bottom: 1px solid #34435a; padding: 0; }
main details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 0; cursor: pointer; font: 600 16px/1.5 Arial,sans-serif; }
main details summary::-webkit-details-marker { display: none; }
main details summary::after { content: ""; width: 8px; height: 8px; flex: none; border-right: 2px solid #ff8a3d; border-bottom: 2px solid #ff8a3d; transform: rotate(45deg); margin: 0 8px 4px 0; }
main details[open] summary::after { transform: rotate(225deg); }
main details > p { padding-bottom: 16px; color: #bbc9d9; }
.article-meta, .crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; color: #bbc9d9; font-size: 15px; }
.article-meta > a, .crumb a, .policy-toc a { display: inline-flex; align-items: center; min-height: 32px; }
.policy-toc { display: block; padding: 18px 22px; border: 1px solid #34435a; border-radius: 12px; }
.policy-toc ol { columns: 2; padding-left: 24px; }
.policy-toc li { break-inside: avoid; margin: 0; }
.contact-layout { align-items: start; }
.contact-layout > section { margin: 0; }
.contact-layout aside h3 { border-top: 1px solid #34435a; padding-top: 20px; margin-top: 20px; }
.contact-layout .cta { min-height: 44px; }
.contact-layout p + p { margin-top: 12px; }
main a.card:hover, main a.card:focus-visible { border-color: #ff8a3d; }
main .grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vn-home .hero { min-height: min(690px, calc(100svh - 72px)); height: auto; padding-block: clamp(86px,14vw,156px); }
.vn-home #vortex::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(2,9,20,.93), rgba(2,9,20,.65) 60%, rgba(2,9,20,.2)); }
.vn-home .reveal { opacity: 1; transform: none; transition: none; }
.vn-home main .section { padding-block: clamp(42px,7vw,92px); }
.vn-home .eyebrow, .vn-home .demo-label { font-size: 12px; color: #bbc9d9; }
.vn-home .hero h1 span { display: block; }
.vn-home #faq { padding-bottom: 50px; }
.vn-home #faq .vega-faq { max-width: 780px; margin-inline: auto; }
@media (max-width: 860px) {
  .vn-header { flex-wrap: wrap; }
  .vn-header:has(.menu-toggle:not([hidden])) .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; order: 1; flex-direction: row; width: auto; }
  .vn-header #main-nav { order: 2; width: 100%; gap: 4px; flex-wrap: wrap; position: static; padding: 0; background: #07101d; visibility: visible; opacity: 1; transform: none; pointer-events: auto; border: 0; height: auto; }
  .vn-header:not(.menu-open):has(.menu-toggle:not([hidden])) #main-nav { display: none; }
  .vn-header.menu-open #main-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .vn-header #main-nav .nav-cta { justify-content: center; }
}
@media (max-width: 850px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 550px) { .policy-toc ol { columns: 1; } .vn-footer .vn-footer-row { column-gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vn-home .reveal, .vn-home .hero *, .vn-header * { animation: none; transition: none; }
}

.contact-layout .actions { margin-bottom: 0; }
