/* andandrea.com, VERSION B of the home page (landing-b.html), for the split
 * test (Brad, 2026-11-17). ChatGPT's plain style: one white column, bold
 * Karla headlines, photo tiles, dark full-width buttons, Andrea's handwriting
 * kept for her asides. Built from the mockup Brad approved. Everything is
 * scoped to body.hb so nothing here can reach today's page (A).
 * White page, no teal, US spelling (the brand rules in CLAUDE.md). */

.hb {
  --hb-ink: #211A1D;
  --hb-soft: #5F5459;
  --hb-faint: #8C8086;
  --hb-blush: #FBF0F5;
  --hb-line: #ECDDE4;
  --hb-btn: #211A1D;
  background: #fff;
  color: var(--hb-ink);
  font-size: 16px;
  line-height: 1.5;
}
.hb a { color: inherit; }
.hb img { display: block; max-width: 100%; height: auto; }
.hb figure { margin: 0; }
.hb h1, .hb h2, .hb h3 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

/* One column, phone width, centered on a wider screen. */
.hb-page { max-width: 520px; margin: 0 auto; overflow: hidden; }
.hb-wrap {
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.hb section { padding-block: 30px; }
.hb section + section { border-top: 1px solid var(--hb-line); }
.hb-stack { display: grid; gap: 14px; }
.hb-stack > * { margin: 0; }

.hb-xl { font-size: 30px; line-height: 1.08; }
.hb-l { font-size: 27px; line-height: 1.12; }
.hb-m { font-size: 21px; line-height: 1.2; }
.hb-sub { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.hb-lede { color: var(--hb-soft); margin: 0; }
.hb-ink { color: var(--hb-ink); }
.hb-lede b { color: var(--magenta); }
.hb-script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--magenta);
  font-size: 25px;
  line-height: 1.1;
  margin: 0;
}
.hb-center { text-align: center; }
.hb-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--magenta); margin: 0;
}
.hb-label-gap { margin-top: 6px; }

/* The header */
.hb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.hb-bar img { height: 24px; width: auto; }
.hb-bar span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--hb-soft); white-space: nowrap; }

/* No. 1, the opening screen */
.hb section.hb-s1 { padding-block: 0 26px; border-top: 0; }
.hb-hero { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 2 / 1; background: #e9e1e5; }
.hb-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hb-hero::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.45)); }
.hb-hero .hb-script { position: absolute; left: 12px; bottom: 8px; z-index: 1; color: #fff; font-size: 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.hb-text { display: grid; gap: 8px; margin-top: 16px; }
.hb-s1 .hb-lede { font-size: 15.5px; line-height: 1.45; }
.hb-offer { margin-top: 16px; border: 1px solid var(--hb-line); border-radius: 8px; padding: 16px; display: grid; gap: 12px; }
.hb-offer p { margin: 0; }
.hb-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px; background: var(--hb-blush); color: var(--magenta);
}
.hb-pill.is-solid { background: var(--magenta); color: #fff; }
.hb-keep { font-size: 14px; }
.hb-keep b { color: var(--magenta); }
.hb-fine { font-size: 12px; color: var(--hb-faint); line-height: 1.45; margin: 0; }
.hb-fine:empty { display: none; }
.hb-signin { font-size: 14px; color: var(--hb-soft); text-align: center; margin: 12px 0 0; }
.hb-signin a { color: var(--hb-ink); font-weight: 700; }

/* The plan buttons (plan-choices.js, built by landing.js): yearly dark,
   monthly outlined, ChatGPT's flat 4px corners in place of A's pills. */
.hb-plans { display: grid; gap: 8px; }
.hb .btn.plan-pick {
  border-radius: 4px; min-height: 58px; padding: 12px 14px;
  align-items: center; row-gap: 2px; column-gap: 12px;
  background: var(--hb-btn); color: #fff; border: 1px solid var(--hb-btn);
}
.hb .btn.plan-pick:hover { background: #000; color: #fff; }
.hb .btn.plan-pick.btn-ghost, .hb .btn.plan-pick.btn-ghost:hover { background: #fff; color: var(--hb-ink); border: 1px solid var(--hb-ink); }
.hb .plan-pick .pick-tag { color: #F7A8CF; letter-spacing: 0.1em; opacity: 1; }
.hb .plan-pick .pick-how { font-size: 15px; }
.hb .plan-pick .pick-now { font-size: 20px; font-variant-numeric: tabular-nums; }
.hb .btn.plan-pick:focus-visible, .hb-cta:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
/* A closed store or no monthly plan: landing.js's single Join button. */
.hb .hb-plans .btn-product { border-radius: 4px; background: var(--hb-btn); color: #fff; }

/* The other Join buttons: each opens the plan sheet (No. 7). */
.hb-cta {
  display: block; width: 100%; padding: 16px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--hb-btn); color: #fff; font: inherit; font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
}
.hb-cta:hover { background: #000; }
.hb-under { font-size: 13px; color: var(--hb-faint); text-align: center; margin: 8px 0 0; }

/* No. 2, what's a guide */
.hb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hb-tile { display: grid; gap: 6px; min-width: 0; align-content: start; }
.hb-shot { aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #f1ebee; border: 1px solid var(--hb-line); }
.hb-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hb-tile figcaption { font-size: 14px; line-height: 1.3; font-weight: 700; }
.hb-note { font-size: 13px; color: var(--hb-faint); }
.hb-covers-list { background: var(--hb-blush); border-radius: 8px; padding: 14px 16px; }
.hb-covers-list h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta); margin-bottom: 8px; }
.hb-covers-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 14px; }
.hb-covers-list li { min-width: 0; }

/* No. 3, one membership */
.hb section.hb-s3 { background: var(--hb-blush); }
.hb section.hb-s3 + section { border-top: 0; }
.hb-anchor { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hb-anchor > * {
  display: block; background: #fff; border-radius: 6px; padding: 12px; border: 1px solid var(--hb-line);
  text-decoration: none; text-align: left; font: inherit; color: var(--hb-ink); cursor: pointer;
}
.hb-anchor small { display: block; font-size: 12px; color: var(--hb-soft); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hb-anchor strong { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-anchor span { font-size: 13px; color: var(--hb-soft); }
.hb-anchor .is-best { border-color: var(--magenta); }
.hb-anchor .is-best strong { color: var(--magenta); }
.hb-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hb-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hb-gets li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; }
.hb-gets li::before {
  content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%;
  border: 2px solid var(--magenta);
  background: radial-gradient(circle, var(--magenta) 0 3px, transparent 3.5px);
}

/* No. 4, destinations */
.hb-covers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hb-cover { display: grid; gap: 4px; min-width: 0; text-decoration: none; align-content: start; }
.hb-cover-img { aspect-ratio: 8 / 5; border-radius: 6px; overflow: hidden; background: #f1ebee; margin-bottom: 2px; }
.hb-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.hb-cover b { font-size: 15px; line-height: 1.2; }
.hb-cover span { font-size: 13px; color: var(--hb-soft); }
.hb-next { border: 1px solid var(--hb-line); border-radius: 8px; padding: 14px 16px; display: grid; gap: 6px; }
.hb-next p { margin: 0; font-size: 15px; }
.hb-next .hb-label { font-size: 12px; }
.hb-names { font-size: 14px; color: var(--hb-soft); line-height: 1.6; }

/* No. 5, why trust me */
.hb-film { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #e9e1e5; }
.hb-film-open { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; }
.hb-film-open img { width: 100%; height: 100%; object-fit: cover; }
.hb-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hb-play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.hb-play::after {
  content: ""; position: absolute; left: 24px; top: 19px;
  border-left: 18px solid var(--magenta); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.hb-len { position: absolute; right: 10px; top: 10px; background: rgba(33, 26, 29, 0.75); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.hb-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.hb-facts div { border: 1px solid var(--hb-line); border-radius: 6px; padding: 10px 4px; }
.hb-facts strong { display: block; font-size: 22px; font-weight: 700; color: var(--magenta); font-variant-numeric: tabular-nums; }
.hb-facts span { font-size: 12px; color: var(--hb-soft); line-height: 1.3; display: block; }
.hb-promise { background: var(--hb-ink); color: #fff; border-radius: 8px; padding: 20px 18px; display: grid; gap: 8px; }
.hb-promise h3 { font-size: 24px; line-height: 1.15; }
.hb-promise p { margin: 0; color: #E6DCE1; font-size: 15px; }
.hb-promise .hb-script { color: #F7A8CF; }
.hb-more { font-weight: 700; color: var(--hb-ink); text-decoration-color: var(--magenta); text-underline-offset: 3px; }

/* No. 6, the final push */
.hb section.hb-s6 { padding-block: 0 30px; }
.hb-final { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.hb-final img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hb-final::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.hb-final h2 { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; z-index: 1; }
.hb-s6 .hb-stack { margin-top: 18px; }

/* The foot */
.hb-foot { padding-block: 22px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--hb-line); display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 13px; color: var(--hb-faint); }
.hb-foot img { height: 20px; width: auto; }
.hb-foot p { margin: 0; }
.hb-foot-tag { font-family: var(--font-script); font-size: 20px; color: var(--magenta); }
.hb-foot-signin { font-weight: 700; color: var(--hb-ink); }

/* No. 7, the plan sheet */
.hb-scrim { position: fixed; inset: 0; background: rgba(33, 26, 29, 0.45); z-index: 950; }
.hb-sheet {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(520px, 100%); max-height: 92dvh; overflow-y: auto; background: #fff; z-index: 951;
  border-radius: 14px 14px 0 0; display: grid; gap: 12px;
  padding-top: 10px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.hb-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--hb-line); justify-self: center; }
.hb-close { justify-self: end; background: none; border: 0; font: inherit; font-weight: 700; color: var(--hb-soft); cursor: pointer; padding: 4px; margin-top: -24px; }
.hb-sheet .hb-m { margin: 0; }
body.hb-sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hb-sheet:not([hidden]) { animation: hb-up 0.22s ease-out; }
  @keyframes hb-up { from { transform: translate(-50%, 30px); } }
}

/* "Wrong site installed" card (landing.js), as on today's page. */
body.is-wrong-app > :not(.l-wrongapp) { display: none !important; }
.l-wrongapp {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1rem; background: #fff;
  padding: max(2rem, env(safe-area-inset-top)) 1.5rem calc(2rem + env(safe-area-inset-bottom));
}
.l-wrongapp-photo { border-radius: 50%; }
.l-wrongapp h2 { font-size: 1.6rem; line-height: 1.2; margin: 0; max-width: 20ch; }
.l-wrongapp p { margin: 0; max-width: 32ch; }
.l-wrongapp .btn { margin-top: 0.5rem; }
.l-wrongapp-small { font-size: 0.85rem; color: var(--muted, #666); }

/* ---------- Wide screens (Brad, 2026-11-17: "version B looks like it's not
   responsive… a mobile version only"). Below 900px B stays the phone
   column above; from 900px the page opens out to 1120px of content, the
   bands run edge to edge, and each section takes two columns where the
   phone stacks them. Same markup, so the phone version is untouched. ---- */
@media (min-width: 900px) {
  .hb { font-size: 17px; }
  .hb-page { max-width: none; }
  .hb-wrap {
    padding-left: max(40px, calc((100% - 1120px) / 2));
    padding-right: max(40px, calc((100% - 1120px) / 2));
  }
  .hb section { padding-block: 64px; }
  .hb-stack { gap: 18px; }
  .hb-xl { font-size: 50px; line-height: 1.04; }
  .hb-l { font-size: 38px; line-height: 1.08; }
  .hb-m { font-size: 24px; }
  .hb-sub { font-size: 21px; }
  .hb-lede { font-size: 18px; line-height: 1.55; }
  .hb-stack > h2, .hb-stack > .hb-sub, .hb-stack > .hb-lede { max-width: 760px; }
  .hb-stack > div:has(> .hb-cta) { max-width: 420px; }
  .hb-bar { padding-block: 20px; }
  .hb-bar img { height: 30px; }

  /* No. 1: Andrea's photo on the left, the words and the offer on the
     right, so the prices are on the first screen of a laptop too. */
  .hb section.hb-s1 {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 56px; align-content: start; padding-block: 8px 64px;
  }
  .hb-s1 > * { grid-column: 2; }
  .hb-hero { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: auto; min-height: 520px; align-self: stretch; }
  .hb-hero picture, .hb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hb-hero img { object-position: 50% 40%; }
  .hb-hero .hb-script { left: 20px; bottom: 16px; font-size: 34px; }
  .hb-text { margin-top: 0; gap: 14px; }
  .hb-s1 .hb-lede { font-size: 18px; }
  .hb-offer { margin-top: 24px; padding: 22px; }
  .hb-signin { text-align: left; }

  /* No. 2: the four pictures in a row, the sections in three columns. */
  .hb-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .hb-covers-list { max-width: 760px; padding: 18px 22px; }
  .hb-covers-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 15px; }

  /* No. 3: the words, prices and benefits left, her photo right. */
  .hb section.hb-s3 { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); column-gap: 56px; }
  .hb-s3 > * { grid-column: 1; }
  .hb-s3 .hb-photo { grid-column: 2; grid-row: 1 / span 5; aspect-ratio: 4 / 5; align-self: start; }
  .hb-s3 .hb-center { text-align: left; }
  .hb-anchor { max-width: 520px; }
  .hb-anchor strong { font-size: 24px; }

  /* No. 4: three guides to a row. */
  .hb-covers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .hb-cover b { font-size: 17px; }
  .hb-next { max-width: 760px; padding: 18px 22px; }

  /* No. 5: the film left, the facts, her story and the promise right. */
  .hb section[aria-label="Why trust me"] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; }
  .hb section[aria-label="Why trust me"] > * { grid-column: 2; }
  .hb section[aria-label="Why trust me"] > h2 { grid-column: 1 / -1; }
  .hb section[aria-label="Why trust me"] > .hb-film { grid-column: 1; grid-row: 2 / span 4; align-self: start; }

  /* No. 6: the sunset photo beside the last push. */
  .hb section.hb-s6 {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: center;
    padding-block: 64px;
    padding-left: max(40px, calc((100% - 1120px) / 2));
    padding-right: max(40px, calc((100% - 1120px) / 2));
  }
  .hb-final { border-radius: 6px; }
  .hb-final h2 { left: 24px; right: 24px; bottom: 24px; }
  .hb-s6 .hb-wrap { padding: 0; }
  .hb-s6 .hb-stack { margin-top: 0; }
  .hb-s6 .hb-lede { font-size: 22px; line-height: 1.45; }

  /* No. 7: the plan sheet becomes a box in the middle of the screen. */
  .hb-sheet {
    top: 50%; bottom: auto; transform: translate(-50%, -50%);
    width: 480px; border-radius: 14px; padding: 18px 26px 26px;
  }
  .hb-grip { display: none; }
  .hb-close { margin-top: 0; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hb-sheet:not([hidden]) { animation: hb-pop 0.2s ease-out; }
  @keyframes hb-pop { from { transform: translate(-50%, calc(-50% + 16px)); opacity: 0; } }
}
