/* Dark-only, Shopify-Partners-inspired landing page (clean rebuild)
   - Premium dark UI
   - Hero: angled continuous 3-column slider behind text
   - Portfolio section: keeps 3D wall
  - Typography: lighter weights + Inter
*/

:root {
  --bg: #09090b;
  --bg2: #15161a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #ffffff;
  --faint: #ffffff;
  --accent: #13d38e;
  --accent2: #76e6b4;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);

  --container: 1160px;
  --header-h: 66px;

  --radius: 14px;
  --radius-sm: 12px;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 700px at 20% -10%, rgba(19, 211, 142, 0.10), transparent 60%),
    radial-gradient(900px 700px at 80% 0%, rgba(118, 230, 180, 0.06), transparent 62%),
    var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid rgba(19, 211, 142, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  backdrop-filter: blur(12px);
  background: rgba(9, 9, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 11, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

/* Site Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-logo:hover { opacity: 0.92; }

.site-logo-lockup {
  display: block;
  height: 43px;
  width: auto;
}

@media (max-width: 767px) {
  .site-logo-lockup {
    height: 36px;
  }
}

/* =========================================
   SaaS navigation and footer
   ========================================= */
.site-header--saas .header-inner {
  grid-template-columns: auto minmax(0, 1fr);
}

.site-header--saas .header-actions,
.site-header--saas .site-nav--saas {
  min-width: 0;
}

.site-header--saas .site-nav--saas {
  gap: clamp(12px, 2vw, 24px);
}

.site-header--saas .nav-list--saas {
  align-items: center;
  gap: 4px;
}

.site-header--saas .nav-link--direct,
.site-header--saas .nav-link--status {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-header--saas .nav-link--direct:hover,
.site-header--saas .nav-link--direct:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header--saas .nav-link--status {
  cursor: default;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
}

.site-header--saas .nav-status {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #dfffb0;
  background: rgba(202, 243, 137, 0.1);
  border: 1px solid rgba(202, 243, 137, 0.22);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer--saas .footer-top--saas {
  grid-template-columns: 92px repeat(4, minmax(0, 1fr));
}

.footer--saas .footer-link--static {
  color: rgba(175, 180, 195, 0.72);
  cursor: default;
}

.footer--saas .footer-link--static:hover {
  color: rgba(175, 180, 195, 0.72);
  transform: none;
}

.footer--saas .footer-note {
  max-width: 28ch;
  color: rgba(175, 180, 195, 0.86);
  font-size: 14px;
  line-height: 1.65;
}

.site-header--saas .btn--spark__text {
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }

  .site-header--saas {
    height: var(--header-h);
  }

  .site-header--saas .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header--saas .site-logo {
    justify-content: flex-start;
  }

  .site-header--saas .header-actions,
  .site-header--saas .site-nav--saas {
    justify-content: flex-end;
  }

  .site-header--saas .nav-list--saas {
    width: auto;
    gap: 1px;
  }

  .site-header--saas .nav-link--direct,
  .site-header--saas .nav-link--status {
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .site-header--saas .nav-item--status {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header--saas .site-nav--saas {
    gap: 20px;
  }

  .site-header--saas .nav-list--saas {
    gap: 8px;
  }

  .site-header--saas .nav-link--direct,
  .site-header--saas .nav-link--status {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 12px;
  }

  .site-header--saas .nav-link--status {
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.025);
  }

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

  .footer--saas .footer-col--note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .footer--saas .footer-top--saas {
    grid-template-columns: 1fr;
  }

  .footer--saas .footer-brand,
  .footer--saas .footer-col--note {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .site-logo-lockup {
    height: 34px;
  }
}

/* Optional: freeze motion while editing.
   Add `class="freeze-motion"` to <body> to stop animations. */
body.freeze-motion .hero-col--up .hero-track,
body.freeze-motion .hero-col--down .hero-track,
body.freeze-motion .shot-col--front,
body.freeze-motion .shot-col--mid,
body.freeze-motion .shot-col--back,
body.freeze-motion .hero-wall .shot {
  animation: none !important;
}



.nav-toggle {
  display: none;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.9);
}

.nav-toggle-label { font-weight: 600; font-size: 13px; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; gap: 16px; }
.nav-list { display: flex; gap: 12px; align-items: stretch; }
.nav-group {
  position: relative;
  padding: 8px 3px 0;
  border-radius: 7px;
  border-bottom: 1px solid rgb(202 243 132 / 23%);
  background: transparent;
}

.nav-group__label {
  position: absolute;
  top: -6.4px;
  left: 10px;
  padding: 0 3px;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  font-weight: 700 !important;
  border: 1px solid #caf3896e;
}

.nav-group__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }
.nav-item:has(.nav-link--arrow-only) { display: flex; align-items: center; gap: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 13.5px;
  color: #ffffff;
  white-space: nowrap;
}

.nav-link--arrow-only {
  padding: 8px 2px 8px 0;
  gap: 0;
  min-width: auto;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
}

.nav-icon { font-size: 18px; opacity: 0.8; }
.nav-actions { display: flex; align-items: center; }

.nav-actions .btn {
  font-weight: 700;
  color: #04110d;
  border-color: rgba(142, 247, 200, 0.46);
  border-top-color: rgba(215, 255, 235, 0.8);
  border-left-color: rgba(176, 255, 220, 0.55);
  background: linear-gradient(180deg, #a6f5cd 0%, #57e5ab 55%, #20bb84 100%);
  box-shadow: 0 12px 26px rgba(24, 191, 133, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 78, 48, 0.16);
}

.nav-actions .btn:hover {
  background: linear-gradient(180deg, #b6ffd9 0%, #68ebb6 55%, #27c78c 100%);
  border-color: rgba(182, 255, 217, 0.62);
  box-shadow: 0 16px 32px rgba(24, 191, 133, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(0, 78, 48, 0.2);
}

/* Menus */
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: calc(100vw - 24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item.is-open > .menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.is-open > .menu.menu--mega,
.nav-item.is-open > .menu.menu--mega-wide,
.nav-item.is-open > .menu.menu--mega-focused,
.nav-item.is-open > .menu.menu--mega-ai,
.nav-item.is-open > .menu.menu--mega-compact,
.nav-item.is-open > .menu.menu--panel {
  opacity: 1;
  visibility: visible;
}

.menu--mega {
  display: grid;
  gap: 5px;
  position: fixed;
  top: calc(var(--header-h) + 8px);
  left: 50%;
  right: auto;
  transform: translate(-50%, 8px);
}

.nav-item.is-open > .menu.menu--mega { transform: translate(-50%, 0); }

.menu--mega-wide {
  width: min(1120px, calc(100vw - 32px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.menu--mega-focused {
  width: min(960px, calc(100vw - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu--mega-ai {
  width: min(920px, calc(100vw - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu--mega-compact {
  width: min(620px, calc(100vw - 48px));
  grid-template-columns: 1fr 1fr;
}

.menu--panel {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top-color: rgba(255, 255, 255, 0.14);
  border-left-color: rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 -18px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(36px) saturate(90%);
  -webkit-backdrop-filter: blur(36px) saturate(90%);
}

.menu-item-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34, 38, 46, 0.78), rgba(15, 17, 22, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255,255,255,0.2);
  border-left-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  margin-bottom: 4px;
  color: #ffffff;
  cursor: not-allowed;
}

.locked-label { font-size: 12px; font-weight: 500; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(19, 211, 142, 0.32);
  background: rgba(19, 211, 142, 0.10);
  color: rgba(118, 230, 180, 0.95);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.menu-col--promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-height: 100%;
  padding: 18px 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(178, 255, 226, 0.14);
  border-top-color: rgba(223, 255, 240, 0.2);
  border-left-color: rgba(195, 255, 230, 0.14);
  gap: 0;
  box-shadow: 0 18px 34px rgba(6, 16, 14, 0.22), 0 8px 18px rgba(4, 11, 10, 0.14), inset 0 1px 0 rgba(255,255,255,0.08);
}

.menu-col--promo-web {
  background:
    linear-gradient(168deg, rgba(7, 13, 11, 0.28) 0%, rgba(6, 10, 9, 0.8) 48%, rgba(5, 8, 7, 0.96) 100%),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.menu-col--promo-app {
  background:
    linear-gradient(168deg, rgba(7, 10, 14, 0.28) 0%, rgba(6, 9, 12, 0.8) 48%, rgba(5, 7, 10, 0.96) 100%),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.menu-col--promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(135, 255, 210, 0.04) 0%, rgba(135, 255, 210, 0) 40%);
  pointer-events: none;
}

.menu-col--promo::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(135, 255, 210, 0.08) 0%, rgba(135, 255, 210, 0.02) 46%, rgba(135, 255, 210, 0) 72%);
  pointer-events: none;
}

.menu-col--promo > * {
  position: relative;
  z-index: 1;
}

.promo-icon {
  display: inline-block;
  color: #caf389;
  font-size: 50px;
  margin: 0 0 10px;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 12px;
  color: #04110d;
  background: linear-gradient(180deg, #b8ffd9 0%, #78ecbb 58%, #36c98f 100%);
  border: 1px solid rgba(187, 255, 220, 0.52);
  box-shadow: 0 12px 24px rgba(24, 191, 133, 0.2), inset 0 1px 0 rgba(255,255,255,0.36);
  font-weight: 700;
  font-size: 10.5px;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(24, 191, 133, 0.24), inset 0 1px 0 rgba(255,255,255,0.4);
}

@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --container: 1100px;
    --header-h: 124px;
  }

  .site-header {
    height: var(--header-h);
    overflow: visible;
  }

  .header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-content: center;
    align-items: center;
    justify-items: center;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 14px;
    overflow: visible;
  }

  .site-logo {
    justify-content: center;
  }

  .header-actions {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    overflow: visible;
    min-width: 0;
  }

  .nav-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 0;
    overflow: visible;
    min-width: 0;
  }

  .nav-group {
    padding: 8px 3px 0;
    overflow: visible;
    border-bottom: 1px solid rgb(202 243 132 / 23%);
    min-width: 0;
  }

  .nav-group__list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .nav-item {
    min-width: 0;
  }

  .nav-link {
    min-width: 0;
    padding: 1px 5px;
    font-size: 12px;
  }

  .menu {
    max-width: calc(100vw - 32px);
    z-index: 1200;
  }

  .menu--mega {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    transform: translateY(8px);
  }

  .nav-item.is-open > .menu.menu--mega {
    transform: translateY(0);
  }

  .menu--mega-focused {
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu--mega-wide {
    width: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .menu--mega-ai {
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu--mega-compact {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .nav-actions .btn {
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 12px;
  }

}

.menu-col {
  position: relative;
  overflow: hidden;
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(21, 24, 31, 0.88) 0%, rgba(13, 15, 21, 0.92) 52%, rgba(7, 9, 13, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(0,0,0,0.3), 0 8px 16px rgba(4, 8, 12, 0.18), inset 0 1px 0 rgba(255,255,255,0.11);
  backdrop-filter: blur(20px) saturate(112%);
  -webkit-backdrop-filter: blur(20px) saturate(112%);
}

.menu-col::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 58%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.menu-col::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 38%;
  background: radial-gradient(circle at top right, rgba(167, 255, 220, 0.12) 0%, rgba(167, 255, 220, 0.04) 42%, rgba(167, 255, 220, 0) 76%);
  pointer-events: none;
  opacity: 0.75;
}

/* AI CTA column */
.menu-col--ai-cta {
  border-color: rgba(178, 255, 226, 0.14);
  border-top-color: rgba(223, 255, 240, 0.2);
  background: linear-gradient(168deg, rgba(18, 28, 24, 0.92) 0%, rgba(10, 16, 14, 0.96) 100%);
}
.menu-col-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240, 245, 246, 0.8);
  margin: 0 0 4px;
}
.menu-col-desc--muted {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(233, 240, 240, 0.6);
  margin: 0;
}
.link-arrow--sm {
  margin-top: 10px;
  min-height: 34px;
  font-size: 11px;
  padding: 0 12px;
}

.menu-title {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: capitalize;
  color: #caf389;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(202, 243, 137, 0.18);
  font-weight: 600 !important;
  text-decoration: none;
  transition: color 160ms ease;
}
a.menu-title:hover {
  color: #e4ffb8;
}
.menu-note { font-size: 0.9rem; color: #ffffff; margin: -1px 0 6px; }
.menu-sep { height: 1px; background: rgba(255, 255, 255, 0.10); margin: 8px 0; }
.menu-sep--stack { margin: 13px 0 12px; background: rgba(202, 243, 137, 0.16); }
.menu-muted { color: #ffffff; font-size: 0.95rem; margin-top: 6px; }

.menu-col--promo strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-col--promo p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(240, 245, 246, 0.75);
  margin-bottom: 14px;
}

.menu-col--promo .link-arrow {
  min-height: 32px;
  font-size: 10.5px;
  padding: 0 11px;
  border-radius: 12px;
}

.menu-link {
  display: block;
  padding: 6px 2px 7px;
  border-radius: 0;
  color: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: transparent;
  box-shadow: none;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, background 160ms ease;
}

.menu-link:hover {
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  color: rgba(202, 243, 137, 0.98);
  border-bottom-color: rgba(202, 243, 137, 0.42);
  transform: translateX(2px);
}

.menu-link--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.menu-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #cdd6e4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row--large { gap: 12px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
    padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 500;
  font-size: 0.86rem;
  color: #ffffff;
}

.pill--soon {
  border-color: rgba(19, 211, 142, 0.32);
  background: rgba(19, 211, 142, 0.10);
  color: rgba(118, 230, 180, 0.95);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #202020, #070707);
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.28), -4px -4px 10px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  gap: 8px;
}

.btn--sm .material-symbols-rounded { font-size: 18px; }

/* The header's "Start Project" pill is tighter than the generic small button.
   Scoped to .site-header on purpose: the homepage service cards also use
   .btn--sm (.p-card__btn) and must keep their current size. */
.site-header .btn--sm {
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 14px;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #262626, #0a0a0a);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 10px 10px 22px rgba(0, 0, 0, 0.32), -4px -4px 12px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.26);
}

.btn--primary {
  background: linear-gradient(180deg, #a6f5cd 0%, #57e5ab 55%, #20bb84 100%);
  color: rgba(0, 10, 8, 0.92);
  border-color: rgba(142, 247, 200, 0.46);
  border-top-color: rgba(215, 255, 235, 0.8);
  border-left-color: rgba(176, 255, 220, 0.55);
  box-shadow: 0 12px 26px rgba(24, 191, 133, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 78, 48, 0.16);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #b6ffd9 0%, #68ebb6 55%, #27c78c 100%);
  border-color: rgba(182, 255, 217, 0.62);
  box-shadow: 0 16px 32px rgba(24, 191, 133, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(0, 78, 48, 0.2);
}

.btn--ghost {
  background: linear-gradient(180deg, #202020, #070707);
}

/* ==========================================================================
   Header "Start Project" — sparkle button (uiverse.io/MuhammadHasann).
   Dark pill with a rotating light border, a violet activation glow, and an
   animated three-star sparkle. Reimplemented in the site's own classes.
   - Keeps the existing .btn--sm padding + 9px radius (only style + icon change).
   - Deliberately does NOT use .btn--primary, which three stylesheets override
     (one with !important) for the light/black header variants — dropping it
     gives ONE consistent button on every header backdrop.
   - Scoped to .site-header so it out-specifies the base .btn / .btn:hover rules.
   ========================================================================== */
.site-header .btn--spark {
  --active: 0;
  --spark-radius: 9px;
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: #fff;
  overflow: visible;
  transform: scale(calc(1 + var(--active) * 0.05));
  transition: transform 0.3s ease-in-out;
}
.site-header .btn--spark:is(:hover, :focus-visible) {
  --active: 1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: scale(1.05);
}
.site-header .btn--spark:active { transform: scale(0.98); }

/* black pill + inset highlight, deep shadow, and violet ring on activation */
.site-header .btn--spark::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--spark-radius);
  background-color: hsl(0 0% 12%);
  box-shadow:
    inset 0 0.5px hsl(0 0% 100% / 0.9),
    inset 0 -1px 2px 0 hsl(0 0% 0%),
    0 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active))),
    0 0 0 calc(var(--active) * 0.26rem) hsl(260 97% 50% / 0.55);
  transition: all 0.3s ease-in-out;
  z-index: -1;
}
/* violet radial wash, fades in with --active */
.site-header .btn--spark::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--spark-radius);
  background-color: hsla(260 97% 61% / 0.75);
  background-image:
    radial-gradient(at 51% 89%, hsla(266, 45%, 74%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(266, 36%, 60%, 1) 0px, transparent 50%),
    radial-gradient(at 22% 91%, hsla(266, 36%, 60%, 1) 0px, transparent 50%);
  opacity: var(--active);
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

/* rotating light that reads as a travelling border highlight */
.site-header .btn--spark__beam {
  position: absolute; top: 50%; left: 50%;
  width: calc(100% + 2px); height: calc(100% + 2px);
  transform: translate(-50%, -50%);
  border-radius: calc(var(--spark-radius) + 1px);
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}
.site-header .btn--spark__beam::before {
  content: "";
  position: absolute; top: 30%; left: 50%;
  width: 100%; height: 2rem;
  transform-origin: left;
  background-color: #fff;
  -webkit-mask: linear-gradient(transparent 0%, #fff 120%);
          mask: linear-gradient(transparent 0%, #fff 120%);
  animation: btn-spark-rotate 2s linear infinite;
}
@keyframes btn-spark-rotate { to { transform: rotate(360deg); } }

/* the three-star sparkle icon */
.site-header .btn--spark__icon { position: relative; z-index: 1; width: 17px; height: 17px; flex: none; color: #fff; }
.site-header .btn--spark__icon .path { fill: currentColor; stroke: currentColor; transform-origin: center; }
.site-header .btn--spark:is(:hover, :focus-visible) .btn--spark__icon .path { animation: btn-spark-path 1.5s linear 0.5s infinite; }
.site-header .btn--spark__icon .path:nth-child(1) { --sp1: 1.2; }
.site-header .btn--spark__icon .path:nth-child(2) { --sp2: 1.2; }
.site-header .btn--spark__icon .path:nth-child(3) { --sp3: 1.2; }
@keyframes btn-spark-path {
  0%, 34%, 71%, 100% { transform: scale(1); }
  17% { transform: scale(var(--sp1, 1)); }
  49% { transform: scale(var(--sp2, 1)); }
  83% { transform: scale(var(--sp3, 1)); }
}

.site-header .btn--spark__text { position: relative; z-index: 1; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .site-header .btn--spark__beam::before,
  .site-header .btn--spark__icon .path { animation: none; }
}

#three-demo {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
#three-demo {
  padding: 40px 0;
}

#three-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/stars.webp') repeat;
  background-size: 512px 512px;
  opacity: 1;
  pointer-events: none;
}

#three-demo > .container {
  position: relative;
  z-index: 1;
}
.section-head { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(1.45rem, 2.1vw, 2.10rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 300;
}
.section-head p { color: #ffffff; max-width: 70ch; }


/* Override `.split { align-items: start; }` which is declared later */
.split.three-demo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.three-demo-copy {
  grid-column: 1;
}

.three-demo--stage {
  grid-column: 2;
}


.three-demo-wide-head {
  margin-bottom: 26px;
  max-width: 96ch;
}

.two-tone-headline {
  font-size: clamp(2.10rem, 3.2vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-weight: 300;
}

.two-tone-headline--wide {
  font-size: clamp(2.35rem, 3.9vw, 4.15rem);
  margin-bottom: 12px;
}

.two-tone-sub {
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.two-tone-headline .tone-muted {
  color: rgba(255, 255, 255, 0.45);
}

.two-tone-headline .tone-bright {
  color: rgba(255, 255, 255, 0.92);
}

.two-tone-sub .tone-muted {
  color: rgba(255, 255, 255, 0.55);
}

.two-tone-sub .tone-bright {
  color: rgba(255, 255, 255, 0.92);
}

.three-demo-title {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 300;
  margin-bottom: 12px;
}

.three-demo-title--global {
  font-size: clamp(2.10rem, 3.2vw, 3.10rem);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 6px;
}

.three-demo-text {
  color: #ffffff;
  max-width: 64ch;
  margin-bottom: 12px;
}

.global-metrics {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.global-metric {
  min-width: 0;
}

.global-metric-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.global-metric-top .material-symbols-rounded {
  font-size: 18px;
  color: var(--accent);
}

.global-metric-kicker {
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 650;
  color: #caf389;
}

.global-metric-kpi {
  font-size: clamp(2.55rem, 4.2vw, 4.10rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 300;
  margin: 8px 0 10px;
}

.global-metric-note {
  position: relative;
  color: #ffffff;
  margin: 0;
  padding-left: 12px;
  max-width: 52ch;
}

.global-metric-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: var(--accent);
}

.global-metric-note .note-strong {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

/* Globe stage (no panel background; globe should feel like it sits in the page) */
.three-demo--stage {
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.globe-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
  left: 0;
  top: 0;
  will-change: transform;
}

.globe-label-dot {
  display: none;
}

.globe-label-text {
  background: rgba(14, 14, 18, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(19, 211, 142, 0.3);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
}

.globe-label-text strong {
  color: #13d38e;
  font-weight: 600;
}

/* Orbiting globe cards */
.globe-orbit-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  pointer-events: auto;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  will-change: transform, opacity;
  min-width: 150px;
  max-width: 190px;
}

.globe-card:hover {
  border-color: rgba(19, 211, 142, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(19, 211, 142, 0.25), 0 8px 16px rgba(0, 0, 0, 0.3);
}

.globe-card-icon {
  font-size: 26px;
  line-height: 1;
  color: #13d38e;
  flex-shrink: 0;
}

.globe-card-content {
  flex: 1;
  min-width: 0;
}

.globe-card-value {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.2;
  margin-top: 2px;
}

.globe-card-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #caf389;
  line-height: 1.2;
}

#three-demo-canvas {
  width: 100%;
  display: block;
  background: transparent;
  aspect-ratio: 16 / 10;
  height: auto;
}

@media (max-width: 980px) {
  #three-demo-canvas { aspect-ratio: 16 / 11; }
  .global-metrics { grid-template-columns: 1fr; }
}

@media (min-width: 981px) {
  #three-demo-canvas {
    aspect-ratio: 16 / 9;
    min-height: 560px;
  }
}

/* Footer */
.footer {
  padding: 82px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0c0f;
}

.footer-top {
  display: grid;
  grid-template-columns: 108px repeat(4, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 44px);
  row-gap: 18px;
  align-items: start;
}

.footer-brand {
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2px;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
}

.footer-brand__lockup {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.footer-col {
  min-width: 0;
}

.footer-kicker {
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.footer-link {
  display: block;
  padding: 0;
  line-height: 1.35;
  color: rgba(175, 180, 195, 0.92);
  margin-bottom: 16px;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-muted { display: block; padding: 8px 0; color: #ffffff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.footer-locale {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.footer-locale span {
  color: rgba(255, 255, 255, 0.36);
  margin: 0 6px;
}

.footer-bottom__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 34px;
}

.footer-mini-link {
  color: rgba(175, 180, 195, 0.92);
  transition: color 160ms ease;
}

.footer-mini-link:hover {
  color: #ffffff;
}

.footer-small { color: rgba(175, 180, 195, 0.86); font-size: 0.92rem; }

/* =========================================
/* Shared typography normalization */
body,
body *:not(.material-symbols-rounded) {
  font-weight: 300;
}

.eyebrow,
.nav-toggle-label,
.locked-label,
.menu-title,
.mm-label,
.global-metric-kicker,
.section-kicker,
.footer-kicker {
  font-size: 14px;
}

.hero-sub,
.card-sub,
.section-head p,
.three-demo-text,
.global-metric-note,
.menu-promo-card p,
.menu-note,
.menu-muted,
.feature-card p,
.soon-card p,
.resource-sub,
.cta-inner p,
.footer-link,
.footer-muted,
.footer-small {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {
  .nav-toggle {
    min-width: 35px;
    height: 35px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 10px;
  }

  .nav-toggle-label {
    font-size: 12px;
  }

  .site-header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(9, 9, 11, 0.88);
  }

  body.nav-open .site-header {
    z-index: 3200;
    background: rgba(9, 9, 11, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  h1, h2, h3, h4, h5, h6 { font-weight: 100; }
  .hero-title { font-weight: 100; }
  .section-kicker, .cta-inner h2, .footer-kicker { font-weight: 100; }

  .hero-copy { padding: 12px; }
  .hero-copy::before { inset: -10px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    bottom: auto;
    width: 90vw;
    max-width: 90vw;
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    box-sizing: border-box;
    z-index: 3000;
    background: rgba(9, 9, 11, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(105%);
    transition: transform 200ms ease;
    padding: 18px;
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
    align-items: start;
    scroll-padding-top: 24px;
    gap: 16px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .site-nav::before {
    content: '';
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: -1;
  }

  .site-nav.is-open { transform: translateX(0); }
  .site-nav.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 14px; }

  .nav-group {
    padding: 18px 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: visible;
  }

  .nav-group__label {
    top: -9px;
    left: 12px;
    padding: 0 8px;
    border-radius: 4px;
    background: rgba(9, 9, 11, 0.96);
    color: #caf389;
  }

  .nav-group__list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
  }

  .menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: block;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 180ms ease, margin-top 180ms ease;
  }

  /* Mobile dropdowns: keep compact and list-like */
  .menu {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .menu--panel {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-col {
    display: grid;
    gap: 8px;
    padding: 0;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .menu-col--promo { display: none; }
  /* AI Opportunity Audit column holds real service links — keep it on mobile, flowing as a plain list */
  .menu-col--ai-cta {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .menu-col-desc { display: none; }

  .menu-title {
    margin: 12px 0 8px;
    padding: 0 4px;
    border-bottom: none;
  }

  .menu-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: none;
    padding: 12px 0;
  }

  .menu-item-locked {
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 0;
    padding: 12px;
    background: linear-gradient(180deg, rgba(37, 39, 45, 0.96), rgba(22, 24, 29, 0.96));
    border-color: rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.14);
    border-left-color: rgba(255,255,255,0.10);
    box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.24), -4px -4px 10px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.05);
  }

  .menu--mega,
  .menu--mega-wide,
  .menu--mega-focused,
  .menu--mega-ai,
  .menu--mega-compact {
    display: grid;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    transform: none;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-item.is-open > .menu {
    max-height: 960px;
    opacity: 1;
    margin-top: 8px;
    pointer-events: auto;
  }
  /* Tall mega-menus (all columns stack on mobile) — raise the cap so nothing clips */
  .nav-item.is-open > .menu.menu--mega-ai,
  .nav-item.is-open > .menu.menu--mega-wide {
    max-height: 2000px;
  }
  .nav-item.is-open > .menu.menu--mega,
  .nav-item.is-open > .menu.menu--mega-wide,
  .nav-item.is-open > .menu.menu--mega-focused,
  .nav-item.is-open > .menu.menu--mega-ai,
  .nav-item.is-open > .menu.menu--mega-compact {
    transform: none;
    left: auto;
    right: auto;
    margin-left: 0;
  }

  .nav-actions { justify-content: stretch; }
  .nav-actions .btn { width: 100%; }

  .hero {
    align-items: stretch;
    min-height: 100svh;
    padding: calc(var(--header-h) + 16px) 0 0;
  }

  .hero-grid {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .hero-copy {
    width: min(680px, 100%);
    min-height: 75svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 0;
  }

  .split { grid-template-columns: 1fr; }
  .split.three-demo-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .three-demo-copy,
  .three-demo--stage {
    grid-column: auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom__meta { justify-content: flex-start; }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-form__grid { grid-template-columns: 1fr; }

  .three-demo-copy {
    text-align: center;
  }

  .three-demo-text,
  .section-kicker,
  .three-demo-title,
  .three-demo-title--global {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .global-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
  }

  .global-metric {
    width: 100%;
    text-align: left;
    justify-items: start;
    padding: 0;
  }

  .global-metric-top {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .global-metric-kicker {
    font-size: 0.64rem;
  }

  .global-metric-kpi,
  .global-metric-note {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .global-metric-kpi {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .global-metric-note {
    font-size: 0.82rem;
    max-width: none;
    padding-left: 12px;
    padding-top: 0;
  }

  .global-metric-note::before {
    top: 0.2em;
    bottom: 0.2em;
    left: 0;
    width: 2px;
    height: auto;
    transform: none;
  }

  .three-demo--stage {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
  }

  #three-demo-canvas {
    aspect-ratio: 1 / 1;
  }

  .globe-label-text {
    padding: 3px 5px;
    font-size: 9px;
  }

  .globe-card {
    gap: 7px;
    padding: 6px 7px;
    min-width: 120px;
    max-width: 148px;
    border-radius: 9px;
  }

  .globe-card-icon {
    font-size: 20px;
  }

  .globe-card-value {
    font-size: 9px;
  }

  .globe-card-label {
    font-size: 8px;
  }

  #three-demo {
    padding: 36px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .hero-col--up .hero-track,
  .hero-col--down .hero-track,
  .shot-col--front,
  .shot-col--mid,
  .shot-col--back {
    animation: none;
  }
}

/* Keep the compact SaaS shell one-row at tablet widths. This final override is
   intentionally after the retained legacy component styles. */
@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }
}

/* ==========================================================================
   Scalable SaaS portfolio shell
   Compact product/resource dropdowns replace the retired agency navigation.
   ========================================================================== */
.site-header--saas {
  --shell-bg: rgba(9, 9, 11, 0.86);
  --shell-bg-solid: #0d0e11;
  --shell-panel: #15171c;
  --shell-panel-soft: #1b1e24;
  --shell-line: rgba(255, 255, 255, 0.1);
  --shell-line-strong: rgba(255, 255, 255, 0.16);
  --shell-text: #f8fafc;
  --shell-muted: #a9b0bd;
  --shell-accent: #76e6b4;
  height: 76px;
  background: var(--shell-bg);
  border-bottom-color: var(--shell-line);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header--saas.is-scrolled {
  background: rgba(9, 9, 11, 0.94);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.site-header--saas .header-inner {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.site-header--saas .header-actions {
  min-width: 0;
}

.site-header--saas .site-logo-lockup {
  height: 36px;
}

.site-header--saas .site-nav--saas {
  display: flex;
  min-width: 0;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
}

.site-header--saas .nav-list--saas {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-header--saas .nav-link--direct,
.site-header--saas .portfolio-nav__toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--shell-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.site-header--saas .nav-link--direct:hover,
.site-header--saas .nav-link--direct:focus-visible,
.site-header--saas .portfolio-nav__toggle:hover,
.site-header--saas .portfolio-nav__toggle:focus-visible,
.site-header--saas .portfolio-nav__item.is-open > .portfolio-nav__toggle {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--shell-line);
}

.portfolio-nav__item {
  position: relative;
}

.portfolio-nav__chevron {
  font-size: 18px;
  transition: transform 150ms ease;
}

.portfolio-nav__item.is-open > .portfolio-nav__toggle .portfolio-nav__chevron {
  transform: rotate(180deg);
}

.portfolio-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--shell-line-strong);
  border-radius: 14px;
  background: var(--shell-panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  color: var(--shell-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transform-origin: top left;
  transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}

.portfolio-menu--solutions {
  width: min(440px, calc(100vw - 32px));
}

.portfolio-menu--resources {
  width: min(370px, calc(100vw - 32px));
}

.portfolio-nav__item.is-open > .portfolio-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.portfolio-menu__intro {
  display: grid;
  gap: 4px;
  padding: 8px 10px 12px;
}

.portfolio-menu__intro .portfolio-menu__eyebrow {
  color: var(--shell-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-menu__intro strong {
  color: var(--shell-text);
  font-size: 15px;
  font-weight: 700;
}

.portfolio-menu__intro p,
.portfolio-menu__future p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 12px;
  line-height: 1.5;
}

.portfolio-menu__products {
  display: grid;
  gap: 4px;
}

.portfolio-product-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.portfolio-product-link:hover,
.portfolio-product-link:focus-visible {
  background: var(--shell-panel-soft);
  border-color: var(--shell-line);
  transform: translateX(2px);
}

.portfolio-product-link__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  font-size: 20px;
}

.portfolio-product-link__icon--bookimatic {
  color: #dcd5ff;
  background: rgba(105, 71, 232, 0.18);
  border: 1px solid rgba(135, 106, 255, 0.25);
}

.portfolio-product-link__icon--recoup {
  color: #ffd998;
  background: rgba(212, 139, 33, 0.15);
  border: 1px solid rgba(232, 166, 69, 0.22);
}

.portfolio-product-link__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.portfolio-product-link__copy strong,
.portfolio-resource-link strong,
.portfolio-menu__future strong {
  color: var(--shell-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.portfolio-product-link__copy small,
.portfolio-resource-link small {
  overflow: hidden;
  color: var(--shell-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-status {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header--saas .portfolio-status {
  font-weight: 700;
}

.portfolio-status--build {
  color: #dcd5ff;
  background: rgba(105, 71, 232, 0.13);
  border-color: rgba(135, 106, 255, 0.24);
}

.portfolio-status--pilot {
  color: #ffe1ad;
  background: rgba(212, 139, 33, 0.12);
  border-color: rgba(232, 166, 69, 0.22);
}

.portfolio-menu__future {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 12px;
  border-top: 1px solid var(--shell-line);
  background: rgba(255, 255, 255, 0.025);
}

.portfolio-menu__future > div:first-child {
  display: grid;
  gap: 4px;
}

.portfolio-platforms {
  display: flex;
  max-width: 160px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.portfolio-platforms span {
  padding: 3px 6px;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  color: var(--shell-muted);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.portfolio-resource-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background 150ms ease, border-color 150ms ease;
}

.portfolio-resource-link > .material-symbols-rounded:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: var(--shell-accent);
  background: rgba(118, 230, 180, 0.08);
  border: 1px solid rgba(118, 230, 180, 0.15);
  font-size: 19px;
}

.portfolio-resource-link > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.portfolio-resource-link__arrow {
  color: var(--shell-muted);
  font-size: 17px;
  transition: color 150ms ease, transform 150ms ease;
}

.portfolio-resource-link:hover,
.portfolio-resource-link:focus-visible {
  background: var(--shell-panel-soft);
  border-color: var(--shell-line);
}

.portfolio-resource-link:hover .portfolio-resource-link__arrow,
.portfolio-resource-link:focus-visible .portfolio-resource-link__arrow {
  color: var(--shell-text);
  transform: translate(1px, -1px);
}

.portfolio-menu__planned {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid var(--shell-line);
}

.portfolio-menu__planned > span {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid var(--shell-line);
  border-radius: 8px;
  color: var(--shell-muted);
  font-size: 10px;
  cursor: default;
}

.portfolio-menu__planned small {
  color: var(--shell-accent);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header--saas .nav-actions .btn--spark {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(142, 247, 200, 0.44);
  border-radius: 8px;
  background: linear-gradient(180deg, #a6f5cd 0%, #57e5ab 56%, #20bb84 100%);
  box-shadow: 0 9px 22px rgba(24, 191, 133, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: none;
}

.site-header--saas .nav-actions .btn--spark::before,
.site-header--saas .nav-actions .btn--spark::after,
.site-header--saas .nav-actions .btn--spark__beam {
  display: none;
}

.site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: rgba(182, 255, 217, 0.64);
  background: linear-gradient(180deg, #b6ffd9 0%, #68ebb6 56%, #27c78c 100%);
  box-shadow: 0 12px 26px rgba(24, 191, 133, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.site-header--saas .nav-actions .btn--spark__icon,
.site-header--saas .nav-actions .btn--spark__text {
  color: #06130e;
  font-weight: 700;
}

.portfolio-logo {
  display: none;
  align-items: center;
  gap: 9px;
}

.portfolio-brand-mark {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  transform: rotate(12deg);
}

.portfolio-brand-mark i {
  display: block;
  border-radius: 2px;
  background: #5574e8;
}

.portfolio-brand-mark i:first-child {
  grid-row: span 2;
  background: #111827;
}

.portfolio-brand-mark i:last-child {
  background: #72c5a7;
}

.portfolio-logo__word {
  color: #5574e8;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.055em;
}

.site-header--saas .portfolio-logo__word,
.footer--saas .portfolio-logo__word {
  font-weight: 650;
}

.portfolio-logo__word strong {
  color: #111827;
  font-weight: 750;
}

/* Portfolio footer */
.footer--saas .footer-top--saas {
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(24px, 3.5vw, 50px);
}

.footer--saas .footer-brand--portfolio {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 0;
}

.footer--saas .footer-brand__statement {
  max-width: 28ch;
  margin: 0;
  color: rgba(175, 180, 195, 0.84);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.footer--saas .footer-label {
  display: block;
  margin: -6px 0 13px;
  color: #76e6b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer--saas .footer-link,
.footer--saas .footer-link--static,
.footer--saas .footer-mini-link,
.footer--saas .footer-small {
  font-weight: 400;
}

.footer--saas .footer-kicker {
  font-size: 15px;
  font-weight: 650;
}

.footer--saas .footer-link {
  margin-bottom: 13px;
  font-size: 13px;
}

.footer--saas .footer-link--static {
  color: rgba(175, 180, 195, 0.62);
}

.footer--saas .footer-brand__logo {
  min-height: 48px;
}

/* Bookimatic inherits the approved cream/cobalt reference palette. */
html.page-bookimatic {
  color-scheme: light;
}

.page-bookimatic .site-header--saas {
  --shell-bg: rgba(248, 246, 242, 0.9);
  --shell-bg-solid: #f8f6f2;
  --shell-panel: #fffefd;
  --shell-panel-soft: #f3f5fb;
  --shell-line: #dedbd3;
  --shell-line-strong: #cfcac1;
  --shell-text: #111827;
  --shell-muted: #667085;
  --shell-accent: #3f5ec8;
  background: var(--shell-bg);
  border-bottom-color: var(--shell-line);
}

.page-bookimatic .site-header--saas.is-scrolled {
  background: rgba(248, 246, 242, 0.96);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
}

.page-bookimatic body.nav-open .site-header--saas {
  background: rgba(248, 246, 242, 0.98);
  border-bottom-color: #dedbd3;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
}

.page-bookimatic .site-logo-lockup--default {
  display: block;
  filter: grayscale(1) brightness(0);
}

.page-bookimatic .footer-brand__lockup--default {
  display: block;
}

.page-bookimatic .portfolio-logo {
  display: none;
}

.page-bookimatic .site-header--saas .nav-link--direct:hover,
.page-bookimatic .site-header--saas .nav-link--direct:focus-visible,
.page-bookimatic .site-header--saas .portfolio-nav__toggle:hover,
.page-bookimatic .site-header--saas .portfolio-nav__toggle:focus-visible,
.page-bookimatic .site-header--saas .portfolio-nav__item.is-open > .portfolio-nav__toggle {
  color: #111827;
  background: #f0eee8;
  border-color: #dedbd3;
}

.page-bookimatic .portfolio-product-link__icon--bookimatic {
  color: #3f5ec8;
  background: #edf1ff;
  border-color: #d6def9;
}

.page-bookimatic .portfolio-product-link__icon--recoup {
  color: #98631d;
  background: #fbf2e4;
  border-color: #ead9bc;
}

.page-bookimatic .portfolio-status--build {
  color: #3f5ec8;
  background: #edf1ff;
  border-color: #cad4f3;
}

.page-bookimatic .portfolio-status--pilot {
  color: #83591f;
  background: #fbf2e4;
  border-color: #ead9bc;
}

.page-bookimatic .portfolio-resource-link > .material-symbols-rounded:first-child {
  color: #3f5ec8;
  background: #edf1ff;
  border-color: #d6def9;
}

.page-bookimatic .site-header--saas .nav-actions .btn--spark,
.page-bookimatic .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #5574e8;
  background: #5574e8;
  box-shadow: 0 8px 18px rgba(63, 94, 200, 0.18);
}

.page-bookimatic .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #3f5ec8;
  background: #3f5ec8;
}

.page-bookimatic .site-header--saas .nav-actions .btn--spark__icon,
.page-bookimatic .site-header--saas .nav-actions .btn--spark__text {
  color: #ffffff;
}

.page-bookimatic .nav-toggle {
  color: #111827;
  background: #fffefd;
  border-color: #dedbd3;
}

.page-bookimatic .footer--saas {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: #111827;
  color: #f8f6f2;
}

.page-bookimatic .footer--saas .footer-label {
  color: #9fb2f4;
}

.page-bookimatic .footer--saas .footer-brand__statement,
.page-bookimatic .footer--saas .footer-link,
.page-bookimatic .footer--saas .footer-link--static,
.page-bookimatic .footer--saas .footer-small,
.page-bookimatic .footer--saas .footer-mini-link {
  color: #aeb8c9;
}

.page-bookimatic .footer--saas .footer-link:not(.footer-link--static):hover,
.page-bookimatic .footer--saas .footer-link:not(.footer-link--static):focus-visible,
.page-bookimatic .footer--saas .footer-mini-link:hover,
.page-bookimatic .footer--saas .footer-mini-link:focus-visible {
  color: #ffffff;
}

/* Recoup keeps the shared portfolio shell and adopts the editorial-ledger palette. */
html.page-recoup {
  color-scheme: light;
}

.page-recoup .site-header--saas {
  --shell-bg: rgba(246, 243, 237, 0.91);
  --shell-bg-solid: #f6f3ed;
  --shell-panel: #fcfaf6;
  --shell-panel-soft: #edf1eb;
  --shell-line: rgba(17, 23, 19, 0.16);
  --shell-line-strong: rgba(17, 23, 19, 0.24);
  --shell-text: #111713;
  --shell-muted: #59635c;
  --shell-accent: #064d42;
  background: var(--shell-bg);
  border-bottom-color: var(--shell-line);
}

.page-recoup .site-header--saas.is-scrolled {
  background: rgba(246, 243, 237, 0.97);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 10px 26px rgba(17, 23, 19, 0.09);
}

.page-recoup body.nav-open .site-header--saas {
  background: rgba(246, 243, 237, 0.99);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 10px 26px rgba(17, 23, 19, 0.09);
}

.page-recoup .site-logo-lockup--default {
  display: block;
  filter: grayscale(1) brightness(0);
}

.page-recoup .portfolio-logo {
  display: none;
}

.page-recoup .site-header--saas .nav-link--direct:hover,
.page-recoup .site-header--saas .nav-link--direct:focus-visible,
.page-recoup .site-header--saas .portfolio-nav__toggle:hover,
.page-recoup .site-header--saas .portfolio-nav__toggle:focus-visible,
.page-recoup .site-header--saas .portfolio-nav__item.is-open > .portfolio-nav__toggle {
  color: #111713;
  background: #e9e4da;
  border-color: #c9c7bd;
}

.page-recoup .portfolio-product-link__icon--bookimatic {
  color: #5842bd;
  background: #eeeafc;
  border-color: #d9d1f5;
}

.page-recoup .portfolio-product-link__icon--recoup {
  color: #064d42;
  background: #dfe9e3;
  border-color: #c2d5ca;
}

.page-recoup .portfolio-status--build {
  color: #5842bd;
  background: #eeeafc;
  border-color: #d9d1f5;
}

.page-recoup .portfolio-status--pilot {
  color: #8a510f;
  background: #f7ead6;
  border-color: #e4c99f;
}

.page-recoup .portfolio-resource-link > .material-symbols-rounded:first-child {
  color: #064d42;
  background: #dfe9e3;
  border-color: #c2d5ca;
}

.page-recoup .site-header--saas .nav-actions .btn--spark,
.page-recoup .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #064d42;
  background: #064d42;
  box-shadow: 0 8px 18px rgba(6, 77, 66, 0.18);
}

.page-recoup .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #023d34;
  background: #023d34;
}

.page-recoup .site-header--saas .nav-actions .btn--spark__icon,
.page-recoup .site-header--saas .nav-actions .btn--spark__text {
  color: #ffffff;
}

.page-recoup .nav-toggle {
  color: #111713;
  background: #fcfaf6;
  border-color: #c9c7bd;
}

.page-recoup .footer--saas {
  border-top-color: rgba(255, 255, 255, 0.11);
  background: #111713;
  color: #f6f3ed;
}

.page-recoup .footer-brand__lockup--default {
  display: block;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.94;
}

.page-recoup .footer--saas .footer-label {
  color: #a9cabc;
}

.page-recoup .footer--saas .footer-brand__statement,
.page-recoup .footer--saas .footer-link,
.page-recoup .footer--saas .footer-link--static,
.page-recoup .footer--saas .footer-small,
.page-recoup .footer--saas .footer-mini-link {
  color: #adb9b1;
}

.page-recoup .footer--saas .footer-link:not(.footer-link--static):hover,
.page-recoup .footer--saas .footer-link:not(.footer-link--static):focus-visible,
.page-recoup .footer--saas .footer-mini-link:hover,
.page-recoup .footer--saas .footer-mini-link:focus-visible {
  color: #ffffff;
}

@media (max-width: 1120px) {
  .footer--saas .footer-top--saas {
    grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(150px, 1fr));
  }

  .footer--saas .footer-brand--portfolio {
    grid-row: span 2;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-h: 72px;
  }

  .site-header--saas {
    height: var(--header-h);
  }

  .site-header--saas .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header--saas .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header--saas .site-nav--saas {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: auto;
    z-index: 3000;
    display: grid;
    width: min(430px, 92vw);
    max-width: 92vw;
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    align-content: start;
    align-items: start;
    gap: 18px;
    padding: 18px;
    overflow: auto;
    border-top: 1px solid var(--shell-line);
    border-left: 1px solid var(--shell-line);
    background: var(--shell-bg-solid);
    overscroll-behavior: contain;
    transform: translateX(105%);
    transition: transform 200ms ease;
  }

  .site-header--saas .site-nav--saas.is-open {
    transform: translateX(0);
  }

  .site-header--saas .nav-list--saas {
    display: grid;
    width: 100%;
    align-items: stretch;
    gap: 6px;
  }

  .site-header--saas .nav-link--direct,
  .site-header--saas .portfolio-nav__toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 12px 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--shell-line);
  }

  .portfolio-menu {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    margin-top: 6px;
    padding: 7px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .portfolio-nav__item:hover > .portfolio-menu,
  .portfolio-nav__item:focus-within > .portfolio-menu {
    display: none;
  }

  .portfolio-nav__item.is-open > .portfolio-menu,
  .portfolio-nav__item.is-open:hover > .portfolio-menu,
  .portfolio-nav__item.is-open:focus-within > .portfolio-menu {
    display: block;
  }

  .portfolio-product-link {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .portfolio-status {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .portfolio-menu__future {
    align-items: flex-start;
  }

  .portfolio-platforms {
    max-width: 130px;
  }

  .site-header--saas .nav-actions,
  .site-header--saas .nav-actions .btn {
    width: 100%;
  }

  .page-bookimatic .site-header--saas .site-nav--saas {
    background: #f8f6f2;
  }
}

@media (max-width: 720px) {
  .footer--saas .footer-top--saas {
    grid-template-columns: 1fr 1fr;
  }

  .footer--saas .footer-brand--portfolio {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .site-logo-lockup--default {
    height: 34px;
  }

  .portfolio-logo__word {
    font-size: 17px;
  }

  .portfolio-menu__future {
    display: grid;
  }

  .portfolio-platforms {
    max-width: none;
    justify-content: flex-start;
  }

  .portfolio-menu__planned {
    grid-template-columns: 1fr;
  }

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

  .footer--saas .footer-brand--portfolio {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-menu,
  .portfolio-nav__chevron,
  .portfolio-product-link,
  .portfolio-resource-link__arrow,
  .site-header--saas .site-nav--saas {
    transition: none;
  }
}

@media (forced-colors: active) {
  .portfolio-menu,
  .portfolio-product-link,
  .portfolio-resource-link,
  .portfolio-menu__planned > span,
  .portfolio-platforms span {
    border: 1px solid CanvasText;
  }

  .portfolio-status {
    border: 1px solid CanvasText;
  }
}
