/* Before / After — shared styles */
:root {
  --canvas: #E8EBE7;
  --dot: #CBD0CA;
  --card: #FFFFFF;
  --tile: #F3F5F2;
  --ink: #101312;
  --grey: #A2A8A3;
  --muted: #5D635F;
  --hair: #ECEEEB;
  --sage: #D3DECF;
  --sage-deep: #BCCDB8;
  --live: #9BE09A;
  --iris: linear-gradient(125deg, #E9F4EC 0%, #E7E2F7 35%, #F7E6EC 60%, #E3F0F4 100%);

  --sans: "Host Grotesk", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.2, .7, .15, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 20px;
  color: var(--ink); font: 400 1.0625rem/1.55 var(--sans);
  background: var(--canvas) radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 18px 18px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 28px; }

.frame { background: var(--card); border-radius: var(--r-lg); max-width: 1480px; margin: 0 auto; }
.frame + .frame { margin-top: 20px; }
.inner { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--mono); }
.grey { color: var(--grey); }

/* ---------- nav ---------- */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; }
.mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--iris);
  box-shadow: inset 0 0 0 1px rgba(16,19,18,.08), inset 0 -6px 10px rgba(167,140,220,.25);
  display: grid; place-items: center; font-size: .9rem; font-weight: 700;
}
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.menu-btn { display: none; }

/* ---------- buttons, pills, chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px;
  border-radius: 10px; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: transform .2s var(--ease);
}
.btn.solid { background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  background: #F2F4F1; border-radius: 999px; font-size: .9375rem;
}
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.pill i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.pill.plain { padding-left: 16px; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 14px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px rgba(16,19,18,.08);
  font-size: .875rem; line-height: 1.3;
  opacity: 0; transform: translateY(14px);
  animation: rise .9s var(--ease) forwards;
}
.chip b { display: block; font-weight: 600; }
.chip i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.chip svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* image placeholders: replace .placeholder with an <img> when you have real images */
.placeholder {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background:
    radial-gradient(70% 55% at 70% 30%, #F4F7F2 0%, transparent 70%),
    radial-gradient(60% 50% at 20% 85%, var(--sage-deep) 0%, transparent 70%),
    var(--sage);
}
.placeholder > .label { position: absolute; top: 18px; left: 20px; right: 20px; font: 400 .75rem var(--mono); color: var(--muted); }
.silhouette { position: absolute; right: 6%; bottom: 0; width: 64%; fill: #B7C6B3; }

/* ---------- headings ---------- */
h1, h2, h3 { font-weight: 400; letter-spacing: -0.035em; }
.display { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.04; margin: 26px 0; }
.lede { font-size: 1.1875rem; color: var(--muted); max-width: 42ch; margin: 0 0 36px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 0 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font: 400 .8125rem var(--mono); }
.section { padding-block: 64px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 48px 72px; }
.portrait { aspect-ratio: 4 / 5; border-radius: 22px; }
.portrait .chip:nth-of-type(1) { left: 7%; top: 46%; animation-delay: .5s; }
.portrait .chip:nth-of-type(2) { right: 7%; top: 63%; animation-delay: .75s; }
.portrait .chip:nth-of-type(3) { left: 14%; bottom: 7%; animation-delay: 1s; }

.companies { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; padding-block: 28px 56px; border-top: 1px solid var(--hair); }
.companies > span:first-child { font: 400 .75rem var(--mono); color: var(--muted); }
.co { font-size: 1.375rem; color: #3A3F3C; letter-spacing: -0.02em; text-decoration: none; }
.co.a { font-weight: 700; font-style: italic; }
.co.b { font-weight: 300; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem; }
.co.c { font-family: var(--mono); font-size: 1.1rem; }
.co.d { font-weight: 600; }

/* ---------- bento & stats (the signature) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--tile); border-radius: var(--r-lg); padding: 30px 32px 32px;
  display: flex; flex-direction: column; min-height: 400px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
a.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,19,18,.08); }
.tile .meta { font: 400 .75rem var(--mono); color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.tile h3 { font-weight: 500; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; margin: 14px 0 0; max-width: 24ch; }
.tile .go { margin-top: 18px; font-size: .9375rem; font-weight: 500; }
.tile.wide { grid-column: span 2; background: var(--iris); }
.tile.dark { background: var(--ink); color: #fff; }
.tile.dark .meta { color: #8F9691; }
.tile.dark ul { list-style: none; margin: auto 0 0; padding: 0; }
.tile.dark li { padding: 14px 0; border-top: 1px solid #2B302D; display: flex; justify-content: space-between; gap: 16px; }
.tile.dark li span { color: #8F9691; font: 400 .8125rem var(--mono); text-align: right; }

.stat { margin-top: auto; padding-top: 40px; }
.stat .label { font-size: .875rem; color: var(--muted); margin-bottom: 6px; }
.after, .before { display: block; font-weight: 400; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.after { font-size: clamp(4rem, 7vw, 6.5rem); }
.before { font-size: clamp(2.6rem, 4.4vw, 4rem); color: var(--grey); margin-top: 6px; }
.after small, .before small { font-size: .32em; letter-spacing: 0; margin-left: .25em; }
.tile.wide .stat { display: flex; align-items: end; gap: 48px; }
.tile.wide .stat p { max-width: 34ch; margin: 0 0 8px; color: var(--muted); }
.key { font: 400 .75rem var(--mono); color: var(--muted); display: inline-flex; gap: 14px; }
.key b { font-weight: 400; color: var(--ink); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { background: var(--tile); border-radius: var(--r-lg); padding: 36px; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; letter-spacing: -0.02em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.quote figcaption span { display: block; color: var(--muted); font-size: .875rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); flex: none; }

/* ---------- contact & footer ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-block: 96px 72px; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.contact-side p { color: var(--muted); margin: 0 0 22px; }
.site-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 32px; font: 400 .75rem var(--mono); color: var(--muted); }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- case study ---------- */
.case-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; padding-block: 40px 48px; }
.case-head .display { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 20px; }
.case-head .lede { margin: 0; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.facts div { padding: 14px 0; border-top: 1px solid var(--hair); }
.facts dt { font: 400 .75rem var(--mono); color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; }

.result-card {
  background: var(--iris); border-radius: var(--r-lg); padding: 36px 40px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; align-items: end;
}
.result-card .stat { padding-top: 0; }
.support { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; }
.support div { background: rgba(255,255,255,.6); border-radius: 16px; padding: 18px 20px; }
.support b { display: block; font-weight: 400; font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1.1; margin-top: 6px; }
.support span { font-size: .875rem; color: var(--muted); }

.case-body { display: grid; grid-template-columns: 220px 1fr; gap: 64px; padding-block: 72px 24px; }
.toc { position: sticky; top: 28px; align-self: start; }
.toc p { font: 400 .75rem var(--mono); color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: .9375rem; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--ink); }

.prose { max-width: 66ch; }
.prose section { scroll-margin-top: 24px; }
.prose section + section { margin-top: 64px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; margin: 0 0 18px; }
.prose h2 .step { display: block; font: 400 .75rem var(--mono); color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 600; }
.shot { margin: 32px 0; }
.shot .placeholder { aspect-ratio: 16 / 10; }
.shot figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.shot .chip { animation: none; opacity: 1; transform: none; right: 24px; bottom: 24px; }
.pull { margin: 40px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; }
.ba-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px 0; }
.ba-inline div { background: var(--tile); border-radius: 16px; padding: 20px; }
.ba-inline .label { font-size: .875rem; color: var(--muted); }
.ba-inline .after { font-size: 2.6rem; margin-top: 14px; }
.ba-inline .before { font-size: 1.6rem; }

.next { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 36px 40px; background: var(--tile); border-radius: var(--r-lg); text-decoration: none; transition: transform .35s var(--ease); }
.next:hover { transform: translateY(-3px); }
.next span { font: 400 .75rem var(--mono); color: var(--muted); }
.next h3 { margin: 8px 0 0; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.next .arrow { font-size: 2rem; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; padding-block: 40px 72px; }
.about-hero .portrait { aspect-ratio: 4 / 5; }
.roles { list-style: none; margin: 0; padding: 0; }
.roles li { display: grid; grid-template-columns: 160px 1.1fr 1.4fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.roles li:last-child { border-bottom: 1px solid var(--hair); }
.roles .when { font: 400 .8125rem var(--mono); color: var(--muted); }
.roles h3 { margin: 0; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.roles h3 span { display: block; color: var(--muted); font-size: 1rem; letter-spacing: 0; margin-top: 4px; }
.roles p { margin: 0; color: var(--muted); }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skills .tile { min-height: 280px; }
.skills .tile p { color: var(--muted); margin: 12px 0 0; }
.skills .tile ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skills .tile li { font: 400 .75rem var(--mono); background: var(--card); border-radius: 999px; padding: 5px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.wide { grid-column: 1 / -1; }
  .skills { grid-template-columns: 1fr 1fr; }
  .result-card { grid-template-columns: 1fr; gap: 28px; }
  .case-body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  body { padding: 10px; }
  .frame + .frame { margin-top: 10px; }
  .inner { padding-inline: 20px; }
  .nav { height: 76px; }
  .nav .cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
    border: 1px solid var(--ink); border-radius: 10px; background: none; font: 500 .9375rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 12px; right: 12px; z-index: 20;
    flex-direction: column; gap: 0; padding: 8px 20px; background: var(--card);
    border-radius: var(--r-md); box-shadow: 0 20px 40px rgba(16,19,18,.14);
  }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.125rem; }
  .nav-links li + li { border-top: 1px solid var(--hair); }
  .nav.open .nav-links { display: flex; }
  .hero, .contact, .case-head, .about-hero, .quotes { grid-template-columns: 1fr; gap: 40px; }
  .roles li { grid-template-columns: 1fr; gap: 6px; }
  .support { grid-auto-flow: row; }
  .result-card { padding: 28px 24px; }
  .next { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .bento, .skills { grid-template-columns: 1fr; }
  .tile { min-height: 340px; padding: 26px 24px; }
  .tile.wide .stat { flex-direction: column; align-items: start; gap: 18px; }
  .facts { grid-template-columns: 1fr; }
  .quote { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; opacity: 1; transform: none; }
  .tile, .btn, .next { transition: none; }
}

/* ---------- product screenshots ---------- */
.shot-img { border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px -20px rgba(16,19,18,.35); }
/* the release-video frame is letterboxed; crop to the product UI */
.shot-img img { width: 100%; height: auto; aspect-ratio: 2.55 / 1; object-fit: cover; object-position: 50% 48%; }

.stage { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; }
.stage .shot-img { position: absolute; left: 8%; top: 14%; width: 160%; }
.stage .label { position: absolute; top: 20px; left: 22px; font: 400 .75rem var(--mono); color: var(--muted); }
.stage .chip.c1 { left: 7%; top: 47%; animation-delay: .5s; }
.stage .chip.c2 { right: 7%; top: 63%; animation-delay: .75s; }
.stage .chip.c3 { left: 12%; bottom: 7%; animation-delay: 1s; }

/* ---------- featured case ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch;
  background: var(--iris); border-radius: var(--r-lg); padding: 36px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,19,18,.08); }
.feature-copy { display: flex; flex-direction: column; }
.feature .meta { font: 400 .75rem var(--mono); color: var(--muted); display: flex; gap: 16px; }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 14px 0 12px; }
.feature p { color: var(--muted); margin: 0; max-width: 40ch; }
.feature .go { margin-top: 22px; font-weight: 500; }
.feature-visual { display: flex; align-items: center; }
.feature-visual .shot-img { width: 100%; }
.prefix { display: block; font-size: .875rem; color: var(--muted); }

/* ---------- email actions ---------- */
.email-line { font: 500 clamp(1.1rem, 2.2vw, 1.5rem) var(--mono); letter-spacing: -0.01em; margin: 0 0 18px; word-break: break-all; }
.copy-status { font: 400 .8125rem var(--mono); color: var(--muted); min-height: 1.4em; margin-top: 12px; }

/* ---------- release video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0B0D0C; }
.video iframe, .video .player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: .9; transition: opacity .3s, transform 1s var(--ease); }
.video-poster:hover img { opacity: 1; transform: scale(1.015); }
.video-poster:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: var(--r-lg); }
.play {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 12px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0,0,0,.2); font: 500 1rem var(--sans); color: var(--ink);
}
.play i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.play i::after { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.video-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: var(--muted); margin-top: 14px; }
.video-caption a { color: var(--muted); }

.impact { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.35; letter-spacing: -0.015em; margin: 0 0 24px; max-width: 46ch; }
.support b.word { font-size: 1.25rem; letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding: 24px; }
  .feature-visual { order: -1; }
}
.eyebrow { font: 400 .75rem var(--mono); letter-spacing: 0; color: var(--muted); margin: 0 0 14px; }

.before.words { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; line-height: 1.25; margin-top: 12px; }

/* full-frame screenshots (not letterboxed video frames) */
.shot-img.native img { aspect-ratio: 1728 / 1078; object-position: 50% 50%; }
.stage .shot-img.native { left: -54%; top: 14%; width: 158%; }
.stage .shot-img.native img { aspect-ratio: 16 / 10; object-position: 50% 30%; }

/* ---------- highlighted webinar ---------- */
.webinar {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center;
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 36px;
}
.webinar .pill { background: #1F2422; color: #fff; }
.webinar h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; margin: 18px 0 14px; }
.webinar p { color: #A9B0AB; margin: 0 0 22px; max-width: 40ch; }
.webinar dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .9375rem; }
.webinar dt { font: 400 .75rem/1.9 var(--mono); color: #8F9691; }
.webinar dd { margin: 0; }
.webinar .video { border-radius: var(--r-md); box-shadow: 0 0 0 1px #2B302D; }
.webinar .video-poster:focus-visible { border-radius: var(--r-md); }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 400 .75rem var(--mono); color: var(--ink); background: rgba(255,255,255,.7); border-radius: 999px; padding: 4px 10px; }
.badge::before { content: ""; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent currentColor; }

/* home: stacked case cards alternate the image side */
.cases { display: grid; gap: 20px; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-visual { order: -1; }
.feature.alt { background: var(--tile); }

@media (max-width: 900px) {
  .webinar { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .feature.flip { grid-template-columns: 1fr; }
}
.webinar .video-poster { place-items: end; }
.webinar .play { margin: 16px; }
.support b small { display: block; font-size: .875rem; letter-spacing: 0; line-height: 1.3; margin-top: 4px; }
.support div { display: flex; flex-direction: column; }
.support .note { display: block; font-size: .75rem; margin-top: 6px; }
.title-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.pill.credit { display: inline-block; font-size: .8125rem; padding: 5px 12px; }
.pill.credit a { text-underline-offset: 3px; }
.pill.credit a:hover { text-decoration-thickness: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.support b:not(.word) { white-space: nowrap; font-size: clamp(1.35rem, 1.9vw, 1.75rem); }
.support b small { white-space: normal; }

/* ---------- documentation link card ---------- */
.doc-link {
  display: flex; align-items: center; gap: 16px; margin-top: 20px;
  padding: 16px 20px 16px 16px; border-radius: 16px;
  background: var(--tile); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.doc-link:hover { transform: translateY(-2px); background: #fff; box-shadow: inset 0 0 0 1px var(--hair), 0 12px 28px rgba(16,19,18,.08); }
.doc-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--iris); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(16,19,18,.06); }
.doc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.doc-text { display: flex; flex-direction: column; min-width: 0; }
.doc-source { font: 400 .75rem var(--mono); color: var(--muted); }
.doc-title { font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.doc-arrow { margin-left: auto; font-size: 1.25rem; transition: transform .25s var(--ease); }
.doc-link:hover .doc-arrow { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .doc-link, .doc-arrow { transition: none; } }

/* ---------- screenshot slider ---------- */
.slider { margin: 32px 0; }
.slider-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide-open {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: zoom-in; position: relative;
  border-radius: var(--r-md); overflow: hidden; background: var(--tile); box-shadow: inset 0 0 0 1px var(--hair);
}
.slide-open img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; transition: transform .6s var(--ease); }
.slide-open:hover img { transform: scale(1.015); }
.slide-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.slide-open .zoom {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font: 500 .8125rem var(--sans); color: var(--ink);
  background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(16,19,18,.12);
}
.slide figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.slide figcaption b { color: var(--ink); font-weight: 600; }
.slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.slider-count { font: 400 .75rem var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.slider-btns { display: flex; gap: 8px; }
.slider-btns button {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink); background: none; color: var(--ink);
  font-size: 1.125rem; cursor: pointer; transition: background .2s, color .2s;
}
.slider-btns button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.slider-btns button:disabled { opacity: .3; cursor: default; }
.slider-dots { display: flex; gap: 6px; }
.slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); transition: width .3s var(--ease), background .3s; }
.slider-dots span.on { width: 18px; border-radius: 3px; background: var(--ink); }

/* full-size viewer */
.lightbox {
  width: min(1400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0;
  border-radius: var(--r-md); background: var(--card); overflow: auto;
}
.lightbox::backdrop { background: rgba(16,19,18,.72); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; display: block; }
.lightbox-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--hair); font-size: .9375rem; }
.lightbox-bar button { height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--ink); background: none; font: 500 .9375rem var(--sans); cursor: pointer; }
.lightbox-bar button:hover { background: var(--ink); color: #fff; }

/* image anchored to the top of the frame (for tall screenshots) */
.shot-img.top img { object-position: 50% 0; }

@media (prefers-reduced-motion: reduce) {
  .slider-track { scroll-behavior: auto; }
  .slide-open img, .slider-dots span { transition: none; }
}
/* let the article column shrink so wide sliders never stretch it */
.case-body > * { min-width: 0; }

/* ---------- inline benchmark figures ---------- */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.figures-label { grid-column: 1 / -1; margin: 0 !important; font: 400 .75rem var(--mono); color: var(--muted); }
.figures div { background: var(--tile); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.figures b { font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.04em; line-height: 1.05; white-space: nowrap; }
.figures span { font-size: .875rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 640px) { .figures { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100vw - 32px);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: .9375rem; box-shadow: 0 16px 40px rgba(16,19,18,.25);
  transition: opacity .25s, transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
.toast { display: flex; align-items: center; gap: 14px; }
.toast.show { pointer-events: auto; }
.toast button { flex: none; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #fff; background: none; color: #fff; font: 500 .875rem var(--sans); cursor: pointer; }
.toast button:hover { background: #fff; color: var(--ink); }
.toast button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* hero proof chips: one tidy dark stack over the lower edge of the screenshot */
.stage .chip-stack {
  position: absolute; left: 7%; right: 7%; bottom: 7%;
  display: grid; gap: 8px;
}
.stage .chip-stack .chip {
  position: static; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(16, 19, 18, .9); color: #B9C0BB;
  box-shadow: 0 14px 30px -12px rgba(16, 19, 18, .45);
}
.stage .chip-stack .chip b { color: #fff; }
.stage .chip-stack .chip i { background: var(--iris); }
.stage .chip-stack .chip svg { stroke: var(--ink); }
.stage .chip-stack .chip:nth-child(1) { animation-delay: .5s; }
.stage .chip-stack .chip:nth-child(2) { animation-delay: .65s; }
.stage .chip-stack .chip:nth-child(3) { animation-delay: .8s; }
.mark.avatar { object-fit: cover; object-position: 50% 30%; background: var(--sage); }

/* header: name with role underneath */
.brand { gap: 12px; }
.brand .mark.avatar { width: 38px; height: 38px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand-role { font-weight: 400; font-size: .8125rem; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.hero .display { margin-top: 0; }
.shot-img.native { background: #fff; }
.shot-img.fit img { aspect-ratio: auto; }

/* notice shown on video covers before anything loads from YouTube */
.video-note {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 5px 10px; border-radius: 999px;
  font: 400 .75rem var(--sans); color: #fff; background: rgba(16, 19, 18, .62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 640px) { .video-note { font-size: .6875rem; left: 10px; bottom: 10px; } }

/* ---------- legal pages ---------- */
.legal { max-width: 860px; padding-block: 40px 72px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; margin: 0 0 10px; }
.legal .updated { font: 400 .8125rem var(--mono); color: var(--muted); margin: 0 0 40px; }
.legal section { max-width: 66ch; }
.legal section + section { margin-top: 36px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal .address { line-height: 1.6; }
/* highlighted placeholder: must be replaced before publishing */
.todo { background: #FFE58A; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.site-foot a[aria-current="page"] { color: var(--ink); }
.legal h1 + section { margin-top: 32px; }

/* hero headline: stepped sizes (not tied to window width) and the grey list on its own lines */
.hero-title { font-size: 2.5rem; line-height: 1.06; text-wrap: balance; }
.hero-title .grey { display: block; margin-top: .12em; }
.nowrap { white-space: nowrap; }
@media (min-width: 1100px) { .hero-title { font-size: 3.1rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 3.6rem; } }

/* phone spacing between sections */
@media (max-width: 900px) {
  .hero { padding-block: 16px 48px; }
  .section { padding-block: 48px; }
  .contact { padding-block: 56px 40px; }
  .case-head { padding-block: 24px 36px; }
  .case-body { padding-block: 48px 8px; }
  .legal { padding-block: 24px 48px; }
  .prose section + section { margin-top: 48px; }
}
