/* Home page: a copy of the live bespokelabs.ai homepage (Framer).
   Sizes come from the live page's computed styles. Desktop first; tablet <= 1439px, phone <= 809px.
   Motion lives in home.js. */


/* The live page tints the whole background darker while the research section is in view. */
body[data-page="home"] { transition: background-color 1s cubic-bezier(.5, 1, .89, 1); }
body[data-page="home"].hm-tan { background-color: #d6d1c7; }

/* 18px square grid used behind the stat strip and the "What We Do" cards */
.hm-grid {
  position: absolute; inset: -1px 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M18 0H0V18' fill='none' stroke='rgba(17,72,78,0.15)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 18px 18px;
}

/* small mono label with an underline that draws in when it scrolls into view */
.hm-eyebrow {
  position: relative; display: inline-block; padding: 4px 0;
  font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--muted);
}
.hm-eyebrow::after {
  content: ""; position: absolute; left: -1px; top: 19px; width: 1px; height: 1px;
  background: var(--muted); opacity: .5;
  transition: width .8s cubic-bezier(.22, 1, .36, 1) .2s;
}
.hm-eyebrow.is-in::after { width: calc(100% + 1px); }

.hm-h2 { font-family: var(--serif); font-weight: 300; font-size: 45.28px; line-height: 1; letter-spacing: -.04em; color: var(--teal); }

/* bordered mono tag, e.g. "ICLR 2026" */
.hm-tags li, .hm-tag {
  display: inline-block; white-space: pre; padding: 10px 9px 9px;
  box-shadow: inset 0 0 0 1px var(--muted);
  font-family: var(--mono); font-size: 12px; line-height: 12px; letter-spacing: .6px; color: var(--muted);
}

/* buttons: on hover the arrow turns to point right and the button fades a little, as on the live site */
.hm-ctas .btn { transition: opacity .2s ease; }
.hm-ctas .btn:hover { opacity: .9; }
.hm-ctas .btn-teal:hover { background: var(--teal); }
.hm-ctas .btn-outline { border: 0; box-shadow: inset 0 0 0 1px var(--teal); }
.hm-ctas .btn .arr { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.hm-ctas .btn:hover .arr { transform: rotate(45deg) scale(.8); }

/* load-in fades */
@keyframes hm-fade { from { opacity: 0; } }
.hm-appear { animation: hm-fade .5s cubic-bezier(.3, .1, .3, 1) both; }
.hm-appear-bk { animation: hm-fade .4s ease-out both; }
.hm-appear-bk2 { animation-delay: .12s; }
.hm-word { animation: hm-fade .2s ease-out both; }
.hm-appear-late { animation: hm-fade .55s ease-in-out .28s both; }

/* ═════════ hero + lab band ═════════ */
.hm-top { position: relative; overflow: hidden; }

.hm-hero { position: relative; z-index: 1; }
.hm-hero-in { display: flex; flex-direction: column; align-items: center; padding: 40px 20px 96px; }

.hm-badge {
  position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; margin-bottom: 32px;
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(207, 202, 194, .55);
  font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--teal);
}
.hm-badge span { padding: 9px 12px 7px; white-space: nowrap; }
.hm-badge i { width: 5px; height: 5px; background: var(--red); }

.hm-hero-main { display: flex; flex-direction: column; align-items: center; gap: 76px; width: 100%; }
.hm-hero-copy { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }

.hm-title {
  flex: none; width: 1200px; height: 159px;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--serif); font-weight: 300; font-size: 88px; line-height: .9; letter-spacing: -.04em;
  text-align: center; color: var(--teal);
}
.hm-title-l1 { display: block; }
.hm-title-l2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; height: 79px; }
.hm-title-l2 > span { white-space: pre; }
.hm-bk { color: var(--red); }
.hm-word { display: inline-flex; justify-content: center; overflow: hidden; padding: 8px 4px; }
.hm-word-in { display: block; flex: none; white-space: pre; }

.hm-hero-body { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.hm-lede {
  width: 100%; max-width: 640px; text-align: center; text-wrap: balance;
  font-size: 17.6px; line-height: 1.4; letter-spacing: -.01em; color: var(--teal-mid);
}
.hm-ctas { display: flex; align-items: center; gap: 12px; }

.hm-trust { position: relative; display: flex; align-items: center; gap: 32px; padding: 18px 24px 14px; overflow: hidden; }
.hm-trust::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--stone); pointer-events: none; }
.hm-trust > :not(.hm-grid) { position: relative; z-index: 1; }
.hm-trust-k { width: 125px; font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--teal-mid); }
.hm-stats { display: flex; align-items: center; gap: 40px; }
.hm-stats li { display: flex; align-items: flex-start; gap: 12px; }
.hm-stat-n { white-space: pre; text-align: center; font-family: var(--mono); font-size: 30px; line-height: 36px; letter-spacing: .09em; color: var(--teal); }
.hm-stat-t { font-size: 12px; font-weight: 500; line-height: 15.6px; color: var(--teal-mid); text-wrap: balance; }
.hm-stat-t1 { width: 108px; }
.hm-stat-t2 { width: 188px; }
.hm-stat-t3 { width: 137px; }

/* the teal band: it scales up as it scrolls in, and the cards and tags slide into place */
.hm-lab { position: relative; z-index: 2; padding: 0 40px; }
.hm-lab-in {
  position: relative; max-width: 1920px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 140px;
  padding: 180px 20px 310px;
}
.hm-lab-bg { position: absolute; top: -.0567526%; left: 0; width: 100%; height: 100%; background: var(--teal); }
.hm-lab-title {
  position: relative; z-index: 1; width: 100%; max-width: 765px; text-align: center;
  font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: .9; letter-spacing: -.04em; color: var(--paper);
}
.hm-lab-map { position: relative; z-index: 1; width: 1320px; display: flex; justify-content: center; align-items: center; gap: 136px; }
.hm-lab-line {
  position: absolute; top: 50%; left: 50%; z-index: 1; width: 1172px; height: 361px; transform: translate(-50%, -50%);
  fill: none; stroke: var(--teal-mid); stroke-width: 1.5; stroke-dasharray: 3; stroke-linecap: round; stroke-linejoin: round;
}
.hm-lab-card { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hm-lab-label {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 12px 16px 0;
  font-family: var(--serif); font-weight: 300; font-size: 20.8px; line-height: 1.1; letter-spacing: -.01em; color: var(--white); white-space: nowrap;
}
.hm-lab-label .brk { font-size: 23.68px; letter-spacing: -.03em; }
.hm-lab-gap { min-width: 104px; min-height: 42px; }
.hm-lab-img { display: flex; background: var(--teal); overflow: clip; }
.hm-lab-blend { position: relative; display: block; width: 203px; aspect-ratio: 1.06504; mix-blend-mode: exclusion; }
.hm-lab-blend::after { content: ""; position: absolute; inset: 0; border: 2px solid rgba(245, 65, 42, .45); }
.hm-lab-blend img { width: 100%; height: 100%; object-fit: cover; }
.hm-lab-chips { display: contents; }
.hm-chip {
  position: absolute; z-index: 1; padding: 10px 12px 8px; white-space: pre;
  background: #235458; box-shadow: inset 0 0 0 1px var(--teal-mid);
  font-family: var(--mono); font-size: 16px; line-height: 1.4; letter-spacing: -.01em; color: var(--paper);
}
.hm-chip-env { top: 60%; left: 8%; transform: translate(-50%, -50%); }
.hm-chip-data { top: 60%; right: 57px; transform: translateY(-50%); }
.hm-chip-alg { top: 130%; left: 50%; transform: translate(-50%, -50%); }
.hm-lab-tg1, .hm-lab-tg2 { position: absolute; left: 0; bottom: 0; width: 100%; pointer-events: none; visibility: hidden; }
.hm-lab-tg1 { height: 500px; }
.hm-lab-tg2 { height: 250px; }

/* ═════════ What We Do ═════════ */
.hm-what { max-width: 1920px; margin: 0 auto; padding: 80px 40px 40px; }
.hm-what-in { display: flex; align-items: flex-start; gap: 102px; }
.hm-what-left {
  flex: 1 1 0; min-width: 0; position: sticky; top: 100px; z-index: 1; height: 100vh; overflow: clip;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding-bottom: 130px;
}
.hm-what-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.hm-reveal { width: 609px; max-width: 100%; font-family: var(--serif); font-weight: 300; font-size: 45.28px; line-height: 1; letter-spacing: -.03em; color: var(--teal); }
.hm-reveal .hm-rw { white-space: nowrap; }
.hm-reveal .hm-rw span { opacity: .2; }
.hm-what-lede { max-width: 436px; text-wrap: balance; font-size: 17.6px; line-height: 1.4; letter-spacing: -.01em; color: var(--teal-mid); }
.hm-what-right { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; }
.hm-what-grid { inset: 330px 0 103px; }
.hm-what-cards { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; padding: 32px; }
.hm-what-spacer { height: 300px; }
.hm-what-end { height: 100px; }
.hm-pillar { height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px 24px; background: #ced9d0; }
.hm-pillar-head { display: flex; align-items: flex-start; gap: 24px; }
.hm-idx {
  flex: none; display: flex; align-items: center; gap: 6px; padding-top: 5px;
  font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--muted);
}
.hm-idx::before { content: ""; width: 2px; height: 14px; background: var(--red); }
.hm-pillar h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--teal); }
.hm-pillar p { font-size: 16px; line-height: 1.4; color: var(--teal); text-wrap: balance; }

/* ═════════ Who We Serve ═════════ */
.hm-serve { max-width: 1920px; margin: 0 auto; padding: 80px 40px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.hm-serve-head { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; text-align: center; }
.hm-serve-cards { display: flex; gap: 32px; width: 100%; }
.hm-aud {
  position: relative; flex: 1 1 0; min-width: 0; height: 510px;
  display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 32px 32px 48px;
  background: var(--paper);
}
.hm-aud::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--stone); pointer-events: none; }
.hm-aud-ent { padding: 32px; }
.hm-aud-k {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--serif); font-weight: 300; font-size: 20.8px; line-height: 1.1; letter-spacing: -.01em; color: var(--teal);
}
.hm-aud-k span:not(.brk) { padding-top: 4px; }
.hm-aud-k .brk { font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.hm-aud-text { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; text-align: center; }
.hm-aud-text h3 { width: 100%; max-width: 400px; text-wrap: balance; font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--teal); }
.hm-aud-text p { width: 100%; max-width: 400px; text-wrap: balance; font-size: 16px; line-height: 1.3; color: var(--teal-mid); }
.hm-aud-ent .hm-aud-text p { max-width: 440px; text-wrap: wrap; }

.hm-aud-anim { width: 100%; height: 170px; flex: none; display: flex; justify-content: center; align-items: center; }
.hm-ticker { flex: .4 0 0; min-width: 0; overflow: clip; display: flex; align-items: center; }
.hm-ticker-in { -webkit-mask: linear-gradient(270deg, #000 0% 65.398%, #00000003 100%); mask: linear-gradient(270deg, #000 0% 65.398%, #00000003 100%); }
.hm-ticker-out { -webkit-mask: linear-gradient(90deg, #000 0% 65.398%, #00000003 100%); mask: linear-gradient(90deg, #000 0% 65.398%, #00000003 100%); }
.hm-ticker-track { display: flex; align-items: center; gap: 32px; flex: none; }
.hm-ticker-track img { flex: none; }
/* one set of four icons plus its gaps is 229px wide; the track holds two sets and loops at 30px/s */
@keyframes hm-tick-left { from { transform: translateX(0); } to { transform: translateX(-229px); } }
@keyframes hm-tick-right { from { transform: translateX(-229px); } to { transform: translateX(0); } }
.hm-ticker-in .hm-ticker-track { animation: hm-tick-right 7.633s linear infinite; }
.hm-ticker-out .hm-ticker-track { animation: hm-tick-left 7.633s linear infinite; }
.hm-aud-tex { position: relative; flex: none; height: 100%; aspect-ratio: 1.02941; overflow: clip; }
.hm-aud-tex::after { content: ""; position: absolute; inset: 0; z-index: 2; border: 2px solid #c2594c; }
.hm-aud-tex img { position: absolute; top: 0; left: 0; z-index: 1; width: auto; max-width: none; height: 100%; opacity: .79; }

.hm-aud-uses { display: flex; gap: 16px; width: 100%; padding-top: 24px; }
.hm-use { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hm-use p { width: 100%; max-width: 400px; text-align: center; text-wrap: balance; font-size: 14px; line-height: 1.3; color: var(--teal-mid); }
.hm-ico { position: relative; flex: none; height: 80px; }
.hm-ico-img { position: relative; overflow: clip; }
.hm-ico-img::after { content: ""; position: absolute; inset: 0; border: 2px solid #d9887e70; }
.hm-ico-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hm-ico-eval { width: 72px; display: flex; align-items: center; }
.hm-ico-eval .hm-ico-img { width: 40px; height: 76px; }
.hm-ico-door { position: absolute; top: 14px; left: 33px; width: 49px; height: 52px; fill: var(--teal-mid); }
.hm-ico-opt { width: 120px; display: flex; flex-direction: column; align-items: center; overflow: clip; }
.hm-ico-opt .hm-ico-img { width: 76px; height: 76px; }
.hm-ico-bar { position: absolute; top: 4px; left: -2px; z-index: 1; width: 56px; height: 56px; overflow: clip; }
.hm-ico-bar svg { position: absolute; top: -2px; left: 14px; width: 28px; height: 52px; transform: rotate(-90deg); fill: var(--teal-mid); }

/* ═════════ Research ═════════ */
.hm-research { max-width: 1920px; margin: 0 auto; padding: 80px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; scroll-margin-top: 20px; }
.hm-research-in { display: flex; flex-direction: column; gap: 48px; width: 100%; }
.hm-research-head { display: flex; align-items: flex-end; gap: 32px; }
.hm-research-head .hm-h2 { flex: 2 0 0; min-width: 0; }
.hm-research-head p { flex: 1 0 0; min-width: 0; max-width: 562px; text-wrap: balance; font-size: 16px; font-weight: 300; line-height: 1.2; color: var(--teal); }
.hm-papers { display: flex; flex-direction: column; gap: 32px; }
.hm-paper { position: relative; display: flex; align-items: flex-start; gap: 32px; padding: 24px 24px 24px 13px; background: var(--cream); overflow: clip; }
.hm-paper::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--stone); pointer-events: none; }
.hm-paper-n {
  flex: none; width: 63px; display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; line-height: 10px; letter-spacing: .9px; color: var(--muted); text-transform: uppercase;
}
.hm-paper-n::before { content: ""; flex: none; width: 2px; height: 14px; background: var(--red); }
.hm-paper-main { flex: 2 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 42px; }
.hm-paper-text { display: flex; flex-direction: column; gap: 12px; }
.hm-paper-text h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--teal); }
.hm-paper-text p { max-width: 440px; font-size: 16px; line-height: 1.4; color: var(--teal-mid); }
.hm-paper .link-arr, .hm-join .link-arr { min-height: 32px; }
.hm-tags { flex: 1 0 0; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.hm-paper-dots {
  position: absolute; left: 0; top: 48px; bottom: -1px; width: 44px; opacity: .17; mix-blend-mode: multiply; pointer-events: none;
  background: url("../../img/live/home/research-grid.a0a3c1a9cb.svg") left top / 43px auto repeat;
}

/* ═════════ Get in Touch ═════════ */
.hm-join { max-width: 1920px; margin: 0 auto; display: flex; align-items: flex-start; gap: 48px; padding: 100px 40px 72px; }
.hm-join-head { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 4px; }
.hm-join-head .hm-h2 { max-width: 468px; text-wrap: balance; }
.hm-join-rows { flex: 2 0 0; min-width: 0; display: flex; flex-direction: column; padding-top: 44px; }
.hm-join-row { position: relative; display: flex; flex-direction: column; gap: 32px; padding: 32px 32px 24px; background: var(--paper); }
.hm-join-row::after { content: ""; position: absolute; inset: 0; border: solid var(--stone); border-width: 1px 1px 0; pointer-events: none; }
.hm-join-row:last-child::after { border-bottom-width: 1px; }
.hm-join-chip { display: flex; }
.hm-join-bar { flex: none; width: 3px; }
.hm-bar-teal { background: var(--teal-mid); }
.hm-bar-stone { background: var(--stone); }
.hm-bar-red { background: var(--red); }
.hm-join-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 51px; }
.hm-join-text { display: flex; align-items: flex-start; align-self: flex-start; gap: 16px; }
.hm-join-text h3 { flex: none; width: 160px; font-family: var(--serif); font-weight: 300; font-size: 23.68px; line-height: 1.1; letter-spacing: -.03em; color: var(--teal); }
.hm-join-text p { flex: none; width: 430px; font-size: 16px; line-height: 1.4; color: var(--teal-mid); }

/* ═════════ tablet ═════════ */
@media (max-width: 1439px) {
  .hm-title { width: 771px; font-size: 60.8px; }
  .hm-lede { font-size: 17.28px; }

  .hm-trust { flex-direction: column; gap: 24px; width: 100%; max-width: 810px; padding: 16px 24px 14px; }
  .hm-trust-k { width: 100%; text-align: center; }
  .hm-stats { gap: 20px; }
  .hm-stat-t2 { width: 124px; }

  .hm-lab { padding: 0 20px; }
  .hm-lab-title { font-size: 49.6px; letter-spacing: -.03em; }
  .hm-lab-map { width: 100%; gap: 80px; }
  .hm-lab-line { top: 55%; width: 721px; height: 230px; }
  .hm-lab-blend { width: 170px; }
  .hm-chip-env { top: 140%; left: 34%; }
  .hm-chip-data { top: 140%; left: 50%; right: auto; transform: translate(-50%, -50%); }
  .hm-chip-alg { top: 140%; left: 65%; }

  .hm-what { padding: 80px 16px 40px; }
  .hm-what-in { gap: 40px; }
  .hm-what-right { flex: 1.5 1 0; }
  .hm-reveal { width: 100%; font-size: 35.2px; }
  .hm-what-lede { font-size: 17.28px; }
  .hm-pillar h3 { font-size: 28.8px; }
  .hm-pillar p { font-size: 15px; }

  .hm-h2 { font-size: 40px; }
  .hm-serve-cards { flex-direction: column; }
  .hm-aud { flex: none; width: 100%; }
  .hm-aud-k .brk, .hm-aud-text h3 { font-size: 28.8px; }

  .hm-paper-text h3 { font-size: 28.8px; }
  .hm-paper-text p { font-size: 15px; }

  .hm-join-rows { padding-top: 0; }
  .hm-join-row { gap: 32px; padding: 24px 16px 16px; }
  .hm-join-body { flex-direction: column; align-items: flex-start; gap: 24px; min-height: 0; }
  .hm-join-text { flex-direction: column; gap: 16px; width: 100%; }
  .hm-join-text p { width: 100%; font-size: 15px; text-wrap: balance; }
}

/* ═════════ phone ═════════ */
@media (max-width: 809px) {
  .hm-hero-in { padding: 24px 16px 96px; }
  .hm-hero-main { gap: 72px; }
  .hm-title { width: 360px; height: auto; font-size: 46.4px; }
  .hm-title-l2 { height: auto; }
  .hm-word { padding: 4px; }
  .hm-lede { font-size: 14.4px; }
  .hm-ctas .btn { height: 40px; }

  .hm-trust { width: 100%; min-width: 360px; max-width: 377px; padding: 18px 16px 23px; }
  .hm-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hm-stats li { align-items: center; gap: 6px; }
  .hm-stat-n { width: 96px; text-align: right; font-size: 22px; line-height: 26.4px; }
  .hm-stat-t2 { width: 188px; }

  .hm-lab { padding: 0 16px 16px; }
  .hm-lab-in { gap: 55px; padding: 60px 20px 20px; }
  .hm-lab-bg { top: -4.44016%; left: .145775%; }
  .hm-lab-title { font-size: 35.2px; }
  .hm-lab-map { flex-direction: column; gap: 32px; padding: 24px 0; }
  .hm-lab-line { top: -12px; width: 278px; height: 100px; transform: translateX(-50%); }
  .hm-lab-card { flex-direction: row; justify-content: center; gap: 16px; width: 100%; }
  .hm-lab-frontier { order: 2; padding-top: 32px; }
  .hm-lab-neo { order: 3; }
  .hm-lab-ent { order: 4; }
  .hm-lab-label { flex: none; width: 149px; padding: 0 0 16px; }
  .hm-lab-gap { display: none; }
  .hm-lab-blend { width: 150px; }
  .hm-lab-chips { order: 1; display: flex; justify-content: center; gap: 8px; width: 100%; }
  .hm-chip { position: relative; top: auto; left: auto; right: auto; transform: none; font-size: 14.4px; }
  .hm-chip-env { order: 0; }
  .hm-chip-data { order: 1; }
  .hm-chip-alg { order: 2; }
  .hm-lab-tg1 { left: .145775%; }
  .hm-lab-tg2 { bottom: -100px; }

  .hm-what { padding: 80px 0 0; }
  .hm-what-in { flex-direction: column; align-items: stretch; gap: 48px; }
  .hm-what-left { flex: none; position: relative; top: auto; height: auto; justify-content: flex-start; gap: 24px; width: 100%; padding: 0 16px; }
  .hm-reveal { font-size: 30.4px; }
  .hm-what-lede { max-width: 100%; font-size: 14.4px; }
  .hm-what-right { flex: none; width: 100%; }
  .hm-what-grid { inset: -1px 0; }
  .hm-what-cards { gap: 24px; padding: 24px 24px 37px; }
  .hm-what-spacer, .hm-what-end { display: none; }
  .hm-pillar h3 { font-size: 23.68px; }

  .hm-h2 { font-size: 32px; }
  .hm-serve { padding: 80px 16px 16px; }
  .hm-serve-cards { align-items: center; gap: 16px; }
  .hm-aud { max-width: 600px; height: auto; gap: 32px; padding: 32px 24px 48px; }
  .hm-aud-ent { padding: 32px 24px; }
  .hm-aud-k .brk, .hm-aud-text h3 { font-size: 23.68px; }
  .hm-aud-text h3 { line-height: 1; }
  .hm-aud-text p { max-width: none; }
  .hm-aud-ent .hm-aud-text p { text-wrap: balance; }
  .hm-ticker { flex: .5 0 0; }
  .hm-ticker-in, .hm-ticker-out { -webkit-mask: none; mask: none; }
  .hm-aud-tex { width: 135px; height: auto; aspect-ratio: .964286; }
  .hm-aud-uses { flex-direction: column; gap: 32px; }

  .hm-research { padding: 80px 16px 20px; }
  .hm-research-head { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hm-research-head .hm-h2, .hm-research-head p { flex: none; width: 100%; max-width: none; }
  .hm-papers { gap: 16px; }
  .hm-paper { flex-direction: column; gap: 32px; padding: 22px 24px 18px; }
  .hm-paper-n { width: auto; min-height: 15px; }
  .hm-paper-main { flex: none; width: 100%; order: 2; }
  .hm-paper-text h3 { font-size: 23.68px; }
  .hm-tags { flex: none; width: 100%; order: 1; justify-content: flex-start; }
  .hm-paper-dots { left: 56px; right: 0; top: 0; bottom: auto; width: auto; height: 44px; }

  .hm-join { flex-direction: column; align-items: stretch; padding: 80px 16px 32px; }
  .hm-join-head { flex: none; align-items: center; width: 100%; text-align: center; }
  .hm-join-head .hm-h2 { text-wrap: wrap; }
  .hm-join-rows { flex: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-ticker-track { animation: none !important; }
  .hm-eyebrow::after { width: calc(100% + 1px); }
}

/* Live balances these lines too (text-wrap: balance on the Framer text). */
.hm-paper-text p,
.hm-join-text h3,
.hm-join-text p { text-wrap: balance; }
