/* ════════════════════════════════════════════════════════════════════════
   MostlyPrivacy — prototype styles. Layered on the Mostly Tiny design system.
   All structural values reference design-system tokens (var(--*)).
   Sections: 0 base · 1 proto chrome · 2 marketing · 3 app shell · 4 builder
   5 wizard · 6 pricing · 7 auth · 8 cookie widget · 9 density · 10 responsive
   ════════════════════════════════════════════════════════════════════════ */

/* ── 0. Base ───────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
.mp-root { font-family: var(--font-sans); color: var(--fg); -webkit-font-smoothing: antialiased; }
.mp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.mp-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.mp-h1 { font-family: var(--font-display); font-weight: 600; font-size: 54px; line-height: 1.04; letter-spacing: -0.04em; margin: 16px 0 0; text-wrap: balance; }
/* Animated word rotator in the hero headline (transform-only so the word is
   always opaque — never blanks under animation throttling or in static export) */
.hero-rotor { display: inline-flex; position: relative; vertical-align: bottom; color: var(--accent); padding-bottom: 3px; }
.hero-rotor::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--accent); opacity: 0.26; }
.hero-rotor__word { display: inline-block; animation: wordIn 0.5s var(--ease-spring); }
@keyframes wordIn { from { transform: translateY(0.32em); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-rotor__word { animation: none; } }
.mp-h2 { font-family: var(--font-display); font-weight: 600; font-size: 33px; line-height: 1.1; letter-spacing: -0.032em; margin: 0; text-wrap: balance; }
.mp-lead { font-size: 17px; line-height: 1.55; color: var(--fg-muted); max-width: 32em; margin: 16px 0 0; text-wrap: pretty; }
.mp-fadeup { animation: mpFadeUp 0.5s var(--ease-spring) both; }
@keyframes mpFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mp-fadeup { animation: none; } }

/* Brand lockup */
.mp-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--fg); }
.mp-brand__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.mp-brand__name .acctint { color: var(--accent); }

/* ── 1. Prototype chrome — screen jumper ───────────────────────────────── */
.proto-jumper { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9000;
  display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-elev) 86%, transparent); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.proto-jumper__tag { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); padding: 0 8px 0 6px; }
.proto-jumper button { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 500; color: var(--fg-muted); padding: 7px 13px; border-radius: var(--radius-pill); transition: background .14s, color .14s; }
.proto-jumper button:hover { color: var(--fg); background: var(--bg-row-hover); }
.proto-jumper button.is-active { background: var(--accent); color: var(--accent-fg); }
.proto-jumper__sep { width: 1px; height: 18px; background: var(--border-strong); margin: 0 2px; }

/* ── 2. Marketing surface ──────────────────────────────────────────────── */
.mp-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.mp-nav__inner { height: 62px; display: flex; align-items: center; gap: 26px; }
.mp-nav__links { display: flex; gap: 24px; margin-left: 10px; }
.mp-nav__links a { font-size: 13.5px; font-weight: 500; color: var(--fg-muted); text-decoration: none; cursor: pointer; transition: color .12s; }
.mp-nav__links a:hover { color: var(--fg); }
.mp-nav__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* Hero */
.mp-hero { padding: 70px 0 56px; position: relative; overflow: hidden; }
.mp-hero__inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; position: relative; z-index: 1; }
.mp-hero__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.mp-trust { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.mp-trust__item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-muted); font-weight: 500; }
.mp-trust__item svg { color: var(--accent); }
.mp-trust__sep { width: 1px; height: 14px; background: var(--border-strong); }
/* aurora wash behind hero */
.mp-hero::before { content: ""; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(closest-side, var(--accent-bg-soft), transparent 70%); filter: blur(6px); pointer-events: none; }

/* Hero art — paired banner + policy preview */
.mp-hero__art { position: relative; display: flex; flex-direction: column; gap: 16px; }
.mp-preview-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.mp-preview-card__bar { display: flex; align-items: center; gap: 7px; padding: 0 14px; height: 38px; border-bottom: 1px solid var(--hairline); background: var(--bg); }
.mp-dot { width: 11px; height: 11px; border-radius: 50%; }
.mp-preview-card__url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.mp-preview-card__lang { margin-left: auto; }
.mp-preview-card__langtag { margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-bg-soft); padding: 2px 9px; border-radius: var(--radius-pill); }
/* live auto-translate progress strip under the browser bar */
.mp-preview-card__progress { height: 2px; background: var(--hairline); overflow: hidden; }
.mp-preview-card__progress-bar { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: locProgress linear both; }
.mp-preview-card__progress-bar.is-paused { animation-play-state: paused; }
.mp-preview-card__stage { position: relative; min-height: 188px; padding: 18px; background:
  linear-gradient(var(--bg), var(--bg)) padding-box,
  repeating-linear-gradient(45deg, var(--bg-row-hover) 0 1px, transparent 1px 9px); }
.mp-preview-card__shot { display: flex; flex-direction: column; gap: 8px; opacity: 0.5; }
.mp-preview-card__shot i { display: block; height: 9px; border-radius: 999px; background: var(--border-strong); }
.mp-preview-card__shot i:nth-child(1) { width: 42%; }
.mp-preview-card__shot i:nth-child(2) { width: 88%; }
.mp-preview-card__shot i:nth-child(3) { width: 76%; }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--radius-pill); background: var(--bg-chip); }
.lang-switch button { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--fg-muted); padding: 4px 9px; border-radius: var(--radius-pill); transition: all .14s; }
.lang-switch button:hover { color: var(--fg); }
.lang-switch button.is-active { background: var(--bg-elev); color: var(--accent); box-shadow: var(--shadow-xs); }
.lang-switch--lg button { font-size: 12.5px; padding: 6px 12px; }

/* Localization showcase */
.mp-section { padding: 60px 0; }
.mp-section-head { text-align: center; margin-bottom: 38px; }
.mp-section-head .mp-h2 { max-width: 17em; margin-inline: auto; }
.mp-section-head .mp-lead { margin-inline: auto; text-align: center; }
.mp-loc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.mp-loc__copy .mp-feat-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mp-loc__copy .mp-feat-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.mp-loc__copy .mp-feat-list b { color: var(--fg); font-weight: 600; }
.mp-loc__copy .mp-feat-list .ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-bg-soft); color: var(--accent); }
.mp-loc { align-items: center; }

/* Localization showcase — auto-translating document stack */
.loc-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0; }
.loc-doctabs { display: inline-flex; gap: 3px; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-chip); border: 1px solid var(--hairline); }
.loc-doctab { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--fg-muted); padding: 7px 16px; border-radius: var(--radius-pill); transition: all .16s; }
.loc-doctab:hover { color: var(--fg); }
.loc-doctab.is-active { background: var(--bg-elev); color: var(--accent); box-shadow: var(--shadow-xs); }
.loc-badge { position: absolute; top: -6px; right: 6px; z-index: 4; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--radius-pill); background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); font-size: 12px; font-weight: 600; color: var(--accent); }
.loc-badge svg { color: var(--accent); }

.loc-stack { position: relative; width: 100%; max-width: 440px; perspective: 1400px; }
.loc-card { border-radius: var(--radius-card); background: var(--bg-elev); border: 1px solid var(--border); }
.loc-card--back1, .loc-card--back2 { position: absolute; inset: 0; box-shadow: var(--shadow-soft); }
.loc-card--back1 { transform: translate(16px, -16px) scale(0.965) rotate(1.4deg); opacity: 0.7; z-index: 1; }
.loc-card--back2 { transform: translate(30px, -30px) scale(0.93) rotate(2.8deg); opacity: 0.4; z-index: 0; }
.loc-card__ghost-title { position: absolute; top: 64px; left: 34px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--fg-subtle); opacity: 0.5; }
.loc-card--front { position: relative; z-index: 2; padding: 30px 34px 34px; box-shadow: var(--shadow-lg); min-height: 400px;
  animation: locCardIn 0.55s var(--ease-spring) both; }
@keyframes locCardIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }

.loc-card__brandline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 20px; }
.loc-card__brandline .doc-paper__org { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.loc-card__lang { font-size: 11px; color: var(--fg-subtle); font-family: var(--font-mono); }
.loc-card__title { font-family: var(--font-display); font-size: 27px; font-weight: 600; letter-spacing: -0.03em; margin: 0; line-height: 1.08; }

.loc-line { opacity: 0; animation: locLineIn 0.5s var(--ease-out) both; }
.loc-line--meta { font-size: 11.5px; color: var(--fg-subtle); margin: 7px 0 20px; }
.loc-line--body { font-size: 12.5px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 16px; text-wrap: pretty; }
.loc-line--h { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); margin: 0 0 7px; }
.loc-line--h .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 500; }
@keyframes locLineIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.loc-pills { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--radius-pill); background: var(--bg-chip); border: 1px solid var(--hairline); }
.loc-pill { position: relative; appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--fg-muted); padding: 7px 14px; border-radius: var(--radius-pill); transition: color .16s; overflow: hidden; }
.loc-pill:hover { color: var(--fg); }
.loc-pill.is-active { background: var(--bg-elev); color: var(--accent); box-shadow: var(--shadow-xs); }
.loc-pill__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left;
  animation: locProgress linear both; }
.loc-pill__bar.is-paused { animation-play-state: paused; }
@keyframes locProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loc-pills__hint { font-size: 11px; font-weight: 500; color: var(--fg-subtle); padding: 0 10px 0 6px; min-width: 92px; }
@media (prefers-reduced-motion: reduce) {
  .loc-card--front, .loc-line { animation: none; opacity: 1; }
  .loc-pill__bar { animation: none; transform: scaleX(1); }
}

/* Features grid */
.mp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mp-feature__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-bg-soft); color: var(--accent); margin-bottom: 14px; }
.mp-feature__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; letter-spacing: -0.014em; margin: 0 0 7px; }
.mp-feature__body { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* Comparison band */
.mp-compare { background: var(--brand-midnight); border-radius: var(--radius-xl); padding: 46px 44px; color: #fff; }
.mp-compare__head { text-align: center; margin-bottom: 30px; }
.mp-compare__head .mp-h2 { color: #fff; }
.mp-compare__head p { color: rgba(255,255,255,0.6); margin: 8px 0 0; font-size: 14px; }
.mp-compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.mp-compare__col { border-radius: var(--radius); padding: 24px; }
.mp-compare__col--them { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.mp-compare__col--us { background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.mp-compare__lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.mp-compare__col--us .mp-compare__lbl { color: color-mix(in srgb, var(--accent) 60%, #fff); }
.mp-compare__row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.mp-compare__row:first-of-type { border-top: 0; }
.mp-compare__row svg { flex-shrink: 0; margin-top: 1px; }

/* Pricing teaser */
.mp-teaser { text-align: center; }
.mp-teaser__chips { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.mp-teaser__chip { display: inline-flex; align-items: baseline; gap: 7px; padding: 11px 18px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-elev); box-shadow: var(--shadow-xs); font-size: 13px; }
.mp-teaser__chip b { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }

/* Footer */
.mp-footer { border-top: 1px solid var(--hairline); background: var(--bg-elev); margin-top: 20px; }
.mp-footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; padding: 48px 32px 30px; }
.mp-footer__tag { font-size: 13px; color: var(--fg-muted); max-width: 24em; margin: 14px 0 0; line-height: 1.5; }
.mp-footer__h { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 14px; }
.mp-footer__col { display: flex; flex-direction: column; gap: 10px; }
.mp-footer__col a { font-size: 13.5px; color: var(--fg-muted); text-decoration: none; cursor: pointer; transition: color .12s; }
.mp-footer__col a:hover { color: var(--fg); }
.mp-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 32px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--fg-subtle); flex-wrap: wrap; }
.mp-endorse { display: inline-flex; align-items: center; gap: 8px; }
.mp-endorse strong { color: var(--fg-muted); font-weight: 600; }

/* ── 3. App shell ──────────────────────────────────────────────────────── */
.app-shell { display: grid; grid-template-columns: 244px 1fr; height: 100vh; font-family: var(--font-sans); color: var(--fg); background: var(--bg); }
.app-side { display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--bg-elev); min-height: 0; }
.app-side__brand { display: flex; align-items: center; gap: 9px; padding: 18px 18px 12px; }
.app-side__org { margin: 4px 12px 8px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); cursor: pointer; }
.app-side__org:hover { background: var(--bg-row-hover); }
.app-side__org-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-bg-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.app-side__org-name { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.app-side__org-sub { font-size: 10.5px; color: var(--fg-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-nav { padding: 4px 12px; flex: 1; overflow-y: auto; }
.app-nav__label { padding: 14px 8px 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.app-nav__item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: var(--radius-sm); cursor: pointer; color: var(--fg); font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; text-align: left; transition: background .12s; }
.app-nav__item:hover { background: var(--bg-row-hover); }
.app-nav__item.is-active { background: var(--accent-bg-soft); color: var(--accent); }
.app-nav__item svg { color: var(--fg-muted); flex-shrink: 0; }
.app-nav__item.is-active svg { color: var(--accent); }
.app-nav__count { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-subtle); }
.app-nav__item.is-active .app-nav__count { color: var(--accent); }
.app-side__foot { padding: 12px; border-top: 1px solid var(--hairline); }
.app-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-sm); cursor: pointer; }
.app-user:hover { background: var(--bg-row-hover); }
.app-user__name { font-size: 12.5px; font-weight: 600; }
.app-user__email { font-size: 10.5px; color: var(--fg-subtle); }

.app-shell__main { display: flex; flex-direction: column; min-width: 0; }
.app-topbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.app-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-muted); }
.app-crumbs__sep { color: var(--fg-subtle); }
.app-crumbs__now { color: var(--fg); font-weight: 600; }
.app-topbar__spacer { margin-left: auto; }
.app-search { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 0; background: var(--bg-row-hover); border-radius: var(--radius-pill); color: var(--fg-muted); font-size: 13px; cursor: pointer; width: 210px; font-family: var(--font-sans); }
.app-kbd { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; padding: 1px 6px; background: var(--bg-elev); border-radius: var(--radius-xs); color: var(--fg-subtle); }
.app-main { flex: 1; overflow-y: auto; }
.app-view { max-width: 1080px; margin: 0 auto; padding: 26px 30px 64px; }
.app-view--wide { max-width: 1240px; }
.app-view__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.app-h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; margin: 0; }
.app-sub { font-size: 14px; color: var(--fg-muted); margin: 5px 0 0; }
.app-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.app-card-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }

/* Compliance "relief moment" banner */
.relief { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius-card);
  background: linear-gradient(135deg, color-mix(in srgb, var(--good) 12%, var(--bg-elev)), var(--bg-elev));
  border: 1px solid color-mix(in srgb, var(--good) 28%, var(--border)); box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.relief__badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.relief__t { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.relief__s { font-size: 13.5px; color: var(--fg-muted); margin: 3px 0 0; }
.relief__meta { margin-left: auto; text-align: right; font-size: 12px; color: var(--fg-subtle); }

.app-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.app-grid2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }

/* Sites list */
.site-card { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; }
.site-card + .site-card { border-top: 1px solid var(--hairline); }
.site-card__name { display: flex; align-items: center; gap: 12px; }
.site-card__fav { width: 34px; height: 34px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-muted); flex-shrink: 0; }
.site-card__dom { font-size: 14px; font-weight: 600; }
.site-card__url { font-size: 11.5px; color: var(--fg-subtle); font-family: var(--font-mono); }
.site-card__cell-l { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 4px; }
.site-card__actions { display: flex; gap: 6px; }

/* ── 4. Cookie banner builder ──────────────────────────────────────────── */
.bb { display: grid; grid-template-columns: 380px 1fr; gap: 0; height: 100%; min-height: 0; }
.bb__controls { border-right: 1px solid var(--border); background: var(--bg-elev); overflow-y: auto; padding: 22px 22px 40px; }
.bb__preview { background: var(--bg); overflow-y: auto; padding: 28px; position: relative; }
.bb-group { margin-bottom: 22px; }
.bb-group__label { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.bb-group__label .n { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-bg-soft); color: var(--accent); display: grid; place-items: center; font-size: 10px; font-family: var(--font-mono); }
.bb-field { margin-bottom: 12px; }
.bb-seg { display: flex; padding: 3px; background: var(--bg-chip); border-radius: var(--radius-sm); gap: 2px; }
.bb-seg button { flex: 1; appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--fg-muted); padding: 7px 4px; border-radius: 7px; transition: all .14s; }
.bb-seg button.is-active { background: var(--bg-elev); color: var(--accent); box-shadow: var(--shadow-xs); }
.bb-swatches { display: flex; gap: 8px; }
.bb-swatch { width: 30px; height: 30px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: transform .12s; position: relative; }
.bb-swatch:hover { transform: scale(1.08); }
.bb-swatch.is-active { box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--fg); }
.bb-cat { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.bb-cat:first-child { border-top: 0; }
.bb-cat__t { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.bb-cat__d { font-size: 11.5px; color: var(--fg-subtle); margin-top: 1px; line-height: 1.35; }
.bb-cat__sw { margin-left: auto; flex-shrink: 0; margin-top: 2px; }
.bb-cat__main { min-width: 0; }
.bb-chip-exempt { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--good); background: var(--good-soft); padding: 2px 7px; border-radius: var(--radius-pill); }
.bb-chip-exempt svg { color: var(--good); }
.bb-exempt { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px dashed var(--border-strong); background: transparent; cursor: pointer; font-family: var(--font-sans); font-size: 11px; font-weight: 500; color: var(--fg-muted); text-align: left; line-height: 1.3; transition: all .14s; }
.bb-exempt:hover { border-color: var(--good); color: var(--good); }
.bb-exempt.is-on { border-style: solid; border-color: color-mix(in srgb, var(--good) 40%, transparent); background: var(--good-soft); color: var(--good); }
.bb-exempt svg { flex-shrink: 0; }
.bb-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: var(--fg-muted); }
.bb-hint svg { color: var(--good); flex-shrink: 0; margin-top: 1px; }
.bb-inline-code { font-family: var(--font-mono); font-size: 0.92em; background: color-mix(in srgb, var(--fg) 7%, transparent); padding: 1px 5px; border-radius: var(--radius-xs); color: var(--fg); }

/* cookieless chip inside the live widget */
.cw__cat__chip { display: inline-flex; align-items: center; font-size: 9px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--good); background: var(--good-soft); padding: 1px 6px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle; }
.cw__cat__t { display: inline-flex; align-items: center; }

/* scanner cookieless leaf marker */
.scan-leaf { display: inline-flex; vertical-align: -1px; margin-left: 6px; color: var(--good); }

/* dashboard — badge referral funnel */
.badge-funnel { display: flex; align-items: stretch; gap: 6px; margin-top: 6px; }
.badge-funnel__step { flex: 1; padding: 12px 10px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--hairline); text-align: center; }
.badge-funnel__v { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.badge-funnel__l { font-size: 11px; font-weight: 600; color: var(--fg-muted); margin-top: 2px; }
.badge-funnel__s { font-size: 10px; color: var(--fg-subtle); margin-top: 2px; font-family: var(--font-mono); }
.badge-funnel__arrow { display: grid; place-items: center; color: var(--fg-subtle); flex-shrink: 0; }
.badge-attrib { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-bg-soft); font-size: 12px; line-height: 1.45; color: var(--fg-muted); }
.badge-attrib svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* dashboard — consent log delivery */
.log-endpoint { display: flex; align-items: center; gap: 9px; padding: 9px 10px 9px 12px; border-radius: var(--radius); background: var(--brand-midnight); margin-top: 4px; }
.log-endpoint__method { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #2bb6a3; background: rgba(43,182,163,0.16); padding: 2px 7px; border-radius: var(--radius-xs); flex-shrink: 0; }
.log-endpoint__url { font-family: var(--font-mono); font-size: 11.5px; color: #d9d9e3; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-endpoint .forge-btn { color: rgba(255,255,255,0.7); }
.log-delivery { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.log-delivery__row { display: flex; align-items: center; gap: 11px; }
.log-delivery__row > svg:last-child { margin-left: auto; color: var(--good); flex-shrink: 0; }
.log-delivery__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.log-delivery__ic--good { background: var(--good-soft); color: var(--good); }
.log-delivery__ic--accent { background: var(--accent-bg-soft); color: var(--accent); }
.log-delivery__ic--neutral { background: var(--bg-chip); color: var(--fg-muted); }
.log-delivery__t { font-size: 13px; font-weight: 600; }
.log-delivery__s { font-size: 11.5px; color: var(--fg-subtle); margin-top: 1px; }
.bb-langrow { display: flex; flex-wrap: wrap; gap: 7px; }
.bb-langchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-size: 12px; font-weight: 500; transition: all .14s; }
.bb-langchip.is-active { background: var(--accent-bg-soft); border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); }
.bb-langchip .x { width: 14px; height: 14px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); display: grid; place-items: center; }
.bb-geo { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); margin-bottom: 8px; }
.bb-geo__flag { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; font-family: var(--font-mono); }
.bb-geo__t { font-size: 12.5px; font-weight: 600; }
.bb-geo__s { font-size: 11px; color: var(--fg-subtle); }

/* preview stage = mock website */
.bb-site { border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--bg-elev); box-shadow: var(--shadow-soft); overflow: hidden; min-height: 480px; position: relative; }
.bb-site__bar { display: flex; align-items: center; gap: 7px; padding: 0 14px; height: 38px; border-bottom: 1px solid var(--hairline); background: var(--bg); }
.bb-site__addr { margin-left: 10px; flex: 1; height: 22px; border-radius: var(--radius-pill); background: var(--bg-elev); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.bb-site__page { padding: 30px 34px; min-height: 440px; position: relative; }
.bb-site__hero-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.bb-site__hero-h { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 0; max-width: 14em; color: var(--fg); }
.bb-site__skeleton { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; max-width: 460px; }
.bb-site__skeleton i { height: 11px; border-radius: 999px; background: var(--bg-row-hover); }
.bb-site__skeleton i:nth-child(2) { width: 92%; } .bb-site__skeleton i:nth-child(3) { width: 80%; } .bb-site__skeleton i:nth-child(4) { width: 60%; }
.bb-site__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; }
.bb-site__cards div { height: 78px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.bb-preview-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bb-preview-toolbar .ttl { font-family: var(--font-display); font-weight: 600; font-size: 15px; }

/* install / output */
.bb-install { display: flex; flex-direction: column; gap: 14px; }
.bb-code { background: var(--brand-midnight); border-radius: var(--radius); padding: 16px 18px; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: #d9d9e3; overflow-x: auto; position: relative; }
.bb-code .tk-tag { color: #6fb6ff; } .bb-code .tk-att { color: #6fe0c7; } .bb-code .tk-str { color: #e0b66f; } .bb-code .tk-com { color: #6b6b80; }
.bb-code__copy { position: absolute; top: 12px; right: 12px; }

/* ── 5. Document generator wizard ──────────────────────────────────────── */
.wz { display: grid; grid-template-columns: 280px 1fr; height: 100%; min-height: 0; }
.wz__rail { border-right: 1px solid var(--border); background: var(--bg-elev); padding: 26px 22px; overflow-y: auto; }
.wz__main { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
.wz__form { overflow-y: auto; padding: 30px 34px 60px; border-right: 1px solid var(--border); }
.wz__doc { background: var(--bg); overflow-y: auto; padding: 28px; }
.wz-steps { list-style: none; margin: 22px 0 0; padding: 0; position: relative; }
.wz-steps::before { content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 2px; background: var(--border); }
.wz-step { display: flex; gap: 13px; align-items: flex-start; padding: 9px 0; position: relative; cursor: pointer; }
.wz-step__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elev); border: 2px solid var(--border); display: grid; place-items: center; flex-shrink: 0; z-index: 1; font-size: 12px; font-weight: 600; color: var(--fg-subtle); transition: all .18s; }
.wz-step.is-active .wz-step__dot { border-color: var(--accent); color: var(--accent); background: var(--accent-bg-soft); }
.wz-step.is-done .wz-step__dot { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.wz-step__t { font-size: 13.5px; font-weight: 600; line-height: 1.25; padding-top: 4px; white-space: nowrap; }
.wz-step.is-active .wz-step__t { color: var(--accent); }
.wz-step__s { font-size: 11.5px; color: var(--fg-subtle); margin-top: 1px; }
.wz-form__head { margin-bottom: 22px; }
.wz-form__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.wz-form__h { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 0; }
.wz-form__sub { font-size: 13.5px; color: var(--fg-muted); margin: 6px 0 0; line-height: 1.5; }
.wz-juris { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-toggle-card { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); cursor: pointer; transition: all .14s; }
.wz-toggle-card:hover { border-color: var(--border-strong); }
.wz-toggle-card.is-on { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-bg-soft); }
.wz-toggle-card__t { font-size: 13px; font-weight: 600; }
.wz-toggle-card__s { font-size: 11px; color: var(--fg-subtle); margin-top: 1px; }
.wz-toggle-card__sw { margin-left: auto; flex-shrink: 0; }
.wz-form__actions { display: flex; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.wz-transparent { display: flex; gap: 10px; padding: 13px 15px; border-radius: var(--radius); background: var(--good-soft); border: 1px solid color-mix(in srgb, var(--good) 24%, transparent); margin-top: 22px; font-size: 12.5px; line-height: 1.45; color: var(--fg); }
.wz-transparent svg { color: var(--good); flex-shrink: 0; }

/* wizard rail header */
.wz-back { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: transparent; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; color: var(--fg-muted); padding: 0; margin-bottom: 16px; transition: color .12s; }
.wz-back:hover { color: var(--accent); }
.wz-doctype { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.wz-doctype__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-bg-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.wz-doctype__t { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.wz-doctype__s { font-size: 11px; color: var(--fg-subtle); margin-top: 1px; line-height: 1.3; }
.app-crumbs__link { cursor: pointer; transition: color .12s; }
.app-crumbs__link:hover { color: var(--accent); }

/* ── Documents hub ─────────────────────────────────────────────────────── */
.docs-cat { margin-bottom: 6px; }
.docs-cat + .docs-cat { margin-top: 26px; }
.docs-cat__label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 12px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-tile { cursor: pointer; height: 100%; transition: transform .14s var(--ease-spring), box-shadow .14s, border-color .14s; }
.doc-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.doc-tile:hover .doc-tile__go { gap: 8px; }
.doc-tile__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-bg-soft); color: var(--accent); margin-bottom: 13px; }
.doc-tile__title { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 5px; }
.doc-tile__desc { font-size: 12.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
.doc-tile__go { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; font-size: 12px; font-weight: 600; color: var(--accent); transition: gap .14s; }

/* ── Cookie scanner ────────────────────────────────────────────────────── */
.scan-bar { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.scan-bar__field { display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.scan-bar__lbl { font-size: 11px; font-weight: 600; color: var(--fg-muted); }
.scan-bar__spacer { flex: 1; }
.scan-bar__meta { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-subtle); }
.scan-bar__meta strong { color: var(--fg); font-weight: 600; margin-left: 2px; }
.scan-bar__meta svg { color: var(--fg-subtle); }
.scan-progress { position: relative; height: 8px; border-radius: var(--radius-pill); background: var(--bg-row-hover); margin-top: 16px; overflow: hidden; }
.scan-progress__bar { position: absolute; inset: 0 auto 0 0; background: var(--accent-grad); border-radius: var(--radius-pill); transition: width .12s linear; }
.scan-progress__txt { position: absolute; top: 12px; left: 0; font-size: 11.5px; color: var(--fg-muted); font-family: var(--font-mono); }
.scan-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.scan-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--fg-muted); transition: all .14s; }
.scan-chip:hover { border-color: var(--border-strong); color: var(--fg); }
.scan-chip.is-active { background: var(--accent-bg-soft); border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); }
.scan-chip__n { font-family: var(--font-mono); font-size: 10.5px; padding: 0 5px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.scan-chip.is-active .scan-chip__n { background: color-mix(in srgb, var(--accent) 18%, transparent); }
@media (max-width: 900px) { .scan-bar__spacer { display: none; } }

/* the live document */
.doc-paper { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 38px 42px; max-width: 600px; margin: 0 auto; }
.doc-paper__brandline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); margin-bottom: 24px; }
.doc-paper__org { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.doc-h1 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.doc-meta { font-size: 11.5px; color: var(--fg-subtle); margin: 6px 0 26px; }
.doc-sec { margin-bottom: 22px; }
.doc-sec__h { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.doc-sec__h .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.doc-sec p { font-size: 12.5px; line-height: 1.65; color: var(--fg-muted); margin: 0 0 8px; }
.doc-sec .fill { color: var(--accent); font-weight: 600; background: var(--accent-bg-soft); padding: 0 4px; border-radius: 4px; }
.doc-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.doc-toolbar .grow { flex: 1; }

/* ── 6. Pricing ────────────────────────────────────────────────────────── */
.pr-root { font-family: var(--font-sans); color: var(--fg); }
.pr-head { text-align: center; padding: 56px 0 12px; }
.pr-h1 { font-family: var(--font-display); font-weight: 600; font-size: 42px; letter-spacing: -0.04em; margin: 14px 0 0; }
.pr-lead { font-size: 16px; color: var(--fg-muted); max-width: 32em; margin: 14px auto 0; line-height: 1.5; }
.pr-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13.5px; color: var(--fg-muted); }
.pr-toggle .is-on { color: var(--fg); font-weight: 600; }
.pr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 44px 0 0; align-items: start; }
.pr-plan { padding: 22px 18px; display: flex; flex-direction: column; position: relative; height: 100%; }
.pr-plan.is-featured { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), var(--shadow-md); }
.pr-plan__ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-fg); font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.pr-plan__name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.pr-plan__tag { font-size: 11.5px; color: var(--fg-subtle); margin-top: 2px; min-height: 30px; }
.pr-plan__price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.pr-plan__amt { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.pr-plan__per { font-size: 12px; color: var(--fg-subtle); }
.pr-plan__sites { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.pr-plan__feats { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 10px; }
.pr-plan__feats li { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.4; color: var(--fg-muted); align-items: flex-start; }
.pr-plan__feats svg { flex-shrink: 0; margin-top: 1px; }
.pr-plan__feats b { color: var(--fg); font-weight: 600; }

/* ── 7. Auth ───────────────────────────────────────────────────────────── */
.au { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; font-family: var(--font-sans); }
.au__aside { background: var(--brand-midnight); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.au__aside::before { content: ""; position: absolute; bottom: -160px; left: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); }
.au__aside-brand { display: inline-flex; align-items: center; gap: 9px; position: relative; z-index: 1; }
.au__aside-brand .mp-brand__name { color: #fff; }
.au__aside-body { margin-top: auto; position: relative; z-index: 1; }
.au__aside-h { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 0; text-wrap: balance; }
.au__aside-p { font-size: 15px; color: rgba(255,255,255,0.7); margin: 16px 0 0; line-height: 1.55; max-width: 26em; }
.au__aside-trust { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.au__aside-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,0.8); }
.au__aside-trust svg { color: var(--accent); }
.au__form-wrap { display: grid; place-items: center; padding: 40px; overflow-y: auto; background: var(--bg); }
.au__form { width: 100%; max-width: 360px; }
.au__form-h { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.au__form-sub { font-size: 13.5px; color: var(--fg-muted); margin: 6px 0 26px; }
.au__social { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.au__divider { display: flex; align-items: center; gap: 12px; color: var(--fg-subtle); font-size: 11px; margin: 6px 0 18px; }
.au__divider::before, .au__divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.au__fields { display: flex; flex-direction: column; gap: 14px; }
.au__row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.au__row a { color: var(--accent); text-decoration: none; font-weight: 500; cursor: pointer; }
.au__foot { text-align: center; font-size: 13px; color: var(--fg-muted); margin-top: 22px; }
.au__foot a { color: var(--accent); font-weight: 600; text-decoration: none; cursor: pointer; }

/* ── 8. Cookie widget (the embeddable artifact) ────────────────────────── */
.cw { --cw-radius: var(--radius); font-family: var(--font-sans); color: var(--fg); position: absolute; z-index: 30; animation: cwIn .42s var(--ease-spring) both; }
@keyframes cwIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cw { animation: none; } }
.cw__inner { background: var(--bg-elev); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); border-radius: var(--cw-radius); }
.cw__body { padding: 18px 20px; }
.cw__title { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; display: flex; align-items: center; gap: 9px; }
.cw__title .ic { color: var(--accent); display: inline-flex; }
.cw__text { font-size: 12.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
.cw__text a { color: var(--accent); text-decoration: none; font-weight: 500; }
.cw__actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; padding: 0 20px 18px; }
.cw__btn { appearance: none; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; transition: all .14s; white-space: nowrap; }
.cw__btn:active { transform: scale(0.97); }
.cw__btn--accept { background: var(--accent); color: var(--accent-fg); }
.cw__btn--accept:hover { background: var(--accent-hover); }
.cw__btn--reject { background: var(--bg); color: var(--fg); border-color: var(--border-strong); }
.cw__btn--reject:hover { background: var(--bg-row-hover); }
.cw__manage { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--fg-muted); background: transparent; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-family: var(--font-sans); white-space: nowrap; }
.cw__manage:hover { color: var(--fg); }
.cw__cats { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 2px; }
.cw__cat { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.cw__cat + .cw__cat { border-top: 1px solid var(--hairline); }
.cw__cat__t { font-size: 12.5px; font-weight: 600; }
.cw__cat__d { font-size: 11px; color: var(--fg-subtle); margin-top: 1px; line-height: 1.35; }
.cw__cat__sw { margin-left: auto; flex-shrink: 0; }
.cw__badge { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-top: 1px solid var(--hairline); font-size: 10.5px; color: var(--fg-subtle); font-weight: 500; }
.cw__badge .bolt { color: var(--accent); display: inline-flex; }
/* placements */
.cw--bar { left: 16px; right: 16px; bottom: 16px; }
.cw--bar .cw__main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cw--bar .cw__body { flex: 1 1 240px; min-width: 220px; padding: 16px 4px 16px 20px; }
.cw--bar .cw__actions { padding: 0 18px 0 0; flex-shrink: 0; margin-left: auto; }
.cw--bar .cw__manage { margin-left: 0; }
.cw--bar.is-expanded .cw__main { display: block; }
.cw--bar.is-expanded .cw__body { padding: 18px 20px 0; }
.cw--bar.is-expanded .cw__actions { padding: 16px 20px 18px; margin-left: 0; }
.cw--corner { right: 18px; bottom: 18px; width: 340px; }
.cw--modal { inset: 0; display: grid; place-items: center; background: var(--scrim, rgba(10,10,26,0.32)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 24px; }
.cw--modal .cw__inner { width: 100%; max-width: 420px; border-radius: var(--radius-xl); }
.cw--modal .cw__body { padding: 26px 28px 0; }
.cw--modal .cw__actions { padding: 18px 28px 24px; }
.cw--modal .cw__title { font-size: 18px; }

/* ── 9. Density ────────────────────────────────────────────────────────── */
[data-density="compact"] .app-view { padding-top: 18px; }
[data-density="compact"] .app-stats { gap: 10px; margin-bottom: 12px; }
[data-density="compact"] .app-grid2 { gap: 10px; }
[data-density="compact"] .relief { padding: 14px 18px; margin-bottom: 12px; }
[data-density="compact"] .site-card { padding: 11px 16px; }
[data-density="compact"] .bb__controls { padding: 16px; }
[data-density="compact"] .bb-group { margin-bottom: 16px; }

/* ── 10. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .mp-hero__inner, .mp-loc { grid-template-columns: 1fr; }
  .mp-footer__inner { grid-template-columns: 1fr 1fr; }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-h1 { font-size: 42px; }
}
@media (max-width: 760px) {
  .mp-wrap { padding: 0 20px; }
  .mp-nav__links { display: none; }
  .mp-feature-grid, .mp-compare__grid { grid-template-columns: 1fr; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .app-grid2, .wz__main, .au { grid-template-columns: 1fr; }
  .proto-jumper { flex-wrap: wrap; max-width: calc(100vw - 24px); justify-content: center; }
}
