/* =========================================================
   Mimz — shared styles
   ========================================================= */
:root {
  /* Bridge: site variables now come from the UI kit tokens (assets/kit/tokens.css).
     Change colours or fonts there and every page follows. */
  --bg: var(--mz-gray-50);
  --surface: var(--mz-gray-0);
  --ink: var(--mz-gray-900);
  --ink-2: var(--mz-gray-600);
  --ink-3: var(--mz-gray-500);
  --line: rgba(11, 18, 32, .1);
  --line-2: rgba(11, 18, 32, .16);
  --brand: var(--mz-primary-600);
  --brand-2: var(--mz-accent-500);
  --brand-ink: var(--mz-primary-700);
  --grad: var(--mz-grad-brand);
  --dark: var(--mz-gray-950);
  --dark-2: #0f1729;
  --dark-line: rgba(255, 255, 255, .1);
  --surface-2: var(--mz-gray-100);
  --radius: var(--mz-radius-lg);
  --radius-sm: var(--mz-radius-md);
  --ease: var(--mz-ease-out);
  --wrap: var(--mz-container);
  --gutter: var(--mz-gutter);
  --hdr: 68px;
  --sub: 66px;
  --font: var(--mz-font-sans);
  --mono: var(--mz-font-mono);
  color-scheme: light;
}
/* ---------- Dark theme (html[data-theme="dark"], set by the theme switch) ---------- */
[data-theme="dark"] {
  --bg: #070c18; --surface: #0d1526; --surface-2: #121c30;
  --ink: #eef2f8; --ink-2: #b3bccb; --ink-3: #8590a5;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --brand-ink: var(--mz-primary-300);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + var(--sub) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons: provided by the UI kit (.mz-btn …). Site icons inside kit buttons: ---------- */
.mz-btn svg.i { width: 17px; height: 17px; transition: transform var(--mz-dur-base) var(--mz-ease-spring); }
.mz-btn:hover svg.arrow { transform: translateX(4px); }
.mz-btn--slide .mz-btn__bubble svg.i { width: 16px; height: 16px; }
/* No underlined links anywhere; text links read by colour and weight */
a { text-decoration: none; }
:is(p, li, small, .lede) > a:not([class]) { font-weight: 600; transition: opacity .2s; }
:is(p, li, small, .lede) > a:not([class]):hover { opacity: .75; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--brand-ink); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .2s; }

/* =========================================================
   Header — main menu with mega menus (Twilio style)
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 60; }
/* Main menu: solid, site-wide, with a brand line on top */
.mainbar {
  position: relative; z-index: 2; height: var(--hdr);
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 18, 32, .02);
}
.mainbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); opacity: .28; }
.mainbar-in { height: 100%; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 20px; }   /* logo · centred menu · actions */
.mainbar-in > .logo { justify-self: start; }
.mainbar-in > nav { height: 100%; justify-self: center; }
.logo {
  font-size: 28px; font-weight: 800; font-style: italic; letter-spacing: -0.06em; text-decoration: none; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 4px 4px 4px 2px;
}
ul.mainnav { margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; height: 100%; }
.mainnav > li { list-style: none; height: 100%; display: flex; align-items: center; }
.nav-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 14px;
  border: 0; background: none; font-size: 16px; font-weight: 550; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: color .2s;
}
.nav-trigger::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--brand); }
.nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-trigger svg { width: 14px; height: 14px; opacity: .6; transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.hdr-link { white-space: nowrap; font-size: 16px; font-weight: 550; text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: color .2s; }
.hdr-link:hover { color: var(--brand); }
.hdr-div { width: 1px; height: 20px; background: var(--line-2); margin: 0 6px; }
.hdr-actions .mz-btn--primary { margin-left: 6px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }

/* Mega panel */
.mega {
  position: absolute; left: 50%; top: calc(var(--hdr) + 10px); z-index: 3; width: min(1160px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(11, 18, 32, .45), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px) scale(.985); transform-origin: 50% 0;
  transition: opacity .15s ease-out, transform .15s ease-out, visibility 0s .15s;
}
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s ease-out, transform .22s cubic-bezier(.23, 1, .32, 1), visibility 0s; }
.mega .wrap.mega-in { max-width: none; padding: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr) 290px; min-height: 340px; }
.mega-side { padding: 24px 14px; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.mega-side h6 { margin: 0 0 12px 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.mega-tab {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink-2);
}
.mega-tab svg { width: 15px; height: 15px; opacity: 0; transition: opacity .2s, transform .2s; }
.mega-tab:hover, .mega-tab.active { background: var(--mz-primary-soft); color: var(--ink); }
.mega-tab.active svg { opacity: 1; transform: translateX(2px); }
.mega-body { padding: 24px 26px; }
.mega-pane { display: none; }
.mega-pane.active { display: block; animation: megaFade .12s ease-out; }
@keyframes megaFade { from { opacity: 0; } }
.mega-pane > p { margin: 0 0 18px; color: var(--ink-3); font-size: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.mega-item:hover { background: var(--surface-2); border-color: var(--line); transform: translateY(-1px); }
.mi-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: color-mix(in srgb, var(--c, var(--mz-primary-600)) 14%, var(--surface)); color: var(--c, var(--mz-primary-600)); font-size: 20px;
}
.mega-item b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; }
.mega-item span.d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.soon-tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: #fff3d6; color: #8a5a00; text-transform: uppercase; }
.mega-feature { padding: 22px; background: var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.mf-card {
  position: relative; overflow: hidden; border-radius: 18px; padding: 22px; color: #fff; min-height: 190px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--mz-accent-500) 55%, transparent), transparent 60%), linear-gradient(140deg, #0b1a4a, var(--mz-primary-700));
  text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
}
.mf-card::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); right: -80px; top: -90px; }
.mf-card small { font-size: 13px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.mf-card strong { display: block; margin-top: 6px; font-size: 20px; letter-spacing: -0.03em; line-height: 1.15; }
.mf-card span { margin-top: 10px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.mf-links { display: grid; gap: 4px; }
.mf-links a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 4px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.mf-links a:hover { color: var(--brand-ink); }
.mega-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(7, 13, 26, .28); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.mega-backdrop.show { opacity: 1; visibility: visible; transition: opacity .25s; }

/* ---------- Secondary navigation: floating glass capsule that follows the theme ---------- */
.subbar { position: relative; z-index: 1; height: var(--sub); padding-top: 10px; pointer-events: none; }
.subbar-in {
  pointer-events: auto; height: 48px; display: flex; align-items: center; gap: 14px;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; padding: 0 6px 0 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .97); color: var(--ink);
  box-shadow: 0 16px 36px -18px rgba(11, 18, 32, .45), inset 0 0 0 1px rgba(11, 18, 32, .08);
}
.subbar .wrap.subbar-in { padding: 0 6px 0 8px; }
.sub-title { display: flex; align-items: center; gap: 10px; padding-right: 4px; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; color: inherit; }
.sub-title .dot-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 16px; background: var(--c, var(--grad)); }
.sub-sep { width: 1px; height: 22px; background: var(--line-2); flex: none; }
.sublinks { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; height: 100%; }
/* centre the section links; auto margins (not justify-content) keep the first link reachable when they overflow */
.sublinks > a:first-child { margin-left: auto; }
.sublinks > a:last-child { margin-right: auto; }
.sublinks::-webkit-scrollbar { display: none; }
.sublinks a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 550; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s;
}
.sublinks a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.sublinks a.active { color: #fff; background: var(--c, var(--mz-primary-600)); box-shadow: 0 6px 16px -8px var(--c, var(--mz-primary-600)); }
.sub-actions { display: flex; gap: 8px; align-items: center; }
.sub-actions .btn-sub { background: var(--c, var(--mz-accent-500)); color: #fff; height: 36px; padding: 0 18px; }
.sub-actions .btn-sub:hover { background: color-mix(in srgb, var(--c, var(--mz-accent-500)) 85%, #000); }

/* Dark theme: navy main bar and navy glass capsule */
[data-theme="dark"] .mainbar { background: #070d1a; border-color: var(--dark-line); color: #fff; box-shadow: none; }
[data-theme="dark"] .nav-trigger, [data-theme="dark"] .hdr-link { color: #e8ecf4; }
[data-theme="dark"] .nav-trigger:hover, [data-theme="dark"] .nav-trigger[aria-expanded="true"], [data-theme="dark"] .hdr-link:hover { color: var(--mz-primary-300); }
[data-theme="dark"] .hdr-div { background: rgba(255, 255, 255, .16); }
[data-theme="dark"] .subbar-in { background: rgba(13, 21, 38, .97); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .1); }
[data-theme="dark"] .burger { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
[data-theme="dark"] .mega { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }

/* ---------- Theme switch (sun / moon) ---------- */
.theme-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; overflow: hidden; transition: background .25s, transform .3s var(--ease), border-color .25s;
}
.theme-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); transform: rotate(-12deg); }
.theme-btn svg { position: absolute; width: 18px; height: 18px; transition: transform .3s var(--mz-ease-spring), opacity .2s; }
.theme-btn .t-sun { transform: translateY(26px) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-btn { color: #e8ecf4; border-color: rgba(255, 255, 255, .22); }
[data-theme="dark"] .theme-btn .t-moon { transform: translateY(-26px) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-btn .t-sun { transform: none; opacity: 1; }
.drawer-theme { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 650; font-family: var(--mz-font-display); }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--surface); color: var(--ink); overflow-y: auto;
  transform: translateX(100%); transition: transform .35s var(--ease), visibility 0s .35s; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.drawer-top { position: sticky; top: 0; z-index: 1; background: var(--surface); display: flex; align-items: center; justify-content: space-between; height: var(--hdr); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-body { padding: 12px var(--gutter) 40px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 18px; font-weight: 650; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { transition: transform .25s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.d-links { display: grid; gap: 2px; padding: 0 0 16px; }
.d-links a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; text-decoration: none; font-weight: 550; border-radius: 10px; }
.d-links a:hover { background: var(--surface-2); }
.d-links .mi-icon { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
a.d-plain { display: block; padding: 18px 0; font-size: 18px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-cta { display: grid; gap: 10px; margin-top: 24px; }
.drawer-cta .mz-btn { width: 100%; }

@media (max-width: 1120px) {
  ul.mainnav, .hdr-actions .hdr-link, .hdr-actions .hdr-div { display: none; }
  .burger { display: grid; }
  .mega, .mega-backdrop { display: none; }
}
@media (max-width: 720px) {
  :root { --hdr: 60px; --sub: 60px; }
  .hdr-actions .mz-btn--primary { display: none; }
  .subbar { padding: 8px 12px 0; }
  .subbar-in, .subbar .wrap.subbar-in { height: 44px; gap: 6px; border-radius: 16px; padding: 0 5px; }
  .sub-title .txt { display: none; }
  .sub-sep { display: none; }
  .sublinks a { height: 32px; padding: 0 11px; font-size: 14px; }
  .sub-actions .btn-sub { height: 32px; padding: 0 12px; font-size: 13px; }
}

/* =========================================================
   Generic section scaffolding
   ========================================================= */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 16px;
}
.eyebrow.pill { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, transparent); }
.h-xl { font-size: clamp(40px, 6.4vw, 84px); font-weight: 750; letter-spacing: -0.05em; line-height: 1; }
.h-lg { font-size: clamp(30px, 3.8vw, 52px); font-weight: 720; letter-spacing: -0.045em; line-height: 1.03; }
.h-md { font-size: clamp(26px, 3.2vw, 40px); font-weight: 680; }
.lede { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.6; }
.section-head .lede { max-width: 58ch; margin-left: auto; margin-right: auto; }
.section-head.left .lede { margin-left: 0; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes floaty { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -26px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Footer (Twilio style — rich, common to all pages)
   ========================================================= */
.cta-band { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: clamp(64px, 8vw, 104px) 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 30% 50%, color-mix(in srgb, var(--mz-primary-600) 45%, transparent), transparent 70%), radial-gradient(40% 50% at 75% 50%, color-mix(in srgb, var(--mz-accent-500) 35%, transparent), transparent 70%); }
.cta-band-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 720; letter-spacing: -0.045em; }
.cta-band p { margin-top: 16px; color: #b6b7c7; font-size: 18px; max-width: 48ch; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.site-footer { background: #02050b; color: #c9cad6; font-size: 14px; overflow: clip; }   /* clip (not hidden) so the pinned reveal layer can stick */
.ft-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 64px 0 48px; }
.ft-brand p { margin: 14px 0 22px; color: #9a9bad; max-width: 34ch; line-height: 1.6; }
.ft-brand .logo { font-size: 34px; }
.news { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); max-width: 360px; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 12px; font: inherit; font-size: 14px; }
.news input::placeholder { color: #8b8c9e; }
.news input:focus { outline: none; }
.news:focus-within { border-color: rgba(96, 165, 250, .7); }
.news-msg { margin-top: 10px; font-size: 13px; min-height: 1.2em; color: #a3e3c4; }
.news-msg.err { color: #ff9aa9; }
.ft-col h5 { margin: 0 0 16px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft-col a { color: #a3a4b5; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ft-col a:hover { color: #fff; }
.ft-col .soon-tag { background: rgba(255, 210, 122, .14); color: #ffd27a; }
/* /talent/influencers/{slug} and /talent/creator/{platform}/{username} (src/app/talent/...) — uses
   product.css's body[data-page="product"]-scoped vars (--ink/--card/--line/--hi/...) so these follow
   the light/dark theme toggle the same way every other product page does; never hardcode a color here. */
body[data-subnav="off"] .subbar { display: none; }
.ti-page { padding: 48px 0 80px; color: var(--ink); }
.ti-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.ti-crumbs a { color: var(--ink-3); text-decoration: none; }
.ti-crumbs a:hover { color: var(--hi); }
.ti-crumbs span.sep { opacity: .5; }
.ti-page h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; color: var(--hi); }
.ti-sub { color: var(--ink-2); max-width: 72ch; margin: 0 0 32px; }
.ti-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 36px; }
.ti-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.ti-card:hover { border-color: var(--line-2); background: var(--card-2); }
.ti-card-top { display: flex; align-items: center; gap: 10px; }
.ti-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--card-2); flex-shrink: 0; }
.ti-card-name { display: flex; flex-direction: column; min-width: 0; }
.ti-card-name strong { color: var(--hi); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.ti-card-name span { color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ti-card-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-2); }
.ti-card-stats b { color: var(--hi); font-weight: 600; }
.ti-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ti-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 36px; }
.ti-pagination .count { color: var(--ink-3); font-size: 13px; }
.ti-pagination .nav { display: flex; gap: 10px; }
.ti-related h2 { font-size: 15px; color: var(--hi); margin: 0 0 14px; }
.ti-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ti-chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; text-decoration: none; }
.ti-chip:hover { background: var(--card-2); color: var(--hi); }
@media (max-width: 480px) { .ti-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } }

/* Profile page (src/app/talent/creator/[platform]/[username]/page.tsx) */
.tp-page { padding: 48px 0 80px; color: var(--ink); }
.tp-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.tp-head-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.tp-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--card-2); flex-shrink: 0; }
.tp-head h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; color: var(--hi); display: flex; align-items: center; gap: 6px; }
.tp-head .handle { color: var(--ink-3); font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tp-stats { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tp-stats div { display: flex; flex-direction: column; gap: 2px; }
.tp-stats b { font-size: 20px; color: var(--hi); }
.tp-stats span { font-size: 12px; color: var(--ink-3); }
.tp-about { margin-bottom: 32px; }
.tp-about p { color: var(--ink-2); max-width: 70ch; }
.tp-about .ti-chips { margin: 10px 0; }
.tp-about .meta { color: var(--ink-3); font-size: 13px; }
.tp-locked-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 36px; }
.tp-locked-card { border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tp-locked-card h3 { margin: 0; font-size: 14px; color: var(--hi); display: flex; align-items: center; gap: 8px; }
.tp-locked-card h3 svg { opacity: .7; flex-shrink: 0; }
.tp-locked-card p { margin: 0; font-size: 13px; color: var(--ink-3); }
.tp-related h2 { font-size: 15px; color: var(--hi); margin: 0 0 14px; }
.tp-foot-note { margin-top: 36px; font-size: 13px; color: var(--ink-3); }
.tp-foot-note a { color: var(--ink-3); }
.tp-foot-note a:hover { color: var(--hi); }

/* /talent only — influencer link groups (niche/city/state/.../platform) from Talent's public Creator API, see layout.js's talentFooterRow(). */
.ft-talent-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; padding: 8px 0 40px; border-top: 1px solid var(--dark-line); }
@media (max-width: 1060px) { .ft-talent-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .ft-talent-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ft-talent-row { grid-template-columns: 1fr; } }
.ft-trust { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid var(--dark-line); align-items: center; }
.ft-trust span.lbl { color: #8b8c9e; margin-right: 6px; font-size: 13px; }
.ft-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); font-size: 13px; font-weight: 600; color: #d4d5e2; }
.ft-badge svg { color: var(--mz-primary-400); }
.ft-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #a3a4b5; text-decoration: none; }
.ft-status i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s infinite; }
/* Footer wordmark drawn from moving characters (canvas, see layout.js) */
.ft-ascii { position: relative; height: clamp(140px, 27vw, 400px); margin: 22px 0 18px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; border-radius: 18px; }
.ft-ascii canvas { position: absolute; inset: 0; display: block; }
.ft-ascii:focus-visible { outline: 2px solid var(--mz-primary-400); outline-offset: 6px; }
.ft-ascii-pill {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: hidden; width: 168px;
  padding: 11px 0; border-radius: 999px; background: #e6ebf2; color: #0b1220; font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .6); opacity: 0; scale: .6; transition: opacity .25s, scale .35s cubic-bezier(.34, 1.56, .64, 1);
}
.ft-ascii.is-hover .ft-ascii-pill { opacity: 1; scale: 1; }
.ft-ascii-track { display: inline-block; padding-left: 16px; animation: ftMarquee 5s linear infinite; }
@keyframes ftMarquee { to { transform: translateX(-50%); } }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 24px 0 36px; border-top: 1px solid var(--dark-line); color: #8b8c9e; font-size: 13px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-legal a { color: #8b8c9e; text-decoration: none; }
.ft-legal a:hover { color: #fff; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--dark-line); color: #c9cad6; }
.ft-social a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ft-social svg { width: 16px; height: 16px; }
.lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--dark-line); color: #c9cad6; border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.lang select { background: transparent; border: 0; color: inherit; font: inherit; cursor: pointer; }
.lang select option { color: #000; }
@media (max-width: 1060px) { .ft-top { grid-template-columns: repeat(3, 1fr); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 720px) {
  .ft-top { grid-template-columns: repeat(2, 1fr); }
  .cta-band-in { grid-template-columns: 1fr; }
  .cta-band .btns { justify-content: flex-start; }
  .ft-status { margin-left: 0; }
}

/* =========================================================
   Modals (Free demo + Login / Sign up) & toast
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
.modal.open { visibility: visible; opacity: 1; transition: opacity .25s; }
.modal-bg { position: absolute; inset: 0; background: rgba(7, 13, 26, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--surface); color: var(--ink); border-radius: 24px; display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-box.narrow { width: min(460px, 100%); grid-template-columns: 1fr; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11, 18, 32, .06); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: rgba(11, 18, 32, .12); }
.modal-aside { padding: 40px 36px; color: #fff; border-radius: 24px 0 0 24px; background: radial-gradient(120% 80% at 100% 100%, color-mix(in srgb, var(--mz-accent-500) 50%, transparent), transparent 60%), linear-gradient(150deg, #071330, #1e40af); display: flex; flex-direction: column; gap: 18px; }
.modal-aside h3 { font-size: 28px; font-weight: 720; }
.modal-aside p { color: rgba(255, 255, 255, .78); }
.modal-aside ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.modal-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.modal-aside li svg { margin-top: 3px; color: var(--mz-primary-300); }
.modal-aside .quote { margin-top: auto; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.modal-aside .quote b { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.modal-main { padding: 40px 36px; }
.modal-main h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; padding-right: 40px; }
.modal-main p.sub { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form.single { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mz-primary-600) 15%, transparent); }
.field.invalid input, .field.invalid select { border-color: #e5484d; }
.field .err { font-size: 13px; color: #d0353b; display: none; }
.field.invalid .err { display: block; }
.form .mz-btn { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); text-align: center; }
.checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.checks label { cursor: pointer; position: relative; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.checks input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.checks input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.success { display: none; text-align: center; padding: 30px 0 10px; }
.tickbig { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #d1fae5; color: #047857; font-size: 28px; animation: fadeUp .4s var(--ease); }
.success h3 { padding: 0; }
.success p { color: var(--ink-2); margin: 8px auto 20px; max-width: 36ch; }
.done .pre { display: none; }
.done .success { display: block; }
.auth-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); margin: 4px 0 22px; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 999px; font-weight: 650; cursor: pointer; color: var(--ink-2); }
.auth-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.oauth { display: grid; gap: 10px; }
.oauth button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; cursor: pointer; }
.oauth button:hover { background: #f5f8fc; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 13px; color: var(--ink-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hidden { display: none !important; }
@media (max-width: 760px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-aside { display: none; }
  .modal-main { padding: 32px 22px; }
  .form { grid-template-columns: 1fr; }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 550;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  transition: opacity .2s ease-out, transform .25s var(--mz-ease-spring), visibility 0s .25s; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg { color: var(--mz-primary-300); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease-out, transform .25s var(--mz-ease-spring), visibility 0s .25s; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
[data-theme="dark"] .to-top { background: #fff; color: #000; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important; }
  .toast { transform: translate(-50%, 0) !important; }
  .mega, .mega.open { transform: translate(-50%, 0) !important; }
  .to-top, .drawer, .reveal, .modal-box { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer curtain reveal (Schbang-style) ----------
   The curtain (CTA + links) scrolls up with rounded bottom corners and
   uncovers the pinned layer (clocks, moving mimz logo, legal bar). */
.ft-curtain {
  position: relative; z-index: 1; overflow: hidden; background: #0c1426;
  border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -30px rgba(0, 0, 0, .95);
}
.ft-curtain .cta-band { background: transparent; }
.ft-upper { padding-bottom: 10px; }
.ft-reveal { position: relative; z-index: 0; background: #02050b; }
.ft-reveal.is-pinned { position: sticky; bottom: 0; }
.ft-reveal-in { transform-origin: 50% 100%; will-change: transform, opacity; padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { .ft-reveal-in { will-change: auto; } }

/* Kit toasts sit above the back-to-top button */
.mz-toasts { bottom: 80px; }

/* ---------- Display type (Bricolage Grotesque via --mz-font-display) ---------- */
h1, h2, h3, h4, .h-xl, .h-lg, .h-md, .nav-trigger, .hdr-link, .sublinks a, .sub-title, .mega-tab, .mega-item b,
.mf-card strong, .cta-band h2, .stat strong, .ft-col h5, .drawer summary, a.d-plain, .p-stats strong, .plan .price strong,
.price-card .price strong, .mz-segment, .auth-tabs button, .tag, .pname, .headline {
  font-family: var(--mz-font-display);
}
h1, h2, .h-xl, .h-lg { letter-spacing: -0.04em; }

/* =========================================================
   Editorial typography: grotesk headlines, serif italic accents
   ========================================================= */
body { font-family: var(--mz-font-sans); letter-spacing: -0.006em; font-feature-settings: "ss01", "cv11"; }
h1, h2, .h-xl, .h-lg { font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; font-optical-sizing: auto; }
h3, h4, .h-md { font-weight: 600; letter-spacing: -0.025em; }
.logo, .hero-word { font-family: var(--mz-font-brand) !important; }
/* Accent words: serif italic in a solid brand colour instead of glowing gradients */
.grad-text, h1 em, h2 em {
  font-family: var(--mz-font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--brand-ink); -webkit-text-fill-color: currentColor; padding-right: .04em;
}
.eyebrow { font-family: var(--mz-font-mono); letter-spacing: .08em; font-weight: 500; }

/* =========================================================
   Atmosphere: a soft colour field behind every page + film grain
   (fixed layers are composited, so they never repaint on scroll)
   ========================================================= */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background:
    radial-gradient(900px 560px at 88% -8%, color-mix(in srgb, var(--mz-primary-400) 14%, transparent), transparent 70%),
    radial-gradient(760px 520px at -8% 38%, color-mix(in srgb, var(--mz-accent-300) 10%, transparent), transparent 70%);
}
body::after {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::after { opacity: .03; }

/* =========================================================
   Smoothness
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.mz-tilt { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.mz-btn[data-mz-magnetic] { transition: translate .45s cubic-bezier(.16, 1, .3, 1), transform 160ms var(--mz-ease-spring), box-shadow .25s, background .25s, color .25s, border-color .25s; }

/* Reading progress under the header */
/* Scroll progress: fills the coloured line along the very top of the page (the static .mainbar::before line is its faint track) */
.scroll-prog { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-prog i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mz-primary-500), var(--mz-accent-400)); }

/* Smooth first paint: the page is drawn by JavaScript and its fonts arrive a moment later, so it
   fades in once, fully rendered, instead of popping in piece by piece (see the inline <head> script). */
html.mz-pre body { opacity: 0; }
body { transition: opacity .2s ease-out; }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

/* Shown toast / back-to-top: visibility flips immediately when appearing */
.toast.show, .to-top.show { transition-delay: 0s; }

/* Touch screens: no hover lifts/rotations (a tap would leave them stuck). Presses still respond via :active. */
@media (hover: none) {
  .mz-btn:hover:not(:active), .mz-btn--3d:hover:not(:active), .mz-fab:hover, .mz-chip:hover, .mz-card--hover:hover,
  .mega-item:hover, .theme-btn:hover, .announce:hover, .hp:hover, .prob:hover, .agent-card:hover, .doc-link:hover,
  a.info-card:hover, .price-card:hover { transform: none; }
  .pc:hover .pc-screen { transform: none; }
  .hx-card:not(.is-active):hover .hx-ic { transform: none; }
  .mz-btn:hover svg.arrow, .mz-btn:hover .mz-icon--arrow, .link-arrow:hover svg, .pc:hover .pc-go svg, .hx-explore:hover svg { transform: none; }
}

/* =========================================================
   Editorial layout pass (from the taste review)
   ========================================================= */
/* Section labels: plain sentence-case text in the brand colour, no mono caps and no pill */
.eyebrow, .eyebrow.pill, body[data-page="product"] .eyebrow.pill {
  font-family: var(--mz-font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
  padding: 0; border-radius: 0; background: none; margin-bottom: 12px;
}
/* Serif-italic accent only in the homepage headline; everywhere else headings stay in one voice */
.grad-text, h1 em, h2 em, .p-hero h1 em { font-family: inherit; font-style: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; padding-right: 0; }
.hero h1 em { font-family: var(--mz-font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; color: var(--brand-ink); }
/* Section headings read left-aligned; only the homepage hero stays centred */
.section-head { margin: 0 0 clamp(32px, 4vw, 48px); text-align: left; max-width: 720px; }
.section-head .lede { margin-left: 0; margin-right: 0; }
/* Cards: no lift or drop shadow on hover, just a calmer border change */
.sec:hover, .prob:hover, .agent-card:hover, .doc-link:hover, a.info-card:hover, .price-card:hover, .hp:hover, .mz-card--hover:hover { transform: none; box-shadow: none; }

/* =========================================================
   Dropdown menus: quiet, list-based panels (React Bits style)
   Neutral surface + hairline border, plain rows with a colour dot,
   soft highlight for hover/active, no icon tiles or gradient cards.
   ========================================================= */
.mega {
  width: min(980px, calc(100vw - 32px)); border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(11, 18, 32, .35);
}
[data-theme="dark"] .mega { background: #0c1018; border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); }
.mega .wrap.mega-in { grid-template-columns: 200px minmax(0, 1fr) 260px; min-height: 0; }
.mega .wrap.mega-in.is-single { grid-template-columns: minmax(0, 1fr) 260px; }
.mega-side { padding: 10px; background: none; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.mega-tab { padding: 9px 12px; border-radius: 9px; font-family: var(--mz-font-sans); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .15s, color .15s; }
.mega-tab svg { display: none; }
.mega-tab:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.mega-tab.active { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.mega-body { padding: 10px; }
.mega-grid { gap: 2px; grid-auto-rows: auto; }
.mega-item { gap: 12px; padding: 10px 12px; border: 0; border-radius: 10px; transition: background-color .15s; }
.mega-item:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); border-color: transparent; transform: none; }
.mega .mi-icon { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--c, var(--mz-primary-500)); font-size: 0; }
.mega .mi-icon svg { display: none; }
.mega-item b { font-family: var(--mz-font-sans); font-size: 14px; font-weight: 550; letter-spacing: -0.005em; color: var(--ink); }
.mega-item span.d { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.mega-feature { padding: 10px; background: none; border-left: 1px solid var(--line); gap: 6px; }
.mf-card { min-height: 0; padding: 14px; border-radius: 12px; color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); border: 1px solid var(--line); transition: background-color .15s, border-color .15s; }
.mf-card::after { display: none; }
.mf-card:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.mf-card small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: lowercase; opacity: 1; color: var(--ink-3); }
.mf-card small::first-letter { text-transform: uppercase; }
.mf-card strong { margin-top: 4px; font-family: var(--mz-font-sans); font-size: 15px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.4; }
.mf-card span { margin-top: 12px; font-size: 13px; font-weight: 550; color: var(--brand-ink); }
.mf-links { gap: 2px; }
.mf-links a { padding: 9px 12px; border: 0; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .15s, color .15s; }
.mf-links a:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.mf-links a svg { width: 14px; height: 14px; opacity: .45; }
.mega-backdrop { background: rgba(7, 13, 26, .16); }
[data-theme="light"] .mega-backdrop { background: rgba(7, 13, 26, .07); }

/* =========================================================
   Header: rounded glass pill with card dropdowns
   (in the spirit of React Bits Pro "Navigation 2")
   The pill floats 10px from the top; opening a menu grows the same
   glass shape downward into a panel of cards.
   ========================================================= */
:root { --pill-top: 10px; --pill-h: 56px; --hdr: 76px; --pill-w: 1080px;
  --glass: rgba(255, 255, 255, .74); --glass-line: rgba(11, 18, 32, .09); --glass-panel: rgba(255, 255, 255, .94); }
[data-theme="dark"] { --glass: rgba(13, 17, 27, .72); --glass-line: rgba(255, 255, 255, .09); --glass-panel: rgba(13, 17, 27, .94); }

.mainbar, [data-theme="dark"] .mainbar { height: var(--hdr); padding-top: var(--pill-top); background: transparent; border: 0; box-shadow: none; pointer-events: none; color: var(--ink); }
.mainbar .wrap.mainbar-in {
  pointer-events: auto; height: var(--pill-h); width: min(var(--pill-w), calc(100% - 32px)); max-width: none; margin: 0 auto; padding: 0 8px 0 20px; gap: 12px;
  border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 32px -18px rgba(11, 18, 32, .35);
  transition: border-radius .18s ease-out, background-color .2s;
}
[data-theme="dark"] .mainbar .wrap.mainbar-in { box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .8); }
.logo { font-size: 24px; }

.nav-trigger { padding: 0 12px; font-family: var(--mz-font-sans); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-trigger::after { display: none; }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-trigger svg { width: 13px; height: 13px; }
.hdr-link { font-family: var(--mz-font-sans); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hdr-link:hover { color: var(--ink); }
.hdr-actions .mz-btn--primary, .hdr-actions .mz-btn--primary:hover {
  height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 550;
  background: var(--ink); color: var(--bg); box-shadow: none;
}
[data-theme="dark"] .hdr-actions .mz-btn--primary, [data-theme="dark"] .hdr-actions .mz-btn--primary:hover { background: #fff; color: #0a0d14; }
.hdr-actions .mz-btn--primary::after { display: none; }
.hdr-actions .theme-btn { width: 38px; height: 38px; border-radius: 11px; }
.burger { border-radius: 12px; border-color: var(--glass-line); background: transparent; }

.mega, [data-theme="dark"] .mega {
  top: calc(var(--pill-top) + var(--pill-h) - 1px); width: min(var(--pill-w), calc(100vw - 32px));
  border-radius: 0 0 18px 18px; border: 1px solid var(--glass-line); border-top: 0;
  background: var(--glass-panel); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .4); transform-origin: 50% 0;
}
[data-theme="dark"] .mega { box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .85); }
.mega { transform: translate(-50%, -6px); }
.mega.open { transform: translate(-50%, 0); }
.mega .wrap.mega-in { grid-template-columns: 190px minmax(0, 1fr) 250px; }
.mega .wrap.mega-in.is-single { grid-template-columns: minmax(0, 1fr) 250px; }
.mega-side, .mega-feature { border-color: var(--glass-line); padding: 12px; }
.mega-body { padding: 12px; }
/* Card items: outlined icon square, title, one line of description */
.mega-grid { gap: 8px; }
.mega-item { padding: 14px; border: 1px solid var(--glass-line); border-radius: 12px; background: color-mix(in srgb, var(--ink) 2%, transparent); transition: background-color .15s, border-color .15s; }
.mega-item:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); border-color: color-mix(in srgb, var(--ink) 16%, transparent); }
.mega .mi-icon { width: 36px; height: 36px; margin-top: 0; border-radius: 10px; border: 1px solid var(--glass-line); background: transparent; color: var(--ink-2); font-size: 17px; transition: color .15s, border-color .15s; }
.mega .mi-icon svg { display: block; }
.mega-item:hover .mi-icon { color: var(--c, var(--ink)); border-color: color-mix(in srgb, var(--c, var(--ink)) 45%, transparent); }
.mf-card, .mf-card:hover { border-color: var(--glass-line); }

/* Homepage: the hero runs up behind the floating pill */
body[data-page="home"] .hero { margin-top: calc(-1 * (var(--sub) + var(--hdr))); padding-top: calc(var(--sub) + var(--hdr) + clamp(48px, 7vw, 96px)); }

@media (max-width: 1120px) {
  :root { --hdr: 70px; --pill-h: 52px; }
  .mainbar .wrap.mainbar-in { width: calc(100% - 24px); padding: 0 6px 0 16px; border-radius: 16px; }
  .burger { width: 40px; height: 40px; }
}
/* Product nav bar lines up with the pill above it */
.subbar .wrap.subbar-in { width: min(var(--pill-w), calc(100% - 32px)); max-width: none; }
@media (max-width: 1120px) { .subbar .wrap.subbar-in { width: calc(100% - 24px); } }

/* =========================================================
   Mega panel: a larger, solid card of its own below the glass pill
   ========================================================= */
.mega, [data-theme="dark"] .mega {
  top: calc(var(--pill-top) + var(--pill-h) + 10px); width: min(1240px, calc(100vw - 32px));
  border-radius: 24px; border: 1px solid var(--line); background: var(--surface);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 40px 90px -40px rgba(11, 18, 32, .45), 0 2px 6px rgba(11, 18, 32, .04);
}
[data-theme="dark"] .mega { background: #0a0e16; border-color: rgba(255, 255, 255, .09); box-shadow: 0 44px 100px -40px rgba(0, 0, 0, .9); }
.mega { transform: translate(-50%, -8px) scale(.985); }
.mega.open { transform: translate(-50%, 0) scale(1); }
.mega .wrap.mega-in { grid-template-columns: 230px minmax(0, 1fr) 300px; min-height: 380px; }
.mega .wrap.mega-in.is-single { grid-template-columns: minmax(0, 1fr) 300px; }
.mega-side { padding: 20px 14px; gap: 4px; border-color: var(--line); background: color-mix(in srgb, var(--ink) 2%, transparent); }
.mega-tab { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.mega-body { padding: 20px; }
.mega-grid { gap: 12px; }
.mega-item { gap: 16px; padding: 18px; border-radius: 16px; border-color: var(--line); }
.mega .mi-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 20px; border-color: var(--line); }
.mega-item b { font-size: 16px; font-weight: 600; }
.mega-item span.d { margin-top: 4px; font-size: 14px; }
.mega-feature { padding: 20px; gap: 10px; border-color: var(--line); }
.mf-card { padding: 20px; border-radius: 16px; border-color: var(--line); }
.mf-card strong { font-size: 17px; }
.mf-card span { font-size: 14px; }
.mf-links a { padding: 11px 12px; font-size: 15px; }
.mega-backdrop { background: rgba(7, 13, 26, .22); }
[data-theme="light"] .mega-backdrop { background: rgba(7, 13, 26, .1); }

/* Small screens: product section links fade at the edge so it's clear they scroll */
@media (max-width: 1120px) {
  .sublinks { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 18px; }
}

/* Mac: steady text rendering while things animate (no weight flicker when a layer is promoted) */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeSpeed; }
body, .mz { text-rendering: auto; }
/* Hovering cards/buttons don't animate big shadows (expensive on Retina) */
.mz-btn, .mega-item, .mf-card, .hx-card, .prob, .agent-card, .doc-link, .price-card, a.info-card { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* =========================================================
   Mega panel, expanded: wider, taller, translucent glass
   ========================================================= */
.mega, [data-theme="dark"] .mega {
  top: calc(var(--pill-top) + var(--pill-h) + 12px); width: min(1360px, calc(100vw - 32px)); border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
}
[data-theme="dark"] .mega { background: rgba(10, 14, 22, .78); }
.mega .wrap.mega-in { grid-template-columns: 250px minmax(0, 1fr) 330px; min-height: 440px; }
.mega .wrap.mega-in.is-single { grid-template-columns: minmax(0, 1fr) 330px; }
.mega-side { padding: 26px 16px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.mega-tab { padding: 13px 16px; font-size: 16px; }
.mega-body { padding: 26px; }
.mega-grid { gap: 14px; }
.mega-grid:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-item { flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.mega .mi-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 21px; }
.mega-item b { font-size: 17px; }
.mega-feature { padding: 26px; gap: 12px; }
.mf-card { padding: 22px; }
.mf-card strong { font-size: 18px; }
/* "a little" transparent: frosted, never see-through enough to compete with the menu text */
.mega, [data-theme="dark"] .mega { background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); }
[data-theme="dark"] .mega { background: rgba(10, 14, 22, .9); }

/* =========================================================
   Mega panel, full width + colour
   Edge-to-edge panel under the pill; content stays centred.
   Each item carries its own colour (--c): tinted card, tinted icon tile
   that fills with colour on hover.
   ========================================================= */
.mega, [data-theme="dark"] .mega {
  left: 0; right: 0; width: 100%; top: calc(var(--pill-top) + var(--pill-h) + 12px);
  border-radius: 0 0 28px 28px; border-left: 0; border-right: 0;
  transform: translateY(-8px); transform-origin: 50% 0;
  background:
    radial-gradient(900px 420px at 12% 0%, color-mix(in srgb, var(--mz-primary-500) 9%, transparent), transparent 70%),
    radial-gradient(700px 380px at 92% 100%, color-mix(in srgb, var(--mz-accent-400) 8%, transparent), transparent 70%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}
[data-theme="dark"] .mega {
  background:
    radial-gradient(900px 420px at 12% 0%, color-mix(in srgb, var(--mz-primary-500) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at 92% 100%, color-mix(in srgb, var(--mz-accent-400) 10%, transparent), transparent 70%),
    rgba(9, 13, 21, .92);
}
.mega.open { transform: none; }
.mega .wrap.mega-in { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.mega-side { background: none; border-right: 1px solid var(--line); }
.mega-tab.active { background: color-mix(in srgb, var(--mz-primary-500) 14%, transparent); color: var(--ink); }
[data-theme="dark"] .mega-tab.active { background: color-mix(in srgb, var(--mz-primary-400) 18%, transparent); }
.mega-tab.active::before { content: ""; width: 3px; height: 16px; border-radius: 3px; background: var(--mz-primary-500); margin-right: 2px; order: -1; }
.mega-tab { justify-content: flex-start; }

/* Cards: a soft wash of the item's own colour */
.mega-item {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, transparent), color-mix(in srgb, var(--c) 2%, transparent) 70%);
  border-color: color-mix(in srgb, var(--c) 20%, var(--line));
}
.mega-item:hover { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), color-mix(in srgb, var(--c) 5%, transparent) 70%); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
/* Icon tiles in colour; on hover the tile fills and the icon turns white */
.mega .mi-icon {
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 8%, transparent));
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--c) 70%, transparent);
  transition: background-color .2s, color .2s, border-color .2s;
}
[data-theme="dark"] .mega .mi-icon { color: color-mix(in srgb, var(--c) 70%, #fff); }
.mega-item:hover .mi-icon, [data-theme="dark"] .mega-item:hover .mi-icon { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 70%, #000)); }
.mega-item:hover b { color: var(--ink); }

/* Side card: brand-tinted */
.mf-card { background: linear-gradient(150deg, color-mix(in srgb, var(--mz-primary-500) 16%, transparent), color-mix(in srgb, var(--mz-accent-400) 8%, transparent)); border-color: color-mix(in srgb, var(--mz-primary-500) 28%, var(--line)); }
.mf-card:hover { background: linear-gradient(150deg, color-mix(in srgb, var(--mz-primary-500) 22%, transparent), color-mix(in srgb, var(--mz-accent-400) 12%, transparent)); }
.mf-links a:hover { background: color-mix(in srgb, var(--mz-primary-500) 10%, transparent); }
/* stronger colour */
.mega-item { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, transparent), color-mix(in srgb, var(--c) 3%, transparent) 75%); border-color: color-mix(in srgb, var(--c) 26%, var(--line)); }
.mega .mi-icon { background: linear-gradient(145deg, color-mix(in srgb, var(--c) 34%, transparent), color-mix(in srgb, var(--c) 12%, transparent)); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
[data-theme="dark"] .mega .mi-icon { color: color-mix(in srgb, var(--c) 55%, #fff); }

/* =========================================================
   Header: full-width glass bar (edge to edge) +
   dropdown as a smaller centred floating card
   ========================================================= */
:root { --pill-top: 0px; --pill-h: 68px; --hdr: 68px; }
.mainbar, [data-theme="dark"] .mainbar { height: var(--hdr); padding-top: 0; }
.mainbar .wrap.mainbar-in, [data-theme="dark"] .mainbar .wrap.mainbar-in {
  width: 100%; max-width: none; margin: 0; height: var(--hdr);
  padding: 0 max(24px, calc((100% - 1320px) / 2));
  border-radius: 0; border: 0; border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 10px 30px -24px rgba(11, 18, 32, .35);
}
[data-theme="dark"] .mainbar .wrap.mainbar-in { box-shadow: 0 12px 32px -24px rgba(0, 0, 0, .8); }
.subbar .wrap.subbar-in { width: min(1320px, calc(100% - 32px)); }

.mega, [data-theme="dark"] .mega {
  left: 50%; right: auto; width: min(1100px, calc(100vw - 32px)); top: calc(var(--hdr) + 10px);
  border-radius: 22px; border: 1px solid var(--line); transform: translate(-50%, -8px);
}
[data-theme="dark"] .mega { border-color: rgba(255, 255, 255, .09); }
.mega.open { transform: translate(-50%, 0); }
.mega .wrap.mega-in { width: 100%; grid-template-columns: 210px minmax(0, 1fr) 270px; min-height: 0; }
.mega .wrap.mega-in.is-single { grid-template-columns: minmax(0, 1fr) 270px; }
.mega-side { padding: 16px 12px; }
.mega-tab { padding: 10px 14px; font-size: 15px; }
.mega-body { padding: 16px; }
.mega-grid, .mega-grid:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mega-item { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; }
.mega .mi-icon { width: 40px; height: 40px; border-radius: 11px; font-size: 19px; }
.mega-item b { font-size: 15px; }
.mega-item span.d { font-size: 13px; }
.mega-feature { padding: 16px; gap: 8px; }
.mf-card { padding: 18px; }
.mf-card strong { font-size: 16px; }
.mf-links a { padding: 10px 12px; font-size: 14px; }

@media (max-width: 1120px) {
  :root { --hdr: 62px; --pill-h: 62px; }
  .mainbar .wrap.mainbar-in, [data-theme="dark"] .mainbar .wrap.mainbar-in { width: 100%; padding: 0 16px; border-radius: 0; }
  .subbar .wrap.subbar-in { width: calc(100% - 24px); }
}

/* =========================================================
   Intro / preloader: once per browser session
   (head script adds html.mz-intro; layout.js lifts it when the page is built)
   ========================================================= */
.mz-intro-screen { display: none; }
html.mz-intro .mz-intro-screen {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 42%, color-mix(in srgb, var(--mz-primary-500) 22%, transparent), transparent 70%),
              radial-gradient(40% 40% at 70% 70%, color-mix(in srgb, var(--mz-accent-400) 12%, transparent), transparent 70%), #050912;
  color: #fff; border-radius: 0 0 0 0;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), border-radius .9s cubic-bezier(.76, 0, .24, 1);
}
html[data-theme="light"].mz-intro .mz-intro-screen {
  background: radial-gradient(60% 50% at 50% 42%, color-mix(in srgb, var(--mz-primary-400) 22%, transparent), transparent 70%),
              radial-gradient(40% 40% at 70% 70%, color-mix(in srgb, var(--mz-accent-300) 18%, transparent), transparent 70%), #f4f7fc;
  color: #0b1220;
}
html.mz-intro body { overflow: hidden; }
html.mz-intro-out .mz-intro-screen { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 18% 18%; }
.mzi-in { display: grid; justify-items: center; gap: 22px; transition: transform .9s cubic-bezier(.76, 0, .24, 1), opacity .5s; }
html.mz-intro-out .mzi-in { transform: translateY(-60px); opacity: 0; }

.mzi-word { display: flex; overflow: hidden; padding: 0 .12em .06em; font-family: var(--mz-font-brand); font-style: italic; font-weight: 800;
  font-size: clamp(72px, 14vw, 168px); line-height: 1; letter-spacing: -0.07em; }
.mzi-word span { display: block; padding-right: .06em; transform: translateY(110%); animation: mziRise .8s cubic-bezier(.16, 1, .3, 1) forwards;
  background: linear-gradient(100deg, var(--mz-primary-400) 0%, #ffffff 45%, var(--mz-accent-400) 55%, var(--mz-primary-500) 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .mzi-word span { background-image: linear-gradient(100deg, var(--mz-primary-600) 0%, #6aa8ff 45%, var(--mz-accent-500) 55%, var(--mz-primary-700) 100%); }
.mzi-word span:nth-child(2) { animation-delay: .07s; }
.mzi-word span:nth-child(3) { animation-delay: .14s; }
.mzi-word span:nth-child(4) { animation-delay: .21s; }
html.mz-intro .mzi-word span { animation: mziRise .8s cubic-bezier(.16, 1, .3, 1) forwards, mziSheen 1.6s ease-in-out .5s forwards; }
html.mz-intro .mzi-word span:nth-child(2) { animation-delay: .07s, .55s; }
html.mz-intro .mzi-word span:nth-child(3) { animation-delay: .14s, .6s; }
html.mz-intro .mzi-word span:nth-child(4) { animation-delay: .21s, .65s; }
@keyframes mziRise { to { transform: none; } }
@keyframes mziSheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.mzi-bar { width: min(220px, 50vw); height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, currentColor 14%, transparent); }
.mzi-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mz-primary-400), var(--mz-accent-400)); transform: scaleX(0); transform-origin: left;
  animation: mziBar 1.3s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
@keyframes mziBar { to { transform: scaleX(1); } }
.mzi-tag { margin: 0; font-family: var(--mz-font-serif); font-style: italic; font-size: clamp(16px, 2vw, 20px); opacity: 0; transform: translateY(8px);
  color: color-mix(in srgb, currentColor 70%, transparent); animation: mziTag .7s ease-out .55s forwards; }
@keyframes mziTag { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.mz-intro .mzi-word span, .mzi-bar i, .mzi-tag { animation: none !important; transform: none; opacity: 1; }
  html.mz-intro .mz-intro-screen, .mzi-in { transition: opacity .25s; }
  html.mz-intro-out .mz-intro-screen { transform: none; opacity: 0; }
}

/* The page colour lives on <html>; a transparent <body> keeps the fixed background canvases (z-index -1) visible */
body { background-color: transparent !important; }

/* Footer: placeholder links (e.g. Brand book) that go nowhere yet */
.ft-col a[aria-disabled="true"] { cursor: pointer; }

/* Footer: placeholder links (e.g. Brand book) that go nowhere yet */
.ft-col a[aria-disabled="true"] { cursor: pointer; }
/* Product pages: mimz logo, a divider, then the product as its own chip */
.mainbar-in > .logo-wrap { justify-self: start; display: flex; align-items: baseline; gap: 12px; }
.logo-wrap .logo-sep { align-self: center; }
.logo-sep { width: 1.5px; height: 22px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.logo-prod { font-family: var(--mz-font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1; color: var(--pc); transition: opacity .2s ease; }
.logo-prod:hover { opacity: .8; }
[data-theme="dark"] .logo-prod { color: color-mix(in srgb, var(--pc) 55%, #fff); }
@media (max-width: 480px) { .logo-sep { display: none; } .logo-wrap { gap: 8px; } .logo-prod { font-size: 17px; } }
