/* ============ Tokens ============ */
:root {
  --bg: #f7f7fa;
  --surface: #fbfbfd;
  --ink: #11121a;
  --muted: #626575;
  --line: #e2e3ea;
  --purple: #7b4dff;
  --purple-2: #9c7dff;
  --purple-soft: #f1edff;
  --dark: #171922;

  --container: 1240px;
  --gutter: 40px;
  --side: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --section: 120px;
  --radius: 20px;
  --shadow: 0 14px 44px rgba(22, 20, 34, .06);
  --shadow-hover: 0 22px 56px rgba(70, 54, 130, .10);
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/web/page-background.webp") center top / cover no-repeat;
  opacity: .28;
  pointer-events: none;
  z-index: -2;
}
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .08;
  background-image: radial-gradient(#171922 .55px, transparent .55px);
  background-size: 5px 5px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-pad { padding: var(--section) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; background: var(--dark); color: #fff; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.i { width: 16px; height: 16px; flex: none; }

/* ============ Buttons & links ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s, border-color .22s;
}
.btn .i { transition: transform .22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(3px); }
.btn-dark { background: linear-gradient(135deg, #12131a, #1f2130); color: #fff; box-shadow: 0 12px 28px rgba(18, 19, 26, .14); }
.btn-dark:hover { box-shadow: 0 16px 34px rgba(18, 19, 26, .2); }
.btn-light { background: rgba(255, 255, 255, .6); border-color: #d8dae3; }
.btn-light:hover { border-color: #b9b0f0; background: #fff; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 14px; font-weight: 560; white-space: nowrap; }
.text-link .i { transition: transform .2s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }

.card-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #22242e;
  color: #fff;
  transition: background-color .2s, transform .2s var(--ease);
}
.card-arrow:hover { background: var(--purple); transform: translateX(2px); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 22px;
}
.eyebrow b { font-weight: 500; color: #c3bcdc; padding: 0 6px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(248, 248, 250, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(25, 25, 30, .07);
}
.nav-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: 100%; padding-inline: clamp(20px, 2.8vw, 44px); }
.nav-shell > .brand { justify-self: start; }
.nav-center { display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; letter-spacing: -.035em; }
.brand-mark { width: 28px; height: 29px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: #2a2c36;
  cursor: pointer;
  transition: color .2s;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-trigger::after { right: 17px; }
.nav-link:hover, .nav-link.is-active, .nav-link.is-current, .nav-item.is-active > .nav-link, .nav-item.is-current > .nav-link, .nav-item.is-open > .nav-link { color: var(--purple); }
.nav-link.is-active::after, .nav-link.is-current::after, .nav-item.is-active > .nav-link::after, .nav-item.is-current > .nav-link::after { transform: scaleX(1); }
.nav-trigger .chev { width: 11px; height: 11px; color: currentColor; opacity: .7; transition: transform .25s var(--ease); }
.nav-item { position: relative; }
.nav-sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 120;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(22, 20, 34, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item:hover > .nav-sub, .nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.nav-item:hover .chev, .nav-item.is-open .chev { transform: rotate(180deg); }
.nav-sub a { display: block; padding: 11px 14px; border-radius: 9px; font-size: 14px; color: #3a3c48; white-space: nowrap; transition: background-color .15s, color .15s; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--purple-soft); color: var(--purple); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; justify-self: end; }
.nav-center .lang-menu { right: auto; left: 50%; transform: translateX(-50%); }
.btn-nav { min-height: 46px; padding-inline: 22px; }

.lang { position: relative; }
.lang-pill {
  height: 46px;
  padding: 0 14px 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang-pill:hover, .lang-pill[aria-expanded="true"] { border-color: #c7bdf6; background: #fff; }
.lang-pill .i { width: 18px; height: 18px; color: #3a3c48; }
.lang-pill .chev { width: 12px; height: 12px; color: #8a8c98; transition: transform .2s; }
.lang-pill[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 176px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(22, 20, 34, .12);
}
.lang-up .lang-menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.lang-menu li { padding: 11px 14px; border-radius: 9px; font-size: 14px; color: #3a3c48; cursor: pointer; }
.lang-menu li:hover, .lang-menu li.is-focus { background: var(--purple-soft); }
.lang-menu li[aria-selected="true"] { color: var(--purple); font-weight: 650; }

.menu-button { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-button span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-button span:first-child { top: 17px; }
.menu-button span:last-child { top: 25px; }
.menu-button[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px var(--gutter) 28px;
  background: #f8f8fa;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mobile-menu { max-height: calc(100vh - var(--header)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu .m-link { display: block; padding: 16px 2px; font-size: 17px; border-bottom: 1px solid #ebebef; }
.m-group { padding: 16px 0 8px; border-bottom: 1px solid #ebebef; }
.m-label { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-2); }
.m-group a { display: block; padding: 10px 2px; font-size: 16px; }
.mobile-menu .btn { width: 100%; margin-top: 22px; }
.mobile-lang { margin-top: 22px; width: fit-content; }
.mobile-lang .lang-menu { left: 0; right: auto; }

/* ============ Hero ============ */
.hero { position: relative; padding: 112px 0 136px; overflow-x: clip; }
.hero-grid { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 620; }
html:is([lang="es"], [lang="pt"], [lang="de"]) .hero h1 { font-size: clamp(40px, 4.3vw, 62px); }
.hero h1 span { background: linear-gradient(90deg, #7a4bff, #aa86ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 17px; line-height: 1.65; color: #595c6c; max-width: 560px; margin: 32px 0 44px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 40px; color: #656876; font-size: 14px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .i { width: 15px; height: 15px; color: var(--purple); }

.hero-art { position: absolute; top: 0; right: 0; bottom: 48px; width: 52vw; max-width: 860px; pointer-events: none; }
.hero-halftone { position: absolute; top: -4%; right: -6%; width: 78%; opacity: .5; }
.hero-cluster { position: absolute; top: 50%; right: 3%; width: min(90%, 700px); transform: translateY(-50%); filter: drop-shadow(0 24px 48px rgba(26, 23, 40, .09)); }
.hero-note {
  position: absolute;
  z-index: 2;
  padding: 18px 22px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #2f303b;
  background: rgba(244, 244, 247, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(22, 20, 34, .06);
}
.hero-note i { display: block; width: 28px; height: 1.5px; margin: 14px 0; background: #2f303b; }
.hero-note i:last-child { margin-bottom: 4px; }
.note-a { left: 18%; top: 36%; }
.note-b { right: 5%; top: 6%; }

/* ============ Stats ============ */
.stats-section { padding: 0; }
.stats-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(251, 251, 253, .78);
  border: 1px solid rgba(208, 210, 220, .7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats-grid article { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 34px 26px; }
.stats-grid article:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; height: 52%; width: 1px; background: #dedfe6; }
.stat-icon { width: 48px; height: 48px; margin-top: -8px; object-fit: contain; flex: none; }
.stats-grid strong { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.stats-grid span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: #676a77; }
.stats-caption { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.9; letter-spacing: .26em; text-transform: uppercase; color: #3a3b46; }
.stats-caption b { color: var(--purple-2); margin-right: 12px; font-weight: 600; }

/* ============ Section intro ============ */
.section-intro { margin-bottom: 64px; }
.split-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; align-items: end; }
.section-intro h2, .case-title h2, .contact-copy h2 { font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; letter-spacing: -.035em; }
.intro-side p { margin: 0 0 20px; max-width: 540px; font-size: 16px; line-height: 1.65; color: #626574; }

/* ============ Services ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-block {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(246, 246, 250, .7));
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.svc-block:hover { transform: translateY(-6px); border-color: #d2c9fb; box-shadow: var(--shadow-hover); }
.svc-block-head { display: flex; align-items: flex-start; justify-content: space-between; }
.svc-block-head .num { font-size: 13px; color: #a3a5b1; }
.svc-block:hover .service-icon { transform: translateY(-3px) rotate(-4deg); }
.svc-block h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 12px; }
.svc-block > p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: #666977; }
.svc-points { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.svc-points li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: #3d4050; }
.svc-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.2 4.7-5' fill='none' stroke='%237b4dff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.svc-cta { align-self: flex-start; margin-top: auto; }
.svc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: auto; }
.svc-actions .svc-cta { margin-top: 0; }
@media (max-width: 860px) {
  .svc-blocks { grid-template-columns: 1fr; gap: 20px; }
  .svc-block { padding: 28px 24px 26px; }
  .svc-block h3 { font-size: 20px; }
}
.service-card {
  position: relative;
  min-height: 272px;
  padding: 36px 34px 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(246, 246, 250, .66));
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: #d2c9fb; box-shadow: var(--shadow-hover); }
.service-card .num { position: absolute; top: 28px; right: 30px; font-size: 13px; color: #a3a5b1; }
.service-icon { height: 64px; width: 64px; object-fit: contain; margin: -6px 0 24px -6px; transition: transform .35s var(--ease); }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-4deg); }
.service-card h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 12px; }
.service-card p { margin: 0; max-width: 320px; font-size: 15px; line-height: 1.6; color: #666977; }

/* ============ Creators ============ */
.creator-side-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d9dae3;
  background: #fbfbfd;
  color: var(--purple);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.carousel-controls button:hover:not(:disabled) { background: var(--purple); border-color: var(--purple); color: #fff; }
.carousel-controls button:disabled { color: #b7b8c3; cursor: default; opacity: .7; }
.creator-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  padding: 8px 4px 28px;
  margin: -8px -4px -28px;
}
.creator-track::-webkit-scrollbar { display: none; }
.creator-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: rgba(252, 252, 253, .86);
  border: 1px solid #dedfe7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.creator-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.creator-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #e9e8f0; }
.creator-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease); }
.creator-card:hover .creator-photo > img:first-child { transform: scale(1.04); }
.platform { position: absolute; left: 18px; bottom: 16px; width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.creator-body { position: relative; flex: 1; padding: 22px 22px 24px; }
.creator-body h3 { font-size: 17px; letter-spacing: -.015em; }
.creator-body p { margin: 4px 0 16px; font-size: 14px; color: #656875; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 52px; }
.tags li { padding: 5px 11px; border-radius: 999px; background: #efeff5; font-size: 12px; color: #6f7280; }
.creator-body .card-arrow { position: absolute; right: 20px; bottom: 22px; }

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; counter-reset: none; }
.process-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 8px;
  min-height: 236px;
  padding: 30px 30px 32px 26px;
  background: rgba(251, 251, 253, .66);
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.process-card:hover { border-color: #d2c9fb; box-shadow: var(--shadow); }
.process-card .step { grid-row: 1; grid-column: 1; font-size: 24px; font-weight: 500; line-height: 1; color: #c7c8d2; letter-spacing: -.03em; }
.process-icon { grid-row: 1; grid-column: 2; height: 54px; width: 54px; object-fit: contain; justify-self: start; margin: -10px 0 20px -6px; }
.process-card h3 { grid-column: 2; font-size: 17px; letter-spacing: -.02em; margin-bottom: 10px; }
.process-card p { grid-column: 2; margin: 0; font-size: 14px; line-height: 1.6; color: #676a76; }
.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23a3a4ad' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============ Case ============ */
.case-section { padding: var(--section) 0; overflow-x: clip; }
.case-grid { display: grid; grid-template-columns: minmax(300px, .95fr) 1.8fr .5fr; gap: 48px; align-items: stretch; }
.case-title { align-self: center; }
.case-title h2 { font-style: italic; }
.case-card {
  position: relative;
  min-height: 340px;
  padding: 46px 48px 44px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #24252b, #414147 50%, #27282d);
  box-shadow: 0 24px 60px rgba(10, 10, 12, .14);
}
.case-card::before { content: ""; position: absolute; inset: 0; background: url("assets/web/texture-collage.webp") center / cover; opacity: .08; mix-blend-mode: screen; }
.case-card > *:not(.case-metal) { position: relative; z-index: 1; }
.case-kicker { font-size: 17px; font-weight: 550; letter-spacing: -.01em; }
.case-metrics { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 36px 0 32px; }
.case-metrics > div { padding-right: 40px; }
.case-metrics > div + div { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .22); }
.case-metrics strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.case-metrics span { display: block; margin-top: 6px; font-size: 13px; color: #d2d2d8; }
.case-card blockquote { margin: 0; max-width: min(470px, 70%); font-size: 16px; line-height: 1.65; color: #e9e9ec; }
.quote-by { margin-top: 14px; font-size: 14px; color: #c9c9cf; }
.case-metal { position: absolute; right: -34px; bottom: -48px; width: 190px; opacity: .9; }
.case-ornament {
  position: relative;
  margin-right: calc(-1 * var(--side));
  min-height: 340px;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(160deg, #f1f1f4, #e9e9ee);
}
.case-ornament-art { position: absolute; left: 10px; top: -6%; height: 112%; width: auto; max-width: none; opacity: .95; }
.case-ornament-orbit { position: absolute; right: -60px; top: 12%; width: 180px; opacity: .8; }
.case-ornament p { position: absolute; left: 104px; top: 50%; transform: translateY(-50%); margin: 0; font-size: 11px; font-weight: 700; line-height: 1.9; letter-spacing: .26em; text-transform: uppercase; color: #2f303b; }
.case-ornament p i { display: block; width: 28px; height: 1.5px; margin-top: 16px; background: #2f303b; }

/* ============ Contact ============ */
.contact-section { padding: 0; border-top: 1px solid #e5e5eb; overflow-x: clip; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .9fr .55fr; gap: 56px; align-items: stretch; }
.contact-copy, .lead-form { align-self: center; padding: 128px 0; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy p { margin: 0; max-width: 400px; font-size: 16px; line-height: 1.65; color: #666876; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 16px 18px;
  font: inherit;
  font-size: 15px;
  color: #23242d;
  background: rgba(252, 252, 253, .8);
  border: 1px solid #d7d8e1;
  border-radius: 12px;
  outline: 0;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { min-height: 132px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #8b8d99; }
.lead-form input:focus, .lead-form textarea:focus { border-color: #9d83ff; box-shadow: 0 0 0 4px rgba(123, 77, 255, .1); }
.lead-form [aria-invalid="true"] { border-color: #e0567a; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.form-status { min-height: 20px; margin: 0; font-size: 14px; color: #6049d6; }
.form-status.is-error { color: #c43d62; }
.contact-art {
  position: relative;
  margin-right: calc(-1 * var(--side));
  overflow: hidden;
  background: linear-gradient(160deg, #f2f2f5, #e8e8ed);
}
.contact-art img { position: absolute; right: -4%; bottom: -3%; width: 150%; max-width: none; }
.contact-art p { position: absolute; left: 44px; top: 20%; margin: 0; font-size: 12px; font-weight: 700; line-height: 1.9; letter-spacing: .26em; text-transform: uppercase; color: #2f303b; }
.contact-art p i { display: block; width: 28px; height: 1.5px; margin-top: 16px; background: #2f303b; }

/* ============ Footer ============ */
.site-footer { padding: 88px 0 72px; border-top: 1px solid #e1e2e8; background: rgba(250, 250, 252, .6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) .8fr; gap: 56px; }
.footer-brand p { margin: 20px 0 0; font-size: 14px; line-height: 1.65; color: #6a6d7a; }
.socials { display: flex; gap: 22px; margin-top: 32px; }
.socials a { display: grid; place-items: center; width: 24px; height: 24px; opacity: .85; transition: opacity .2s, transform .2s var(--ease); }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials img { max-width: 22px; max-height: 20px; }
.footer-grid h3 { margin: 4px 0 20px; font-size: 13px; font-weight: 600; }
.footer-grid nav a { display: block; width: fit-content; margin: 0 0 12px; font-size: 14px; color: #5e616e; transition: color .2s; }
.footer-grid nav a:hover { color: var(--purple); }
.footer-meta { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-meta p { margin: 0; font-size: 13px; line-height: 1.6; color: #6a6d7a; }
.footer-meta .lang-pill { height: 42px; }

/* ============ Inner pages ============ */
.page-hero { position: relative; padding: 104px 0 80px; overflow-x: clip; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
.page-hero h1 span { background: linear-gradient(90deg, #7a4bff, #aa86ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-lead { max-width: 640px; margin: 26px 0 0; font-size: 18px; line-height: 1.65; color: #595c6c; }
.page-hero-art { position: absolute; top: -40px; right: -4vw; width: min(44vw, 620px); opacity: .85; pointer-events: none; }
.page-hero-art.is-soft { opacity: .45; }
.page-meta { margin-top: 22px; font-size: 13px; color: #8b8d99; }

.page-section { padding: 64px 0; }
.page-section:last-of-type { padding-bottom: 120px; }
.page-section .section-intro { margin-bottom: 48px; }
.page-section h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.03em; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  position: relative;
  padding: 32px 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(246, 246, 250, .66));
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card .kicker { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-2); }
.info-card h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.02em; }
.info-card p { margin: 0; font-size: 15px; line-height: 1.65; color: #666977; }
.info-card .card-icon { height: 60px; width: 60px; object-fit: contain; margin: -6px 0 18px -6px; }
a.info-card { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.info-card:hover { transform: translateY(-5px); border-color: #d2c9fb; box-shadow: var(--shadow-hover); }
.info-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 560; color: var(--purple); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 1px solid #d9dae3; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px; font-size: 24px; font-weight: 500; color: #c7c8d2; }
.steps h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: #666977; }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid #e4e5eb; font-size: 16px; line-height: 1.55; color: #3d4050; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.2 4.7-5' fill='none' stroke='%237b4dff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.prose { max-width: 780px; }
.prose h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.02em; }
.prose-block + .prose-block { margin-top: 44px; padding-top: 44px; border-top: 1px solid #e6e7ed; }
.prose .intro { margin-bottom: 48px; font-size: 18px; color: #3d4050; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: #4a4d5c; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

.highlight-card {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #24252b, #414147 50%, #27282d);
  box-shadow: 0 24px 60px rgba(10, 10, 12, .14);
}
.highlight-card::before { content: ""; position: absolute; inset: 0; background: url("assets/web/texture-collage.webp") center / cover; opacity: .08; mix-blend-mode: screen; }
.highlight-card > * { position: relative; }
.highlight-card .big { display: block; margin: 8px 0 12px; font-size: clamp(52px, 6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.highlight-card p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.65; color: #e3e3e8; }
.highlight-card .kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #c9bcff; }
.placeholder-note { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; color: #fff; }

.page-cta { padding: 0 0 120px; }
.page-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f3f0ff);
  box-shadow: var(--shadow);
}
.page-cta-card h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.page-cta-card p { margin: 10px 0 0; font-size: 16px; color: #666977; }

.post-card .post-tag { display: inline-block; margin-bottom: 18px; padding: 5px 11px; border-radius: 999px; background: var(--purple-soft); font-size: 12px; font-weight: 560; color: var(--purple); }
.post-card h3 { font-size: 20px; line-height: 1.3; }
.insight-list { display: grid; gap: 20px; }
.insight {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 30px 32px;
  background: rgba(252, 252, 253, .8);
  border: 1px solid #e0e1e8;
  border-radius: var(--radius);
}
.insight .n { font-size: 24px; font-weight: 500; color: #c7c8d2; }
.insight h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: -.02em; }
.insight p { margin: 0; font-size: 15px; line-height: 1.7; color: #5d6070; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { padding: 26px 24px; background: rgba(252, 252, 253, .85); border: 1px solid #e0e1e8; border-radius: 16px; }
.metric b { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--purple); }
.metric span { font-size: 14px; line-height: 1.55; color: #5d6070; }

.dashboard {
  padding: 28px;
  border: 1px solid #dcdde6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(30, 24, 60, .12);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 14px; font-weight: 600; }
.dash-top small { font-weight: 400; color: #8b8d99; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.dash-kpis div { padding: 14px; border-radius: 12px; background: #f6f5fb; }
.dash-kpis span { display: block; font-size: 12px; color: #7a7d8a; }
.dash-kpis b { font-size: 20px; font-weight: 600; }
.dash-kpis .up { font-size: 12px; font-style: normal; color: #1f9d6e; }
.dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 4px; border-bottom: 1px solid #ececf2; }
.dash-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(#a98cff, #7b4dff); }
.dash-bars i:nth-child(odd) { opacity: .55; }
.dash-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: #9a9caa; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { overflow: hidden; background: rgba(252, 252, 253, .86); border: 1px solid #dedfe7; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #25262c, #45454b); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: screen; transition: transform .5s var(--ease); }
.video-card:hover .video-frame img { transform: scale(1.05); }
.video-frame.photo img { opacity: 1; mix-blend-mode: normal; object-position: center 30%; }
.video-frame.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); }
.video-frame::after, .video-frame .ratio { z-index: 2; }
.video-frame::after { content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5Z' fill='%237b4dff'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.video-frame .ratio { position: absolute; right: 12px; top: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .06em; }
.video-body { padding: 22px 24px 26px; }
.video-body h3 { margin-bottom: 8px; font-size: 18px; }
.video-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #666977; }

/* ============ Forms, tables, code (partners + analytics) ============ */
.field {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d7d8e1;
  border-radius: 12px;
  background: rgba(252, 252, 253, .92);
  font: inherit;
  font-size: 14px;
  color: #23242d;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: #9d83ff; box-shadow: 0 0 0 4px rgba(123, 77, 255, .1); }
select.field { padding-right: 34px; appearance: none; background: rgba(252, 252, 253, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238a8c98' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; cursor: pointer; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.field-row label, .form-grid label { display: grid; gap: 6px; font-size: 12px; font-weight: 560; color: #6a6d7a; }
.field-row .field, .form-grid .field { width: 100%; }

.table-wrap { overflow-x: auto; border-radius: 16px; }
.data-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #e0e1e8; border-radius: 16px; box-shadow: var(--shadow); }
.data-table th { padding: 14px 18px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8b8d99; background: #f7f6fb; white-space: nowrap; }
.data-table th:first-child { border-top-left-radius: 16px; }
.data-table th:last-child { border-top-right-radius: 16px; }
.data-table td { padding: 16px 18px; border-top: 1px solid #eeeef3; font-size: 14px; color: #33354a; vertical-align: middle; }
.data-table td small { color: #8b8d99; font-size: 12px; }
.data-table code, .code-inline { padding: 3px 7px; border-radius: 6px; background: #f1efff; color: #5b3de0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.data-table.macro-table { min-width: 0; }
.offer-name { font-weight: 600; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--purple-soft); font-size: 11px; font-weight: 600; color: var(--purple); vertical-align: 2px; }
.badge.demo { background: #fff4e0; color: #a86400; }
.geo-tag { display: inline-block; margin: 2px 2px 2px 0; padding: 3px 8px; border-radius: 6px; background: #f1f1f6; font-size: 12px; font-weight: 560; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d6e; }
.status-soon::before { background: #e0a100; }
.status-paused::before, .status-off::before { background: #b5b7c3; }
.empty-state { margin: 0; padding: 40px; text-align: center; color: #7a7d8a; background: #fff; border: 1px dashed #d7d8e1; border-radius: 16px; }

.code-box { position: relative; margin-top: 16px; padding: 16px 104px 16px 18px; border-radius: 12px; background: #171922; color: #e7e3ff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; line-height: 1.6; word-break: break-all; }
.code-box code { background: none; padding: 0; color: inherit; }
.code-box .copy { position: absolute; top: 10px; right: 10px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12px; font-weight: 560; cursor: pointer; transition: background-color .2s; }
.code-box .copy:hover { background: var(--purple); }
.small-note { margin: 12px 0 0; font-size: 13px; color: #8b8d99; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 12px; background: #efeef5; }
.seg button { height: 34px; padding: 0 13px; border: 0; border-radius: 9px; background: none; font-size: 13px; color: #4a4d5c; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--purple); font-weight: 600; box-shadow: 0 2px 8px rgba(20, 18, 40, .08); }

.faq details { padding: 20px 0; border-bottom: 1px solid #e4e5eb; }
.faq details:first-child { border-top: 1px solid #e4e5eb; }
.faq summary { display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 560; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: #5d6070; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 8px 14px; border: 1px solid #e0e1e8; border-radius: 999px; background: #fff; font-size: 14px; }
.stats-grid.compact strong { font-size: 20px; }

/* ============ Ad Performance Analytics app ============ */
.apa-hero { padding-bottom: 48px; }
.apa-demo-note { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 8px 14px; border-radius: 999px; background: #fff4e0; font-size: 13px; color: #8a5300; }
.apa-demo-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a100; box-shadow: 0 0 0 4px rgba(224, 161, 0, .18); }
.apa-live-note { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--purple-soft); font-size: 13px; color: #4a2fb5; }
.apa-live-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d6e; box-shadow: 0 0 0 4px rgba(31, 157, 110, .18); }
.apa-section { padding: 0 0 40px; }
.apa {
  padding: 22px;
  border: 1px solid #dcdde6;
  border-radius: 24px;
  background: rgba(250, 250, 253, .92);
  box-shadow: 0 30px 80px rgba(30, 24, 60, .10);
}
.apa-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 4px 4px 18px; border-bottom: 1px solid #e6e7ee; }
.apa-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.apa-brand img { width: 22px; height: 23px; }
.apa-actions, .apa-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.apa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #1c1e28;
  color: #fff;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.apa-btn:hover { background: var(--purple); }
.apa-btn.ghost { background: #fff; border-color: #d9dae3; color: #2a2c36; }
.apa-btn.ghost:hover { border-color: #b9b0f0; color: var(--purple); background: #fff; }
.apa-btn.danger { background: #fff; border-color: #f0c9d3; color: #c43d62; }
.apa-btn.danger:hover { background: #c43d62; color: #fff; }
.file-btn { cursor: pointer; }
.apa-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 4px; }
.apa-bar .seg { margin-top: 0; }
.apa-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.apa-filters .field { height: 40px; font-size: 13px; }
.apa-tabs { display: flex; gap: 4px; margin: 0 -2px 18px; padding-bottom: 0; border-bottom: 1px solid #e6e7ee; overflow-x: auto; }
.apa-tabs button { position: relative; flex: none; padding: 12px 16px; border: 0; background: none; font-size: 14px; color: #6a6d7a; cursor: pointer; }
.apa-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.apa-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--purple); }
.apa-tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #eeeaff; font-size: 11px; color: var(--purple); }
.apa-body { display: grid; gap: 18px; }
.apa-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.apa-kpi { padding: 16px 18px; border: 1px solid #e3e4ec; border-radius: 16px; background: #fff; }
.apa-kpi span { display: block; font-size: 12px; color: #7a7d8a; }
.apa-kpi b { display: block; margin: 6px 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.delta { font-size: 12px; font-weight: 560; }
.delta.up { color: #1f9d6e; }
.delta.down { color: #c43d62; }
.apa-vs { margin: -6px 0 0; font-size: 12px; color: #9a9caa; }
.apa-small { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; overflow: hidden; border: 1px solid #e3e4ec; border-radius: 14px; background: #e3e4ec; }
.apa-small div { padding: 12px 14px; background: #fff; }
.apa-small span { display: block; font-size: 11px; color: #8b8d99; }
.apa-small b { font-size: 15px; font-weight: 600; }
.apa-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; }
.apa-grid.tr-grid { grid-template-columns: minmax(300px, .9fr) 1.6fr; }
.apa-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.apa-card { min-width: 0; padding: 20px; border: 1px solid #e3e4ec; border-radius: 18px; background: #fff; }
.apa-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.apa-card-head h3 { font-size: 16px; }
.apa-card .data-table { box-shadow: none; }
.apa-table td, .apa-table th { padding: 12px 14px; }
.apa-table .sort { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.apa-table .sort[aria-sort="ascending"], .apa-table .sort[aria-sort="descending"] { color: var(--purple); }
.pos { color: #1f9d6e; font-weight: 600; }
.neg { color: #c43d62; font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 12px; color: #6a6d7a; }
.lg-rev::before, .lg-spend::before { content: ""; display: inline-block; width: 10px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; background: #7b4dff; }
.lg-spend::before { background: #22242e; }
.chart-wrap { position: relative; }
.apa-chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.apa-chart-svg text { font-size: 11px; fill: #9a9caa; font-family: inherit; }
.apa-chart-svg .grid { stroke: #eeeef3; }
.apa-chart-svg .l-rev { fill: none; stroke: #7b4dff; stroke-width: 2.4; stroke-linejoin: round; }
.apa-chart-svg .l-spend { fill: none; stroke: #22242e; stroke-width: 1.8; stroke-dasharray: 5 4; stroke-linejoin: round; }
.apa-chart-svg .hover-line { stroke: #b9b0f0; stroke-width: 1; }
.chart-tip { position: absolute; top: 8px; transform: translateX(-50%); display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: #171922; color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.chart-tip .lg-spend::before { background: #fff; }
.geo-bars { display: grid; gap: 12px; }
.geo-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.geo-row .bar { height: 8px; border-radius: 999px; background: #f0eff6; overflow: hidden; }
.geo-row .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a98cff, #7b4dff); }
.form-grid { display: grid; gap: 12px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .btn { min-height: 46px; }
.form-err { margin: 0; font-size: 13px; color: #c43d62; }
.apa-sep { height: 1px; margin: 20px 0; background: #eeeef3; }
.trk-list { display: grid; gap: 12px; }
.trk { display: grid; gap: 12px; padding: 16px; border: 1px solid #e6e7ee; border-radius: 14px; background: #fcfcfe; }
.trk-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trk small { display: block; margin-top: 4px; font-size: 12px; color: #7a7d8a; }
.trk-link { display: grid; gap: 4px; margin-top: 10px; }
.trk-link span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9a9caa; }
.trk-link code { display: block; overflow: hidden; padding: 8px 10px; border-radius: 8px; background: #f1efff; color: #5b3de0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.trk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.status-toggle { height: 24px; padding: 0 10px; border: 0; border-radius: 999px; font-size: 11px; font-weight: 600; cursor: pointer; }
.status-toggle.active { background: #e3f6ee; color: #177a55; }
.status-toggle.paused { background: #f0f0f4; color: #7a7d8a; }
.ev { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 560; background: #f1f1f6; }
.ev-ftd { background: #eeeaff; color: #5b3de0; }
.ev-dep { background: #e3f6ee; color: #177a55; }
.ev-rd { background: #eafaf4; color: #177a55; }
.ev-hold { background: #fff4e0; color: #8a5300; }
.ev-no { background: #fdeaef; color: #c43d62; }
.px-list { display: grid; gap: 12px; }
.px-card { display: grid; gap: 10px; padding: 14px; border: 1px solid #e6e7ee; border-radius: 12px; }
.px-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.px-row { display: flex; gap: 8px; }
.px-row .field { flex: 1; min-width: 0; height: 38px; }
.px-card small { font-size: 11px; color: #9a9caa; }
.apa-toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 12px 18px; border-radius: 12px; background: #171922; color: #fff; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.apa-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .apa-kpis { grid-template-columns: repeat(2, 1fr); }
  .apa-small { grid-template-columns: repeat(3, 1fr); }
  .apa-grid, .apa-grid.tr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .apa { padding: 14px; border-radius: 18px; }
  .apa-kpi b { font-size: 18px; }
  .apa-small { grid-template-columns: repeat(2, 1fr); }
  .apa-bar { align-items: stretch; }
  .apa-filters .field { flex: 1 1 100%; }
  .form-grid .two { grid-template-columns: 1fr; }
  .apa-card { padding: 16px; }
}

@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .filters .field { flex: 1 1 100%; }
  .code-box { padding-right: 18px; padding-top: 52px; }
}

/* ============ 3D icons & capabilities band ============ */
.section-icon { display: block; width: 64px; height: 64px; margin: 0 0 14px -6px; object-fit: contain; }
.steps li { position: relative; }
.steps .step-icon { position: absolute; top: 12px; right: 0; width: 52px; height: 52px; object-fit: contain; }
.metric { position: relative; }
.metric-icon { display: block; width: 52px; height: 52px; margin: -6px 0 10px -4px; object-fit: contain; }
.post-card { position: relative; }
.post-icon { position: absolute; top: 22px; right: 22px; width: 58px; height: 58px; object-fit: contain; }
.post-card h3 { padding-right: 64px; }
.stats-grid .stat-icon { filter: drop-shadow(0 6px 10px rgba(40, 20, 90, .12)); }

.cap-section { padding: 80px 0 0; overflow-x: clip; }
.cap-band {
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 34px 0;
  background: #fff;
  background-image: radial-gradient(60% 140% at 50% 0%, rgba(123, 77, 255, .07), transparent 70%);
  border-block: 1px solid var(--line);
  position: relative;
}
.cap-band::before, .cap-band::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 9%; pointer-events: none; }
.cap-band::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.cap-band::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.cap-track { display: flex; flex: none; gap: 16px; padding-right: 16px; animation: cap-scroll 55s linear infinite; }
.cap { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 172px; padding: 18px 12px 16px; border: 1px solid transparent; border-radius: 18px; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.cap:hover { border-color: rgba(123, 77, 255, .22); background: rgba(123, 77, 255, .05); transform: translateY(-3px); }
.cap img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(40, 20, 90, .14)); }
.cap span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--muted); }
@keyframes cap-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .cap-band { overflow-x: auto; }
  .cap-track { animation: none; }
  .cap-track[aria-hidden="true"] { display: none; }
}
@media (max-width: 720px) {
  .cap-section { padding-top: 48px; }
  .cap { width: 132px; }
  .cap img { width: 84px; height: 84px; }
  .cap-band { padding: 24px 0; }
  .service-icon { width: 56px; height: 56px; }
  .steps .step-icon { width: 44px; height: 44px; }
}

/* ============ Reveal ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* ============ Responsive ============ */
@media (max-width: 1240px) {
  :root { --section: 120px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: clamp(42px, 5vw, 60px); }
  .hero-art { width: 50vw; }
  .note-a { left: 12%; }
  .services-grid, .creator-track { gap: 24px; }
  .process-grid { gap: 40px; }
  .case-grid { grid-template-columns: minmax(270px, .9fr) 1.9fr .42fr; gap: 36px; }
  .case-card { padding-inline: 40px; }
  .case-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-metrics > div { padding-right: 20px; }
  .case-metrics > div + div { padding-left: 22px; }
  .case-metrics strong { font-size: 30px; }
  .contact-grid { grid-template-columns: 1.2fr 1fr .5fr; gap: 44px; }
  .footer-grid { gap: 40px; }
}

@media (max-width: 1080px) {
  :root { --gutter: 32px; --section: 112px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .nav-center { gap: 0; }
  .hero { padding: 88px 0 72px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(42px, 6.6vw, 64px); }
  .hero-art { position: relative; inset: auto; width: auto; max-width: 760px; height: 560px; margin: 32px auto 0; }
  .hero-halftone { right: 0; }
  .hero-cluster { right: 50%; transform: translate(50%, -50%); width: min(92%, 620px); }
  .note-a { left: 4%; top: auto; bottom: 10%; }
  .note-b { right: 2%; }
  .stats-wrap { grid-template-columns: 1fr; }
  .stats-caption { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid article:nth-child(2)::after { display: none; }
  .stats-grid article:nth-child(-n+2) { border-bottom: 1px solid #e3e4ea; }
  .split-intro { gap: 56px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .creator-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 42%); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-card::after { display: none; }
  .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-ornament { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-copy, .lead-form { padding: 112px 0; }
  .contact-art { display: none; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 48px; }
  .footer-grid nav:nth-of-type(3) { grid-column: 2; }
  .footer-meta { grid-column: 3; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section: 96px; --header: 72px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 25px; height: 26px; }
  .nav-center, .btn-nav { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  html:is([lang="es"], [lang="pt"], [lang="de"]) .hero h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .hero-lead { font-size: 17px; margin: 24px 0 36px; }
  .trust-row { gap: 12px 22px; margin-top: 32px; font-size: 13px; }
  .hero-art { height: 400px; margin-top: 24px; }
  .hero-cluster { width: 100%; }
  .hero-halftone { width: 90%; }
  .hero-note { display: none; }
  .stats-grid article { padding: 24px 18px; gap: 12px; }
  .stats-grid strong { font-size: 22px; }
  .stat-icon { width: 30px; height: 30px; }
  .br-desk { display: none; }
  .section-intro { margin-bottom: 44px; }
  .split-intro { grid-template-columns: 1fr; gap: 20px; }
  .intro-side p { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { min-height: 0; padding: 30px 26px 30px; }
  .service-icon { margin-bottom: 22px; }
  .creator-side-row { flex-wrap: wrap; }
  .creator-track { grid-auto-columns: 80%; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-card { min-height: 0; }
  .case-card { padding: 36px 28px 40px; min-height: 0; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); margin: 28px 0 26px; }
  .case-metrics > div { padding-right: 14px; }
  .case-metrics > div + div { padding-left: 16px; }
  .case-metrics strong { font-size: 26px; }
  .case-card blockquote { max-width: none; padding-bottom: 72px; }
  .case-metal { width: 140px; right: -26px; bottom: -40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-copy { padding: 88px 0 36px; }
  .lead-form { padding: 0 0 88px; }
  .site-footer { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid nav:nth-of-type(3) { grid-column: auto; }
  .footer-meta { grid-column: auto; }
}

@media (max-width: 1080px) {
  .card-grid, .card-grid.cols-4, .video-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.cols-5 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-art { opacity: .35; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .page-hero { padding: 64px 0 48px; }
  .page-lead { font-size: 16px; }
  .page-hero-art { width: 80vw; top: -20px; right: -30vw; opacity: .25; }
  .page-section { padding: 44px 0; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .video-grid, .metric-grid, .steps, .steps.cols-5 { grid-template-columns: 1fr; gap: 16px; }
  .steps { row-gap: 28px; }
  .highlight-card { padding: 34px 26px; }
  .page-cta-card { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .insight { grid-template-columns: 1fr; gap: 8px; padding: 26px 24px; }
}

@media (max-width: 440px) {
  .hero .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-art { height: 330px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid article::after { display: none; }
  .stats-grid article:not(:last-child) { border-bottom: 1px solid #e3e4ea; }
  .case-metrics { grid-template-columns: 1fr; gap: 16px; }
  .case-metrics > div, .case-metrics > div + div { padding: 0; border-left: 0; }
  .case-metrics > div + div { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
