.site-header-shell { position: relative; z-index: 1000; height: var(--header-height); background: var(--surface); }
body.page-transition-ready { animation: page-enter 260ms cubic-bezier(.2,.7,.2,1) both; }
body.is-page-leaving { pointer-events: none; animation: page-leave 180ms ease both; }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-leave { to { opacity: 0; } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-leave 180ms ease both; }
::view-transition-new(root) { animation: page-enter 260ms cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  body.page-transition-ready,
  body.is-page-leaving,
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid #f0edf5;
  background: color-mix(in srgb, white 97%, transparent);
  backdrop-filter: blur(14px);
  pointer-events: none;
}
.site-header__inner {
  position: relative;
  display: flex;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container-max));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-inline: auto;
  padding-inline: 0;
  border: 1px solid transparent;
  pointer-events: auto;
  transition: height 220ms ease, padding 220ms ease, margin 220ms ease, border-color 220ms ease, border-radius 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.site-header__inner::after { content: none; }
.site-header.is-scrolled { padding-top: 0; }
.site-header.is-scrolled .site-header__inner {
  height: var(--header-height);
  padding-inline: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-brand { display: grid; flex: 0 0 auto; gap: 0; color: var(--text); text-decoration: none; }
.site-brand small { margin: -3px 0 0 30px; color: #8b8d9a; font-size: 0.46rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.42rem; color: var(--text); font-size: 1rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; text-decoration: none; }
.brand-lockup img { width: 25px; height: 34px; flex: 0 0 auto; object-fit: contain; }
.site-logo { width: max-content; }
.site-logo strong { font-size: clamp(1rem, 1.45vw, 1.18rem); }
.site-nav { display: none; align-items: center; gap: clamp(0.8rem, 1.5vw, 1.35rem); }
.site-nav__primary { display: flex; align-items: center; gap: clamp(0.8rem, 1.5vw, 1.35rem); }
.site-nav__primary > a,
.nav-services__toggle { position: relative; display: inline-flex; min-height: 40px; align-items: center; gap: 0.36rem; padding: 0; color: #2d303b; border: 0; background: transparent; font-size: 0.75rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav__primary > a::after,
.nav-services__toggle::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
.site-nav__primary > a:hover,
.site-nav__primary > a[aria-current="page"],
.nav-services__toggle:hover,
.nav-services__toggle.is-current,
.nav-services__toggle[aria-expanded="true"] { color: var(--brand); }
.site-nav__primary > a:hover::after,
.site-nav__primary > a[aria-current="page"]::after,
.nav-services__toggle:hover::after,
.nav-services__toggle.is-current::after,
.nav-services__toggle[aria-expanded="true"]::after { transform: scaleX(1); }

.nav-services { position: relative; display: flex; }
.nav-services__toggle [data-icon] { display: inline-flex; transition: transform 220ms ease; }
.nav-services__toggle svg { width: 12px; height: 12px; }
.nav-services__toggle[aria-expanded="true"] [data-icon] { transform: rotate(180deg); }
.nav-services__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(330px, calc(100vw - 48px));
  padding: 0.35rem;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 18px 45px rgba(27, 22, 56, 0.14), 0 2px 8px rgba(27, 22, 56, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1), visibility 220ms;
}
.nav-services__menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 12px; }
.nav-services.is-open .nav-services__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-services__links { display: grid; gap: 0.12rem; }
.nav-services__links a { display: flex; min-height: 38px; align-items: center; padding: 0.48rem 0.6rem; color: var(--text); border-radius: 8px; text-decoration: none; transition: background-color 180ms ease, transform 180ms ease; }
.nav-services__links a:hover,
.nav-services__links a[aria-current="page"] { background: #f5f3fb; transform: translateX(3px); }
.nav-services__links strong,
.nav-services__links small { display: block; }
.nav-services__links strong { font-size: 0.72rem; }
.nav-services__links small { display: none; }
.nav-services__all { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.15rem; padding: 0.42rem 0.6rem; color: var(--brand); border-radius: 7px; background: color-mix(in srgb, var(--brand) 7%, white); font-size: 0.7rem; font-weight: 800; text-decoration: none; }
.nav-services__all svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.nav-services__all:hover svg { transform: translateX(3px); }
.site-header__actions { display: flex; align-items: center; gap: 0.55rem; }
.site-header__cta { display: none; }
.site-header .button--small { min-height: 40px; padding: 0.68rem 1rem; border-radius: 8px; font-size: 0.68rem; box-shadow: none; }
.site-header .button--primary { background: linear-gradient(135deg, #5134ef, #6c35f5); }
.site-header .site-header__cta--audit { min-width: 116px; }
.menu-toggle { display: inline-grid; width: 46px; height: 46px; place-items: center; padding: 0; color: var(--text); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-toggle__icon { display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("/assets/icons/ui/menu.svg") center / contain no-repeat; mask: url("/assets/icons/ui/menu.svg") center / contain no-repeat; }

.mobile-menu { position: fixed; z-index: 2000; inset: 0; display: grid; height: 100vh; height: 100dvh; max-height: 100dvh; min-height: 0; align-content: start; padding: 0 var(--page-pad) 1.5rem; background: var(--bg); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__top { display: flex; min-height: 76px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-menu__brand { display: grid; gap: 0; color: var(--text); text-decoration: none; }
.mobile-menu__brand small { margin: -3px 0 0 31px; color: var(--text-soft); font-size: 0.46rem; line-height: 1; }
.mobile-menu__logo { width: max-content; }
.mobile-menu__logo strong { font-size: 1.15rem; }
.mobile-menu__close { display: grid; width: 46px; height: 46px; place-items: center; padding: 0; color: var(--text); border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.mobile-menu__close-icon { display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("/assets/icons/ui/x.svg") center / contain no-repeat; mask: url("/assets/icons/ui/x.svg") center / contain no-repeat; }
.mobile-menu__services { margin-top: 1.4rem; padding: 1rem; border-radius: 18px; background: #f2effa; }
.mobile-menu__services > p { margin: 0 0 0.45rem; color: var(--brand); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.mobile-menu__services a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--text); font-size: 0.86rem; font-weight: 750; text-decoration: none; }
.mobile-menu__services a + a { border-top: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line)); }
.mobile-menu__services a[aria-current="page"] { color: var(--brand); }
.mobile-menu__services svg { width: 16px; height: 16px; color: var(--brand); }
.mobile-menu__services .mobile-menu__all-services { color: var(--brand); }
.mobile-menu__nav { display: grid; margin-top: 0.9rem; }
.mobile-menu__nav a { display: flex; min-height: 50px; align-items: center; justify-content: space-between; font-size: clamp(1.15rem, 5vw, 1.45rem); font-weight: 760; letter-spacing: -0.025em; text-decoration: none; }
.mobile-menu__nav a::after { content: "\2192"; color: var(--brand); font-size: 1rem; }
.mobile-menu__bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mobile-menu__bottom p { color: var(--text-soft); font-size: 0.8rem; }
.mobile-menu__bottom .button { width: 100%; }
.mobile-menu__actions { display: grid; gap: 0.65rem; }

.site-footer { position: relative; border-top: 1px solid var(--line); background: #fff; }
.site-footer__main { display: grid; gap: 2.5rem; padding-block: clamp(4rem, 7vw, 6rem) 3rem; }
.site-footer__brand .brand-lockup { font-size: 1.25rem; }
.site-footer__brand .brand-lockup img { width: 28px; height: 38px; }
.site-footer__brand p { max-width: 360px; margin-top: 1rem; color: var(--text-soft); font-size: 0.85rem; }
.site-footer__group h2 { margin-bottom: 0.8rem; font-size: 0.78rem; letter-spacing: 0; }
.site-footer__links { display: grid; gap: 0.4rem; }
.site-footer__links a { min-height: 38px; display: inline-flex; align-items: center; color: var(--text-soft); font-size: 0.8rem; text-decoration: none; }
.site-footer__links a:hover { color: var(--brand); }
.site-footer__contact p { max-width: 280px; margin-bottom: 1rem; }
.site-footer__contact a { display: inline-flex; margin: 0; color: var(--brand); font-weight: 750; overflow-wrap: anywhere; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 0.72rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer__legal button { padding: 0; color: inherit; border: 0; background: transparent; font: inherit; cursor: pointer; }
.site-footer__legal button:hover { color: var(--brand); }

.cookie-banner { position: fixed; z-index: 4000; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); left: clamp(1rem, 3vw, 2rem); display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(18px); transition: opacity 220ms ease, transform 220ms ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { pointer-events: auto; opacity: 1; transform: translateY(0); }
.cookie-banner__panel { display: grid; width: min(100%, 980px); max-height: calc(100dvh - 2rem); gap: 1rem 1.5rem; padding: clamp(1rem, 2vw, 1.35rem); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: 18px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 20px 65px rgba(19, 16, 48, 0.2); overflow-y: auto; overscroll-behavior: contain; backdrop-filter: blur(16px); }
.cookie-banner__eyebrow { margin-bottom: 0.3rem; color: var(--brand); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.cookie-banner__copy h2 { margin: 0; font-size: clamp(1.15rem, 2.3vw, 1.45rem); }
.cookie-banner__copy p:not(.cookie-banner__eyebrow) { max-width: 650px; margin: 0.45rem 0 0.35rem; color: var(--text-soft); font-size: 0.75rem; }
.cookie-banner__copy a { color: var(--brand); font-size: 0.7rem; font-weight: 750; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 0.5rem; }
.cookie-banner__actions .button { min-height: 42px; margin: 0; padding: 0.65rem 0.85rem; font-size: 0.68rem; }
.cookie-banner__manage { grid-column: 1 / -1; padding: 0.25rem; color: var(--brand); border: 0; background: transparent; font-size: 0.68rem; font-weight: 750; cursor: pointer; }
.cookie-banner__save { grid-column: 1 / -1; }
.cookie-banner__preferences { display: grid; grid-column: 1 / -1; gap: 0.45rem; padding-top: 0.25rem; }
.cookie-banner__preferences[hidden], .cookie-banner__actions [hidden] { display: none; }
.cookie-banner__preferences label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.cookie-banner__preferences span, .cookie-banner__preferences strong, .cookie-banner__preferences small { display: block; }
.cookie-banner__preferences strong { font-size: 0.72rem; }
.cookie-banner__preferences small { margin-top: 0.12rem; color: var(--text-soft); font-size: 0.6rem; }
.cookie-banner__preferences input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand); }

@media (min-width: 768px) {
  .cookie-banner__panel { grid-template-columns: minmax(0, 1fr) 310px; align-items: center; }
}

.page-hero { position: relative; isolation: isolate; padding-block: clamp(2.75rem, 5vw, 5rem) clamp(3.5rem, 6vw, 6rem); overflow: clip; }
.page-hero::before { content: ""; position: absolute; z-index: -1; top: -30%; right: -10%; width: min(62vw, 860px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 11%, transparent), transparent 68%); }
.page-hero::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: 0.16; background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, transparent) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(110deg, transparent 38%, #000 78%, transparent); }
.page-hero__copy { position: relative; z-index: 1; min-width: 0; }
.page-hero__copy .lede { margin-top: 1.5rem; }
.page-hero__copy .button-group { margin-top: 2rem; }
.page-hero__visual { min-width: 0; }

.dashboard { position: relative; min-width: 0; padding: clamp(0.85rem, 1.5vw, 1.25rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, white 96%, var(--surface-soft)); box-shadow: var(--shadow-card), inset 0 1px 0 #fff; }
.dashboard::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 4%, transparent), transparent 45%); }
.dashboard::before { content: ""; position: absolute; z-index: -1; inset: 10% -7% -8%; border-radius: 45%; background: color-mix(in srgb, var(--brand) 8%, transparent); filter: blur(44px); }
.dashboard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dashboard__title { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; font-weight: 800; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 10%, transparent); }
.dashboard__period { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.65rem; color: var(--text-soft); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 0.64rem; }
.dashboard__period svg { width: 13px; height: 13px; color: var(--brand); }
.dashboard__workspace { display: grid; gap: 1rem; }
.dashboard__main { min-width: 0; }
.dashboard__metrics { margin-bottom: 0.75rem; }
.dashboard__chart-wrap { position: relative; min-width: 0; padding-left: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--surface-soft) 28%, white)); overflow: hidden; }
.dashboard__chart { padding: 0.75rem 0.35rem 0; }
.dashboard__x-axis { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0 0.55rem 0.5rem; color: #9295a3; font-size: 0.5rem; }
.dashboard__axis { position: absolute; z-index: 2; top: 1.25rem; bottom: 1.4rem; left: 0.65rem; display: flex; flex-direction: column; justify-content: space-between; color: #9295a3; font-size: 0.52rem; }
.dashboard__summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 0.75rem; color: var(--text-soft); font-size: 0.68rem; }
.dashboard__summary span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend-line { width: 19px; height: 2px; background: var(--brand); }
.legend-line--dashed { background: repeating-linear-gradient(90deg, var(--brand-2) 0 4px, transparent 4px 7px); }
.dashboard__rail { display: none; min-width: 0; padding: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.dashboard__rail-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.2rem 0.15rem 0.8rem; color: var(--text-soft); font-size: 0.58rem; font-weight: 700; }
.dashboard__rail-head span:last-child { color: var(--success); }
.funnel-list { display: grid; }
.funnel-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 0.55rem; min-height: 58px; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.funnel-row__icon { display: grid; width: 28px; height: 28px; place-items: center; color: var(--brand); border-radius: 8px; background: var(--surface-soft); }
.funnel-row__icon svg { width: 15px; height: 15px; }
.funnel-row__copy strong, .funnel-row__copy small { display: block; }
.funnel-row__copy strong { font-size: 0.62rem; }
.funnel-row__copy small { margin-top: 0.1rem; color: var(--text-soft); font-size: 0.5rem; }
.funnel-row b { color: var(--text); font-size: 0.65rem; }
.funnel-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; padding: 0.8rem; color: #fff; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.funnel-total span { font-size: 0.54rem; }
.funnel-total strong { font-size: 0.78rem; }
.signal-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; padding: 0.25rem 0; background: transparent; }
.signal-strip__item { display: flex; min-width: 0; align-items: center; gap: 0.7rem; padding: 0.7rem; }
.signal-strip__icon { display: grid; width: 32px; height: 32px; place-items: center; flex: 0 0 auto; color: #697087; border-radius: 9px; background: #f3f4f7; }
.signal-strip__icon svg { width: 17px; height: 17px; }
.signal-strip strong, .signal-strip small { display: block; }
.signal-strip strong { font-size: 0.65rem; }
.signal-strip small { margin-top: 0.12rem; color: var(--text-soft); font-size: 0.55rem; }

@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .signal-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .signal-strip__item + .signal-strip__item { border-left: 1px solid var(--line); }
}

@media (max-width: 430px) {
  .mobile-menu__services { padding: 0.85rem; }
}

@media (max-width: 767px) {
  .menu-toggle { width: 40px; height: 40px; border-color: transparent; background: transparent; }
  .site-footer__links a,
  .site-footer__legal a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .menu-toggle { border-color: transparent; background: transparent; }
}

@media (min-width: 1200px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

@media (min-width: 1200px) {
  .site-footer__main { grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; }
  .dashboard__workspace { grid-template-columns: minmax(0, 1fr) 168px; }
  .dashboard__rail { display: block; }
}
