/* --------------------------------------------------------------------------
   Local Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-lato-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-lato-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-poppins-600-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/casestudies-assets/betterhalf/fonts/better-poppins-700.woff2') format('woff2');
}

/* ==========================================================================
   Betterhalf — Case Study
   Figma: "Case study design - Betterhalf" · node 1:17312
   Canvas 1920 · content frame 1840 (40px gutter) · text column 1375
   ========================================================================== */
/* --------------------------------------------------------------------------
   0 · Asset hooks
   -------------------------------------------------------------------------- */
.betterhalf-page {
  --mask-a: url("/casestudies-assets/betterhalf/images/better-phone-a-mask.webp");
  --mask-b: url("/casestudies-assets/betterhalf/images/better-phone-b-mask.webp");
  --mask-c: url("/casestudies-assets/betterhalf/images/better-phone-c-mask.webp");
  --icon-minus: url("/casestudies-assets/betterhalf/images/svg/better-icon-minus.svg");
  --icon-plus: url("/casestudies-assets/betterhalf/images/svg/better-icon-plus.svg");
}

/* --------------------------------------------------------------------------
   1 · Design tokens
   -------------------------------------------------------------------------- */
.betterhalf-page {
  /* layout ------------------------------------------------------------- */
  --wide: 1840px;
  /* content frame  */
  --narrow: 1375px;
  /* text column    */
  --gutter: clamp(16px, 2.083vw, 40px);

  /* rhythm ------------------------------------------------------------- */
  --gap: clamp(12px, 1.042vw, 20px);
  /* 20 */
  --sp-block: clamp(24px, 2.083vw, 40px);
  /* 40 */
  --sp-md: clamp(32px, 3.125vw, 60px);
  /* 60 */
  --sp-lg: clamp(48px, 5.208vw, 100px);
  /* 100 */

  /* padding scale ------------------------------------------------------ */
  --pad-30: clamp(18px, 1.563vw, 30px);
  --pad-40: clamp(22px, 2.083vw, 40px);
  --pad-60: clamp(24px, 3.125vw, 60px);

  /* type — max values are the Figma sizes at 1920 ---------------------- */
  --fs-cta: clamp(28px, 3.125vw, 60px);
  /* 60 / 78 */
  --fs-display: clamp(28px, 2.604vw, 50px);
  /* 50 / 68 */
  --fs-stat: clamp(40px, 3.646vw, 70px);
  /* 70 / 68 */
  --fs-word: clamp(26px, 2.396vw, 46px);
  /* 46      */
  --fs-lead: clamp(18px, 1.458vw, 28px);
  /* 28      */
  --fs-26: clamp(19px, 1.354vw, 26px);
  /* 26      */
  --fs-24: clamp(17px, 1.250vw, 24px);
  /* 24      */
  --fs-22: clamp(16px, 1.146vw, 22px);
  /* 22      */
  --fs-20: clamp(15px, 1.042vw, 20px);
  /* 20 / 32 */

  --lh-display: 1.36;
  /* 68/50 */
  --lh-cta: 1.30;
  /* 78/60 */
  --lh-body: 1.60;
  /* 32/20 */

  /* colour ------------------------------------------------------------- */
  --ink: #111;
  --ink-2: #222;
  --ink-3: #333;
  --body: #444;
  --body-2: #555;
  --muted: #666;
  --plum: #601a39;
  --plum-deep: #2f0c5c;
  --pink: #ff5b91;
  --pink-deep: #770027;
  --purple: #642f8d;
  --navy: #1f3164;
  --lilac: #d2b7ff;
  --cream: #ffe99a;
  --grey: #f2f2f6;
  --hairline: rgba(96, 26, 57, 0.14);

  /* radii -------------------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: clamp(14px, 1.042vw, 20px);
  --r-xl: clamp(22px, 2.604vw, 50px);

  /* gradients ---------------------------------------------------------- */
  --g-hero: linear-gradient(-14.82deg, #770027 2.04%, #ff5b91 101.25%);
  --g-solutions: linear-gradient(-18.52deg, #770027 2.04%, #ff5b91 101.25%);
  --g-text: linear-gradient(-2.63deg, #770027 2.04%, #ff5b91 101.25%);
  --g-pink-card: linear-gradient(126.96deg, #fff0f5 19.377%, #fedce8 106.89%);
  --g-blue-card: linear-gradient(126.96deg, #f0f5ff 19.377%, #dce2fe 106.89%);
  --g-stat: linear-gradient(127.92deg, #fff0f5 19.377%, #fedce8 106.89%);
  --g-cell: linear-gradient(154.09deg, #f2f9ff 19.377%, #ffffff 106.89%);
  --g-stack: linear-gradient(177.35deg, #2d4383 15.608%, #0e1b40 116.37%);
  --g-cta: linear-gradient(173.51deg, #642f8d 15.608%, #7d2149 80.702%, #a8244f 116.37%);
}

/* --------------------------------------------------------------------------
   2 · Reset
   -------------------------------------------------------------------------- */
.betterhalf-page *,
.betterhalf-page *::before,
.betterhalf-page *::after {
  box-sizing: border-box;
}

.betterhalf-page {
  -webkit-text-size-adjust: 100%;
}

.betterhalf-page {
  margin: 0;
  padding: 0 0 var(--gutter);
  background: #fff;
  color: var(--body);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.betterhalf-page h1,
.betterhalf-page h2,
.betterhalf-page h3,
.betterhalf-page p,
.betterhalf-page dl,
.betterhalf-page dd,
.betterhalf-page dt,
.betterhalf-page figure {
  margin: 0;
}

.betterhalf-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.betterhalf-page img {
  display: block;
  max-width: 100%;
  border: 0;
}

.betterhalf-page a {
  color: inherit;
  text-decoration: none;
}

.betterhalf-page b,
.betterhalf-page strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3 · Layout primitives
   -------------------------------------------------------------------------- */
.betterhalf-page .container {
  width: 100%;
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.betterhalf-page .narrow {
  width: 100%;
  max-width: var(--narrow);
  margin-inline: auto;
}

.betterhalf-page .narrow--flush {
  margin-inline: auto;
}

.betterhalf-page {
  display: block;
}

.betterhalf-page .section {
  position: relative;
}

.betterhalf-page .section--hero {
  padding-top: var(--gutter);
}

.betterhalf-page .section--flush {
  margin-top: 0;
}

.betterhalf-page .section--xs {
  margin-top: var(--gap);
}

.betterhalf-page .section--md {
  margin-top: var(--sp-md);
}

.betterhalf-page .section--lg {
  margin-top: var(--sp-lg);
}

.betterhalf-page .section--challenges {
  margin-top: 0;
  padding-top: var(--sp-lg);
}

.betterhalf-page .section--cta {
  margin-top: var(--sp-block);
}

.betterhalf-page .stack-20 {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.betterhalf-page .stack-40 {
  display: flex;
  flex-direction: column;
  gap: var(--sp-block);
}

.betterhalf-page .grid {
  display: grid;
  gap: var(--gap);
}

.betterhalf-page .grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.betterhalf-page .grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   4 · Typography
   -------------------------------------------------------------------------- */
.betterhalf-page .display {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  color: var(--ink);
  letter-spacing: -.005em;
  overflow-wrap: break-word;
}

.betterhalf-page .display b {
  font-weight: 700;
}

.betterhalf-page .lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--body);
}

.betterhalf-page .body-lg {
  font-size: var(--fs-24);
  line-height: 1.55;
  color: var(--body);
}

.betterhalf-page .t-pink {
  color: var(--pink);
}

.betterhalf-page .t-ink {
  color: var(--ink-3);
}

.betterhalf-page .t-cream {
  color: var(--cream);
}

.betterhalf-page .t-grad {
  background-image: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5 · Shared decorative pieces
   -------------------------------------------------------------------------- */
.betterhalf-page .blob {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.betterhalf-page .blob img {
  position: absolute;
  max-width: none;
}

.betterhalf-page .blob--lg {
  aspect-ratio: 1;
}

.betterhalf-page .blob--lg img {
  left: -64.53%;
  top: -64.53%;
  width: 229.06%;
  height: 229.06%;
}

.betterhalf-page .blob--sm {
  aspect-ratio: 171/197;
}

.betterhalf-page .blob--sm img {
  left: -76.61%;
  top: -66.5%;
  width: 253.22%;
  height: 233%;
}

.betterhalf-page .blob--pill {
  aspect-ratio: 171/148;
}

.betterhalf-page .blob--pill img {
  left: -116.96%;
  top: -135.14%;
  width: 333.92%;
  height: 370.28%;
}

.betterhalf-page .blob--pill-b {
  aspect-ratio: 171/148;
}

.betterhalf-page .blob--pill-b img {
  left: -146.2%;
  top: -168.92%;
  width: 392.4%;
  height: 437.84%;
}

.betterhalf-page .blob {
  left: var(--l, auto);
  right: var(--r, auto);
  top: var(--t, auto);
  bottom: var(--b, auto);
}

.betterhalf-page .rule {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(96, 26, 57, 0.14);
}

.betterhalf-page .rule img {
  width: 100%;
  height: 1px;
}

/* --------------------------------------------------------------------------
   6 · HERO
   -------------------------------------------------------------------------- */
.betterhalf-page .hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.betterhalf-page .hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.betterhalf-page .hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.betterhalf-page .hero__logo {
  position: absolute;
  left: 50%;
  top: 4.76%;
  transform: translateX(-50%);
  width: clamp(150px, 16.53%, 305px);
  aspect-ratio: 304.225/90;
  background: #fff;
  border-radius: clamp(12px, 1.377vw, 25.35px);
  z-index: 10;
}

.betterhalf-page .hero__logo img {
  position: absolute;
  left: 8.33%;
  top: 28.17%;
  width: 83.34%;
  height: 43.46%;
  object-fit: contain;
}

.betterhalf-page .hero__stage {
  position: absolute;
  inset: 0;
}

.betterhalf-page .mark {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  aspect-ratio: var(--ar);
  transform: translate(-50%, -50%) rotate(var(--r));
  pointer-events: none;
}

.betterhalf-page .mark img {
  width: 100%;
  height: 100%;
}

.betterhalf-page .mark--soft {
  mix-blend-mode: soft-light;
}

.betterhalf-page .mark--over {
  mix-blend-mode: overlay;
}

.betterhalf-page .phone {
  position: absolute;
  overflow: hidden;
}

.betterhalf-page .phone img {
  position: absolute;
  max-width: none;
}

.betterhalf-page .screen {
  position: absolute;
}

.betterhalf-page .screen img {
  width: 100%;
  height: 100%;
}

.betterhalf-page .phone--a {
  left: 19.18%;
  top: 17.87%;
  width: 43.31%;
  height: 96.68%;
  z-index: 1;
}

.betterhalf-page .phone--a img {
  left: -52.97%;
  top: -10.59%;
  width: 205.93%;
  height: 121.23%;
}

.betterhalf-page .screen--a {
  left: 27.90%;
  top: 25.22%;
  width: 27.47%;
  height: 80.66%;
  z-index: 1;
  -webkit-mask-image: var(--mask-a);
  mask-image: var(--mask-a);
  -webkit-mask-size: 157.67% 119.87%;
  mask-size: 157.67% 119.87%;
  -webkit-mask-position: 55.04% 45.83%;
  mask-position: 55.04% 45.83%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.betterhalf-page .phone--b {
  left: 36.82%;
  top: 12.19%;
  width: 48.30%;
  height: 108%;
  z-index: 2;
}

.betterhalf-page .phone--b img {
  left: -52.97%;
  top: -10.51%;
  width: 205.93%;
  height: 121.03%;
}

.betterhalf-page .screen--b {
  left: 43.17%;
  top: 19.61%;
  width: 34.75%;
  height: 91.70%;
  z-index: 2;
  -webkit-mask-image: var(--mask-b);
  mask-image: var(--mask-b);
  -webkit-mask-size: 138.99% 117.78%;
  mask-size: 138.99% 117.78%;
  -webkit-mask-position: 46.85% 45.48%;
  mask-position: 46.85% 45.48%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   7 · META ROW
   -------------------------------------------------------------------------- */
.betterhalf-page .meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-block);
  padding-block: var(--pad-40);
}

.betterhalf-page .meta__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.betterhalf-page .meta dt {
  font-weight: 500;
  font-size: var(--fs-22);
  line-height: 1.5;
  color: var(--plum);
}

.betterhalf-page .meta dd {
  margin: 0;
  font-size: var(--fs-22);
  line-height: 1.5;
  color: var(--muted);
}

.betterhalf-page .meta__stores {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.betterhalf-page .meta__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(96, 26, 57, 0.06);
  color: #000000;
  font-size: var(--fs-18, 18px);
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: 1px solid rgba(96, 26, 57, 0.12);
}

.betterhalf-page .meta__store-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.betterhalf-page .meta__store-btn:hover {
  background: var(--plum);
  color: #ffffff !important;
  border-color: var(--plum);
  transform: translateY(-2px);
}

.betterhalf-page .meta__store-btn:hover img {
  transform: scale(1.1);
}

.betterhalf-page .meta__store-btn:hover img[src*="app-store"] {
  filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   8 · PROJECT OVERVIEW
   -------------------------------------------------------------------------- */
.betterhalf-page .overview {
  background: var(--grey);
  border-radius: var(--r-lg);
  padding: var(--pad-60);
  display: flex;
  flex-direction: column;
  gap: var(--pad-30);
  overflow: hidden;
}

.betterhalf-page .overview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-block);
}

.betterhalf-page .overview__title {
  flex: 0 0 auto;
}

.betterhalf-page .overview__copy {
  flex: 0 1 1081px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.betterhalf-page .overview__kicker {
  font-weight: 600;
  font-style: italic;
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--ink-3);
}

.betterhalf-page .plum {
  position: relative;
  background: var(--plum-deep);
  border-radius: var(--r-md);
  overflow: hidden;
  padding: clamp(10px, 1.16vw, 20px) clamp(10px, 1.16vw, 20px) 0;
  isolation: isolate;
}

.betterhalf-page .plum .blob--lg {
  width: 11.80%;
}

.betterhalf-page .plum .blob--sm {
  width: 9.94%;
}

.betterhalf-page .plum__sheet {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 10px 10px 0 0;
  padding: clamp(28px, 5.208vw, 100px) var(--pad-60);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pad-60);
}

.betterhalf-page .plum__quote {
  max-width: var(--narrow);
  text-align: center;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--plum);
}

.betterhalf-page .plum__quote b {
  font-weight: 700;
}

.betterhalf-page .lockup {
  position: relative;
  width: min(366px, 80%);
  aspect-ratio: 366.244/150;
}

.betterhalf-page .lockup__infinity {
  position: absolute;
  inset: .27% .01% .3% .01%;
  width: 99.98%;
  height: 99.43%;
  transform: scaleY(-1);
}

.betterhalf-page .lockup__betterhalf {
  position: absolute;
  left: 17.88%;
  top: 21.83%;
  width: 13.51%;
  height: 49.75%;
  object-fit: contain;
}

.betterhalf-page .lockup__mi {
  position: absolute;
  left: 67.36%;
  top: 31.47%;
  width: 18.62%;
  height: 36.93%;
}

/* --------------------------------------------------------------------------
   9 · OBJECTIVES + SCREENSHOT
   -------------------------------------------------------------------------- */
.betterhalf-page .split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.betterhalf-page .shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-image: var(--g-blue-card);
}

.betterhalf-page .shot img {
  position: absolute;
  left: 46.38%;
  top: 5.88%;
  width: 52.97%;
  height: auto;
  transform: translateX(-50%);
}

.betterhalf-page .objectives {
  display: flex;
  flex-direction: column;
  gap: var(--sp-block);
  padding: var(--pad-60) var(--pad-60) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-image: var(--g-pink-card);
  height: 100%;
}

.betterhalf-page .objectives__list {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.betterhalf-page .objectives__list li {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: clamp(12px, 1.2vw, 20px) var(--pad-30);
  font-size: var(--fs-24);
  line-height: 1.45;
  color: var(--plum);
  display: flex;
  align-items: center;
  flex: 1;
}

.betterhalf-page .objectives__list li:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   10 · CHALLENGES
   -------------------------------------------------------------------------- */
.betterhalf-page .challenges__title {
  margin-bottom: var(--sp-block);
}

.betterhalf-page .tile {
  display: flex;
  flex-direction: column;
  gap: var(--pad-30);
  padding: var(--pad-30);
  border-radius: var(--r-lg);
  background: rgba(210, 183, 255, .12);
  overflow: hidden;
}

.betterhalf-page .tile__icon {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--lilac);
}

.betterhalf-page .tile__icon img {
  width: clamp(26px, 1.77vw, 34px);
  height: clamp(26px, 1.77vw, 34px);
}

.betterhalf-page .tile__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.betterhalf-page .tile__title {
  font-weight: 700;
  font-size: var(--fs-26);
  line-height: 1.35;
  color: var(--purple);
}

.betterhalf-page .tile p {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--body);
}

/* --------------------------------------------------------------------------
   11 · SOLUTIONS
   -------------------------------------------------------------------------- */
.betterhalf-page .solutions {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: var(--pad-60);
  background-image: var(--g-solutions);
}

.betterhalf-page .solutions__head {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin-bottom: var(--sp-block);
}

.betterhalf-page .solutions__title {
  color: #fff;
}

.betterhalf-page .solutions__title b {
  font-weight: 700;
}

.betterhalf-page .solutions__lead {
  color: #fff;
}

.betterhalf-page .solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: column;
  gap: 0;
}

.betterhalf-page .sol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--pad-40);
  background: #fff;
  border: 1px solid rgba(96, 26, 57, .08);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.betterhalf-page .sol__title {
  font-weight: 700;
  font-size: var(--fs-26);
  line-height: 1.35;
  color: var(--plum);
}

.betterhalf-page .sol p {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--body-2);
}

/* --------------------------------------------------------------------------
   12 · PILLAR TABLE
   -------------------------------------------------------------------------- */
.betterhalf-page .pillars {
  margin-top: var(--sp-block);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.betterhalf-page .pillars__row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--hairline);
}

.betterhalf-page .pillars__row:last-child {
  border-bottom: 0;
}

.betterhalf-page .pillars__label {
  flex: 0 0 40%;
  padding: var(--pad-40);
  background-image: var(--g-cell);
}

.betterhalf-page .pillars__label h3 {
  font-weight: 700;
  font-size: var(--fs-26);
  line-height: 1.35;
  color: var(--navy);
  max-width: 420px;
}

.betterhalf-page .pillars__content {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--pad-40);
  background: #fff;
}

.betterhalf-page .dots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.betterhalf-page .dots li {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--body-2);
}

.betterhalf-page .dots li::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: calc((var(--fs-20) * var(--lh-body) - 12px) / 2);
  border-radius: 50%;
  background: var(--pink);
}

/* --------------------------------------------------------------------------
   13 · TECH STACK
   -------------------------------------------------------------------------- */
.betterhalf-page .stack {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.23vw, 62px);
  padding: var(--pad-60);
  border-radius: var(--r-lg);
  background-image: var(--g-stack);
}

.betterhalf-page .stack__title {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
}

.betterhalf-page .stack__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.betterhalf-page .stack__pills li {
  padding: 10px 25px;
  border-radius: 80px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   14 · TEAM
   -------------------------------------------------------------------------- */
.betterhalf-page .team {
  background: var(--grey);
  border-radius: var(--r-lg);
  padding: var(--pad-60);
  overflow: hidden;
}

.betterhalf-page .team__head {
  margin-bottom: var(--sp-block);
}

.betterhalf-page .team__head .body-lg {
  max-width: var(--narrow);
}

.betterhalf-page .card {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--pad-30);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.betterhalf-page .card__title {
  font-weight: 700;
  font-size: var(--fs-26);
  line-height: 1.35;
  color: var(--plum);
}

.betterhalf-page .card p {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--body);
}

/* --------------------------------------------------------------------------
   15 · IMAGE BANNER
   -------------------------------------------------------------------------- */
.betterhalf-page .banner {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--plum-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(8px, 1.16vw, 20px);
}

.betterhalf-page .banner .blob--lg {
  width: 11.03%;
}

.betterhalf-page .banner .blob--sm {
  width: 9.29%;
}

.betterhalf-page .banner__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--grey);
  border-radius: clamp(10px, 1.2vw, 20px);
  overflow: hidden;
  z-index: 1;
}

.betterhalf-page .banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  max-width: none;
}

.betterhalf-page .banner__badge {
  position: absolute;
  right: clamp(12px, 1.5vw, 28px);
  top: clamp(12px, 1.5vw, 28px);
  width: clamp(100px, 11vw, 170px);
  aspect-ratio: 169/49.996;
  background: #fff;
  border-radius: clamp(6px, .765vw, 14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.betterhalf-page .banner__badge img {
  position: absolute;
  left: 8.33%;
  top: 28.17%;
  width: 83.34%;
  height: 43.46%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   16 · RESULT STATS
   -------------------------------------------------------------------------- */
.betterhalf-page .stats {
  margin-top: var(--sp-block);
}

.betterhalf-page .stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-block);
  min-height: clamp(280px, 21vw, 402px);
  padding: var(--pad-40);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-image: var(--g-stat);
}

.betterhalf-page .stat__top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.betterhalf-page .stat__num {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: var(--fs-stat);
  line-height: 1;
  color: var(--plum);
}

.betterhalf-page .stat__word {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: var(--fs-word);
  line-height: 1.2;
  color: var(--plum);
}

.betterhalf-page .stat__label {
  font-size: var(--fs-24);
  line-height: 1.4;
  color: var(--plum);
}

.betterhalf-page .stat__desc {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--ink-3);
}

.betterhalf-page .stat__desc--dark {
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   17 · FAQ
   -------------------------------------------------------------------------- */
.betterhalf-page .faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-block);
}

.betterhalf-page .faq__title {
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  color: var(--ink);
}

.betterhalf-page .faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.betterhalf-page .faq__item {
  background: var(--grey);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: var(--pad-30);
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.betterhalf-page .faq__item.is-open {
  background: #ffffff;
  border-color: rgba(255, 91, 145, 0.35);
  box-shadow: 0 10px 32px rgba(119, 0, 39, 0.08);
}

.betterhalf-page .faq__summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  font-size: var(--fs-24);
  line-height: 1.4;
  color: var(--ink-2);
  user-select: none;
  transition: color 0.3s ease;
}

.betterhalf-page .faq__item.is-open .faq__summary {
  color: var(--plum);
}

.betterhalf-page .faq__summary:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
  border-radius: 4px;
}

.betterhalf-page .faq__icon {
  flex: 0 0 auto;
  width: clamp(24px, 1.667vw, 32px);
  height: clamp(24px, 1.667vw, 32px);
  margin-left: auto;
  background-image: var(--icon-plus);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-image 0.2s ease;
}

.betterhalf-page .faq__item.is-open .faq__icon {
  background-image: var(--icon-minus);
  transform: rotate(180deg);
}

.betterhalf-page .faq__answer {
  max-width: 1213px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.betterhalf-page .faq__answer-inner {
  padding-top: 14px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.betterhalf-page .faq__item.is-open .faq__answer-inner {
  opacity: 1;
  transform: translateY(0);
}

.betterhalf-page .faq__answer p {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--body);
}

/* --------------------------------------------------------------------------
   18 · CTA
   -------------------------------------------------------------------------- */
.betterhalf-page .section--cta {
  padding-top: clamp(0px, 6.875vw, 132px);
}

.betterhalf-page .cta {
  position: relative;
  min-height: clamp(300px, 24vw, 461px);
  display: flex;
  align-items: center;
  padding: var(--pad-60);
  isolation: isolate;
}

.betterhalf-page .cta__card {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background-image: var(--g-cta);
  overflow: hidden;
  z-index: 0;
}

.betterhalf-page .cta .blob--pill,
.betterhalf-page .cta .blob--pill-b {
  width: 9.29%;
}

.betterhalf-page .cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-block);
  width: 100%;
  max-width: 1183px;
}

.betterhalf-page .cta__title {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: var(--fs-cta);
  line-height: var(--lh-cta);
  color: #fff;
  overflow-wrap: break-word;
  max-width: 1000px;
}

.betterhalf-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 66px;
  background: var(--pink);
  font-weight: 600;
  font-size: var(--fs-24);
  line-height: 1.3;
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}

.betterhalf-page .btn img {
  width: clamp(26px, 1.98vw, 38px);
  height: clamp(26px, 1.98vw, 38px);
}

.betterhalf-page .btn:hover {
  background: #f0447f;
}

.betterhalf-page .btn:active {
  transform: translateY(1px);
}

.betterhalf-page .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.betterhalf-page .cta__phone {
  position: absolute;
  left: 69.40%;
  right: 0;
  top: -28.63%;
  bottom: 0;
  overflow: hidden;
  border-bottom-right-radius: var(--r-lg);
  z-index: 1;
}

.betterhalf-page .phone--c {
  left: -9.196%;
  top: -6.877%;
  width: 117.15%;
  height: 141.93%;
}

.betterhalf-page .phone--c img {
  left: -52.97%;
  top: -10.51%;
  width: 205.93%;
  height: 121.03%;
}

.betterhalf-page .screen--c {
  left: 6.202%;
  top: 2.869%;
  width: 84.29%;
  height: 120.51%;
  -webkit-mask-image: var(--mask-c);
  mask-image: var(--mask-c);
  -webkit-mask-size: 138.99% 117.78%;
  mask-size: 138.99% 117.78%;
  -webkit-mask-position: 46.85% 45.48%;
  mask-position: 46.85% 45.48%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ==========================================================================
   19 · Responsive
   ========================================================================== */
@media (max-width:1440px) {
  .betterhalf-page .cta__inner {
    max-width: 64%;
  }
}

@media (max-width:1200px) {
  .betterhalf-page .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .betterhalf-page .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .betterhalf-page .overview__copy {
    flex: 1 1 auto;
  }

  .betterhalf-page .pillars__label {
    flex-basis: 34%;
  }
}

@media (max-width:992px) {
  .betterhalf-page .overview__head {
    flex-direction: column;
    gap: var(--pad-30);
  }

  .betterhalf-page .overview__copy {
    max-width: none;
  }

  .betterhalf-page .split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-block);
  }

  .betterhalf-page .objectives {
    height: auto;
    padding: var(--pad-40) var(--pad-40) 0;
  }

  .betterhalf-page .shot {
    aspect-ratio: 16/10;
  }

  .betterhalf-page .shot img {
    width: 46%;
    top: 8%;
  }

  .betterhalf-page .solutions__grid {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: var(--gap);
  }

  .betterhalf-page .sol {
    border-radius: var(--r-lg);
  }

  .betterhalf-page .stack {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--pad-30);
  }

  .betterhalf-page .stack__pills {
    justify-content: flex-start;
  }

  .betterhalf-page .cta {
    min-height: 0;
  }

  .betterhalf-page .cta__inner {
    max-width: none;
  }

  .betterhalf-page .cta__phone {
    display: none;
  }

  .betterhalf-page .section--cta {
    padding-top: 0;
  }
}

@media (max-width:768px) {

  .betterhalf-page .grid--3,
  .betterhalf-page .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .betterhalf-page .meta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pad-30);
  }

  .betterhalf-page .hero__logo {
    top: 4.76%;
    width: 16.53%;
    border-radius: clamp(6px, 1.377vw, 25.35px);
  }

  .betterhalf-page .pillars__row {
    flex-direction: column;
  }

  .betterhalf-page .pillars__label {
    flex: 0 0 auto;
  }

  .betterhalf-page .pillars__label h3 {
    max-width: none;
  }

  .betterhalf-page .banner {
    aspect-ratio: 16/10;
  }

  .betterhalf-page .stat {
    min-height: 0;
    gap: var(--pad-30);
  }

  .betterhalf-page .shot {
    aspect-ratio: 4/3;
  }

  .betterhalf-page .shot img {
    width: 52%;
  }

  .betterhalf-page .faq__item summary {
    align-items: flex-start;
  }

  .betterhalf-page .faq__icon {
    margin-top: 2px;
  }

  .betterhalf-page .dots li::before {
    width: 10px;
    height: 10px;
  }

  .betterhalf-page .br-lg {
    display: none;
  }
}

@media (max-width:560px) {
  .betterhalf-page .plum {
    padding: 12px 12px 0;
  }

  .betterhalf-page .plum__sheet {
    padding: var(--pad-30);
    gap: var(--pad-30);
  }

  .betterhalf-page .lockup {
    width: min(280px, 90%);
  }

  .betterhalf-page .banner {
    aspect-ratio: 4/3;
  }

  .betterhalf-page .banner__badge {
    right: 12px;
    top: 12px;
    width: 105px;
  }

  .betterhalf-page .stack__pills li {
    padding: 8px 18px;
    white-space: normal;
  }

  .betterhalf-page .btn {
    width: 100%;
    padding: 16px 22px;
  }
}

@media (max-width:380px) {
  .betterhalf-page {
    --gutter: 14px;
  }

  .betterhalf-page .hero__logo {
    top: 18px;
  }

  .betterhalf-page .objectives__list li {
    padding: 16px 18px;
  }

  .betterhalf-page .faq__item {
    padding: 20px 18px;
  }
}

@media (min-width:1920px) {
  .betterhalf-page {
    --gutter: 40px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .betterhalf-page *,
  .betterhalf-page *::before,
  .betterhalf-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* SEO Heading Element Resets */
.betterhalf-page h3.faq__q-text {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}