/* Quanterra shell: header, menu, buttons, call to action and footer. Loaded last on every page. */

:root {
  --c: #0B5CAD; --cd: #084A8C; --cb: #4C93DC; --tint: #E7EFF8; --n: #0B1B2B;
  --s: #F5F7FB; --sl: #64748B; --b: #334155; --h: #E2E8F0;
  --pad: 80px; --header-h: 68px;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-x: hidden; }
.wrap, .container { width: auto; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--c); color: #fff; }
.btn-primary:hover { background: var(--cd); }
.btn-outline { background: transparent; color: var(--n); box-shadow: inset 0 0 0 1px var(--n); }
.btn-outline:hover { background: var(--n); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: dark bar with drop-down panels */
.btn-white { background: #fff; color: var(--n); }
.btn-white:hover { background: var(--tint); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--n); color: #fff; }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header .logo { margin-right: auto; }
.site-header .logo img { display: block; width: 118px; height: auto; }
.nav { margin: 0; align-self: stretch; }
.nav-list { display: flex; gap: 4px; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav-list > li { display: flex; align-items: center; }
.nav-top {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: 8px;
  background: none; font: inherit; font-size: 14px; font-weight: 500; color: #B9C4D2; text-decoration: none; cursor: pointer;
}
.nav-list a.nav-top { display: inline-flex; padding: 0 14px; border-bottom: 0; color: #B9C4D2; }
.nav-list a.nav-top:hover, .nav-list a.nav-top[aria-current], .nav-top:hover, .has-sub.open > .nav-top, .has-sub.is-current > .nav-top, .nav-top[aria-current] { color: #fff; }
.chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.has-sub.open .chev { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: var(--pad); right: var(--pad); top: 100%; padding-top: 10px; }
.has-sub.open > .mega { display: block; }
.mega-in {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; max-width: 1080px; margin-inline: auto;
  background: var(--n); border: 0; border-radius: 12px; padding: 28px;
}
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 12px 8px 12px 20px; align-content: start; }
.mega-col { margin: 0; padding: 0; list-style: none; }
.mega-col a { display: flex; align-items: center; gap: 14px; padding: 13px 10px; border-radius: 8px; color: #fff; font-size: 17px; font-weight: 400; text-decoration: none; }
.mega-col a:hover { background: rgba(255, 255, 255, .06); }
.mega .ico { flex: none; width: 24px; height: 24px; margin: 0; fill: none; stroke: var(--cb); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mega-feat { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 22px 24px; }
.feat-lab { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #94A3B8; }
.feat { display: block; padding: 14px 0; color: #fff; text-decoration: none; }
.feat + .feat { border-top: 1px solid rgba(255, 255, 255, .1); }
.feat-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.feat-top b { background: var(--tint); color: var(--cd); font-weight: 600; padding: 3px 7px; border-radius: 4px; }
.feat-top i { font-style: normal; color: #94A3B8; }
.feat-t { display: block; font-size: 16px; line-height: 1.4; }
.feat:hover .feat-t { color: var(--cb); }
.nav-actions, .menu-toggle { display: none; }
.header-cta { margin: 0; min-height: 40px; height: 40px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
.site-header :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Call to action on inner pages */
.cta-band { background: #fff; border-top: 1px solid var(--h); padding-block: 88px; }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; color: var(--n); }

/* Footer */
.site-footer { background: var(--n); color: #C9D3E0; padding: 80px 0 36px; border: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; align-items: start; }
.site-footer .logo img { display: block; width: 132px; height: auto; }
.footer-brand { grid-column: auto; }
.footer-brand .logo { margin: 0; }
.site-footer .footer-line { font-weight: 300; font-size: 20px; color: #fff; margin: 24px 0 0; max-width: 22ch; line-height: 1.35; }
.site-footer .footer-tag { color: var(--cb); font-size: 15px; font-weight: 400; margin: 10px 0 0; }
.footer-col h2 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 16px; }
.footer-col a { display: block; padding: 0; margin: 0 0 10px; color: #C9D3E0; text-decoration: none; font-size: 15px; }
.footer-col a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 8px 24px; width: auto; max-width: none;
  border-top: 1px solid rgba(255, 255, 255, .15); margin: 56px 0 0; padding: 24px 0 0; font-size: 13px; color: #C9D3E0;
}
.footer-legal a { margin: 0; color: inherit; text-decoration: none; }
.site-footer :focus-visible { outline-color: #fff; }

/* Menu button from tablet down */
@media (max-width: 1040px) {
  :root { --pad: 40px; --header-h: 64px; }
  .header-inner { gap: 14px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -9px;
    border: 0; background: none; color: #fff; cursor: pointer;
  }
  .menu-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .menu-toggle .cross, .menu-toggle[aria-expanded="true"] .bars { display: none; }
  .menu-toggle[aria-expanded="true"] .cross { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; align-self: auto;
    background: var(--n); border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 8px var(--pad) 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { display: block; height: auto; }
  .nav-list > li { display: block; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-list a.nav-top { padding: 17px 0; color: #fff; }
  .nav-top { width: 100%; height: auto; justify-content: space-between; padding: 17px 0; font-size: 19px; font-weight: 400; color: #fff; border-radius: 0; }
  .chev { width: 14px; height: 14px; }
  .mega { position: static; padding: 0 0 14px; }
  .mega-in { display: block; border: 0; padding: 0; border-radius: 0; }
  .mega-cols { display: block; padding: 0; }
  .mega-col a { padding: 11px 0; font-size: 16px; }
  .mega-feat { display: none; }
  .nav-actions { display: grid; gap: 12px; margin-top: 24px; }
  .cta-band { padding-block: 64px; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; --header-h: 60px; }
  .site-header .logo img { width: 108px; }
  .header-cta { min-height: 36px; height: 36px; padding: 0 14px; font-size: 13px; }
  .actions .btn { flex: 1 1 100%; }
  .cta-band .cta-inner { display: block; }
  .cta-band h2 { margin-bottom: 24px; }
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Pricing page */
.price-top { background: var(--tint); padding-block: 72px 96px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.price-copy h1 { margin: 12px 0 0; font-size: clamp(36px, 4vw, 56px); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; color: var(--n); }
.price-copy h1 .accent { color: var(--c); }
.price-copy .lead { margin: 22px 0 0; font-size: 19px; line-height: 1.5; color: var(--b); max-width: 34ch; }
.get-h { margin: 36px 0 14px; font-size: 17px; font-weight: 600; color: var(--n); }
.get { margin: 0; padding: 0; list-style: none; }
.get li { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; font-size: 17px; line-height: 1.45; color: var(--b); }
.get .ico { flex: none; width: 26px; height: 26px; margin: 0; fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.price-form.simple-form { padding: 36px; border-radius: 16px; background: #fff; }
.price-form .field:first-child { margin-top: 0; }
.price-form .btn { margin-top: 8px; }
.price-form .note { margin: 18px 0 0; font-size: 14px; color: var(--sl); }
@media (max-width: 1040px) { .price-grid { grid-template-columns: 1fr; gap: 44px; } .price-top { padding-block: 56px 72px; } }
@media (max-width: 640px) { .price-form.simple-form { padding: 22px; } .price-form .btn { width: 100%; } }

/* Draft 32 review */
.nav-list a.nav-top[aria-current], .has-sub.is-current > .nav-top { color: var(--cb); }
.nav-list a.nav-top[aria-current] { box-shadow: none; background: linear-gradient(var(--cb), var(--cb)) 14px calc(50% + 15px) / calc(100% - 28px) 2px no-repeat; }
.feat-top b { font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.has-sub.open > .mega { animation: megaIn .15s ease-out; }
@keyframes megaIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1040px) { .nav-list a.nav-top[aria-current] { background: none; } }
@media (prefers-reduced-motion: reduce) { .has-sub.open > .mega { animation: none; } }

/* No lines around the menu (Afaf, 04-12-2026) */
.site-header, .site-header.is-stuck { border-bottom: 0; }
.feat + .feat { border-top: 0; }
.nav-list .mega a, .nav-list .mega a:hover { border-bottom: 0; color: #fff; }
.nav-list .mega .feat:hover .feat-t { color: var(--cb); }
@media (max-width: 1040px) { .nav-list > li { border-bottom: 0; } .nav { border-top: 0; } .mega-col a:hover { background: none; } }
