/* ============================================================
   /glp-1/ — GLP-1 landing page (tools/reclaim/build-glp1.mjs)
   Loaded ONLY by that page, after styles.css, so no other page gets heavier. Builds on the
   site tokens and the Hard 4x system (body.h4x: 700 headings, Space Mono eyebrows, h4x-sec
   rhythm, the comparison shell, ghost headlines, the closing band). Components here are the
   page's own: lifestyle hero, icon trust strip, the two-treatment chooser, "protected by glycine" cards, numbers,
   projection chart, editorial food split, oversized "Reclaim yourself." over the photo reel,
   steps and milestones, plan card and the phone sticky bar. Deliberately light on text
   (client, 2026-10-27). Load-in and reveal motion only runs under html.h4x-motion.
   ============================================================ */

.glp { --glp-ink: #0D0B1F; --glp-deep: #12087A; --glp-grad: linear-gradient(150deg, #2E1BFF 0%, #1A0FC2 52%, #0B0566 100%);
  /* the two vials: semaglutide is the brand blue, tirzepatide a violet (6:1 on white for text and buttons) */
  --glp-sema: #2E1BFF; --glp-tirz: #7436EA; }
.glp .h4x-sec { padding-block: clamp(64px, calc(40px + 4.2vw), 112px); }
.glp-ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.glp-ico--lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* ── hero: a wide editorial photograph with the copy on its quiet left side. A warm canvas
   wash from the left keeps the copy legible without greying the photograph. */
.glp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, calc(100svh - var(--nav-h) - var(--announce-h)));
  display: grid; align-items: center;
  background: var(--surface-canvas);
}
.glp-hero__media { position: absolute; inset: 0; z-index: -2; }
.glp-hero__media picture, .glp-hero__img { display: block; width: 100%; height: 100%; }
.glp-hero__img { object-fit: cover; object-position: 66% 50%; }
.glp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(247, 245, 242, .94) 0%, rgba(247, 245, 242, .84) 34%, rgba(247, 245, 242, 0) 62%);
}
.glp-hero__copy {
  width: min(100% - 2 * var(--gutter), 600px);
  margin-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
  padding-block: clamp(32px, 4.4vw, 64px);
  display: grid; gap: 16px; justify-items: start;
}
.glp-hero__copy .eyebrow { margin: 0; color: var(--brand-blue); }
.glp-hero__h1 { margin: 0; font-size: clamp(48px, calc(26px + 4vw), 84px); line-height: .98; letter-spacing: -.045em; }
.glp-hero__dek { margin: 0 0 6px; font-size: clamp(20px, calc(14px + .85vw), 27px); line-height: 1.2; font-weight: 400; letter-spacing: -.015em; color: var(--glp-ink); text-wrap: balance; }
/* the highlighted word: bold brand blue on a soft periwinkle marker stroke that sweeps in
   from the left shortly after load (static for reduced-motion visitors) */
.glp-hl {
  color: var(--brand-blue); font-weight: 700; padding: 0 .06em; border-radius: 2px;
  background: linear-gradient(rgba(121, 109, 255, .34), rgba(121, 109, 255, .34)) no-repeat 0 88% / 100% 34%;
}
html.h4x-motion .glp-hl { background-size: 0% 34%; animation: glp-hl-in 1s cubic-bezier(.65, 0, .35, 1) .6s forwards; }
@keyframes glp-hl-in { to { background-size: 100% 34%; } }
@media (max-width: 760px) {
  /* phones: the portrait crop sits on top, the copy follows on canvas */
  .glp-hero { display: block; min-height: 0; }
  .glp-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; max-height: 70svh; }
  .glp-hero__img { object-position: 50% 30%; }
  .glp-hero::before { display: none; }
  .glp-hero__copy { width: auto; margin: 0 var(--gutter); padding-block: 28px 44px; gap: 16px; }
  .glp-hero .hero__ctas { width: 100%; }
  .glp-hero .hero__ctas .btn { flex: 1 1 auto; }
}

/* ── trust strip ──────────────────────────────────────────── */
.glp-trust { background: var(--glp-ink); color: #fff; overflow: hidden; }
.glp-trust__list {
  list-style: none; margin: 0 auto; padding: 14px var(--gutter); max-width: var(--content-max);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font: 400 11px/1.4 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .03em; text-transform: uppercase;
}
.glp-trust__list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.glp-trust__list .glp-ico { width: 17px; height: 17px; color: var(--brand-periwinkle); stroke-width: 1.7; }
@media (max-width: 760px) {
  .glp-trust__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .glp-trust__list::-webkit-scrollbar { display: none; }
}

/* ── numbers: what the percentages mean, on a dark stage with the upright vials ── */
.glp-stats {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(72px, calc(44px + 5vw), 132px) var(--gutter);
  background:
    radial-gradient(52% 62% at 24% 66%, rgba(46, 27, 255, .62), transparent 72%),
    radial-gradient(52% 62% at 78% 66%, rgba(116, 54, 234, .52), transparent 72%),
    #06041C;
}
.glp-stats__head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: clamp(36px, 4.4vw, 60px); }
.glp-stats__head > * { margin: 0; }
.glp-stats__head .eyebrow { color: #B9B2FF; }
.glp-stats__head h2 { color: #fff; }
.glp-stats .glp-stats__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.glp-stat {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.6vw, 34px);
  padding: clamp(24px, 3vw, 40px); border-radius: 30px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .035) 62%); border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 70px -46px #000;
}
.glp-stat p { margin: 0; }
/* sized by height: the two cutouts differ slightly in shape, and the vials must match */
.glp-stat__media { position: relative; display: grid; justify-items: center; }
.glp-stat__media img { position: relative; display: block; width: auto; height: 340px; max-width: none; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .5)); }
.glp-stat__media::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -14px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 140, 255, .55), transparent); }
.glp-stat__body { display: grid; gap: 8px; min-width: 0; }
.glp-stat__name { font: 500 12px/1.2 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; color: #C9C4FF; }
.glp-stat--tirz .glp-stat__name { color: #DCC9FF; }
.glp-stat__num { font-size: clamp(60px, calc(30px + 4.4vw), 96px); line-height: .98; font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.glp-stat__label { font-size: clamp(16px, calc(14px + .3vw), 19px); line-height: 1.3; font-weight: 500; color: #fff; }
.glp-stat__bar { position: relative; height: 10px; margin-top: 12px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .17); }
.glp-stat__bar span { position: absolute; inset: 0 0 0 auto; width: var(--lost); border-radius: 99px; background: linear-gradient(90deg, #8D82FF, #fff); transition: width 1.5s var(--ease) .35s; }
.glp-stat--tirz .glp-stat__bar span { background: linear-gradient(90deg, #B58CFF, #fff); }
.h4x-motion .glp-stats__list:not(.is-in) .glp-stat__bar span { width: 0; }
.glp-stat__plain { margin-top: 6px !important; font-size: 15px; line-height: 1.4; color: var(--text-on-deep-soft); }
.glp-stat__plain strong { color: #fff; font-weight: 600; }
.glp-stats__once { display: flex; align-items: center; justify-content: center; gap: 10px; margin: clamp(28px, 3.4vw, 44px) 0 0; font-size: 17px; color: var(--text-on-deep-soft); }
.glp-stats__once strong { color: #fff; }
.glp-stats__once .glp-ico { color: #C9C4FF; }
@media (max-width: 860px) { .glp-stats .glp-stats__list { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 640px) { .glp-stat { grid-template-columns: 90px minmax(0, 1fr); padding: 22px 20px; border-radius: 24px; } .glp-stat__media img { height: 216px; } }

/* ── projection: the visitor's weight, their two projected weights, one graph with both lines.
   glp.js draws the graph in real pixels, so its type stays the same size on a phone. ── */
.glp-proj__shell {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-areas: "controls chart" "cta chart"; grid-template-rows: 1fr auto;
  gap: clamp(20px, 2.4vw, 28px) clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: var(--surface-card); border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -44px rgba(13, 11, 31, .4);
}
.glp-proj__controls { grid-area: controls; display: grid; gap: 12px; justify-items: start; align-content: start; }
.glp-proj__controls > * { margin: 0; }
.glp-proj__cta { grid-area: cta; }
.glp-proj__label { font: 400 11px/1.4 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.glp-proj__label:not(:first-child) { margin-top: 12px; }
.glp-proj__weight { display: flex; align-items: baseline; gap: 6px; font-size: clamp(52px, calc(36px + 2.2vw), 72px); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--glp-ink); }
.glp-proj__weight span { font-size: .4em; letter-spacing: 0; color: var(--text-muted); font-weight: 500; }
.glp-proj__num {
  width: 3.05ch; padding: 0 0 2px; border: 0; border-bottom: 2px dashed var(--line-soft); border-radius: 0; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield;
}
.glp-proj__num::-webkit-outer-spin-button, .glp-proj__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.glp-proj__num:focus { outline: none; border-bottom-color: var(--brand-blue); border-bottom-style: solid; }
.glp-proj__range { width: 100%; accent-color: var(--brand-blue); height: 28px; cursor: pointer; }
.glp-proj__ends { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.glp-end { display: grid; gap: 6px; padding: 14px 14px 16px; border-radius: 18px; background: var(--brand-tint); }
.glp-end--tirz { background: #F4EEFF; }
.glp-end p { margin: 0; }
.glp-end__name { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--glp-ink); }
.glp-end__name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--glp-sema); flex: 0 0 auto; }
.glp-end--tirz .glp-end__name::before { background: var(--glp-tirz); }
.glp-end__to { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--glp-sema); font-variant-numeric: tabular-nums; }
.glp-end--tirz .glp-end__to { color: var(--glp-tirz); }
.glp-end__to small { font-size: .42em; letter-spacing: 0; font-weight: 500; }
.glp-end__by { font-size: 13px; line-height: 1.3; color: var(--text-secondary); }
.glp-end__by strong { color: var(--glp-ink); font-variant-numeric: tabular-nums; }

.glp-chart { grid-area: chart; min-width: 0; display: flex; flex-direction: column; }
html:not(.js) .glp-chart { display: none; }
.glp-chart__read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0 0 10px; font-size: 14px; color: var(--text-secondary); }
.glp-chart__read strong { color: var(--glp-ink); font-size: 16px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.glp-chart__who { display: inline-flex; align-items: center; gap: 7px; }
.glp-chart__who::before { content: ""; width: 16px; height: 4px; border-radius: 2px; background: var(--glp-sema); }
.glp-chart__who--tirz::before { background: var(--glp-tirz); }
.glp-chart__who b { color: var(--glp-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.glp-chart__stage { position: relative; flex: 1 1 auto; height: 400px; min-height: 300px; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; border-radius: 12px; }
.glp-chart__stage:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 4px; }
.glp-chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.glp-chart__grid line { stroke: var(--line-soft); stroke-width: 1; }
.glp-chart__grid .is-today { stroke: #BDB9CC; stroke-dasharray: 2 5; }
.glp-chart__grid text, .glp-chart__tick { fill: var(--text-muted); font: 400 11.5px 'IBM Plex Mono', ui-monospace, monospace; }
.glp-chart__grid .is-y { text-anchor: end; }
.glp-chart__line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.glp-chart__line--sema { stroke: var(--glp-sema); }
.glp-chart__line--tirz { stroke: var(--glp-tirz); }
.glp-chart__fill--sema { fill: url(#glp-fill-sema); }
.glp-chart__fill--tirz { fill: url(#glp-fill-tirz); }
.glp-chart__today { fill: var(--glp-ink); font: 700 14px 'Inter', system-ui, sans-serif; letter-spacing: -.01em; }
.glp-chart__end { font: 700 15px 'Inter', system-ui, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.glp-chart__end--sema { fill: var(--glp-sema); }
.glp-chart__end--tirz { fill: var(--glp-tirz); }
.glp-chart__start { fill: var(--glp-ink); }
.glp-chart__enddot--sema { fill: var(--glp-sema); }
.glp-chart__enddot--tirz { fill: var(--glp-tirz); }
.glp-chart__cross { stroke: var(--glp-ink); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .45; }
.glp-chart__dot { fill: #fff; stroke-width: 3.5; }
.glp-chart__dot--sema { stroke: var(--glp-sema); }
.glp-chart__dot--tirz { stroke: var(--glp-tirz); }
.glp-chart__grip rect { fill: var(--glp-ink); }
.glp-chart__grip path { fill: #fff; }
/* the two lines draw themselves once, when the graph scrolls into view (main motion only) */
.h4x-motion .glp-chart:not(.is-drawn) .glp-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.h4x-motion .glp-chart:not(.is-drawn) .glp-chart__fill, .h4x-motion .glp-chart:not(.is-drawn) .glp-chart__after { opacity: 0; }
.glp-chart.is-drawn .glp-chart__line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(.65, 0, .35, 1); }
.glp-chart.is-drawn .glp-chart__line--tirz { transition-delay: .15s; }
.glp-chart__fill, .glp-chart__after { transition: opacity .8s var(--ease) 1s; }
@media (max-width: 960px) {
  .glp-proj__shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "controls" "chart" "cta"; grid-template-rows: none; }
  .glp-chart__stage { flex: none; height: 340px; }
  .glp-proj__cta .btn { width: 100%; }
}
@media (max-width: 640px) {
  .glp-proj__shell { padding: 22px 18px; }
  .glp-chart__stage { height: 300px; }
  .glp-chart__read { gap: 4px 14px; font-size: 13px; }
  .glp-chart__read strong { flex: 0 0 100%; }
  .glp-chart__end { font-size: 13.5px; }
}

/* ── choose your GLP-1: two cards on one subgrid, so each row lines up across both ── */
.glp-pick { background: var(--surface-canvas); scroll-margin-top: var(--nav-h); }
.glp-pick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: clamp(16px, 2.4vw, 28px); }
.glp-pcard {
  --c: var(--glp-sema); --pad: clamp(20px, 2.4vw, 32px);
  display: grid; grid-row: span 9; grid-template-rows: subgrid; row-gap: 0;
  border-radius: 28px; overflow: hidden; background: var(--surface-card); border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -44px rgba(13, 11, 31, .4);
}
.glp-pcard--tirzepatide { --c: var(--glp-tirz); }
.glp-pcard__media {
  position: relative; display: grid; place-items: center; padding: 34px 0 26px;
  background: radial-gradient(ellipse 52% 56% at 50% 52%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 72%), linear-gradient(180deg, #DEDBFF 0%, #F3F2FF 100%);
}
.glp-pcard--tirzepatide .glp-pcard__media { background: radial-gradient(ellipse 52% 56% at 50% 52%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 72%), linear-gradient(180deg, #E8DAFF 0%, #F7F2FF 100%); }
.glp-pcard__media img { width: min(40%, 170px); height: auto; filter: drop-shadow(0 26px 26px rgba(18, 8, 122, .3)); }
.glp-pcard__tag {
  position: absolute; top: 16px; left: 16px; margin: 0; padding: 7px 12px; border-radius: 999px; background: #fff;
  font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--c);
}
.glp-pcard__name { margin: 0; padding: 24px var(--pad) 20px; font-size: clamp(28px, calc(18px + 1vw), 36px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; color: var(--glp-ink); }
.glp-pcard__name span { display: block; margin-top: 4px; font-size: .58em; font-weight: 400; letter-spacing: -.01em; color: var(--text-muted); }
.glp-pcard__price { margin: 0; padding: 0 var(--pad) 20px; font-size: 34px; line-height: 1; font-weight: 700; letter-spacing: -.035em; color: var(--c); }
.glp-pcard__price span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
.glp-pcard__rows { display: contents; }
.glp-pcard__rows > div { display: grid; gap: 3px; align-content: start; padding: 12px var(--pad); border-top: 1px solid var(--line-soft); }
.glp-pcard__rows dt { font: 400 10.5px/1.3 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.glp-pcard__rows dd { margin: 0; font-size: 15.5px; line-height: 1.4; font-weight: 500; color: var(--glp-ink); text-wrap: pretty; }
.glp-pcard__rows sup { font-size: .6em; color: var(--text-muted); }
.glp-pcard__cta { align-self: end; margin: 10px var(--pad) var(--pad); background: var(--c); color: #fff; }
.glp-pcard__cta:hover { background: color-mix(in srgb, var(--c) 86%, #000); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--c) 70%, transparent); }
@media (max-width: 760px) {
  .glp-pick__grid { grid-template-columns: minmax(0, 520px); }
  .glp-pcard__media img { width: min(40%, 170px); }
}

/* ── why glycine: the photograph is the card, the words sit on it ── */
.glp-why { background: var(--surface-canvas); }
.glp-gly__cards {
  position: relative; z-index: 1; list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.glp-gcard { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; aspect-ratio: 4 / 5; background: #1B1A22; color: #fff; }
.glp-gcard__media { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; }
/* taller than its frame: the parallax margin the motion engine reads */
.glp-gcard__media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; display: block; }
.glp-gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 30, 0) 38%, rgba(10, 8, 30, .78) 100%); }
.glp-gcard__text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 22px; }
.glp-gcard__text p, .glp-gcard__text h3 { margin: 0; }
.glp-gcard__off {
  position: absolute; top: 16px; left: 16px; margin: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 6px 16px -8px rgba(13, 11, 31, .45);
  font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #4A4560;
}
.glp-gcard__off s { text-decoration-thickness: 1.5px; text-decoration-color: #E5484D; }
.glp-gcard__x { width: 13px; height: 13px; fill: none; stroke: #E5484D; stroke-width: 2.6; stroke-linecap: round; }
.glp-gcard__guard {
  justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border-radius: 999px;
  background: rgba(46, 27, 255, .88); box-shadow: 0 8px 20px -10px rgba(46, 27, 255, .9);
  font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; color: #fff;
}
.glp-gcard__shield { width: 15px; height: 15px; stroke-width: 2; }
.glp-nw { white-space: nowrap; }
.glp-key {
  background: linear-gradient(100deg, #1000C3 0%, #2E1BFF 45%, #7B6DFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glp-gcard__title { font-size: clamp(23px, calc(15px + .85vw), 28px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.glp-gcard__desc { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.glp-why .h4x-ghost { top: 4%; }
.glp-why__foot { margin: 22px 0 0; text-align: center; font: 400 11px/1.5 'IBM Plex Mono', ui-monospace, monospace; color: var(--text-muted); }
.glp-why__cta { display: flex; justify-content: center; margin-top: var(--space-m); }
@media (max-width: 1100px) { .glp-gly__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .glp-gly__cards { grid-template-columns: 1fr; } .glp-gcard { aspect-ratio: 4 / 4.4; } }


/* ── eat what you love: photograph + one line, on the canvas ── */
.glp-food__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 6.5vw, 112px); align-items: center; }
.glp-food__media { position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.6; max-height: 720px; box-shadow: 0 40px 80px -48px rgba(13, 11, 31, .55); }
.glp-food__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glp-food__chip {
  position: absolute; left: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); margin: 0;
  display: grid; gap: 5px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 18px 40px -24px rgba(13, 11, 31, .5);
  font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--glp-ink);
}
.glp-food__chip span { font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue); }
.glp-food__copy { display: grid; gap: 22px; justify-items: start; }
.glp-food__copy > * { margin: 0; }
.glp-food__copy .eyebrow { color: var(--brand-blue); }
.glp-food__h { font-size: clamp(44px, calc(18px + 4.4vw), 92px); line-height: .96; font-weight: 700; letter-spacing: -.05em; color: var(--glp-ink); text-wrap: balance; }
.glp-food__h span { color: #8E8A9E; }
@media (max-width: 900px) { .glp-food__grid { grid-template-columns: 1fr; } .glp-food__media { max-height: none; aspect-ratio: 4 / 4.4; } }

/* ── photo reel (the homepage's .reel, photographs only) ────── */
.glp-life { padding-bottom: clamp(48px, 6vw, 88px); }
.glp-life__h {
  margin: 0 0 clamp(28px, 3.6vw, 52px); text-align: center; text-wrap: balance;
  font-size: clamp(56px, 9.2vw, 160px); line-height: .92; font-weight: 700; letter-spacing: -.06em; color: var(--glp-ink);
}
.glp-life__w { display: inline-block; overflow: hidden; padding: .04em .05em .3em; margin: -.04em -.05em -.3em; vertical-align: top; }   /* deep enough for the y's descender */
.glp-life__w > span { display: inline-block; }
.glp-life__w--grad > span {
  /* the gradient only paints inside the box, and line-height .92 ends the box above the y's tail */
  padding-bottom: .24em; margin-bottom: -.24em;
  background: linear-gradient(100deg, #1000C3 0%, #2E1BFF 30%, #9A90FF 48%, #2E1BFF 66%, #1000C3 100%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.h4x-motion .glp-life__w > span { transform: translateY(145%); transition: transform 1.15s cubic-bezier(.16, 1, .3, 1); }
html.h4x-motion .glp-life__w + .glp-life__w > span { transition-delay: .14s; }
html.h4x-motion .glp-life__h.is-in .glp-life__w > span { transform: none; }
html.h4x-motion .glp-life__w--grad > span { background-position: 100% 0; }
html.h4x-motion .glp-life__h.is-in .glp-life__w--grad > span { animation: glp-sheen 2.6s cubic-bezier(.45, 0, .25, 1) .55s forwards; }
@keyframes glp-sheen { to { background-position: 0 0; } }
.glp-life .reel { --reel-w: clamp(220px, 19vw, 290px); margin-bottom: 0; }
.glp-life .reel__card::after { display: none; }
@media (max-width: 700px) { .glp-life .reel { --reel-w: 54vw; } }

/* ── how it works: three steps, the box, milestones ────────── */
.glp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glp-step { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 28px 24px; border-radius: 24px; background: var(--surface-card); border: 1px solid var(--line-soft); }
.glp-step h3, .glp-step p { margin: 0; }
.glp-step__icon { width: 80px; height: 80px; object-fit: contain; }
.glp-step h3 span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: 12px; vertical-align: 2px; }
.glp-box__list { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.glp-box__list li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--brand-tint); border: 1px solid rgba(46, 27, 255, .12); font-size: 14.5px; font-weight: 500; }
.glp-box__list .glp-ico { color: var(--brand-blue); }
.glp-how__cta { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
.glp-miles { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.glp-miles::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: linear-gradient(90deg, var(--brand-blue), rgba(46, 27, 255, .15)); }
.glp-miles li { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding-top: 30px; }
.glp-miles li::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-blue); box-sizing: border-box; }
.glp-miles p { margin: 0; }
.glp-miles__when { font: 400 12px/1.3 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue); }
.glp-miles__what { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--glp-ink); }
.glp-miles__fine { margin: clamp(40px, 5vw, 64px) 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }
@media (max-width: 760px) {
  .glp-steps { grid-template-columns: 1fr; }
  .glp-miles { grid-template-columns: 1fr; gap: 0; }
  .glp-miles::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-blue), rgba(46, 27, 255, .15)); }
  .glp-miles li { justify-items: start; text-align: left; padding: 0 0 18px 38px; }
  .glp-miles li::before { left: 0; translate: none; }
}

/* ── the plan card ────────────────────────────────────────── */
.glp-plan__card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch;
  border-radius: 32px; overflow: hidden; background: var(--glp-grad); color: #fff;
  box-shadow: 0 40px 80px -48px rgba(18, 8, 122, .8);
}
/* the vial is the same blue as the card, so a pale halo sits behind it to lift its silhouette */
.glp-plan__media { position: relative; display: grid; place-items: center; padding: clamp(32px, 5vw, 72px); background: radial-gradient(ellipse 58% 52% at 50% 48%, rgba(226, 223, 255, .72), rgba(195, 188, 255, .22) 52%, rgba(195, 188, 255, 0) 74%); }
.glp-plan__media img { width: min(100%, 300px); height: auto; filter: drop-shadow(0 30px 34px rgba(8, 0, 70, .5)); }
.glp-plan__copy { display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(32px, 5vw, 72px) 0; }
.glp-plan__copy > * { margin: 0; }
.glp-plan__copy .display-l { color: #fff; }
.glp-plan__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.glp-plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.glp-plan__list .glp-ico { color: var(--glp-deep); background: #fff; border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.6; }
.glp-plan__note { color: var(--text-on-deep-soft); max-width: 46ch; }
/* both vials side by side, staggered in height; no overlap, so both names stay readable */
.glp-plan__media--duo { grid-template-columns: 1fr 1fr; column-gap: clamp(6px, 1.4vw, 18px); padding-inline: clamp(16px, 3vw, 48px); }
.glp-plan__media--duo img { grid-row: 1; width: 100%; max-width: 200px; }
.glp-plan__media--duo img:first-child { justify-self: end; translate: 0 6%; }
.glp-plan__media--duo img:last-child { justify-self: start; translate: 0 -6%; }
.glp-plan__picks { display: grid; gap: 10px; width: 100%; max-width: 520px; }
.glp-plan__pick {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
}
.glp-plan__pick p { margin: 0; font-size: 16px; line-height: 1.3; }
.glp-plan__pname strong { font-weight: 700; }
.glp-plan__pname::before { display: inline-block; margin-right: 8px; vertical-align: 1px;
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8E9BFF; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.glp-plan__pick--tirzepatide .glp-plan__pname::before { background: #B98CFF; }
.glp-plan__pick .btn { flex: 0 0 auto; height: 46px; padding: 0 22px; }
@media (max-width: 900px) {
  .glp-plan__card { grid-template-columns: 1fr; }
  .glp-plan__copy { padding: 0 var(--space-m) var(--space-l); }
  .glp-plan__media img { width: min(52vw, 260px); }
  .glp-plan__media--duo img { width: min(36vw, 170px); }
}

/* ── closing band ─────────────────────────────────────────── */
.glp-close .h4x-close { max-width: 860px; }
.glp-close .h4x-close p { max-width: 52ch; }
.glp-close > img { object-position: 70% 50%; }
/* the photograph's walker is on its right third, so on wide screens the copy sits left */
@media (min-width: 901px) {
  .glp-close .band__scrim { background: linear-gradient(90deg, rgba(10, 8, 30, .78) 0%, rgba(10, 8, 30, .5) 45%, rgba(10, 8, 30, .05) 75%); }
  .glp-close .h4x-close { justify-items: start; text-align: left; margin-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2)); margin-right: auto; max-width: 640px; padding-inline: 0; }
}

/* ── phones: pinned Get Started ───────────────────────────── */
.glp-sticky { display: none; }
@media (max-width: 760px) {
  .glp-sticky {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 20px;
    background: rgba(13, 11, 31, .92); color: #fff; box-shadow: 0 18px 40px -14px rgba(13, 11, 31, .6);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .glp-sticky.is-on { transform: none; }
  .glp-sticky[hidden] { display: flex; }
  .glp-sticky__text { margin: 0; display: grid; font-size: 14px; line-height: 1.25; }
  .glp-sticky__text span { font-size: 12px; color: var(--text-on-deep-soft); }
  .glp-sticky .btn { flex: 0 0 auto; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) { .glp-sticky { transition: none; } }
