:root{
  --bg:#eef0ec;
  --ink:#16211c;
  --mute:#5b6861;
  --line:#cfd5cf;
  --acc:#0f5c4d;
  --w:1280px;
  --footer-bg:#1a1a1a;
  --footer-cream:#e8e3d9;
  --footer-gold:#b8b2a6;
  --case-wash:transparent;
  --hero-bg:#eef0ec;
}
*{box-sizing:border-box;margin:0}
html{
  overscroll-behavior-y:none;
}
body{
  background:var(--bg);
  color:var(--ink);
  font:17px/1.6 "Inter Tight",system-ui,sans-serif;
  overscroll-behavior-y:none;
}
body.case-ifood-promoflex{
  --acc:#e02e30;
  --acc-2:#ff8d28;
  --hero-bg:#ff7957;
  --case-wash:linear-gradient(180deg,#fff4eb 0%,var(--bg) 420px);
  background:var(--case-wash);
}
body.case-betterfly{
  --acc:#1a9f55;
  --acc-2:#c8e800;
  --hero-bg:#26fe7e;
  --case-wash:linear-gradient(180deg,#eef8e6 0%,var(--bg) 480px);
  background:var(--case-wash);
}
body.case-bradesco{
  --acc:#e31d41;
  --acc-2:#ff6b85;
  --hero-bg:#ed3456;
  --case-wash:linear-gradient(180deg,#f7e8ec 0%,var(--bg) 420px);
  background:var(--case-wash);
}
h1,h2,h3,.big{font-family:"Bricolage Grotesque","Inter Tight",sans-serif;letter-spacing:-.02em;line-height:1.08}
a{color:inherit}
.wrap{max-width:var(--w);margin:0 auto;padding:0 40px}
nav{display:flex;justify-content:space-between;align-items:center;padding:28px 40px;max-width:1360px;margin:0 auto}
nav > div{
  position:relative;
  display:flex;
  align-items:center;
  gap:0;
  padding:16px 28px 10px;
  border-radius:999px;
  background:var(--hero-bg);
  box-shadow:
    0 1px 2px rgba(22,33,28,.05),
    inset 0 0 0 1px rgba(22,33,28,.1);
  overflow:hidden;
}
nav > div::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:#fff;
  mix-blend-mode:soft-light;
  pointer-events:none;
  z-index:0;
}
nav > div::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:rgba(255,255,255,.38);
  pointer-events:none;
  z-index:0;
}
nav a{
  text-decoration:none;
  margin-left:24px;
  font-weight:500;
  font-size:15px;
  color:var(--ink);
  position:relative;
  z-index:1;
  padding-bottom:6px;
  line-height:1.15;
  transition:color .2s ease;
}
nav > div a{margin-left:0}
nav > div a + a{
  margin-left:28px;
}
nav > div a + a::before{
  content:"•";
  position:absolute;
  left:0;
  top:50%;
  transform:translate(-50%,-55%);
  margin-left:-14px;
  color:rgba(22,33,28,.28);
  font-weight:500;
  pointer-events:none;
}
nav a.logo{
  margin:0;
  padding-bottom:0;
  line-height:0;
  font-weight:400;
  filter:drop-shadow(0 1px 2px rgba(22,33,28,.08));
}
nav a.logo img{
  display:block;
  height:56px;
  width:auto;
}
nav a:hover{color:var(--acc)}
nav a.logo:hover{opacity:.85}
nav a.on{
  color:var(--acc);
}
nav a.on::after{
  content:"";
  position:absolute;
  left:-2%;
  right:-2%;
  bottom:0;
  height:8px;
  background:var(--acc);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1.2 5.2C6 1.1 11.5 7.4 17.2 3.8c4.8-2.9 8.6 3.6 14.1 1.7 5.3-1.8 8.2-5.1 13.9-2.2 4.9 2.4 8.8 5.2 14.2 1.9 4.6-2.8 9.3.9 13.8 2.8 5.1 2.1 8.7-3.9 13.6-2.3 4.2 1.4 7.6 4.7 12.4 2.2 3.9-2 6.8-4.9 10.8-2.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1.2 5.2C6 1.1 11.5 7.4 17.2 3.8c4.8-2.9 8.6 3.6 14.1 1.7 5.3-1.8 8.2-5.1 13.9-2.2 4.9 2.4 8.8 5.2 14.2 1.9 4.6-2.8 9.3.9 13.8 2.8 5.1 2.1 8.7-3.9 13.6-2.3 4.2 1.4 7.6 4.7 12.4 2.2 3.9-2 6.8-4.9 10.8-2.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero{padding:48px 0 40px}
.hero .tag{color:var(--acc);font-weight:600;margin-bottom:20px}
.hero h1{font-size:clamp(64px,10vw,128px);margin-bottom:28px}
.hero .sub{font-size:32px;max-width:24em;font-family:"Bricolage Grotesque",sans-serif;line-height:1.2}
body[class*="case-"]{
  overflow-x:clip;
}
body[class*="case-"] nav{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:10;
}
.hero-art{
  margin:0;
  border-radius:0;
  overflow:hidden;
  background:var(--hero-bg,#ddd);
  width:100%;
  display:flex;
  justify-content:center;
  padding-top:clamp(3.75rem, 5.5vw, 6.25rem);
  padding-bottom:clamp(2rem, 3.5vw, 4rem);
}
.hero-art picture,.hero-art img{
  display:block;
  width:100%;
  max-width:1920px;
  height:auto;
}
body.case-betterfly .hero-art{
  padding-bottom:0;
}
body.case-betterfly .hero-art img{
  margin-bottom:-1.75rem;
}
body[class*="case-"] .hero{
  padding-top:40px;
}
.meta{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;border-top:1px solid var(--line);margin-top:56px;padding-top:24px;font-size:15px}
.meta b{display:block;margin-bottom:8px}
.meta-list{
  list-style:disc;
  margin:0;
  padding-left:1.15em;
  display:grid;
  gap:6px;
}
.meta-list li{padding-left:.15em}
.meta p + .meta-list{margin-top:8px}
.body-list{
  list-style:disc;
  margin:0 0 1.25em;
  padding-left:1.25em;
  display:grid;
  gap:10px;
  max-width:44em;
}
.body-list li{
  padding-left:.15em;
  line-height:1.55;
}
.body-list strong{font-weight:700}
.shot{
  margin:48px 0 8px;
  border-radius:16px;
  overflow:hidden;
}
.shot picture,.shot img{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
}
.shot-video{
  position:relative;
  border-radius:16px;
  overflow:hidden;
}
.shot-video::after,
.demo-video::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 .5px rgba(0,0,0,.35);
  pointer-events:none;
}
.shot-video video{
  display:block;
  width:calc(100% + 4px);
  max-width:none;
  height:auto;
  margin:-2px;
  background:#0b0b0b;
  border-radius:16px;
}
.shot + .shot{margin-top:24px}
.demo{
  margin:64px 0 0;
}
.demo h3{
  font-family:"Bricolage Grotesque",sans-serif;
  font-size:22px;
  font-weight:600;
  line-height:1.25;
  margin:0 0 8px;
}
.demo > p{
  margin:0 0 16px;
  color:var(--mute);
}
.demo-video{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#0b0b0b;
  border-radius:16px;
}
.demo-video video{
  display:block;
  width:100%;
  height:auto;
  vertical-align:top;
  border-radius:16px;
}
.demo .shot{margin:0}
.device-stage{
  position:relative;
  margin:40px 0 8px;
  overflow:hidden;
}
.device-stage-bg,
.device-stage-bg img{
  display:block;
  width:100%;
  height:auto;
}
.device-phone{
  position:absolute;
  left:28.9538%;
  top:6.4628%;
  width:42.0925%;
  height:87.0126%;
  pointer-events:none;
}
.device-phone-screen{
  position:absolute;
  left:5.2023%;
  top:2.2825%;
  width:89.5954%;
  height:95.5777%;
  object-fit:cover;
  border-radius:11.6% / 5.4%;
  background:#0b0b0b;
  z-index:1;
  pointer-events:auto;
}
.device-phone-chrome{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:2;
  pointer-events:none;
  user-select:none;
}
.board{
  margin:40px 0 8px;
}
.board-grid{
  display:grid;
  gap:24px;
  align-items:start;
}
.board-grid.cols-2{grid-template-columns:1.6fr 1fr}
.board-grid.cols-2.even{grid-template-columns:1fr 1fr}
.board-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.board-grid.cols-2-wide{grid-template-columns:1fr 2fr}
.board-grid.cols-2-wide.rev{grid-template-columns:2fr 1fr}
.board-item img{
  display:block;
  width:100%;
  height:auto;
}
.board-item.is-zoomable picture,
.board-item.is-zoomable img{
  cursor:zoom-in;
}
.board-stack{
  display:grid;
  gap:20px;
  align-content:start;
  align-self:start;
}
.board-stack > .annotations{
  margin-top:0;
}
.annotations{
  list-style:none;
  display:grid;
  gap:14px;
  margin:20px 0 0;
  padding:0;
}
.annotations.cols-2{grid-template-columns:1fr 1fr;gap:14px 28px}
.annotations.cols-3{grid-template-columns:repeat(3,1fr);gap:14px 24px}
.annotations.cols-4{grid-template-columns:repeat(4,1fr);gap:14px 20px}
.annotations li{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:8px;
  align-items:start;
  font-size:12.5px;
  line-height:1.4;
  color:var(--mute);
}
.ann-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#22c55e;
  flex-shrink:0;
}
.ann-num.bad{background:#ef4444}
.ann-num.good{background:#22c55e}

#board-zoom{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:12px;
  opacity:0;
  pointer-events:none;
  transition:opacity .26s ease;
}
#board-zoom.is-open{
  opacity:1;
  pointer-events:auto;
}
.board-zoom-backdrop{
  position:absolute;
  inset:0;
  border:0;
  padding:0;
  margin:0;
  cursor:zoom-out;
  background:rgba(16,20,18,.72);
}
.board-zoom-panel{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(96vw,1600px);
  max-height:calc(100vh - 24px);
  overflow:auto;
  overscroll-behavior:none;
  background:var(--bg);
  border-radius:12px;
  padding:12px 12px 16px;
  box-shadow:0 24px 64px rgba(0,0,0,.28);
  outline:none;
  transform:translate3d(0,10px,0) scale(.985);
  opacity:.98;
  transition:
    transform .3s cubic-bezier(.22,1,.36,1),
    opacity .26s ease;
  will-change:transform,opacity;
}
#board-zoom.is-open .board-zoom-panel{
  transform:translate3d(0,0,0) scale(1);
  opacity:1;
}
.board-zoom-img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:calc(100vh - 160px);
  object-fit:contain;
  margin:0 auto;
  flex:0 0 auto;
  cursor:zoom-out;
  background:#fff;
  border-radius:6px;
}
.board-zoom-captions{
  flex:0 0 auto;
}
.board-zoom-captions .annotations{
  margin-top:14px;
}
.board-zoom-captions .annotations li{
  font-size:13.5px;
  line-height:1.45;
  color:var(--ink);
}
.board-zoom-panel.is-tall{
  display:grid;
  grid-template-columns:minmax(0,auto) minmax(240px,1fr);
  align-items:end;
  column-gap:28px;
  row-gap:16px;
  width:min(96vw,1180px);
}
.board-zoom-panel.is-tall .board-zoom-img{
  margin:0;
  max-width:min(52vw,560px);
  max-height:calc(100vh - 48px);
  justify-self:start;
}
.board-zoom-panel.is-tall .board-zoom-captions{
  align-self:end;
  min-width:0;
}
.board-zoom-panel.is-tall .board-zoom-captions .annotations{
  margin-top:0;
  gap:16px;
}
.board-zoom-panel.is-tall .board-zoom-captions .annotations.cols-2,
.board-zoom-panel.is-tall .board-zoom-captions .annotations.cols-3,
.board-zoom-panel.is-tall .board-zoom-captions .annotations.cols-4{
  grid-template-columns:1fr;
}
@media (max-width:719px){
  .board-zoom-panel.is-tall{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:min(96vw,1600px);
  }
  .board-zoom-panel.is-tall .board-zoom-img{
    margin:0 auto;
    max-width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  #board-zoom,
  .board-zoom-panel{
    transition:none;
  }
  .board-zoom-panel{
    transform:none;
  }
}
section{display:grid;grid-template-columns:240px 1fr;gap:48px;padding:72px 0;border-top:1px solid var(--line)}
section aside{position:sticky;top:24px;align-self:start}
aside b{display:block;font-size:20px;font-family:"Bricolage Grotesque",sans-serif;color:var(--acc)}
aside span{color:var(--mute);font-size:15px}
section h2{font-size:42px;margin-bottom:28px;max-width:17em}
section p{max-width:44em;margin-bottom:1em}
section p strong,
.demo p strong,
.grid2 p strong,
.grid3 p strong,
.stats small strong,
blockquote strong{
  font-weight:700;
}
.stats{display:grid;gap:36px;margin-top:20px}
.stats.c3{grid-template-columns:repeat(3,1fr)}
.stats .big{
  font-size:120px;
  line-height:.9;
  letter-spacing:-.03em;
  color:var(--acc);
}
.stats.rows>div{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;border-top:1px solid var(--line);padding-top:20px}
.stats h3{font-size:30px}.stats small,.note{color:var(--mute);font-size:14px}
section > div > p.note{
  max-width:none;
  width:100%;
  text-align:right;
  margin-top:36px;
  margin-bottom:0;
  font-size:13px;
}
.stats strong{display:block;margin:6px 0}
.stats small strong{display:inline;font-weight:700;margin:0}
.grid2,.grid3{
  display:grid;
  gap:24px;
  margin-top:40px;
  margin-bottom:8px;
}
.grid2{grid-template-columns:1fr 1fr}
.grid3{grid-template-columns:repeat(3,1fr)}
.grid2 > div,
.grid3 > div{
  background:#111111;
  border:1px solid rgba(255,255,255,.06);
  border-radius:20px;
  padding:32px 36px 34px;
  min-height:100%;
  color:#f3f1ec;
}
.grid2 h3,.grid3 h3{
  font-size:22px;
  margin:10px 0 14px;
  color:#f7f5f1;
}
.grid2 small,.grid3 small{
  color:color-mix(in srgb,var(--acc) 68%,#fff 32%);
  font-weight:600;
  font-size:13px;
  letter-spacing:.02em;
}
.grid2 p,.grid3 p{
  margin-bottom:.75em;
  max-width:none;
  font-size:15.5px;
  line-height:1.55;
  color:rgba(243,241,236,.78);
}
.grid2 p:last-child,
.grid3 p:last-child{margin-bottom:0}
.grid2 .note,
.grid3 .note{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12.5px;
  color:rgba(243,241,236,.55);
}
blockquote{
  font-family:"Bricolage Grotesque","Inter Tight",sans-serif;
  font-size:clamp(20px,1.7vw,24px);
  font-weight:500;
  line-height:1.35;
  letter-spacing:-.025em;
  margin:0;
  color:var(--ink);
  quotes:none;
}
.q{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px 56px;
  margin:48px 0 16px;
}
.q > div{
  padding:0;
  background:none;
  border:0;
  border-radius:0;
  position:relative;
  padding-top:8px;
}
.q > .q-wide{
  grid-column:1 / -1;
  max-width:36em;
}
.q > .q-feature{
  grid-column:1 / -1;
  max-width:42rem;
}
.q > .q-feature blockquote{
  font-size:clamp(28px,3.4vw,42px);
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.03em;
  color:var(--acc);
}
.q > .q-feature .note{
  margin-top:20px;
  border-top-color:color-mix(in srgb,var(--acc) 28%,var(--line));
}
.q blockquote{
  font-style:italic;
  color:var(--acc);
}
.q blockquote::before{
  content:"“";
  display:block;
  font-size:3.5rem;
  font-weight:700;
  line-height:.7;
  letter-spacing:-.06em;
  color:var(--acc);
  margin:0 0 14px;
}
.q .note{
  display:block;
  width:100%;
  margin-top:18px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--mute);
  border-top:1px solid var(--line);
  padding-top:12px;
}
.inline-link{
  color:var(--acc);
  font-weight:600;
  text-underline-offset:3px;
}
.inline-link:hover{opacity:.85}

/* Next case — dark band continuous with footer */
.next{
  display:block;
  text-decoration:none;
  margin:80px 0 0;
  padding:72px max(40px, calc((100% - var(--w)) / 2 + 40px)) 80px;
  background:var(--footer-bg);
  color:var(--footer-cream);
  position:relative;
  border-top:none;
  transition:background .25s ease, color .25s ease;
}
.next::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--acc),var(--acc-2,var(--acc)));
}
.next .next-kicker{
  display:block;
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:color-mix(in srgb, var(--acc) 55%, #fff);
  margin-bottom:20px;
}
.next h2{
  font-size:clamp(40px,6vw,72px);
  max-width:14em;
  margin-bottom:18px;
  transition:color .2s ease;
}
.next p{
  font-size:20px;
  max-width:28em;
  opacity:.78;
  line-height:1.4;
}
.next:hover{
  background:color-mix(in srgb, var(--acc) 32%, #1a1a1a);
}
.next:hover h2{color:#fff}
.next:hover .next-kicker{
  color:color-mix(in srgb, var(--acc) 35%, #fff);
}
.next .next-arrow{
  display:inline-block;
  margin-top:28px;
  font-size:18px;
  font-weight:600;
  color:var(--footer-cream);
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
}
.next:hover .next-arrow{color:#fff}

/* Footer */
.site-footer{
  background:linear-gradient(180deg,var(--footer-bg) 0%,#0c0c0c 100%);
  color:var(--footer-cream);
  margin:0;
  padding:40px 0 56px;
  border-top:1px solid rgba(232,227,217,.14);
  overflow:visible;
}
.footer-inner{
  max-width:var(--w);
  margin:0 auto;
  padding:0 40px;
  overflow:visible;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  font-size:15px;
  line-height:1.45;
  margin-bottom:48px;
}
.footer-top strong{font-weight:600}
.footer-top .nick{color:var(--footer-gold)}
.footer-top a{
  color:var(--footer-cream);
  text-underline-offset:3px;
}
.footer-top a:hover{color:#fff}
.footer-mark{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
}
.footer-mark-wrap{
  position:relative;
  width:100%;
  overflow:visible;
  isolation:isolate;
}
.footer-mark-wrap .footer-mark{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.footer-letter{
  cursor:pointer;
  transform-box:fill-box;
  transform-origin:center bottom;
  transition:transform .28s cubic-bezier(.22,1,.36,1), filter .28s ease;
  pointer-events:auto;
}
.footer-letter path{
  transition:filter .28s ease, opacity .28s ease;
  pointer-events:visiblePainted;
  /* Fun emoji SVG cursors (set also via JS for reliable encoding); CSS fallbacks below */
  cursor:pointer;
}
.footer-letter[data-letter="R"] path{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 32 32'%3E%3Ctext x='16' y='22' text-anchor='middle' font-size='20'%3E%F0%9F%A6%81%3C/text%3E%3C/svg%3E") 48 48, pointer;
}
.footer-letter[data-letter="H"] path{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 32 32'%3E%3Ctext x='16' y='22' text-anchor='middle' font-size='20'%3E%F0%9F%94%8E%3C/text%3E%3C/svg%3E") 48 48, pointer;
}
.footer-letter[data-letter="A"] path{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 32 32'%3E%3Ctext x='16' y='22' text-anchor='middle' font-size='20'%3E%F0%9F%8E%A7%3C/text%3E%3C/svg%3E") 48 48, pointer;
}
.footer-letter[data-letter="W"] path{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 32 32'%3E%3Ctext x='16' y='22' text-anchor='middle' font-size='20'%3E%F0%9F%8E%B2%3C/text%3E%3C/svg%3E") 48 48, pointer;
}
.footer-letter.is-hot{
  transform:translateY(-2px);
  filter:drop-shadow(0 0 10px rgba(232,227,217,.28));
}
.footer-letter.is-pop{
  transform:translateY(-3px) scale(1.02);
}
.footer-letter:focus{
  outline:none;
}
html.using-tab .footer-letter:focus-visible{
  outline:2px solid rgba(232,227,217,.7);
  outline-offset:4px;
}
.footer-balloon{
  position:absolute;
  z-index:3;
  left:0;
  top:0;
  translate:-50% -110%;
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:min(240px,70vw);
  padding:10px 14px;
  border-radius:999px;
  background:#E8E3D9;
  color:#1a1714;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.25;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transform:translateY(8px) scale(.96);
  transition:opacity .28s ease, transform .34s cubic-bezier(.22,1,.36,1);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.footer-balloon::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  width:10px;
  height:10px;
  translate:-50% 0;
  rotate:45deg;
  background:#E8E3D9;
  border-radius:2px;
}
.footer-balloon.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}
.footer-balloon-emote{
  font-size:15px;
  line-height:1;
}
.footer-particle{
  position:absolute;
  z-index:1;
  left:0;
  top:0;
  translate:-50% -50%;
  font-size:15px;
  line-height:1;
  pointer-events:none;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.35));
  animation:footer-burst 1.05s cubic-bezier(.12,.82,.22,1) forwards;
  animation-delay:var(--delay,0ms);
}
.footer-particle.is-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--footer-cream);
  font-size:0;
  box-shadow:0 0 0 1px rgba(232,227,217,.3), 0 0 10px rgba(232,227,217,.45);
}
.footer-particle.is-big{
  font-size:20px;
}
.footer-particle.is-big.is-dot{
  width:10px;
  height:10px;
}
@keyframes footer-burst{
  0%{
    opacity:0;
    transform:translate(0,0) rotate(0deg) scale(.35);
  }
  12%{opacity:1}
  55%{opacity:1}
  100%{
    opacity:0;
    transform:translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(var(--scale,1.15));
  }
}
@media (prefers-reduced-motion:reduce){
  .footer-letter,
  .footer-letter path,
  .footer-balloon{
    transition:none;
    animation:none;
  }
  .footer-particle{
    animation-duration:.2s;
  }
}

.cards{display:grid;gap:0}
.card{display:grid;grid-template-columns:120px 1fr 1fr;gap:40px;padding:44px 0;border-top:1px solid var(--ink);text-decoration:none}
.card h2{font-size:56px}.card:hover h2{color:var(--acc)}
.card .note{padding-top:12px}

/* Home — linearized case index */
.page-home{
  --home-wash:#fffaf0;
  background:linear-gradient(180deg,var(--home-wash) 0%,var(--bg) 420px);
}
.page-home nav{
  position:relative;
  z-index:10;
}
.home-hero{
  padding:48px 0 56px;
  max-width:38em;
}
.home-hero .tag{
  color:var(--ink);
  font-weight:600;
  margin-bottom:18px;
  letter-spacing:.02em;
}
.home-hero h1{
  font-size:clamp(72px,14vw,148px);
  margin-bottom:28px;
  line-height:.8;
  letter-spacing:-.04em;
}
.home-hero .lead{
  font-size:18px;
  line-height:1.55;
  max-width:34em;
  margin-bottom:1em;
  color:var(--ink);
}
.home-hero .lead-secondary{
  color:var(--mute);
  margin-bottom:0;
}
.cases-kicker{
  font-family:"Bricolage Grotesque",sans-serif;
  font-size:clamp(36px,5vw,48px);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.08;
  margin:8px 0 0;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.cases{
  display:grid;
  gap:0;
  margin:8px 0 72px;
}
.case-row{
  --case-acc:var(--acc);
  display:grid;
  grid-template-columns:minmax(180px,.9fr) 1.2fr;
  gap:40px;
  align-items:center;
  padding:40px 0;
  border-top:1px solid var(--line);
  text-decoration:none;
  color:inherit;
  transition:border-color .25s ease, background-color .25s ease;
}
.case-row:first-child{border-top:0}
.case-row.case-ifood{--case-acc:#e02e30}
.case-row.case-betterfly{--case-acc:#1a9f55}
.case-row.case-bradesco{--case-acc:#e31d41}
.case-row-media{
  margin:0;
  overflow:hidden;
  border-radius:18px;
  background:color-mix(in srgb, var(--case-acc) 12%, #f3f1ec);
  aspect-ratio:1 / 1.03;
  transition:transform .45s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.case-row-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.22,1,.36,1), filter .35s ease;
}
.case-row-body{
  display:grid;
  gap:12px;
  align-content:center;
  min-width:0;
}
.case-num{
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--case-acc);
  transition:letter-spacing .3s ease;
}
.case-row h2{
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.15;
  margin:0;
  max-width:18em;
  transition:color .25s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.case-row-body p{
  margin:0;
  max-width:40em;
  font-size:16px;
  line-height:1.55;
  color:var(--mute);
  transition:color .25s ease;
}
.case-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  width:fit-content;
  border-bottom:1px solid transparent;
  transition:color .25s ease, border-color .25s ease, gap .3s ease, transform .3s ease;
}
.case-cta::after{
  content:"→";
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.case-row:hover,
.case-row:focus-visible{
  background:color-mix(in srgb, var(--case-acc) 5%, transparent);
}
.case-row:hover .case-row-media,
.case-row:focus-visible .case-row-media{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(22,33,28,.12);
}
.case-row:hover .case-row-media img,
.case-row:focus-visible .case-row-media img{
  transform:scale(1.045);
}
.case-row:hover .case-num,
.case-row:focus-visible .case-num{
  letter-spacing:.14em;
}
.case-row:hover h2,
.case-row:focus-visible h2{
  color:var(--case-acc);
  transform:translateX(4px);
}
.case-row:hover .case-row-body p,
.case-row:focus-visible .case-row-body p{
  color:var(--ink);
}
.case-row:hover .case-cta,
.case-row:focus-visible .case-cta{
  color:var(--case-acc);
  border-color:color-mix(in srgb, var(--case-acc) 55%, transparent);
  gap:12px;
}
.case-row:hover .case-cta::after,
.case-row:focus-visible .case-cta::after{
  transform:translateX(4px);
}
@media (prefers-reduced-motion:reduce){
  .case-row,
  .case-row-media,
  .case-row-media img,
  .case-num,
  .case-row h2,
  .case-row-body p,
  .case-cta,
  .case-cta::after{
    transition:none;
  }
  .case-row:hover .case-row-media,
  .case-row:hover .case-row-media img,
  .case-row:hover h2,
  .case-row:hover .case-cta::after{
    transform:none;
  }
}

:focus{outline:none}
html.using-tab :focus-visible{
  outline:3px solid var(--acc);
  outline-offset:3px;
}

@media (max-width:900px){
  .wrap{padding:0 24px}
  nav{padding:20px 24px}
  section{grid-template-columns:1fr;gap:24px;padding:48px 0}
  section aside{position:static}
  .meta,.stats.c3,.grid2,.grid3,.q,
  .board-grid.cols-2,
  .board-grid.cols-2.even,
  .board-grid.cols-3,
  .board-grid.cols-2-wide,
  .board-grid.cols-2-wide.rev,
  .annotations.cols-2,.annotations.cols-3,.annotations.cols-4{grid-template-columns:1fr}
  .stats.rows>div{grid-template-columns:1fr}
  .stats.rows .big,.stats .big{font-size:48px}
  .hero h1{font-size:clamp(48px,14vw,80px)}
  .hero .sub{font-size:22px}
  .card{grid-template-columns:1fr;gap:12px}
  .card h2{font-size:40px}
  .case-row{
    grid-template-columns:1fr;
    gap:20px;
    padding:32px 0;
  }
  .case-row-media{max-width:420px}
  .case-row h2{font-size:28px}
  .home-hero{padding:36px 0 40px}
  .next{margin:64px 0 0;padding:56px 24px 64px}
  .site-footer{padding:40px 0 48px}
  .footer-inner{padding:0 24px}
  .footer-top{flex-direction:column;gap:24px}
}
