/* ==========================================================================
   Start Performance Marketing — design system
   RTL-first. Logical properties throughout.
   ========================================================================== */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-hebrew-hebrew-400.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-hebrew-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-hebrew-hebrew-500.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-hebrew-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-hebrew-hebrew-600.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-hebrew-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-hebrew-hebrew-700.woff2") format("woff2"); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-hebrew-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Color */
  --ink: #0D1838;
  --ink-2: #26365C;
  --muted: #56658A;
  --paper: #F4F8FF;
  --white: #FFFFFF;
  --line: #E1E9F7;
  --line-2: #CFDBF0;
  --blue: #2D7FF9;
  --blue-deep: #1B5FD1;
  --blue-2: #79B6FF;
  --blue-soft: #E7F0FF;
  --yellow: #FFCF2E;
  --yellow-deep: #F2B800;
  --yellow-2: #FFE584;
  --yellow-soft: #FFF6D8;
  --navy: #13213F;
  --navy-2: #1C2D52;
  --focus: #2D7FF9;

  /* Type */
  --font: "IBM Plex Sans Hebrew", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Fraunces", "IBM Plex Sans Hebrew", Georgia, serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.1rem + .9vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --fs-2xl: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);

  /* Space & shape */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(13, 24, 56, .06), 0 6px 20px -8px rgba(13, 24, 56, .14);
  --shadow-2: 0 2px 4px rgba(13, 24, 56, .05), 0 24px 60px -24px rgba(29, 74, 160, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.latin { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -.02em; }
[dir="ltr"], .ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 12px;
  font-weight: 700; font-size: var(--fs-base); text-decoration: none; line-height: 1; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 24px -12px rgba(242, 184, 0, .9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { background: var(--yellow-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn .ico-arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(-4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-sm); border-radius: 10px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: var(--blue-soft); box-shadow: inset 0 0 0 1.5px var(--blue-2); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; box-shadow: none; }
.btn--dark:hover { background: var(--ink-2); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--blue-deep); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { display: block; height: 52px; width: auto; }

.main-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--blue-soft); color: var(--ink); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.dropdown {
  list-style: none;
  position: absolute; top: calc(100% + 10px); inset-inline-start: -12px;
  min-width: 320px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-dropdown.is-open .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; } }
.dropdown a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.dropdown a:hover { background: var(--paper); }
.dropdown .dd-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; }
.dropdown .dd-ico svg { width: 20px; height: 20px; }
.dropdown strong { font-size: var(--fs-sm); font-weight: 600; }
.dropdown span.dd-desc { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-contact[aria-current="page"] { background: var(--blue-soft); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
}
@media (max-width: 960px) {
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header-inner { height: 70px; }
  .logo img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .header-contact { display: none; }
  .header-cta .header-talk { min-height: 40px; padding: 0 14px; font-size: var(--fs-xs); }
  .header-cta { margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset: 70px 0 0 0; margin: 0;
    background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: var(--fs-md); border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: none; }
  .dropdown { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .mobile-nav-cta { display: grid !important; gap: 12px; margin-top: 24px; }
}
.mobile-nav-cta { display: none !important; }

/* ---------- Floating 3D/SVG block decor ---------- */
.decor { position: absolute; pointer-events: none; z-index: 0; user-select: none; }
.decor img { width: 100%; height: auto; }
.decor--blur-sm { filter: blur(2px); opacity: .9; }
.decor--blur { filter: blur(6px); opacity: .55; }
.decor--blur-lg { filter: blur(14px); opacity: .45; }
.decor--soft { opacity: .5; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(121, 182, 255, .18), transparent 60%),
    radial-gradient(700px 400px at 85% 90%, rgba(255, 207, 46, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; min-height: min(640px, 78vh); }
.hero-kicker { display: flex; gap: .9em; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 500; color: var(--blue); letter-spacing: .35em; direction: ltr; justify-content: flex-end; margin-bottom: 18px; }
.hero h1 { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 24px; }
.hero-lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; font-weight: 600; direction: ltr; text-align: end; }
.hero-meta span { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.hero-meta .hm-ico { display: flex; justify-content: flex-end; height: 36px; align-items: center; }
.hero-meta .hm-ico svg { width: 32px; height: 32px; }
.hero-side-tag { position: absolute; left: var(--gutter); top: 40px; z-index: 2; direction: ltr; text-align: left; padding-left: 16px; border-left: 1.5px solid var(--ink-2); font-size: 11px; letter-spacing: .32em; line-height: 2.1; color: var(--ink-2); text-transform: uppercase; }

/* ---------- CSS 3D Tetris stage ----------
   Grid units: --x (column, centred), --y (row, up), --z (depth). One unit = --s. */
.stage { position: relative; height: clamp(380px, 44vw, 560px); perspective: 1700px; perspective-origin: 50% 20%; }
.scene {
  --s: clamp(40px, 4.1vw, 58px);
  --rx: -24deg; --ry: 34deg;
  position: absolute; left: 50%; top: 88%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
}
.floor {
  position: absolute; left: 0; top: 0;
  width: calc(var(--s) * var(--w) + var(--s) * .5); height: calc(var(--s) * 1.7);
  margin: calc(var(--s) * -.85) 0 0 calc((var(--s) * var(--w) + var(--s) * .5) / -2);
  transform: translateY(calc(var(--s) * .5 + 2px)) rotateX(90deg);
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(45,127,249,.10) 0 1px, transparent 1px var(--s)),
    linear-gradient(180deg, rgba(231,240,255,.95), rgba(207,223,248,.7));
  background-position: calc(var(--s) * .25) 0, 0 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.9) inset, 0 30px 60px rgba(29,74,160,.18);
}
.tetro { position: absolute; transform-style: preserve-3d; transform: translate3d(calc(var(--gx) * var(--s)), calc(var(--gy) * var(--s) * -1), 0); }
.tetro.falling { transition: transform 46ms linear; }
.tetro-inner { transform-style: preserve-3d; transform: rotateZ(var(--rot, 0deg)); transition: transform .14s ease-out; }
.tetro-inner.lock { animation: lock .2s ease-out; }
@keyframes lock { 0% { transform: none; } 45% { transform: translateY(calc(var(--s) * .07)); } 100% { transform: none; } }
.tetro.next .tetro-inner { animation: hover 3.2s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(var(--s) * -.18)); } }
.cube {
  --k: 1;
  position: absolute; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--x) * var(--s)), calc(var(--y) * var(--s) * -1), calc(var(--z) * var(--s))) scale3d(var(--k), var(--k), var(--k));
  transition: transform .34s cubic-bezier(.3, 1.25, .5, 1);
}
.cube.vanish { --k: 0; transition: transform .24s ease-in; }
.cube i { position: absolute; inset: 0; border-radius: 18%; }
.cube .ft { transform: translateZ(calc(var(--s) / 2)); }
.cube .rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .lt { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .tp { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube.flash i { animation: flash .5s ease-in-out; }
@keyframes flash { 0%, 50%, 100% { filter: none; } 25%, 75% { filter: brightness(1.7) saturate(.35); } }

.c-blue .tp { background: linear-gradient(135deg, #D6E9FF 0%, #9CCBFF 55%, #7DB7FF 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75), inset 0 0 18px rgba(255,255,255,.55); }
.c-blue .ft { background: linear-gradient(180deg, #5FA4FF 0%, #2F7FF5 70%, #2569DB 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), inset 0 10px 22px rgba(255,255,255,.28); }
.c-blue .rt, .c-blue .lt, .c-blue .bk { background: linear-gradient(180deg, #4C93FA 0%, #2468D8 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), inset 0 8px 18px rgba(255,255,255,.18); }
.c-yellow .tp { background: linear-gradient(135deg, #FFF8D2 0%, #FFE98A 55%, #FFDF5E 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8), inset 0 0 18px rgba(255,255,255,.6); }
.c-yellow .ft { background: linear-gradient(180deg, #FFE16A 0%, #FFCF2E 70%, #F2BC08 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45), inset 0 10px 22px rgba(255,255,255,.35); }
.c-yellow .rt, .c-yellow .lt, .c-yellow .bk { background: linear-gradient(180deg, #FFD83F 0%, #EBB203 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), inset 0 8px 18px rgba(255,255,255,.22); }
.c-ice .tp { background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(220,234,255,.85)); box-shadow: inset 0 0 0 1.5px #fff; }
.c-ice .ft, .c-ice .rt, .c-ice .lt, .c-ice .bk { background: linear-gradient(180deg, rgba(232,241,255,.92), rgba(196,218,250,.85)); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9); }

.c-ghost i { background: rgba(45,127,249,.05); box-shadow: inset 0 0 0 1.5px rgba(45,127,249,.38); transition: opacity .5s; }
.c-ghost .tp { background: rgba(45,127,249,.10); }

.stage-shadow { position: absolute; left: 50%; top: 84%; width: 64%; height: 70px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(29, 74, 160, .20), transparent); filter: blur(12px); }

/* Before the animation starts, the server-rendered final state is hidden; with reduced motion it simply stays. */
@media (prefers-reduced-motion: no-preference) {
  .js .tetris:not(.is-done) .static { visibility: hidden; }
}
html.a11y-still .tetris .static { visibility: visible !important; }
.tetris.is-playing .static { display: none; }
/* End of the sequence: the next piece falls in (JS clone) and the ghost fades in, then the static piece takes over. */
.tetris.entering .tetro.next.static { visibility: hidden; }
.tetris.entering .tetro.next .tetro-inner { animation: none; }  /* hover starts from rest when the piece appears */
.tetris.entering:not(.ghost-in) .c-ghost.static { visibility: hidden; }

.stage--sm { height: clamp(300px, 30vw, 400px); }
.stage--sm .scene { --s: clamp(34px, 3.4vw, 48px); top: 86%; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section-head { position: relative; z-index: 1; max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { font-size: var(--fs-md); color: var(--muted); }
.tagline { display: inline-block; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); direction: ltr; margin-bottom: 14px; }

/* ---------- Service bands (home) ---------- */
.service-bands { position: relative; }
.band {
  position: relative; overflow: hidden; isolation: isolate;
  display: block; text-align: center; text-decoration: none; color: inherit;
  padding-block: clamp(56px, 7vw, 88px);
  background: linear-gradient(180deg, #F9FBFF 0%, #EEF4FE 100%);
  border-top: 1px solid #fff;
  border-bottom: 1px solid var(--line);
}
.band:nth-child(even) { background: linear-gradient(180deg, #F3F7FF 0%, #E9F1FE 100%); }
.band .wrap { position: relative; z-index: 1; max-width: 760px; }
.band-icon { width: 68px; height: 68px; margin: 0 auto 18px; }
.band-name { display: block; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5.25rem); font-weight: 600; line-height: .95; letter-spacing: -.035em; color: var(--ink); margin-bottom: 14px; }
.band h3 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 12px; }
.band p { color: var(--muted); max-width: 36em; margin-inline: auto; margin-bottom: 18px; }
.band .decor { transition: transform 1.2s var(--ease); }
.band:hover .decor--l { transform: translate3d(-10px, -8px, 0) rotate(-3deg); }
.band:hover .decor--r { transform: translate3d(10px, -8px, 0) rotate(3deg); }
.band-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.band-chips li { font-size: var(--fs-xs); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Clients marquee ---------- */
.clients { padding-block: 36px 40px; background: #fff; border-bottom: 1px solid var(--line); }
.clients-title { display: flex; align-items: center; gap: 18px; justify-content: center; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); direction: ltr; margin-bottom: 26px; }
.clients-title::before, .clients-title::after { content: ""; width: 80px; height: 1px; background: var(--line-2); }
.marquee { position: relative; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee var(--marquee-dur, 48s) linear infinite; will-change: transform; }
.marquee-track > li { padding-inline-end: 64px; flex-shrink: 0; }
.marquee-track > * { unicode-bidi: isolate; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-mark { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 1.25rem; color: #6B7896; letter-spacing: -.01em; filter: grayscale(1); opacity: .85; }
.client-mark.latin { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
/* The track holds two identical copies of the logo set (each wider than the strip); moving by exactly one copy loops with no seam. */
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 1700px) { .marquee { max-width: 1440px; margin-inline: auto; } }

/* ---------- Answer engines demo ---------- */
.engines { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.engines-copy h2 { font-size: var(--fs-2xl); }
.engines-copy p { color: var(--ink-2); font-size: var(--fs-md); }
.engines-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.engines-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.engines-list svg { width: 24px; height: 24px; margin-top: 3px; }
.demo { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.demo-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--paper); direction: ltr; }
.demo-tab { flex: 1; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.demo-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.demo-body { padding: 24px; min-height: 380px; }
.demo-query { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); margin-bottom: 20px; font-size: var(--fs-sm); }
.demo-query svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.demo-query .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue); vertical-align: -3px; animation: caret 1s steps(1) infinite; margin-inline-start: 2px; }
@keyframes caret { 50% { opacity: 0; } }
.demo-panel[hidden] { display: none; }
.demo-result { padding: 14px 0; border-bottom: 1px solid var(--line); }
.demo-result:last-child { border-bottom: 0; }
.demo-result small { display: block; color: #1A7F37; font-size: var(--fs-xs); direction: ltr; text-align: end; }
.demo-result b { display: block; color: #1A4FB5; font-weight: 600; font-size: var(--fs-base); margin: 2px 0; }
.demo-result span { color: var(--muted); font-size: var(--fs-sm); }
.demo-result.is-you, .ai-answer mark { position: relative; }
.demo-result.is-you { background: var(--yellow-soft); margin-inline: -24px; padding-inline: 24px; border-bottom-color: var(--yellow-2); }
.badge-you { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); margin-inline-start: 8px; vertical-align: 2px; }
.ai-answer { font-size: var(--fs-sm); line-height: 1.8; color: var(--ink-2); }
.ai-answer .ai-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.ai-answer .ai-dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); display: grid; place-items: center; color: #fff; }
.ai-answer .ai-dot svg { width: 16px; height: 16px; }
.ai-answer ol { padding-inline-start: 1.2em; }
.ai-answer mark { background: var(--yellow-soft); box-shadow: 0 0 0 2px var(--yellow-soft); border-radius: 4px; color: var(--ink); font-weight: 600; }
.ai-cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-size: 11px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; vertical-align: 2px; }
.ai-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ai-sources span { font-size: var(--fs-xs); padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); direction: ltr; }
.ai-sources span.is-you { background: var(--yellow-soft); border-color: var(--yellow-2); font-weight: 600; }
.demo-note { font-size: var(--fs-xs); color: var(--muted); padding: 0 24px 18px; }

/* ---------- Process ---------- */
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 28px 24px 0 24px; border-inline-start: 1px solid var(--line-2); }
.step:first-child { border-inline-start-color: transparent; }
.step-num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1rem; color: var(--blue); font-weight: 600; margin-bottom: 18px; direction: ltr; justify-content: flex-end; }
.step-num::after { content: ""; display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--yellow); box-shadow: 4px 4px 0 var(--blue-2); }
.step h3 { font-size: var(--fs-md); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Principles / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.feature { position: relative; }
.feature-ico { position: relative; width: 56px; height: 56px; margin-bottom: 20px; }
.feature-ico span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-md); }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; align-items: stretch; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.team-media { position: relative; min-height: 380px; background: #EEF2F8; }
.team-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.team-copy h2 { font-size: var(--fs-2xl); }
.team-copy p { color: var(--ink-2); }

/* ---------- Testimonials ---------- */
.quotes { position: relative; }
.quote-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: .7; height: 40px; color: var(--blue); margin-bottom: 10px; }
.quote blockquote { margin: 0 0 22px; font-size: var(--fs-md); line-height: 1.65; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-avatar { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.quote figcaption strong { display: block; font-size: var(--fs-sm); }
.quote figcaption span { font-size: var(--fs-xs); color: var(--muted); }
.quote-nav { display: flex; gap: 8px; margin-top: 16px; }
.quote-nav button { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.quote-nav button:hover { background: var(--blue-soft); }
.quote-nav svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: var(--fs-2xl); }
.faq-head p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-weight: 600; font-size: var(--fs-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-soft); flex-shrink: 0; transition: background-color .2s, transform .3s var(--ease); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--blue-deep); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] summary .pm { background: var(--yellow); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }
.faq-answer p:last-child { margin: 0; }

/* ---------- Articles ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
.card:hover { border-color: var(--blue-2); box-shadow: var(--shadow-2); }
.card-cover { aspect-ratio: 16 / 9; margin: -28px -28px 24px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: linear-gradient(160deg, #EEF4FF, #DCE8FC); position: relative; }
.card-cover img { position: absolute; height: 76%; width: auto; left: 50%; top: 12%; transform: translateX(-50%); }
.card-cover--y { background: linear-gradient(160deg, #FFF9E3, #FFEDB0); }
.card-cat { font-size: var(--fs-xs); font-weight: 600; color: var(--blue-deep); margin-bottom: 8px; }
.card h3, .card .card-title { font-size: var(--fs-md); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.card .link-arrow { margin-top: 8px; }
.card-meta { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- CTA band with form ---------- */
.cta-band { position: relative; padding-block: var(--section); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: radial-gradient(800px 400px at 0% 100%, rgba(45, 127, 249, .35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.cta-box h2 { font-size: var(--fs-2xl); color: #fff; }
.cta-box p { color: #C3CEE6; font-size: var(--fs-md); }
.cta-box .tagline { color: #9DB0D6; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.cta-contacts svg { width: 20px; height: 20px; color: var(--yellow); }
.cta-box .decor { z-index: -1; }

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 52px; line-height: 1.3; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326365C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 16px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 127, 249, .18); }
.field input[aria-invalid="true"] { border-color: #D93025; }
.field-error { font-size: var(--fs-xs); color: #D93025; min-height: 1em; }
.on-dark .field label { color: #DCE4F4; }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: #8FA0C4; }
.on-dark .field select option { color: var(--ink); }
.on-dark .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DCE4F4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 16px center; }
.on-dark .field-error { color: #FF9C94; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); flex-shrink: 0; }
.on-dark .check { color: #C3CEE6; }
.on-dark .check a { color: #fff; }
.form-success { display: none; padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-align: center; }
.form-success svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--yellow); }
.form-success h3 { color: #fff; font-size: var(--fs-lg); }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-sm); background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
.on-dark .form-status { background: rgba(255, 156, 148, .12); color: #FFD1CC; border-color: rgba(255, 156, 148, .35); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); background: radial-gradient(900px 420px at 15% 0%, rgba(121, 182, 255, .2), transparent 60%), linear-gradient(180deg, #fff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.page-hero .eyebrow-latin { display: block; font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); font-weight: 600; line-height: .95; letter-spacing: -.035em; color: var(--blue); margin-bottom: 12px; direction: ltr; text-align: end; width: fit-content; }
.page-hero h1 { font-size: var(--fs-2xl); letter-spacing: -.02em; margin-bottom: 18px; }
.page-hero .lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 38em; margin-bottom: 28px; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; max-width: 820px; }

.breadcrumbs { position: relative; z-index: 1; margin-bottom: clamp(24px, 4vw, 40px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--line-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-deep); text-decoration: underline; }

/* Answer-first summary (GEO) */
.tldr { position: relative; z-index: 2; margin-top: -40px; }
.tldr-box { display: grid; grid-template-columns: 200px 1fr; gap: 24px 40px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.tldr-box h2 { font-size: var(--fs-md); margin: 0; display: flex; gap: 10px; align-items: center; }
.tldr-box h2::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--yellow); box-shadow: 4px 4px 0 var(--blue-2); flex-shrink: 0; }
.tldr-box p { margin: 0 0 .75em; color: var(--ink-2); }
.tldr-box ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.tldr-box li { position: relative; padding-inline-start: 26px; font-size: var(--fs-sm); color: var(--ink-2); }
.tldr-box li svg { position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; color: var(--blue); }

/* Prose content */
.content-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 110px; font-size: var(--fs-sm); }
.toc strong { display: block; margin-bottom: 12px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.toc ol { list-style: none; padding: 0; margin: 0; border-inline-start: 1px solid var(--line-2); }
.toc a { display: block; padding: 7px 16px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.45; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-inline-start-color: var(--blue); font-weight: 600; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.8em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-md); margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul > li { position: relative; padding-inline-start: 22px; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.prose a { color: var(--blue-deep); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; }
.callout { margin: 2em 0; padding: 22px 24px; border-radius: var(--r); background: var(--yellow-soft); border: 1px solid var(--yellow-2); }
.callout p:last-child { margin: 0; }
.callout--blue { background: var(--blue-soft); border-color: #CFE1FF; }
.table-scroll { overflow-x: auto; }

/* Deliverables grid */
.deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.deliver-item { background: #fff; padding: 28px; }
.deliver-item svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: 14px; }
.deliver-item h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.deliver-item p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Related services */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.related a:hover { border-color: var(--blue-2); }
.related .r-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; }
.related .r-ico svg { width: 24px; height: 24px; }
.related strong { display: block; }
.related span { font-size: var(--fs-xs); color: var(--muted); }

/* Hub cards (PPC / services) */
.hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hub-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.hub-card:hover { border-color: var(--blue-2); box-shadow: var(--shadow-2); }
.hub-card .h-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; }
.hub-card .h-ico svg { width: 28px; height: 28px; }
.hub-card h3 { font-size: var(--fs-lg); margin: 4px 0 0; }
.hub-card p { color: var(--muted); margin: 0; flex: 1; }

/* Glossary */
.gloss-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; position: sticky; top: 84px; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); padding: 12px 0; }
.gloss-nav a { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.gloss-nav a:hover { background: var(--blue-soft); }
.gloss-search { margin-bottom: 18px; max-width: 520px; }
.gloss-group h2 { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--blue); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 40px; scroll-margin-top: 160px; }
.gloss-term { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 24px; scroll-margin-top: 160px; }
.gloss-term dt { font-weight: 700; }
.gloss-term dt small { display: block; font-weight: 400; color: var(--muted); direction: ltr; text-align: end; width: fit-content; }
.gloss-term dd { margin: 0; color: var(--ink-2); }

/* Jobs */
.jobs { display: grid; gap: 20px; }
.job { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.job h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-tags span { font-size: var(--fs-xs); padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.job ul { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; }
a.contact-card:hover { border-color: var(--blue-2); }
.contact-card .c-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .c-ico svg { width: 22px; height: 22px; color: var(--blue-deep); }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); font-size: var(--fs-sm); }
.form-panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.form-panel .form-success { background: var(--paper); border-color: var(--line); }
.form-panel .form-success h3 { color: var(--ink); }

/* Article */
.article-head { max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 24px; border-radius: var(--r); background: var(--paper); }
.author-box .quote-avatar { width: 56px; height: 56px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: var(--fs-sm); max-width: 32ch; margin-top: 16px; }
.footer-col h2 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-2); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--blue-deep); text-decoration: underline; }
.footer-col address { font-style: normal; display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Floating actions ---------- */
.fab-wa { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; color: #fff; }

.a11y-btn { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-2); }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel { position: fixed; inset-inline-end: 20px; bottom: 84px; z-index: 95; width: min(320px, calc(100vw - 40px)); padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: var(--fs-base); display: flex; justify-content: space-between; align-items: center; }
.a11y-panel h2 button { border: 0; background: none; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 4px 8px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { min-height: 64px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: var(--fs-xs); font-weight: 600; }
.a11y-grid button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-panel .a11y-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: var(--fs-xs); }
.a11y-panel .a11y-foot button { border: 0; background: none; text-decoration: underline; cursor: pointer; padding: 0; }

html.a11y-text-lg { font-size: 112.5%; }
html.a11y-text-xl { font-size: 125%; }
html.a11y-contrast body { filter: contrast(1.25); }
html.a11y-contrast .hero-lead, html.a11y-contrast p { color: var(--ink) !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

.cookie { position: fixed; inset-inline-start: 92px; inset-inline-end: 84px; bottom: 20px; z-index: 96; max-width: 560px; margin-inline-start: auto; padding: 20px 22px; border-radius: var(--r); background: var(--ink); color: #DCE4F4; box-shadow: var(--shadow-2); display: grid; gap: 14px; font-size: var(--fs-sm); }
.cookie[hidden] { display: none; }
.cookie a { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cookie .btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: var(--section); }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--blue); font-weight: 600; letter-spacing: -.05em; }


/* ---------- Additions: hero line, client logos, team, blog tools ---------- */
.h1-line { display: block; color: var(--ink-2); font-weight: 600; font-size: .62em; letter-spacing: -.01em; margin-top: .25em; }
.band .link-arrow { position: relative; z-index: 1; }
.band .band-name { margin: 0 0 14px; }
.marquee-track { list-style: none; margin: 0; padding: 0; }
.marquee-track li { display: flex; align-items: center; }
.client-mark--img { height: 56px; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.client-mark--img img { object-fit: contain; max-width: none; }
.client-mark--img:hover { filter: none; opacity: 1; }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.person { display: flex; flex-direction: column; gap: 18px; }
.person-photo { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: visible; }
.person-photo img, .person-photo .person-initials { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r-lg); object-fit: cover; }
.person-photo img { background: linear-gradient(160deg, #EEF4FF, #DCE8FC); filter: grayscale(1) contrast(1.04); }
.person-initials {
  display: grid; place-items: center;
  font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 700; color: var(--blue);
  background:
    repeating-linear-gradient(0deg, rgba(45,127,249,.07) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(45,127,249,.07) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #F4F8FF, #DCE8FC);
  border: 1px solid var(--line);
}
.person-block { position: absolute; width: 22%; aspect-ratio: 1; inset-inline-start: -10px; bottom: -10px; border-radius: 10px; background: var(--yellow); box-shadow: 0 10px 24px -10px rgba(242,184,0,.9); }
.person--1 .person-block { background: var(--blue); box-shadow: 0 10px 24px -10px rgba(45,127,249,.8); }
.person--2 .person-block { background: var(--navy); box-shadow: 0 10px 24px -10px rgba(19,33,63,.7); }
.person-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 4px; }
.person-meta h3 { font-size: var(--fs-md); margin: 0 0 2px; }
.person-meta p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.person-in { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: #0A66C2; flex-shrink: 0; transition: background-color .2s, border-color .2s; }
.person-in:hover { background: var(--blue-soft); border-color: var(--blue-2); }
.person-in svg { width: 20px; height: 20px; }
.team-join { margin: 36px 0 0; }

.updated { margin-top: 2em; font-size: var(--fs-xs); color: var(--muted); }

.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.blog-filter button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; color: var(--ink-2); transition: background-color .2s, border-color .2s; }
.blog-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.card[hidden] { display: none; }
.card-cover--g { background: linear-gradient(160deg, #EAF6F1, #CFEBDF); }
.card-cover--n { background: linear-gradient(160deg, #F1F3F8, #DDE3EF); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.related-posts .cards { margin-top: 8px; }
.key-takeaways { margin: 2em 0; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.key-takeaways h2 { font-size: var(--fs-md) !important; margin: 0 0 12px !important; }

@media (max-width: 960px) {
  .people { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .people { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

/* ---------- Reveal (single, subtle) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(3) { border-inline-start-color: transparent; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .page-hero-grid, .engines, .faq, .team, .cta-box, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero .stage { order: -1; height: 330px; margin-bottom: -8px; }
  .hero-side-tag { display: none; }
  .hero-kicker { letter-spacing: .25em; }
  .page-hero .stage { display: none; }
  .faq-head { position: static; }
  .features, .cards, .related, .deliver { grid-template-columns: 1fr 1fr; }
  .tldr-box { grid-template-columns: 1fr; }
  .team-media { min-height: 260px; }
  .gloss-term { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  :root { --fs-base: 1rem; }
  .features, .cards, .related, .deliver, .hub, .steps, .steps--3 { grid-template-columns: 1fr; }
  .step { border-inline-start: 0; border-top: 1px solid var(--line-2); padding: 24px 0 0; }
  .step:first-child { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .tldr-box ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .band .decor { opacity: .35; }
  .demo-body { padding: 18px; }
  .demo-result.is-you { margin-inline: -18px; padding-inline: 18px; }
  .gloss-nav { top: 70px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-meta strong { font-size: 1.75rem; }
  .hero-meta span { font-size: var(--fs-xs); }
  .fab-wa { width: 50px; height: 50px; inset-inline-start: 14px; bottom: 14px; }
  .fab-wa svg { width: 26px; height: 26px; }
  .a11y-btn { width: 46px; height: 46px; inset-inline-end: 14px; bottom: 14px; }
  .cookie { inset-inline: 12px; bottom: 76px; }
  .hero .stage .scene { --s: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 24px; }
  .marquee-track > li[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .site-footer, .fab-wa, .a11y-btn, .cookie, .cta-band, .decor, .stage { display: none !important; }
  body { color: #000; }
}
