/* ==========================================================================
   earnX.ai — Page sections
   ========================================================================== */

/* =========================== HOME ======================================= */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 24px 0 32px; overflow: hidden; }
.hero > .container { width: min(var(--container), 100% - 2 * var(--gutter)); }
.hero__grid > *, .sol-hero__grid > *, .car-hero__grid > *, .about-hero__grid > *, .newsletter__grid > *, .spaces__grid > * { min-width: 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); width: 100%; align-items: center; gap: clamp(32px, 3.5vw, 56px); }
.hero__copy { max-width: 600px; }
.hero__copy .eyebrow { margin-left: 2px; }
.hero__title { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title > span:first-child { padding-left: 2px; }
.hero__hl { position: relative; margin-top: 14px; padding: 0.06em 0.55em; background: var(--mint); color: var(--lime-700); }
/* corner rails with dots (Figma: lines 108 + 14px dots) */
.hero__hl::before, .hero__hl::after {
  content: ""; position: absolute; width: 14px;
  background: linear-gradient(var(--lime-600), var(--lime-600)) center / 2px 100% no-repeat;
}
.hero__hl::before { left: -7px; top: -20px; bottom: -8px; background: radial-gradient(circle at 50% 7px, var(--lime-600) 6px, transparent 6.6px), linear-gradient(var(--lime-600), var(--lime-600)) center 7px / 2px 100% no-repeat; }
.hero__hl::after { right: -7px; top: 0; bottom: -27px; background: radial-gradient(circle at 50% calc(100% - 7px), var(--lime-600) 6px, transparent 6.6px), linear-gradient(var(--lime-600), var(--lime-600)) center top / 2px calc(100% - 7px) no-repeat; }
.hero__lead { margin: 34px 0 32px; max-width: 560px; }

.audience { position: relative; justify-self: end; width: min(100%, 580px, calc((100svh - var(--header-h) - 170px) * 1.25)); }
.audience__label { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-md); color: var(--ink); margin: 0 0 12px 2px; }
.audience__tabs { display: flex; gap: 2px; padding: 5px 6px; border-radius: 120px; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 4px 20px rgba(0,0,0,.06); overflow: hidden; }
.audience__tabs::-webkit-scrollbar { display: none; }
.audience__tabs button { flex: 1 1 auto; min-width: 0; padding: 7px clamp(8px, 1vw, 14px); border-radius: 104px; font-family: var(--font-head); font-weight: 500; font-size: clamp(12.5px, .55vw + 7px, 15px); color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.audience__tabs button { transition: background .3s, color .3s, transform .2s; }
.audience__tabs button:hover:not(.is-active) { color: var(--ink); background: var(--mint); box-shadow: inset 0 0 0 1px #e1f5a3; }
.audience__tabs button.is-active { background: var(--lime); color: var(--ink); font-weight: 600; }
.audience__stage { position: relative; margin-top: 22px; aspect-ratio: 550 / 455; }
.aud-card {
  position: absolute; inset: 0; display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 8%; padding: 0 8% 0 11%;
  border-radius: var(--radius-xl); background: var(--mint); border: 8px solid var(--white); box-shadow: 0 20px 86px rgba(0,0,0,.06); overflow: hidden;
  opacity: 0; transform: translateY(70%); transition: transform .75s var(--ease), opacity .45s var(--ease); pointer-events: none;
}
.aud-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(to bottom, rgba(249,254,235,0), var(--mint)); pointer-events: none; }
.aud-card--gray { background: var(--gray-50); }
.aud-card--gray::after { background: linear-gradient(to bottom, rgba(249,249,249,0), var(--gray-50)); }
.aud-card.is-active { opacity: 1; transform: none; z-index: 2; pointer-events: auto; }
.aud-card.is-prev { opacity: 0; transform: translateY(-4%) scale(.94); z-index: 1; transition: transform .75s var(--ease), opacity .6s .15s var(--ease); }
.aud-card__img { width: 100%; max-width: 170px; justify-self: center; align-self: start; margin-top: 18%; filter: drop-shadow(0 12px 18px rgba(0,0,0,.12)); }
.aud-card__img--wide { max-width: 170px; }
.aud-card__flow { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; margin: 0; font-family: var(--font-head); font-weight: 500; }
.aud-card__flow dt { font-size: var(--fs-sm); color: #a4a4a4; }
.aud-card__flow dd { margin: 0; font-size: var(--fs-md); color: var(--ink); }
.aud-card__flow dd.is-outcome { color: var(--purple); }
.aud-card__flow > img { width: 22px; height: 22px; }
.audience__tip { position: absolute; z-index: 5; left: 0; top: 0; padding: 4px 14px; border-radius: 40px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none; transform: translate(14px, 18px); opacity: 0; transition: opacity .2s; }
.audience__tip.is-visible { opacity: 1; }

/* Proven results */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 35px); }
.stat { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: clamp(20px, 2vw, 28px) 26px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.stat::before { /* faded grid decoration on the right (Figma: line grid at 36% opacity) */
  content: ""; position: absolute; right: -30px; top: -6px; width: 228px; height: 157px; opacity: .5;
  background-image: linear-gradient(to right, #d9d9d9 1px, transparent 1px), linear-gradient(to bottom, #d9d9d9 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 85%); mask-image: linear-gradient(to left, #000 10%, transparent 85%);
}
.stat .stat__icon { margin: 0; position: relative; display: grid; place-items: center; width: clamp(68px, 6vw, 88px); aspect-ratio: 1; border-radius: 8px; background: var(--mint); flex: none; }
.stat__icon img { width: 45%; height: auto; }
.stat strong { display: block; font-weight: 800; font-size: var(--fs-stat); line-height: 1.25; color: var(--black); }
.stat > div span { display: block; margin-top: 2px; font-size: var(--fs-h6); font-weight: 500; color: var(--muted); }
.stat > div { position: relative; }

/* Our Expertise */
.exp-list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); padding-bottom: 24px; }
.exp::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: #000; opacity: calc(var(--dim, 0)); pointer-events: none; }
.exp { position: sticky; top: calc(var(--header-h) + 24px + var(--k, 0) * 18px); transform: scale(var(--s, 1)); transform-origin: 50% 0; will-change: transform; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(300px, 25vw, 359px); border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; }
.exp--gray { background: var(--gray-50); }
.exp--mint { background: var(--mint); }
.exp::before { content: ""; position: absolute; z-index: -1; width: 45%; aspect-ratio: 545 / 477; border-radius: 50%; top: -11%; }
.exp--media-left::before { left: -18%; background: #ececec; }
.exp--media-right::before { right: -18%; background: var(--mint-3); }
.exp__body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.exp--media-left .exp__body { padding-left: clamp(24px, 3vw, 40px); }
.exp--media-right .exp__body { padding-left: clamp(28px, 7vw, 84px); }
.exp__num { font-weight: 800; font-size: clamp(3rem, 3.5vw, 4.375rem); line-height: 1.25; color: transparent; -webkit-text-stroke: 1px var(--black); margin-bottom: 6px; }
.exp--mint .exp__num { -webkit-text-stroke-color: #000; }
.exp h3 { font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; color: var(--black); }
.exp p { font-size: var(--fs-lg); line-height: 1.45; color: var(--muted); font-weight: 500; max-width: 543px; }
.exp__media { position: relative; min-height: 280px; }
.exp__media--photo { min-height: 0; }
.exp__photo { position: relative; container-type: inline-size; width: 100%; }
.exp__photo > img { width: 100%; height: auto; }
/* chip sits exactly over the area reserved for it in the photo crop */
.exp__photo .exp__chip--users { left: 53.2%; top: 68.6%; width: 47.6%; aspect-ratio: 263 / 78; right: auto; bottom: auto; transform: none; padding: 0 3.8cqw; gap: 1.4cqw; align-items: center; }
.exp__photo .exp__chip--users .avatars img { width: 6.4cqw; height: 6.4cqw; min-width: 0; }
.exp__photo .exp__chip--users .avatars img + img { margin-left: -1.8cqw; }
.exp__photo .exp__chip--users strong { font-size: 3.2cqw; white-space: nowrap; }
.exp__photo .exp__chip--users small { font-size: 2.15cqw; }
.exp__cutout { position: absolute; bottom: 0; height: auto; }
.exp__cutout--group { left: 0; bottom: 0; height: 100%; width: auto; max-width: none; }
.exp__cutout--pair { right: 24%; bottom: 0; height: 98%; width: auto; max-width: none; }
.exp__cutout--trio { left: 12.5%; bottom: 0; height: 84%; width: auto; max-width: none; }
.exp__cutout--duo { right: 34%; bottom: 0; height: 89%; width: auto; max-width: none; }
.exp__chip { position: absolute; z-index: 2; display: flex; gap: 8px; font-family: var(--font-head); }
.exp__chip strong { font-weight: 600; font-size: var(--fs-lg); color: var(--ink); line-height: 1.4; }
.exp__chip small { display: block; font-size: 12px; color: #8f8f8f; font-weight: 500; }
.exp__chip small.label { font-size: 14px; color: var(--ink); font-weight: 600; }
.exp__chip b { font-weight: 600; font-size: 24px; line-height: 1.4; color: var(--ink); }
.exp__chip .row { display: flex; align-items: center; gap: 8px; }
.exp__chip--users { align-items: center; left: 50%; bottom: 34px; padding: 16px 22px; }
.exp__chip--users strong { color: var(--green-ink); }
.exp__chip--users .avatars img + img { margin-left: -10px; }
.exp__chip--match { right: 26px; bottom: 26px; flex-direction: column; }
.avatars--sm img { width: 29px; height: 29px; }
.avatars--sm img + img { margin-left: -8px; }
.exp__media .exp__cutout { z-index: 1; }
.exp__chip--returning { z-index: 0; left: 31px; top: 27px; gap: 14px; padding: 20px 22px; }
.exp__chip-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f4ffdb; flex: none; }
.exp__chip--ltv { right: -6%; bottom: 22px; flex-direction: column; gap: 6px; }
.exp__chip--perf { right: 26px; bottom: 26px; flex-direction: column; gap: 16px; }
.exp__chip-head { padding-bottom: 16px; border-bottom: 1px solid #e0e0e0; }
.exp__perf { gap: 16px !important; }
.exp__perf b { font-size: 18px; display: block; }
.exp__perf small { font-size: 14px; color: #737373; }

/* User Experience stepper */
.ux-section { padding-top: calc(var(--section-y) * .4); }
.ux-section .section-head { margin-bottom: clamp(40px, 5vw, 68px); }
.ux { background: var(--gray-50); overflow: hidden; }
.ux__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: clamp(520px, 43vw, 626px); }
.ux__copy { position: relative; min-height: 340px; }
.ux__pane { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.ux__pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ux__step { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h6); color: var(--violet); letter-spacing: .04em; }
.ux__pane h3 { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 3vw + .5rem, 4rem); line-height: 1.2; color: var(--ink); }
.ux__desc { margin-top: 6px; max-width: 320px; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-h6); line-height: 1.4; color: #6f6f6f; }
.ux__pane .btn { align-self: flex-start; margin-top: 48px; }
.ux__visual { position: relative; align-self: stretch; display: flex; justify-content: center; align-items: center; }
.ux__glow { position: absolute; left: 50%; bottom: -46%; width: 594px; max-width: 120%; aspect-ratio: 594 / 647; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198,244,50,.45), rgba(198,244,50,.12) 60%, rgba(249,249,249,0)); }
.ux__phone { position: absolute; width: clamp(200px, 17vw, 248px); height: auto; opacity: 0; transform: translateY(120%); filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); transition: none; }
/* incoming phone rises from the bottom after the previous one has dropped away */
.ux__phone.is-active { opacity: 1; transform: none; transition: transform .8s var(--ease) .55s, opacity .4s ease .55s; }
/* outgoing phone falls to the bottom, growing and fading out */
.ux__phone.is-leaving { opacity: 0; transform: translateY(85%) scale(1.25); transition: transform .75s cubic-bezier(.55,0,.75,.4), opacity .7s ease; }
.ux__note { position: absolute; left: 90%; top: 6%; width: 240px; height: 190px; pointer-events: none; }
.ux__note-text { position: absolute; right: 0; top: 0; width: 210px; text-align: center; font-family: "Comic Neue", cursive; font-weight: 700; font-style: italic; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ux__note-text.is-active { opacity: 1; transform: none; }
.ux__arrow { position: absolute; left: 6px; top: 88px; width: 78px; height: 69px; }
.ux__tabs { justify-self: end; display: flex; flex-direction: column; }
.ux__tabs button { position: relative; padding: 12px 24px; text-align: left; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-lg); color: var(--muted); border-left: 1px solid #c9c9c9; transition: color .3s; }
.ux__tabs button::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 100%; background: var(--lime-700); transform: scaleY(0); transform-origin: top; }
.ux__tabs button.is-active { color: var(--lime-700); font-weight: 600; }
.ux__tabs button.is-active::before { animation: fillY var(--step-dur, 3s) linear forwards; }
@keyframes fillY { to { transform: scaleY(1); } }

/* ---------- Home responsive ---------- */
@media (max-width: 1180px) {
  .ux__note { left: 84%; }
}
@media (max-width: 1023px) {
  .hero { min-height: 0; padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; }
  .audience { justify-self: center; width: 100%; max-width: 560px; }
  .hero__copy { max-width: none; }
  .audience { max-width: 560px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .exp, .exp--media-right { grid-template-columns: 1fr; }
  .exp--media-right .exp__media { order: -1; }
  .exp__media { min-height: 320px; }
  .exp__body, .exp--media-right .exp__body, .exp--media-left .exp__body { padding: 28px 24px 32px; }
  .exp::before { width: 70%; }
  .exp__chip--ltv { right: 16px; }
  .exp { position: relative; top: auto; transform: none; }
  .exp__cutout--pair { right: 10%; }
  .exp__chip--users { left: auto; right: 16px; bottom: 16px; }
  .exp__cutout--duo { right: 0; height: 92%; }
  .ux__grid { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 0; min-height: 0; }
  .ux__tabs { order: -1; justify-self: start; flex-direction: row; }
  .ux__tabs button { border-left: 0; border-bottom: 1px solid #c9c9c9; padding: 10px 16px; }
  .ux__tabs button::before { left: 0; top: auto; bottom: -1px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; }
  .ux__tabs button.is-active::before { animation-name: fillX; }
  .ux__copy { min-height: 300px; }
  .ux__visual { min-height: 460px; }
  .ux__note { display: none; }
}
@keyframes fillX { to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .hero__lead { margin: 28px 0 32px; }
  .aud-card { grid-template-columns: 44% 1fr; padding: 0 6%; gap: 6%; border-width: 6px; border-radius: 24px; }
  .aud-card__flow { gap: 10px; }
  .aud-card__flow dd { font-size: 14px; }
  .aud-card__flow dt { font-size: 12px; }
  .aud-card__flow > img { width: 18px; height: 18px; }
  .exp__media { min-height: 260px; }
  .exp__chip { transform: scale(.88); transform-origin: bottom right; }
  .exp__chip--returning { transform-origin: top left; }
  .exp__chip--perf, .exp__chip--match { right: 12px; bottom: 12px; }
  .exp__cutout--trio { width: 92%; left: 0; }
  .exp__cutout--duo { right: 20%; }
  .exp__cutout--group { left: 50%; transform: translateX(-50%); }
  .gap-scene__art { aspect-ratio: 4 / 3; }
}

/* =========================== SHARED PAGE HERO =========================== */
.page-title { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: clamp(2rem, 1.1vw + 1.35rem, 2.625rem); color: var(--ink); }
.page-title .hl { padding: 0.18em 0.6em; margin-left: -0.6em; }
.page-title > span:first-child { padding-left: 0; }

/* =========================== SOLUTIONS ================================== */
.sol-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 28px 0 36px; }
.sol-hero > .container, .car-hero > .container, .about-hero > .container { width: min(var(--container), 100% - 2 * var(--gutter)); }
.sol-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 586px); gap: clamp(32px, 4vw, 64px); align-items: center; }
.sol-hero__copy { padding-left: 0.6em; }
.sol-hero__copy .lead { max-width: 572px; margin-top: 24px; }
.sol-hero__copy .page-title + .lead { margin-top: 36px; }
.compare { position: relative; display: flex; flex-direction: column; gap: 22px; }
.compare__card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 104px 1fr; gap: clamp(24px, 3.5vw, 42px); align-items: center; padding: 17px clamp(20px, 3vw, 40px) 17px 41px; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid #e6e6e6; }
.compare__card::before { content: ""; position: absolute; z-index: -1; left: -75px; bottom: -76px; width: 262px; height: 152px; border-radius: 50%; background: #f1ffcb; }
.compare__card--good { background: var(--mint); border-color: #d1f65b; }
.compare__phone { width: 104px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); }
.compare h3 { font-weight: 600; font-size: var(--fs-h5); line-height: 1.25; color: var(--black); }
.compare ul { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.compare li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); font-weight: 500; color: var(--muted); }
.compare__arrow { position: absolute; right: 22%; top: calc(50% - 45px); width: 40px; height: 90px; z-index: 2; }

/* Acquisition gap */
.gap-section { padding-bottom: calc(var(--section-y) * .6); }
.gap-scene { position: relative; width: 100%; max-width: 1440px; margin: -24px auto 0; aspect-ratio: 1440 / 560; }
.gap-scene__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.boat { animation: bob 4.5s ease-in-out infinite; transform-origin: 716px 300px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(6px) rotate(1.2deg); } }
.leak__pulse { transform-box: fill-box; transform-origin: center; animation: leakPulse 1.8s ease-out infinite; animation-delay: var(--d); }
@keyframes leakPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.drips circle { animation: drip 2.4s ease-in infinite; }
.drips circle:nth-child(2n) { animation-delay: .4s; }
@keyframes drip { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
.leader { stroke-dashoffset: 0; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.water-front { animation: wave 6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
.problem { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 24px; width: min(36%, 505px); padding: 21px 23px; border-radius: var(--radius-md); background: var(--white); border: 1px solid #e8e8e8; box-shadow: 0 10px 60px rgba(0,0,0,.05); }
.problem__icon { display: grid; place-items: center; width: 60px; height: 54px; border-radius: 8px; background: #feeeeb; flex: none; }
.problem__icon img { width: 28px; height: 28px; }
.problem h3 { font-weight: 600; font-size: var(--fs-lg); line-height: 1.4; color: var(--black); }
.problem p { margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; line-height: 1.4; }
.problem--1 { left: 6.9%; top: 14.6%; }
.problem--2 { left: 59%; top: 3.6%; }
.problem--3 { left: 7.5%; top: 68.9%; width: min(32%, 462px); }
.problem--4 { left: 63%; top: 61.6%; width: min(31%, 446px); }

/* Mechanism */
.mech { border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--mint); padding: 16px; overflow: hidden; }
.mech__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mech__tab { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 70px; padding: 12px; border-radius: 9px; background: var(--white); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-lg); color: var(--ink); line-height: 1.25; transition: box-shadow .3s; }
.mech__tab b { font-weight: 600; font-size: clamp(1.375rem, 1vw + .8rem, 1.75rem); color: #aeaeae; transition: color .3s; }
.mech__tab.is-active b, .mech__tab.is-done b { color: var(--lime-700); }
.mech__tab:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.mech__tab i { position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: var(--lime-700); transform: scaleX(0); transform-origin: left; }
.mech__tab.is-done i { transform: scaleX(1); }
.mech__tab.is-active i { animation: progress var(--step-dur, 3s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.mech__diagram { margin-top: 8px; }
.mech__diagram svg { width: 100%; height: auto; overflow: visible; }
.mech .st { opacity: .1; transition: opacity .7s var(--ease); }
.mech .st-1 { opacity: 1; }
.mech[data-step="1"] .st-2, .mech[data-step="2"] .st-2, .mech[data-step="3"] .st-2,
.mech[data-step="2"] .st-3, .mech[data-step="3"] .st-3,
.mech[data-step="3"] .st-4 { opacity: 1; }
.mech .lbl { opacity: 0; transition: opacity .6s; }
.mech .lbl-1, .mech[data-step="1"] .lbl-2, .mech[data-step="2"] .lbl-2, .mech[data-step="3"] .lbl-2,
.mech[data-step="2"] .lbl-3, .mech[data-step="3"] .lbl-3, .mech[data-step="3"] .lbl-4 { opacity: 1; }
.sig { transform-box: fill-box; transform-origin: center; animation: sigPulse 2s ease-in-out infinite; }
@keyframes sigPulse { 50% { transform: scale(1.12); } }
.mech .user { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
.mech[data-step="2"] .user, .mech[data-step="3"] .user { opacity: 1; transform: none; }
.mech[data-step="2"] .user:nth-child(2) { transition-delay: .12s; } .mech[data-step="2"] .user:nth-child(3) { transition-delay: .24s; }
.mech[data-step="2"] .user:nth-child(4) { transition-delay: .36s; } .mech[data-step="2"] .user:nth-child(5) { transition-delay: .48s; } .mech[data-step="2"] .user:nth-child(6) { transition-delay: .6s; }
.mech .scan { opacity: 0; transition: opacity .5s; }
.mech[data-step="1"] .scan, .mech[data-step="2"] .scan, .mech[data-step="3"] .scan { opacity: 1; }
.mech .flow path { animation: flowDash .8s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -16; } }
.mech .travel { opacity: 0; transition: opacity .4s; }
.mech[data-step="2"] .st-3 .travel, .mech[data-step="3"] .st-3 .travel, .mech[data-step="3"] .st-4 .travel { opacity: 1; }
.gauge-fill { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.mech[data-step="3"] .gauge-fill { stroke-dashoffset: 18; }
.needle { transform-origin: 1068px 287px; transform: rotate(-110deg); transition: transform 1.6s var(--ease); }
.mech[data-step="3"] .needle { transform: rotate(0deg); }

/* Capabilities */
.caps-section { overflow: hidden; }
.caps { display: flex; justify-content: center; align-items: flex-start; padding: 30px 0 70px; }
.cap { position: relative; flex: 0 0 auto; width: clamp(200px, 17.5vw, 252px); padding: 15px 15px 18px; margin-inline: -6px; border-radius: 15px; background: var(--white); border: .65px solid rgba(198,244,50,.9); box-shadow: 0 30px 90px rgba(0,0,0,.10); transition: transform .5s var(--ease), box-shadow .5s, z-index 0s; }
.cap h3 { margin-top: 18px; text-align: center; font-weight: 700; font-size: var(--fs-md); color: var(--black); line-height: 1.25; }
.cap--1 { transform: translateY(40px) rotate(-12deg); }
.cap--2 { transform: translateY(14px) rotate(-8deg); z-index: 1; }
.cap--3 { transform: translateY(0) rotate(0deg); z-index: 2; }
.cap--4 { transform: translateY(14px) rotate(8deg); z-index: 1; }
.cap--5 { transform: translateY(40px) rotate(12deg); }
.cap:hover { transform: rotate(0) translateY(-6px) scale(1.04); z-index: 5; box-shadow: 0 30px 70px rgba(0,0,0,.16); }
.cap__ui { position: relative; aspect-ratio: 221 / 167; border-radius: 10px; background: #f7f7f7; border: .65px solid #d2d2d2; overflow: hidden; font-family: var(--font-head); }
.cap--2 .cap__ui { background: var(--mint); }
.cap--4 .cap__ui { background: #f6fbe8; }
/* owned & transparent */
.owned-phone { position: absolute; left: 17%; right: 17%; top: 15%; bottom: -2px; border: 1px solid #595959; border-bottom: 0; border-radius: 10px 10px 0 0; background: #f9f9f9; box-shadow: 0 4px 28px rgba(0,0,0,.07); }
.owned-phone__notch { position: absolute; top: 5%; left: 50%; width: 25%; height: 7%; transform: translateX(-50%); border-radius: 20px; background: #e6e6e6; }
.owned-phone__ad { position: absolute; left: 6%; right: 6%; top: 17%; height: 28%; border-radius: 6px; background: var(--lime-700); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 9px; display: flex; align-items: flex-end; padding: 0 0 6px 8px; }
.owned-phone__tiles { position: absolute; left: 6%; right: 6%; top: 50%; bottom: 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.owned-phone__tiles i { border-radius: 5px; background: #fff; border: .65px solid #eaeaea; }
/* right user */
.match-users { position: absolute; left: 10%; right: 10%; top: 12%; display: flex; justify-content: space-between; }
.match-users span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #fff; border: .5px solid rgba(173,228,56,.5); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px rgba(173,228,56,.3); }
.match-users span.is-no { border-color: rgba(228,56,56,.5); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px rgba(255,158,158,.3); }
.match-users img { width: 13px; height: 13px; }
.match-lines { position: absolute; left: 10%; right: 10%; top: 34%; width: 80%; height: auto; }
.match-tick { position: absolute; left: 50%; top: 54%; width: 14px; height: 14px; transform: translateX(-50%); display: grid; place-items: center; border-radius: 50%; background: #ade438; }
.match-tick img { width: 8px; height: 8px; }
.match-card { position: absolute; left: 9%; right: 9%; bottom: 11%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 5px; background: #fff; box-shadow: 0 4px 17px rgba(0,0,0,.10); }
.match-card b { display: block; font-weight: 600; font-size: 10px; color: #000; line-height: 1.3; }
.match-card small { display: block; font-size: 9px; color: #8f8f8f; font-weight: 500; }
/* adaptive rewards */
.rewards { position: absolute; inset: 11% 7%; display: flex; flex-direction: column; justify-content: space-between; padding: 10% 8%; border-radius: 10px; background: #fff; border: .5px solid #dedede; box-shadow: 0 4px 28px rgba(0,0,0,.07); }
.rw__top { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.rw b { font-weight: 600; font-size: 8.7px; color: var(--ink); white-space: nowrap; }
.rw em { font-style: normal; color: #8f8f8f; }
.rw__tag { padding: 1px 6px; border-radius: 50px; background: #f4ffdb; color: var(--green-ink); font-size: 6.5px; font-weight: 600; white-space: nowrap; }
.rw__tag--down { background: #ffebeb; color: #710000; }
.rw__bar { display: block; height: 4px; margin-top: 8px; border-radius: 17px; background: #eaeaea; overflow: hidden; }
.rw__bar i { display: block; height: 100%; width: var(--w); border-radius: 17px; background: var(--lime-700); transform-origin: left; animation: growX 1.6s var(--ease) both; }
@keyframes growX { from { transform: scaleX(0); } }
/* optimized roas */
.chart { position: absolute; inset: 10% 9%; padding: 10px 10px 6px; border-radius: 9px; background: #fff; border: .5px solid #dedede; box-shadow: 0 4px 27px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.chart__legend { display: flex; justify-content: center; gap: 12px; font-size: 7.2px; font-weight: 600; color: var(--ink); }
.chart__legend span { display: inline-flex; align-items: center; gap: 4px; }
.chart__legend i { width: 7px; height: 7px; border-radius: 50%; background: #ade438; }
.chart__legend i.ret { background: #007a00; }
.chart__body { flex: 1; display: flex; gap: 8px; margin-top: 6px; }
.chart__y { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 14px; font-size: 7.2px; color: #8f8f8f; font-weight: 500; }
.chart__bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.chart__bars > div { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 14px; }
.chart__bars i { width: 4px; height: var(--h); border-radius: 12px 12px 0 0; background: #ade438; transform-origin: bottom; animation: growY 1.4s var(--ease) both; }
.chart__bars i.ret { background: #007a00; animation-delay: .15s; }
@keyframes growY { from { transform: scaleY(0); } }
.chart__bars span { position: absolute; bottom: 0; font-size: 7.2px; color: #8f8f8f; font-weight: 500; }
/* fraud */
.fraud { position: absolute; inset: 11% 9%; display: flex; flex-direction: column; justify-content: space-between; }
.fraud li { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; background: #fff; border: .65px solid #dbdbdb; box-shadow: 0 4px 28px rgba(0,0,0,.11); font-family: var(--font-body); font-size: 10.3px; font-weight: 500; color: #5a5a5a; }
.fraud li:nth-child(1) { transform: rotate(-4deg); }
.fraud li:nth-child(3) { transform: rotate(4deg); }
.fraud .tick { width: 15px; height: 15px; background: #ade438; }
.fraud .tick img { width: 8px; height: 8px; }

/* Engagement spaces */
.spaces-section .section-head { margin-bottom: clamp(32px, 4vw, 60px); }
.spaces { position: relative; background: var(--gray-50); overflow: hidden; }
.spaces__grid { display: grid; grid-template-columns: minmax(0, 700px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6.5vw, 95px); }
.space { position: relative; padding: clamp(18px, 1.7vw, 24px) clamp(20px, 2.8vw, 40px); border-bottom: 1px solid #d7d7d7; border-radius: 10px; cursor: pointer; outline: none; transition: background .35s; }
.space:last-child { border-bottom: 0; }
.space::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--lime); transform: scaleY(0); transition: transform .35s var(--ease); }
.space.is-active::before { transform: scaleY(1); }
.space:hover, .space.is-active { background: linear-gradient(90deg, #f1ffc9, rgba(244,255,220,.35)); }
.space h3 { transition: color .3s; }
.space.is-active h3 { color: var(--olive); }
.space h3 { font-weight: 600; font-size: var(--fs-h5); line-height: 1.25; color: var(--black); }
.space p { margin-top: 6px; font-size: var(--fs-lg); color: var(--muted); font-weight: 500; }
.space:focus-visible { box-shadow: inset 0 0 0 2px var(--lime-700); }
.spaces__phone { position: relative; display: flex; justify-content: center; }
.spaces__glow { position: absolute; left: 0; bottom: -50%; width: 627px; max-width: 140%; aspect-ratio: 627 / 568; border-radius: 50%; background: radial-gradient(closest-side, #f1ffcb, rgba(249,249,249,0)); }
.spaces__device { position: relative; width: clamp(240px, 23vw, 334px); }
.spaces__device { display: grid; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.spaces__device .state { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transform: scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.spaces__device .state.is-base { opacity: 1; transform: none; }
.spaces__device .state.is-active { opacity: 1; transform: none; }
.shot { position: absolute; left: 50%; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.28); opacity: 0; transform: translateX(-50%) scale(.86); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; object-fit: cover; }
.shot.is-active { opacity: 1; transform: translateX(-50%) scale(1.06); }
.shot--offer { top: 14%; width: 92%; aspect-ratio: 1.75; }
.shot--featured { top: 31%; width: 92%; aspect-ratio: 1.75; }
.shot--feed { top: 64%; width: 88%; aspect-ratio: 1.99; }
.shot--interstitial { top: 22%; width: 78%; aspect-ratio: .925; }
.shot--alert { top: 6%; width: 104%; aspect-ratio: 1.69; border-radius: 18px; }
.shot--news { top: 34%; width: 96%; aspect-ratio: 1.68; }

/* ---------- Solutions responsive ---------- */
@media (max-width: 1023px) {
  .sol-hero, .car-hero, .about-hero { min-height: 0; }
  .sol-hero__grid { grid-template-columns: 1fr; }
  .compare { max-width: 586px; }
  .gap-scene { aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; padding-inline: var(--gutter); }
  .gap-scene__art { position: relative; height: auto; aspect-ratio: 16 / 9; margin-inline: calc(var(--gutter) * -1); width: calc(100% + 2 * var(--gutter)); }
  .problem { position: relative; inset: auto; width: 100% !important; max-width: 560px; margin-inline: auto; }
  .mech__tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mech__diagram { overflow-x: auto; }
  .mech__diagram svg { min-width: 760px; }
  .caps { flex-wrap: wrap; gap: 18px; padding-bottom: 20px; }
  .cap, .cap--1, .cap--2, .cap--3, .cap--4, .cap--5 { margin: 0; transform: none; width: calc(50% - 9px); max-width: 280px; }
  .spaces__grid { grid-template-columns: 1fr; }
  .spaces__phone { order: -1; }
}
@media (max-width: 640px) {
  .compare__card { grid-template-columns: 76px 1fr; padding: 16px; gap: 16px; }
  .compare__phone { width: 76px; }
  .compare__arrow { display: none; }
  .mech__tab { flex-direction: column; gap: 2px; min-height: 64px; font-size: 13px; }
  .problem { gap: 14px; padding: 16px; }
  .problem__icon { width: 48px; height: 44px; }
}
@media (max-width: 480px) {
  .cap, .cap--1, .cap--2, .cap--3, .cap--4, .cap--5 { width: 100%; max-width: 300px; }
}

/* =========================== CAREERS ==================================== */
.car-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 64px); }
.car-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 503px); gap: clamp(32px, 4vw, 64px); align-items: center; }
.car-hero__copy { padding-left: .6em; }
.car-hero__copy .page-title + .lead { margin-top: 36px; }
.car-hero__copy .lead { margin-top: 22px; max-width: 657px; }
.car-hero__media { position: relative; display: grid; grid-template-columns: 286fr 195fr; gap: 22px; }
.car-hero__big { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.car-hero__stack { display: flex; flex-direction: column; gap: 18px; }
.car-hero__stack img { width: 100%; aspect-ratio: 195 / 197; object-fit: cover; border-radius: 20px; }
.corner { position: absolute; width: 38px; height: 42px; pointer-events: none; }
.car-hero__media .corner--tl { left: -12px; top: -14px; }
.car-hero__media .corner--br { right: -14px; bottom: -14px; }

/* How we work collage */
.how-section { padding-bottom: calc(var(--section-y) * .6); }
.how { position: relative; aspect-ratio: 1224 / 720; margin-top: 8px; }
.how__photo { position: absolute; left: 30.8%; top: 22.5%; width: 37.3%; }
.how__backing { position: absolute; inset: -9% -2% -2% 1%; background: var(--lime); border-radius: 20px; transform: rotate(4deg); }
.how__photo img { position: relative; width: 100%; border-radius: 20px; border: 5px solid var(--white); transform: rotate(-3.8deg); background: #ececec; }
.principle { position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 2vw, 30px) clamp(18px, 2.2vw, 32px); border-radius: 28px; background: var(--gray-50); border: 1px solid var(--line); box-shadow: var(--shadow-card); transform: rotate(var(--r)); transition: transform .45s var(--ease), box-shadow .45s; }
.principle:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,.08); z-index: 3; }
.principle--mint { background: var(--mint); border-color: #b6ee00; }
.principle h3 { font-weight: 600; font-size: var(--fs-h5); line-height: 1.25; color: var(--black); white-space: nowrap; }
.icon-ring--mint { background: #f9ffeb; }

/* Beyond the desk marquee */
.desk-section { padding-top: calc(var(--section-y) * .4); padding-bottom: var(--section-y); overflow: hidden; }
.marquee { position: relative; padding: 24px 0 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; width: max-content; gap: clamp(40px, 6vw, 96px); padding-inline: 40px; animation: marquee 34s linear infinite; background: url("../images/svg/dotted-wave.svg") repeat-x left 46px / 362px 40px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.perk { flex: none; width: clamp(210px, 18.5vw, 266px); margin: 0; padding: 15px 15px 0; border-radius: 10px; background: var(--white); border: .8px solid #cbcbcb; box-shadow: 0 10px 44px rgba(0,0,0,.07); transform: translateY(var(--y)) rotate(var(--r)); }
.perk__img { position: relative; aspect-ratio: 235 / 249; border-radius: 10px; overflow: hidden; background: var(--gray-50); }
.perk__img img { width: 100%; height: 100%; object-fit: cover; }
.perk__pin { position: absolute; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #000 4px, var(--lime) 4.5px); }
.perk figcaption { padding: 12px 2px 16px; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-h6); color: var(--black); }

/* Open positions */
#open-positions .chips { margin-bottom: clamp(32px, 4vw, 52px); }
.jobs { display: flex; flex-direction: column; gap: 31px; }
.no-roles { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 190px 24px 44px; border-radius: var(--radius-md); background: var(--mint); border: 1px solid var(--line); margin-top: 40px; }
.no-roles__sign { position: absolute; top: -58px; left: 50%; width: 240px; margin-left: -120px; transform-origin: 50% 0; animation: swing 2.6s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
.no-roles h3 { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h4); color: var(--black); line-height: 1.25; }
.no-roles p { margin-top: 6px; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-h6); color: var(--muted); }
.job { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 60px rgba(0,0,0,.03); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.job:hover { border-color: var(--lime-600); box-shadow: 0 16px 50px rgba(141,173,36,.15); transform: translateY(-2px); }
.job__info { min-width: 0; max-width: 700px; }
.job h3 { font-weight: 600; font-size: var(--fs-h5); line-height: 1.25; color: var(--black); }
.job__info > p { margin-top: 8px; font-size: var(--fs-lg); color: var(--muted); font-weight: 500; }
.job__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 21px; }
.job__meta li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 100px; background: var(--gray-100); font-size: var(--fs-md); font-weight: 500; color: var(--muted); }
.job__meta img { width: 20px; height: 20px; opacity: .75; }
.job__actions { display: flex; gap: 18px; flex: none; }
.job__actions .btn { min-width: 142px; font-family: var(--font-head); }

/* Testimonial */
.quote { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 376px) 1fr; gap: clamp(32px, 5vw, 61px); align-items: center; padding: clamp(32px, 4.8vw, 59px) clamp(24px, 5.9vw, 73px); border-radius: var(--radius-md); background: var(--mint); border: 1px solid #d9d9d9; }
.quote__photo { position: relative; }
.quote__photo > img:last-child { width: 100%; aspect-ratio: 376 / 441; object-fit: cover; border-radius: var(--radius-md); }
.quote__photo .corner--tl { left: -20px; top: -14px; }
.quote__photo .corner--br { right: -20px; bottom: -20px; }
.quote__mark { display: block; height: .62em; font-family: var(--font-head); font-weight: 600; font-size: 112px; line-height: 1; color: var(--lime); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-weight: 700; font-size: clamp(1.25rem, 1vw + .8rem, 1.625rem); line-height: 1.45; color: var(--ink); }
.quote figcaption { position: relative; margin-top: 40px; padding-left: 46px; }
.quote figcaption::before { content: ""; position: absolute; left: 0; top: 13px; width: 32px; height: 2px; background: var(--lime); }
.quote figcaption strong { display: block; font-weight: 600; font-size: var(--fs-h6); color: var(--black); }
.quote figcaption span { display: block; margin-top: 4px; font-weight: 600; font-size: var(--fs-lg); color: var(--muted); }
.quote__waves { position: absolute; right: -60px; top: -40px; bottom: -40px; width: 52%; z-index: -1; opacity: .3; filter: invert(1) brightness(.6); -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.quote__waves img { height: 100%; width: auto; }

/* Job popups */
.job-modal { padding: 20px 20px 32px; }
.job-modal__head { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 72px 30px 32px; border-radius: var(--radius); background: var(--black); color: var(--white); }
.job-modal__head h2 { font-weight: 600; font-size: var(--fs-h5); line-height: 1.25; }
.job-modal__head .job__meta { margin-top: 16px; }
.job-modal__waves { position: absolute; z-index: -1; right: -100px; top: -260px; width: 640px; opacity: .25; transform: rotate(180deg); }
.job__meta--dark li { background: rgba(255,255,255,.2); color: var(--white); }
.job__meta--dark img { filter: brightness(0) invert(1); opacity: 1; }
.job-modal__head .btn { flex: none; min-width: 177px; }
.job-modal__body { padding: 32px 4px 0; }
.jd h3 { font-weight: 600; font-size: var(--fs-h6); color: var(--black); }
.jd h3 + p, .jd h3 + ul { margin-top: 12px; }
.jd p, .jd li { font-size: var(--fs-md); line-height: 1.45; color: var(--muted); font-weight: 500; }
.jd p + h3 { margin-top: 32px; }
.jd ul { display: flex; flex-direction: column; gap: 8px; list-style: disc; padding-left: 20px; }
.jd li::marker { color: var(--lime-700); }
.form-grid { display: grid; gap: 30px 16px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.apply-form__submit { margin-top: 38px; min-width: 166px; }

/* ---------- Careers responsive ---------- */
@media (max-width: 1180px) {
  .principle h3 { white-space: normal; }
  .principle { max-width: 25%; }
}
@media (max-width: 1023px) {
  .car-hero__grid { grid-template-columns: 1fr; }
  .car-hero__media { max-width: 503px; }
  .how { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .how__photo { position: relative; inset: auto; width: 100%; grid-column: 1 / -1; max-width: 520px; margin: 30px auto 24px; }
  .principle { position: relative; inset: auto; max-width: none; transform: rotate(calc(var(--r) * .4)); }
  .job { flex-direction: column; align-items: flex-start; gap: 20px; }
  .quote { grid-template-columns: 1fr; }
  .quote__photo { max-width: 320px; }
  .form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-modal__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .how { grid-template-columns: 1fr; }
  .principle { flex-direction: row; align-items: center; }
  .job { padding: 22px 18px; }
  .job__actions { width: 100%; }
  .job__actions .btn { flex: 1; min-width: 0; }
  .form-grid--3 { grid-template-columns: 1fr; }
  .job-modal { padding: 12px 12px 24px; }
  .job-modal__head { padding: 24px 56px 24px 20px; }
  .no-roles { padding-top: 160px; }
  .no-roles__sign { width: 200px; margin-left: -100px; }
}

/* =========================== ABOUT ====================================== */
.about-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 4.2vw, 64px) 0 clamp(24px, 3vw, 44px); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 460px); justify-content: space-between; gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.about-hero__head { padding-bottom: 24px; border-bottom: 1px solid #d5d5d5; }
.about-title { font-size: clamp(1.875rem, .9vw + 1.3rem, 2.375rem); color: var(--ink); line-height: 1.35; }
.about-title .hl { padding: .12em .45em; margin-left: .08em; }
.about-hero__head .lead { margin-top: 10px; }
.mv { display: flex; gap: 22px; padding: 22px 0; }
.mv + .mv { border-top: 1px solid #d5d5d5; padding-bottom: 0; }
.mv h2 { font-weight: 700; font-size: var(--fs-h5); line-height: 1.25; color: var(--black); }
.mv p { margin-top: 6px; font-size: var(--fs-md); line-height: 1.45; color: var(--muted); font-weight: 500; }
.about-hero__img img { width: 100%; aspect-ratio: 525 / 461; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid #e8e8e8; background: #ebf1ff; }

/* Pillars — staircase */
.pillars__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); align-items: end; height: 316px; }
.pillar { position: relative; height: calc(var(--h) * .77); display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--gray-50); border: 1px solid #c9c9c9; border-bottom: 0; box-shadow: 0 6px 21px rgba(0,0,0,.05);
  -webkit-mask-image: linear-gradient(#000 70%, rgba(0,0,0,.5)); mask-image: linear-gradient(#000 70%, rgba(0,0,0,.5));
  transform-origin: bottom; transform: scaleY(.2); opacity: 0; transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(var(--i) * .1s); }
.pillar--mint { background: var(--mint); border-color: var(--lime-700); }
.pillars.is-visible .pillar { transform: none; opacity: 1; animation: pillarFloat 4.2s ease-in-out calc(1s + var(--i) * .35s) infinite; }
@keyframes pillarFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .pillars.is-visible .pillar { animation: none; } }
.pillar h3 { font-weight: 600; font-size: var(--fs-md); line-height: 1.25; color: var(--black); }
.pillars__base { height: 10px; margin-top: 16px; border-radius: 24px; background: var(--lime); }
.pillars__labels { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; font-size: var(--fs-md); color: var(--muted); }

/* Foundation */
.foundation { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(32px, 4.7vw, 58px); align-items: center; }
.years { padding: 22px 22px 24px; border-radius: 13px; background: var(--mint); border: 1px solid #cbcbcb; box-shadow: 0 10px 57px rgba(0,0,0,.06); text-align: center; }
.years__box { position: relative; display: grid; place-items: center; aspect-ratio: 403 / 338; border-radius: 13px; background: var(--white); overflow: hidden; }
.years__num { font-weight: 800; font-size: clamp(7.5rem, 12vw, 12.5rem); line-height: 1; color: var(--black); -webkit-text-stroke: 5px var(--white); paint-order: stroke fill; text-shadow: 0 30px 60px rgba(0,0,0,.18); letter-spacing: -.02em; }
.years__pill { position: absolute; right: 8%; top: 17%; padding: 8px 21px; border-radius: 200px; background: var(--lime); border: 2px solid var(--white); box-shadow: 0 6px 28px rgba(0,0,0,.2); font-weight: 600; font-size: var(--fs-h6); color: var(--black); animation: floatY 3s ease-in-out infinite; }
@keyframes floatY { 50% { translate: 0 -6px; } }
.years p { margin-top: 18px; font-weight: 600; font-size: clamp(1.125rem, .5vw + .9rem, 1.375rem); color: var(--black); }
.foundation__quote { padding: 20px 32px; border-radius: var(--radius-md); background: var(--lime); box-shadow: 0 10px 60px rgba(0,0,0,.10); font-weight: 600 !important; font-size: clamp(1.125rem, .6vw + .85rem, 1.5rem) !important; line-height: 1.4 !important; color: var(--black) !important; }
.foundation__copy p { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); font-weight: 500; }
.foundation__copy p + p { margin-top: 1.4em; }
.foundation__quote + p { margin-top: 28px !important; }

/* About CTA */
.about-cta-section { padding-top: calc(var(--section-y) + 40px); }
.about-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; overflow: visible; min-height: clamp(240px, 20vw, 290px); }
.about-cta .cta-banner__waves { overflow: hidden; border-radius: inherit; }
.about-cta__stage { position: relative; align-self: stretch; }
.pedestal { position: absolute; left: 8%; right: 8%; top: 54%; bottom: 0; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0)); }
.pedestal::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--white); box-shadow: inset 0 -6px 14px rgba(0,0,0,.05); }
.laptop { position: absolute; z-index: 2; left: 50%; width: 68%; max-width: 400px; bottom: calc(46% - 40px); transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgba(0,0,0,.16)); }
.laptop img { width: 100%; height: auto; }
.about-cta__copy { padding: 40px clamp(24px, 4vw, 48px) 40px 0; }
.about-cta__copy h2 { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; color: var(--black); max-width: 502px; }
.about-cta__copy .btn { margin-top: 26px; }

/* ---------- About responsive ---------- */
@media (max-width: 1023px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .pillars__row { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .pillar { height: auto; min-height: 180px; border-radius: var(--radius-lg); border-bottom: 1px solid #c9c9c9; -webkit-mask-image: none; mask-image: none; }
  .pillar--mint { border-bottom-color: var(--lime-700); }
  .foundation { grid-template-columns: 1fr; }
  .years { max-width: 463px; margin-inline: auto; width: 100%; }
  .about-cta { grid-template-columns: 1fr; }
  .about-cta__stage { min-height: 220px; }
  .about-cta__copy { padding: 24px; text-align: center; }
  .about-cta__copy h2 { margin-inline: auto; }
}
@media (max-width: 640px) {
  .pillars__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars__labels { font-size: 14px; }
  .mv { gap: 18px; }
  .icon-tile { width: 52px; height: 52px; }
  .foundation__quote { padding: 20px 24px; }
}

/* =========================== BLOGS ====================================== */
.blogs-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 92px) 0 var(--section-y); }
.blogs-hero .chips { margin-bottom: clamp(32px, 4vw, 56px); }
.puzzle { position: relative; aspect-ratio: 1224 / 622; border-radius: var(--radius-md); background: var(--gray-50); overflow: hidden; }
.puzzle__hint { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.piece { position: absolute; display: block; left: var(--x); top: var(--y); width: 23%; aspect-ratio: 1; transform: rotate(var(--r)); transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s; filter: drop-shadow(0 8px 16px rgba(0,0,0,.12)); }
.piece__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.piece__content { position: absolute; left: 21.5%; right: 21.5%; top: 21.5%; bottom: 21.5%; display: flex; flex-direction: column; justify-content: flex-start; container-type: inline-size; overflow: hidden; }
.piece__content img { width: 100%; aspect-ratio: 376 / 190; object-fit: cover; border-radius: 3px; flex: none; }
.piece__content small { margin-top: 6cqw; font-size: 6.6cqw; font-weight: 600; color: var(--black); line-height: 1.3; white-space: nowrap; }
.piece__content strong { margin-top: 2cqw; font-size: 7.8cqw; font-weight: 700; color: var(--black); line-height: 1.22; }
.piece--dark .piece__content small { color: var(--lime); }
.piece--dark .piece__content strong { color: var(--white); }
.puzzle.is-hovering .piece:not(.is-hover), .puzzle.is-hovering .puzzle__loose { opacity: .16; }
.piece.is-hover { transform: rotate(var(--r)) scale(1.06); z-index: 3; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.puzzle__loose { position: absolute; transition: opacity .35s; }
.puzzle__loose svg { width: 100%; height: 100%; overflow: visible; }
.puzzle__loose--1 { left: 54.5%; top: 8%; width: 12%; aspect-ratio: 1; transform: rotate(-20deg); }
.puzzle__loose--2 { left: 28.5%; top: 70%; width: 13%; aspect-ratio: 1; transform: rotate(18deg); }
.puzzle-card { position: absolute; left: 0; top: 0; z-index: 6; width: 340px; padding: 8px 8px 22px; border-radius: var(--radius-lg); background: var(--black); border: 1px solid #e5e5e5; box-shadow: 0 10px 60px rgba(0,0,0,.36); opacity: 0; pointer-events: none; transition: opacity .25s; will-change: transform; }
.puzzle-card.is-visible { opacity: 1; }
.puzzle-card > img { width: 100%; aspect-ratio: 322 / 167; object-fit: cover; border-radius: var(--radius-md); }
.puzzle-card__body { padding: 18px 11px 0; display: flex; flex-direction: column; gap: 8px; }
.puzzle-card small { font-size: 14px; font-weight: 600; color: var(--lime); }
.puzzle-card strong { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 20px; font-weight: 700; color: var(--white); line-height: 1.25; }
.puzzle-card strong img { width: 22px; height: 22px; filter: invert(1); }
.puzzle-card p { font-size: 15px; color: var(--muted); font-weight: 500; }
.meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* Newsletter */
.newsletter { position: relative; background: var(--mint); padding: clamp(56px, 6vw, 84px) 0; overflow: hidden; }
.newsletter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 495px); gap: 40px; align-items: center; }
.newsletter__title { font-weight: 700; font-size: var(--fs-h2); line-height: 1.25; color: var(--black); }
.newsletter .lead { margin-top: 10px; }
.newsletter__ticks { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }
.newsletter__ticks li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h6); font-weight: 500; color: var(--black); }
.newsletter__form { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px; border-radius: var(--radius-md); background: var(--white); border: 1px solid #ddd; }
.newsletter__form .field { width: 100%; }
.newsletter__form .btn { min-width: 147px; }
.corner--nl2 { right: -24px; bottom: -24px; }
.corner--nl3 { left: -26px; top: -26px; }
.corner--nl1 { display: none; }

/* ---------- Blogs responsive ---------- */
@media (max-width: 860px) {
  .puzzle { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 48px 12px 16px; }
  .piece { position: relative; inset: auto; width: 100%; transform: none; }
  .piece:nth-child(odd) { transform: rotate(-4deg); }
  .piece:nth-child(even) { transform: rotate(4deg); }
  .piece.is-hover { transform: scale(1.04); }
  .puzzle__loose, .puzzle-card { display: none; }
  .newsletter__grid { grid-template-columns: 1fr; }
}

/* =========================== BLOG DETAIL ================================ */
.crumb-bar { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); }
.crumb { display: flex; align-items: center; gap: 12px; min-height: 56px; font-size: var(--fs-lg); font-weight: 500; }
.crumb a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.crumb a img { width: 22px; height: 22px; }
.crumb a:hover { color: var(--lime); }
.crumb__current { color: var(--lime); }
.art-hero { background: linear-gradient(var(--mint), var(--white)); padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid #ececec; }
.art-hero__inner { max-width: 763px; }
.art-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h2); line-height: 1.25; color: var(--black); }
.art-hero .lead { margin-top: 16px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 17px; margin-top: 32px; font-size: var(--fs-lg); font-weight: 500; color: var(--muted); }
.byline i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.byline__name { color: var(--black); margin-left: -5px; }
.avatar-initials { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); font-weight: 600; font-size: 13px; color: var(--ink); flex: none; }
.avatar-initials--lg { width: 49px; height: 49px; font-size: 17px; }

.art-layout { display: grid; grid-template-columns: minmax(0, 376px) minmax(0, 791px); justify-content: space-between; gap: 48px; padding-top: clamp(32px, 4vw, 52px); }
.art-side { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.toc__head { display: flex; justify-content: space-between; font-size: var(--fs-lg); font-weight: 600; color: var(--muted); text-transform: uppercase; }
.toc ol { margin-top: 21px; }
.toc a { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; font-size: var(--fs-md); font-weight: 500; color: var(--muted); transition: background .25s, color .25s; }
.toc a b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e6e6e6; background: var(--white); font-size: 14px; font-weight: 600; color: var(--black); flex: none; transition: all .25s; }
.toc a:hover { color: var(--black); }
.toc a.is-active { background: var(--gray-100); color: var(--black); }
.toc a.is-active b { background: var(--black); border-color: var(--black); color: var(--lime); }
.share { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: var(--mint); border: 1px solid #d3d3d3; font-size: var(--fs-md); font-weight: 500; color: var(--black); }
.share__links { display: flex; gap: 14px; }
.share__links a { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--white); border: 1px solid #e6e6e6; transition: background .2s; }
.share__links a:hover { background: var(--lime); }
.share__links img { width: 16px; height: 16px; filter: brightness(0); }
.promo { padding: 24px; border-radius: var(--radius-md); background: var(--black); color: var(--white); }
.promo small { display: block; font-size: var(--fs-md); font-weight: 500; color: var(--lime); }
.promo strong { display: block; margin-top: 16px; font-size: var(--fs-h6); font-weight: 700; line-height: 1.4; }
.promo p { margin-top: 8px; font-size: var(--fs-md); color: rgba(255,255,255,.7); font-weight: 500; }
.promo .btn { margin-top: 24px; }

.article { min-width: 0; }
.art-sec { padding-bottom: 48px; margin-bottom: 52px; border-bottom: 1px solid #d7d7d7; }
.art-sec h2 { display: flex; align-items: center; gap: 20px; font-size: var(--fs-h6); font-weight: 600; color: var(--black); line-height: 1.4; }
.art-sec h2 b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--lime); font-size: 14px; font-weight: 600; flex: none; }
.art-sec p { margin-top: 16px; font-size: var(--fs-md); line-height: 1.45; color: var(--muted); font-weight: 500; }
.art-sec ul { margin-top: 16px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 2px; }
.art-sec li { font-size: var(--fs-md); line-height: 1.45; color: var(--muted); font-weight: 500; }
.art-sec li::marker { color: var(--lime-700); }
.art-sec li strong { color: var(--lime-700); font-weight: 600; }
.art-img { width: 100%; margin-top: 36px; border-radius: var(--radius-md); background: #f3f6ff; }
.pull { margin-top: 40px; padding: 26px 48px; border-radius: var(--radius-md); background: var(--gray-100); border-left: 4px solid var(--lime); font-weight: 600; font-size: var(--fs-h5); line-height: 1.4; color: var(--black); }
.bar-chart { margin-top: 32px; padding: 24px 24px 20px 36px; border-radius: var(--radius-md); background: var(--gray-100); }
.bar-chart figcaption { font-size: var(--fs-md); font-weight: 500; color: var(--black); }
.bar-chart__plot { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 30px; height: 300px; }
.bar-chart__y { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 30px; text-align: right; font-size: var(--fs-md); color: var(--muted); font-weight: 500; line-height: 1; }
.bar-chart__bars { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7%; padding: 0 4% 30px; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #dcdcdc calc(25% - 1px) 25%) 0 -30px / 100% calc(100% - 30px + 30px) no-repeat; background-position: 0 0; background-size: 100% calc(100% - 30px); }
.bar-chart__bars > div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar-chart__bars i { width: 100%; max-width: 85px; height: var(--h); border-radius: 16px 16px 0 0; background: var(--c); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.bar-chart__bars > div:nth-child(2) i { transition-delay: .12s; } .bar-chart__bars > div:nth-child(3) i { transition-delay: .24s; } .bar-chart__bars > div:nth-child(4) i { transition-delay: .36s; }
.bar-chart.is-visible i { transform: none; }
.bar-chart__bars b { margin-bottom: 10px; font-size: var(--fs-lg); font-weight: 600; color: var(--black); }
.bar-chart__bars span { position: absolute; bottom: -30px; font-size: var(--fs-md); color: var(--muted); font-weight: 500; white-space: nowrap; }
.helpful { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px; border-radius: var(--radius-md); background: var(--mint); border: 1px solid #bababa; font-size: var(--fs-h6); font-weight: 600; color: var(--black); }
.helpful em { font-style: normal; font-size: var(--fs-sm); color: var(--lime-700); margin-left: 8px; font-weight: 500; }
.helpful__btns { display: flex; gap: 14px; }
.helpful__btns .btn { min-width: 107px; border-color: var(--lime-700); color: var(--ink); }
.helpful__btns .btn.is-selected { background: var(--lime); }
.author { margin-top: 36px; padding: 20px 26px 28px; border-radius: var(--radius-md); background: var(--gray-50); border: 1px solid #d6d6d6; }
.author__head { display: flex; align-items: center; gap: 16px; }
.author__head strong { display: block; font-size: var(--fs-lg); font-weight: 600; color: var(--black); }
.author__head span { display: block; margin-top: 4px; font-size: var(--fs-md); color: var(--muted); font-weight: 500; }
.author p { margin-top: 18px; padding-left: 65px; font-size: var(--fs-md); line-height: 1.45; color: var(--black); }

.related__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.related__head h2 { font-weight: 600; font-size: var(--fs-h5); color: var(--black); }
.related__head a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-md); color: var(--olive); }
.related__head a img { width: 22px; height: 22px; transition: transform .25s; }
.related__head a:hover img { transform: translateX(4px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; padding: 8px 8px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid #e5e5e5; box-shadow: 0 10px 60px rgba(0,0,0,.06); transition: transform .35s var(--ease), box-shadow .35s, background .35s; }
.post-card > img { width: 100%; aspect-ratio: 376 / 167; object-fit: cover; border-radius: var(--radius-md); background: #f3f6ff; }
.post-card__body { padding: 27px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.post-card small { font-size: 14px; font-weight: 600; color: var(--lime-700); }
.post-card strong { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: var(--fs-h6); font-weight: 700; color: var(--black); }
.post-card strong img { width: 22px; height: 22px; transition: transform .3s; }
.post-card p { font-size: var(--fs-md); line-height: 1.45; color: var(--muted); font-weight: 500; }
.post-card .meta { margin-top: 16px; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.12); background: var(--black); }
.post-card:hover small { color: var(--lime); }
.post-card:hover strong { color: var(--white); }
.post-card:hover strong img { filter: invert(1); transform: translate(2px, -2px); }

@media (max-width: 1023px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-side { position: static; order: 2; }
  .toc { display: none; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .pull { padding: 20px 22px; }
  .bar-chart { padding: 20px 16px; }
  .bar-chart__plot { height: 240px; gap: 10px; }
  .bar-chart__bars span { font-size: 11px; }
  .author p { padding-left: 0; }
}

/* =========================== ADVERTISE FORM ============================= */
.form-page { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 3.2vw, 44px) 0 clamp(28px, 3vw, 40px); }
.form-page__bg { position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -2; background: linear-gradient(var(--mint), var(--white)); }
.form-wrap { max-width: 998px; }
.form-head { text-align: center; }
.form-head p { margin-top: 10px; font-size: var(--fs-md); color: var(--muted); font-weight: 500; }
/* Compact horizontal stepper: ● Step name ——— ● Step name ——— ● Step name */
.fsteps { display: flex; align-items: center; margin: clamp(22px, 2.6vw, 34px) 0 0; padding: 14px 26px; list-style: none; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line-2); box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.fstep { display: flex; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; color: var(--muted); }
.fstep:last-child { flex: 0 0 auto; }
.fstep:not(:last-child)::after { content: ""; flex: 1 1 auto; min-width: 24px; height: 3px; margin: 0 24px; border-radius: 3px; background: linear-gradient(90deg, var(--success) 50%, #e7e7e7 50%) right / 200% 100% no-repeat; }
.fstep.is-done:not(:last-child)::after { animation: fillLine .8s var(--ease) .15s forwards; }
@keyframes fillLine { to { background-position: left; } }
.fstep__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d9d9d9; background: var(--white); font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); transition: background .3s, border-color .3s; }
.fstep__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; line-height: 1.2; }
.fstep__text small { font-size: 11.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; opacity: .8; }
.fstep__text strong { font-size: var(--fs-md); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fstep.is-current { color: var(--black); }
.fstep.is-current .fstep__num { background: var(--lime); border-color: var(--lime); color: var(--black); box-shadow: 0 0 0 5px rgba(198,244,50,.28); }
.fstep.is-done { color: var(--success); }
.fstep.is-done .fstep__num { background: var(--success); border-color: var(--success); color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 16px; }
.fcard { margin-top: 20px; padding: 26px 28px 30px; border-radius: var(--radius-md); background: #fafafa; border: 1px solid var(--line-2); }
.fcard .form-grid { gap: 18px 16px; }
.form-grid__span2 { grid-column: span 2; }
.form-grid__full { grid-column: 1 / -1; }
.factions { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }
.factions .btn { min-width: 173px; }
.is-invisible { visibility: hidden; }

@media (max-width: 1023px) {
  .form-grid__span2 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fsteps { padding: 10px 12px; border-radius: 18px; }
  .fstep__text { display: none; }
  .fstep.is-current .fstep__text { display: flex; }
  .fstep__text strong { font-size: 13px; }
  .fstep__num { width: 30px; height: 30px; font-size: 13px; }
  .fstep:not(:last-child)::after { margin: 0 8px; }
  .fcard { padding: 24px 16px 28px; }
  .factions .btn { min-width: 0; flex: 1; }
}

/* About — slightly smaller icon tiles to match the tighter scale */
.about-hero .icon-tile { width: 56px; height: 56px; }
.about-hero .icon-tile img { width: 28px; height: 28px; }
.pillar .icon-ring { width: 54px; height: 54px; }
.pillar .icon-ring img { width: 26px; height: 26px; }

/* =========================== TERMS & CONDITIONS ========================= */
.legal { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.legal__bg { position: absolute; inset: 0; z-index: -2; background: var(--white); }
.legal .grid-bg { height: 640px; }
.legal__title { font-size: clamp(2.125rem, 1.4vw + 1.5rem, 3rem); line-height: 1.15; color: var(--ink); }
.legal__meta { margin-top: 16px; font-size: var(--fs-lg); font-weight: 500; color: var(--muted); }
.legal__meta span { margin-inline: 2px; }
.legal__body { margin-top: clamp(36px, 4vw, 56px); max-width: 1224px; }
.legal__section + .legal__section { margin-top: clamp(32px, 3.4vw, 44px); }
.legal__section h2 { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-h6); line-height: 1.3; color: var(--black); }
.legal__section p { margin-top: 16px; font-size: var(--fs-md); line-height: 1.55; color: var(--muted); }
.legal__list { margin: 16px 0 0; padding-left: 24px; list-style: none; display: grid; gap: 4px; font-size: var(--fs-md); line-height: 1.55; color: var(--muted); }
.legal__list li { position: relative; }
.legal__list li::before { content: ""; position: absolute; left: -15px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-700); }
.legal__list--plain li::before { background: #8f8f8f; }
body.page-legal { background: var(--white); }
.legal__list li::marker { color: var(--lime-700); font-size: 1.1em; }
.legal__list b { font-weight: 500; color: var(--lime-700); }
.legal__list--plain { color: #6b6b6b; font-weight: 500; }
.legal__list--plain li::marker { color: #8f8f8f; }
.legal__list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal__list a:hover { color: var(--ink); }
.page-legal .site-footer { background: var(--white); }

/* Home hero — extra breathing room on both sides (desktop/laptop) */
@media (min-width: 1024px) { .hero__grid { padding-inline: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr) minmax(0, 580px); } }
@media (min-width: 1024px) and (max-width: 1279px) { .hero__grid { padding-inline: 0; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; } }

/* Home hero subheading — always exactly 3 lines on laptops & desktops.
   Each line is kept whole; the type scales with the column so it never wraps to a 4th line. */
@media (min-width: 1024px) {
  .hero__copy { container-type: inline-size; }
  .hero__lead { max-width: none; font-size: clamp(13px, calc(100cqw / 34), 16.5px); }
  .hero__lead .ln { display: block; white-space: nowrap; }
}

/* Solutions — Adaptive Rewards card art (crisp vector, matches design file) */
.cap--3 .cap__ui { background: #f7f7f7; }
.ar-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ar-art .ar-bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1s var(--ease); }
.caps.is-visible .ar-art .ar-bar, .cap.is-visible .ar-art .ar-bar, .reveal.is-visible .ar-art .ar-bar { transform: scaleX(1); }
.ar-art .ar-bar:nth-of-type(2) { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .ar-art .ar-bar { transform: none; transition: none; } }
.legal__section h3 { margin-top: 24px; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-lg); line-height: 1.35; color: var(--black); }