:root {
  --fixed-nav-clearance: calc(88px + env(safe-area-inset-top, 0px));
}

@media (max-width: 980px) {
  :root {
    --fixed-nav-clearance: calc(86px + max(14px, env(safe-area-inset-top, 0px)) + 22px);
  }
}

@media (max-width: 720px) {
  :root {
    --fixed-nav-clearance: calc(88px + max(16px, env(safe-area-inset-top, 0px)) + 20px);
  }
}

/* Shared shell — nav, footer, newsletter, utility dock (React + static pages) */

.site-nav-shell,
.top-nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 16px;
}

.site-nav,
.top-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(10, 11, 13, 0.12);
  backdrop-filter: blur(22px);
}

.site-nav-actions,
.top-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.site-nav-menu,
.top-nav-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-charcoal-deep, var(--text));
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.site-nav-menu:hover,
.top-nav-menu:hover {
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.08);
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.16);
}

.site-nav-backdrop,
.top-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 0;
  background: rgba(10, 11, 13, 0.18);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.site-nav-backdrop.is-visible,
.top-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-nav-brand,
.top-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-charcoal-deep, var(--text));
  text-decoration: none;
  font-family: 'Outfit', 'Manrope', sans-serif;
  font-weight: 700;
}

.site-nav-logo,
.top-nav-brand img {
  width: 118px;
  max-width: 100%;
  height: auto;
}

.site-nav-links,
.top-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav-links a,
.top-nav-links a,
.site-nav-dropdown-toggle,
.top-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--charcoal-rgb, 92, 97, 104), 0.05);
  border: 1px solid rgba(var(--charcoal-rgb, 92, 97, 104), 0.08);
  color: rgba(46, 50, 56, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  font-family: inherit;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav-links a:hover,
.top-nav-links a:hover,
.site-nav-dropdown-toggle:hover,
.top-nav-dropdown-toggle:hover {
  color: var(--brand-cyan-muted, var(--accent-deep));
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.08);
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.14);
  transform: translateY(-1px);
}

.site-nav-dropdown,
.top-nav-dropdown {
  position: relative;
}

.site-nav-dropdown-toggle,
.top-nav-dropdown-toggle {
  gap: 8px;
  cursor: pointer;
}

.site-nav-dropdown-toggle svg,
.top-nav-dropdown-toggle svg {
  transition: transform 0.22s ease;
}

.site-nav-dropdown.is-open .site-nav-dropdown-toggle svg,
.top-nav-dropdown.is-open .top-nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.site-nav-dropdown.is-current .site-nav-dropdown-toggle,
.top-nav-dropdown.is-current .top-nav-dropdown-toggle {
  color: var(--brand-cyan-muted, var(--accent-deep));
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.1);
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.18);
}

.site-nav-dropdown-menu,
.top-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(10, 11, 13, 0.14);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-nav-dropdown.is-open .site-nav-dropdown-menu,
.top-nav-dropdown.is-open .top-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-dropdown-menu a,
.top-nav-dropdown-menu a,
.site-nav-dropdown-disabled,
.top-nav-dropdown-disabled {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.04);
  border: 1px solid transparent;
  color: rgba(46, 50, 56, 0.84);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav-dropdown-disabled,
.top-nav-dropdown-disabled {
  color: rgba(46, 50, 56, 0.5);
  background: rgba(var(--charcoal-rgb, 92, 97, 104), 0.05);
  cursor: not-allowed;
}

.site-nav-cta,
.top-nav-links a.top-nav-cta,
.top-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb, 34, 196, 240), 0.24);
  background: linear-gradient(145deg, var(--brand-cyan, #22c4f0), var(--brand-cyan-deep, #12a8d6));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(var(--accent-rgb, 34, 196, 240), 0.22);
  cursor: pointer;
}

.site-nav-cta:hover,
.top-nav-links a.top-nav-cta:hover,
.top-nav-cta:hover {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-cyan-deep, #12a8d6), var(--brand-cyan-muted, #0e8ab5));
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.34);
  transform: translateY(-1px);
}

.top-nav-menu-icon-close {
  display: none;
}

.top-nav-menu-icon[hidden] {
  display: none !important;
}

.site-nav-shell.is-scrolled {
  padding-top: 10px;
}

.site-nav-shell.is-scrolled .site-nav {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(10, 11, 13, 0.12), 0 0 0 1px rgba(var(--accent-rgb, 34, 196, 240), 0.06);
}

/* Footer shell — white card, dark newsletter block inside */
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding: 24px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(10, 11, 13, 0.1);
  color: var(--brand-charcoal-deep, var(--text));
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--accent-rgb, 34, 196, 240), 0.14), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(var(--accent-rgb, 34, 196, 240), 0.09), transparent 26%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.newsletter-signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 26px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb, 34, 196, 240), 0.2), transparent 30%),
    linear-gradient(145deg, var(--brand-black, #0a0b0d), #0f3d52);
  color: #f5fbfd;
}

.newsletter-kicker {
  color: var(--brand-cyan, #22c4f0);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-copy h2 {
  max-width: 16ch;
  font-family: 'Outfit', 'Manrope', sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-field-row {
  display: flex;
  gap: 10px;
}

.newsletter-field-row input {
  flex: 1;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.newsletter-field-row button {
  color: var(--brand-cyan-muted, var(--accent-deep));
}

.newsletter-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(247, 251, 253, 0.78);
  line-height: 1.6;
}

.newsletter-consent input {
  margin-top: 4px;
}

.newsletter-consent a {
  color: #fff;
}

.newsletter-message {
  min-height: 20px;
  margin: 0;
  color: rgba(247, 251, 253, 0.78);
}

.newsletter-message.is-success {
  color: #cbf6dd;
}

.newsletter-message.is-error {
  color: #ffd7d7;
}

.site-footer-column a,
.site-footer-bottom a {
  color: var(--brand-cyan-muted, var(--accent-deep));
  text-decoration: none;
  font-weight: 700;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(220px, 0.7fr));
  gap: 28px;
  align-items: start;
}

.site-footer-brand,
.site-footer-column {
  display: grid;
  gap: 12px;
}

.site-footer-brand,
.site-footer-column {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.site-footer-logo {
  width: 136px;
  max-width: 100%;
  height: auto;
}

.site-footer-brand p,
.site-footer-column span,
.site-footer-column a,
.site-footer-bottom span {
  line-height: 1.65;
}

.site-footer-title {
  color: rgba(46, 50, 56, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-elevate {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb, 34, 196, 240), 0.06), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(var(--accent-rgb, 34, 196, 240), 0.12);
  color: inherit;
  text-decoration: none;
}

.site-footer-elevate img {
  width: min(200px, 100%);
  max-width: 100%;
  height: auto;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(46, 50, 56, 0.08);
}

/* Utility dock — same on all pages */
.utility-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.utility-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb, 34, 196, 240), 0.18);
  background: linear-gradient(145deg, var(--brand-black, #0a0b0d), var(--brand-charcoal-deep, #2e3238));
  color: #f7fbfe;
  box-shadow: 0 18px 36px rgba(10, 11, 13, 0.24);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.utility-icon {
  flex: 0 0 auto;
}

.utility-icon-open {
  display: none;
}

.utility-dock.is-open .utility-icon-closed {
  display: none;
}

.utility-dock.is-open .utility-icon-open {
  display: inline-block;
}

.utility-trigger:hover {
  box-shadow: 0 22px 44px rgba(var(--accent-rgb, 34, 196, 240), 0.22);
}

.utility-dock.is-open .utility-trigger {
  transform: rotate(90deg);
}

.utility-panel {
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb, 34, 196, 240), 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 76px rgba(10, 11, 13, 0.14), 0 0 0 1px rgba(var(--accent-rgb, 34, 196, 240), 0.08);
  backdrop-filter: blur(18px);
}

.utility-panel[hidden] {
  display: none !important;
}

.utility-action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(37, 46, 56, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-charcoal-deep, var(--text));
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.utility-action:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 30px rgba(10, 11, 13, 0.08);
}

.utility-action i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-cyan, #22c4f0), var(--brand-cyan-deep, #12a8d6));
  color: #fff;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
}

.utility-action div {
  display: grid;
  gap: 4px;
}

.utility-action strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.utility-action span {
  color: var(--soft, #5c6168);
  font-size: 0.77rem;
  line-height: 1.45;
}

.brief-assistant-toolbar-button {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 55%, #0369a1 100%);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

.brief-assistant-toolbar-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.3);
}

.brief-assistant-toolbar-button.is-active {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(14, 165, 233, 0.34),
    0 12px 28px rgba(2, 132, 199, 0.28);
}

.brief-assistant-anchor {
  position: fixed;
  left: 22px;
  bottom: 80px;
  z-index: 225;
  pointer-events: none;
}

.brief-assistant-panel {
  width: min(380px, calc(100vw - 44px));
  max-height: min(480px, calc(100vh - 220px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(14, 165, 233, 0.08);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.brief-assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.brief-assistant-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brief-assistant-identity strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.brief-assistant-identity-copy {
  min-width: 0;
}

.brief-assistant-identity-copy span {
  display: block;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.62);
}

.brief-assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
  flex-shrink: 0;
}

.brief-assistant-header-actions {
  display: inline-flex;
  gap: 6px;
}

.brief-assistant-icon-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  color: rgba(2, 132, 199, 0.92);
}

.brief-assistant-icon-button:hover {
  background: rgba(14, 165, 233, 0.18);
}

.brief-assistant-messages {
  padding: 14px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  align-content: start;
}

.brief-assistant-message {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.brief-assistant-message.is-assistant {
  justify-self: start;
  background: rgba(241, 245, 249, 0.96);
  color: rgba(15, 23, 42, 0.88);
  border-bottom-left-radius: 6px;
}

.brief-assistant-message.is-user {
  justify-self: end;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.brief-assistant-message.is-typing {
  opacity: 0.72;
}

.brief-assistant-error {
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.brief-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.96);
}

.brief-assistant-form textarea {
  width: 100%;
  min-height: 44px;
  max-height: 120px;
  resize: vertical;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.brief-assistant-form textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.28);
  border-color: rgba(14, 165, 233, 0.42);
}

.brief-assistant-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.brief-assistant-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .site-nav-shell,
  .top-nav-shell {
    width: min(1320px, calc(100% - 28px));
  }

  .site-nav-menu,
  .top-nav-menu {
    display: inline-flex;
  }

  .site-nav-actions,
  .top-nav-actions {
    display: flex;
  }

  .site-nav-links,
  .top-nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex: none;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 60px rgba(10, 11, 13, 0.14), 0 0 0 1px rgba(var(--accent-rgb, 34, 196, 240), 0.06);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition:
      opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.32s;
  }

  .site-nav-links.is-open,
  .top-nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition:
      opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .site-nav-links a:not(.site-nav-cta),
  .top-nav-links a:not(.top-nav-cta),
  .site-nav-dropdown-toggle,
  .top-nav-dropdown-toggle {
    flex: none;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.94rem;
    border-radius: 16px;
    background: rgba(var(--accent-rgb, 34, 196, 240), 0.04);
    justify-content: space-between;
  }

  .site-nav-dropdown-menu,
  .top-nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 8px 0 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .site-nav-dropdown.is-open .site-nav-dropdown-menu,
  .top-nav-dropdown.is-open .top-nav-dropdown-menu {
    display: grid;
  }

  .site-nav-dropdown-menu a,
  .site-nav-dropdown-disabled,
  .top-nav-dropdown-menu a,
  .top-nav-dropdown-disabled {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .site-nav-links .site-nav-cta,
  .top-nav-links a.top-nav-cta {
    flex: none;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.94rem;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--brand-cyan, #22c4f0), var(--brand-cyan-deep, #12a8d6));
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--accent-rgb, 34, 196, 240), 0.22);
  }

  .newsletter-signup {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .utility-trigger {
    width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .utility-trigger span {
    display: none;
  }

  .utility-panel {
    width: min(300px, calc(100vw - 24px));
  }

  .newsletter-field-row {
    flex-direction: column;
  }

  .newsletter-field-row button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-nav-shell,
  .top-nav-shell {
    top: max(10px, env(safe-area-inset-top));
    width: min(1320px, calc(100% - 16px));
    padding-top: 0;
  }

  .site-nav,
  .top-nav {
    padding: 10px 12px;
    border-radius: 22px;
  }

  .site-nav-logo,
  .top-nav-brand img {
    width: 96px;
  }

  .site-footer {
    width: min(100% - 16px, 1320px);
    padding: 18px 16px;
  }

  .utility-dock {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .site-footer-brand,
  .site-footer-column {
    padding: 16px;
  }

  .site-nav-links,
  .top-nav-links {
    left: -2px;
    right: -2px;
    max-height: min(70dvh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Cookie banner + consent actions (React homepage + static pages) */

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 240;
  width: min(540px, calc(100% - 24px));
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(27, 36, 48, 0.2);
  backdrop-filter: blur(18px);
}

.cookie-banner h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.cookie-banner p,
.cookie-chip span,
.cookie-banner-note {
  margin: 0;
  color: var(--soft, #5c6168);
  line-height: 1.6;
}

.cookie-banner-grid {
  display: grid;
  gap: 12px;
}

.cookie-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 20px;
  background: rgba(246, 249, 251, 0.9);
  border: 1px solid rgba(37, 46, 56, 0.08);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.cookie-chip.is-active {
  border-color: rgba(var(--accent-rgb, 34, 196, 240), 0.22);
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.08);
}

.cookie-chip.is-locked {
  cursor: default;
}

.cookie-chip > div,
.cookie-chip.is-locked {
  display: grid;
  gap: 4px;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 30px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(49, 50, 54, 0.14);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cookie-switch span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 20px rgba(20, 26, 32, 0.14);
  transition: transform 0.2s ease;
}

.cookie-switch.is-on {
  background: linear-gradient(135deg, var(--accent, #12a8d6), var(--accent-deep, #0e8ab5));
}

.cookie-switch.is-on span {
  transform: translateX(22px);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner-note a {
  color: var(--accent-deep, #0e8ab5);
  font-weight: 700;
  text-decoration: none;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  color: var(--accent-deep, #0e8ab5);
  font-size: 0.74rem;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent, #12a8d6), var(--accent-deep, #0e8ab5));
  color: white;
  box-shadow: 0 16px 28px rgba(var(--accent-rgb, 34, 196, 240), 0.24);
}

.secondary-button {
  background: rgba(49, 50, 54, 0.08);
  color: var(--text, #2e3238);
}

.secondary-button.subtle {
  background: rgba(var(--accent-rgb, 34, 196, 240), 0.08);
  color: var(--accent-deep, #0e8ab5);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }
}
