/* The Binky Burrow Home, in Brittanie's design. Components in page order. Values come from tokens.css. */

/* Buttons: her navy and yellow buttons with the offset shadow; they press in when clicked */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: var(--tap);
  background: var(--color-navy); color: var(--color-white);
  padding: var(--space-s) var(--space-l);
  border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: var(--fs-btn); font-weight: var(--weight-heavy); line-height: 1;
  text-transform: uppercase; letter-spacing: var(--tracking-nav);
  box-shadow: var(--shadow-btn);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translate(var(--lift), var(--lift)); box-shadow: var(--shadow-btn-hover); }
.btn:active { transform: translate(var(--press), var(--press)); box-shadow: var(--shadow-btn-press); }
.btn--yellow { background: var(--color-yellow); color: var(--color-navy); }
.btn--white { background: var(--color-white); color: var(--color-navy); }
.btn--small { font-size: var(--fs-btn-small); padding: var(--space-xs) var(--space-m); }
.arrow { font-family: var(--font-body); }

/* 01 Header (her sticky cream bar with the navy rule) */
.nav {
  position: sticky; top: var(--safe-top); z-index: var(--z-nav);
  background: var(--color-cream); border-bottom: var(--border) solid var(--color-navy);
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-l); padding: var(--space-2xs) var(--nav-pad-x); min-height: var(--nav-min); }
.brand { display: flex; align-items: center; flex: none; border-radius: var(--radius-card); }
.brand-logo { width: var(--logo); height: var(--logo); object-fit: contain; }
.navlinks { display: flex; gap: var(--space-l); font-size: var(--fs-nav); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-nav); text-transform: uppercase; }
.navlinks a { padding-block: var(--space-xs); background-image: linear-gradient(var(--color-yellow), var(--color-yellow)); background-size: 0 var(--border); background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--dur-base) var(--ease-out); }
.navlinks a:hover { background-size: 100% var(--border); }
.nav__actions { display: flex; align-items: center; gap: var(--space-m); }
.nav__login { font-size: var(--fs-nav); font-weight: var(--weight-heavy); text-transform: uppercase; letter-spacing: var(--tracking-nav); padding: var(--space-xs) var(--space-3xs); }
.menu-toggle { display: none; align-items: center; gap: var(--space-2xs); min-height: var(--tap); padding: var(--space-xs) var(--space-s); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-btn); font-size: var(--fs-btn-small); font-weight: var(--weight-heavy); text-transform: uppercase; background: var(--color-white); }
.menu-toggle__bars { width: var(--bars-w); height: var(--border-thin); background: currentColor; box-shadow: 0 var(--bars-gap) 0 currentColor, 0 calc(-1 * var(--bars-gap)) 0 currentColor; }
.menu { border-top: var(--border-thin) solid var(--color-navy); background: var(--color-cream); padding: var(--space-s) var(--nav-pad-x-phone) var(--space-l); }
.menu ul { display: grid; gap: var(--space-3xs); }
.menu a { display: flex; align-items: center; min-height: var(--tap); padding-inline: var(--space-s); border-radius: var(--radius-btn); font-weight: var(--weight-heavy); text-transform: uppercase; font-size: var(--fs-btn); }
.menu a:hover { background: var(--color-band); }

/* 02 Emergency strip */
.strip { background: var(--color-navy); color: var(--color-on-navy); }
.strip__bar, .strip__panel { padding-inline: var(--nav-pad-x); }
.strip__toggle { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3xs) var(--space-xs); width: 100%; min-height: var(--tap); padding-block: var(--space-2xs); text-align: left; font-size: var(--fs-small); }
.strip__toggle strong, .strip__hint { white-space: nowrap; }
.strip__toggle strong { font-weight: var(--weight-heavy); text-transform: uppercase; letter-spacing: var(--tracking-nav); }
.strip__hint { color: var(--color-yellow); text-decoration: underline; text-underline-offset: var(--underline-offset); }
.chev { width: var(--chev); height: var(--chev); margin-left: auto; border-right: var(--border-thin) solid currentColor; border-bottom: var(--border-thin) solid currentColor; transform: rotate(var(--rot-down)) translateY(var(--chev-nudge)); transition: transform var(--dur-base) var(--ease-out); }
.strip__toggle[aria-expanded="true"] .chev { transform: rotate(var(--rot-up)); }
.strip__panel { padding-block: var(--space-xs) var(--space-xl); }
.strip__panel ul { display: grid; gap: var(--space-xs); max-width: var(--measure); padding-left: var(--space-l); color: var(--color-on-navy-muted); }
.strip__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m); margin-top: var(--space-m); }
.strip__actions a:not(.btn), .on-dark p a { text-decoration: underline; text-underline-offset: var(--underline-offset); }

/* 03 Hero: her header artwork, rebuilt as a real page section (live text and working buttons, same art) */
.hero {
  display: grid; grid-template-columns: minmax(0, var(--hero-copy)) minmax(0, var(--hero-art)); align-items: end;
  background: linear-gradient(var(--to-bottom), var(--color-sky-top), var(--color-sky-bottom));
  border-bottom: var(--border-hero) solid var(--color-navy);
  overflow: hidden;
}
.hero__copy { align-self: center; display: grid; justify-items: start; gap: var(--space-m); padding: var(--space-xl) 0 var(--space-xl) var(--hero-pad-x); }
.hero__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-hero); line-height: var(--leading-hero); letter-spacing: var(--tracking-tight); color: var(--color-navy-deep); }
.hero__title span { display: block; }
.hero__title-b { color: var(--color-white); -webkit-text-stroke: var(--title-stroke) var(--color-navy-deep); paint-order: stroke fill; text-shadow: var(--title-shadow); }
.hero__lede { font-family: var(--font-display); font-weight: var(--weight-lede); font-size: var(--fs-hero-lede); line-height: var(--leading-list); color: var(--color-navy-deep); max-width: var(--lede-measure); }
.hero__hand { max-width: var(--hand-measure); font-family: var(--font-hand); font-size: var(--fs-hand); line-height: var(--leading-hand-lines); color: var(--color-navy-deep); transform: rotate(var(--tilt-hand)); transform-origin: left center; }
.hl {
  background: var(--color-yellow); padding: var(--hl-pad-y) var(--hl-pad-x);
  border-radius: var(--radius-small) var(--radius-btn) var(--radius-small) var(--radius-btn);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__hand .heart { display: inline-block; vertical-align: middle; margin-left: var(--space-xs); }
.heart { width: var(--heart-hand); height: var(--heart-hand); flex: none; fill: none; stroke: var(--color-navy-deep); stroke-width: var(--heart-stroke); stroke-linecap: round; stroke-linejoin: round; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); }
.pill-btn {
  display: inline-flex; align-items: center; gap: var(--space-s);
  min-height: var(--tap); padding: var(--space-s) var(--space-xl);
  background: var(--color-white); color: var(--color-navy-deep);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-pill);
  font-family: var(--font-display); font-weight: var(--weight-display-ui); font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: var(--tracking-nav);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pill-btn:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-btn-hover); }
.pill-btn:active { transform: translateY(var(--press)); box-shadow: var(--shadow-btn-press); }
.pill-btn--yellow { background: var(--color-yellow); }
.pill-btn .chev-r { width: var(--chev-r); height: var(--chev-r); border-right: var(--border) solid currentColor; border-top: var(--border) solid currentColor; transform: rotate(var(--rot-down)); }
.hero__art { align-self: end; }
.hero__art img { width: 100%; aspect-ratio: var(--art-ratio); -webkit-mask-image: linear-gradient(var(--to-right), transparent, var(--mask-solid) var(--fade-edge)); mask-image: linear-gradient(var(--to-right), transparent, var(--mask-solid) var(--fade-edge)); }

/* 04 Meet the mascot (her band from the header picture, as real text beside her Binx art) */
.mascot { display: grid; grid-template-columns: minmax(0, var(--mascot-col-art)) minmax(0, var(--mascot-col-copy)) minmax(0, var(--mascot-col-quote)); align-items: center; gap: var(--space-xl); background: var(--color-art-cream); padding-right: var(--hero-pad-x); }
.mascot__art img { width: 100%; aspect-ratio: var(--mascot-ratio); -webkit-mask-image: linear-gradient(var(--to-left), transparent, var(--mask-solid) var(--fade-edge)); mask-image: linear-gradient(var(--to-left), transparent, var(--mask-solid) var(--fade-edge)); }
.mascot__copy { display: grid; gap: var(--space-s); padding-block: var(--space-xl); }
.mascot h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h2); line-height: var(--leading-tight); color: var(--color-navy-deep); }
.nowrap { white-space: nowrap; }
.mascot h2 .heart { display: inline-block; vertical-align: middle; width: var(--heart-h2); height: var(--heart-h2); margin-left: var(--space-xs); }
.mascot__bio { font-family: var(--font-display); font-weight: var(--weight-display-ui); font-size: var(--fs-mascot-bio); line-height: var(--leading-list); color: var(--color-navy-deep); }
.mascot__copy p:last-child { color: var(--color-navy); }
.quote-card {
  background: var(--color-yellow); color: var(--color-navy-deep);
  padding: var(--space-l) var(--space-l) var(--space-m); border-radius: var(--radius-item) var(--radius-art) var(--radius-item) var(--radius-art);
  transform: rotate(var(--tilt-quote));
  font-family: var(--font-hand); font-size: var(--fs-hand-quote); line-height: var(--leading-hand);
  hanging-punctuation: first;
}
.quote-card figcaption { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2xs); margin-top: var(--space-xs); font-size: var(--fs-quote); }
.quote-card .heart { width: var(--heart-quote); height: var(--heart-quote); }

/* 05 What did you find? (in her light-blue band) */
.finder { background: var(--color-band); padding: var(--space-xl) var(--nav-pad-x); text-align: center; }
.finder__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-finder); line-height: var(--leading-tight); color: var(--color-navy-deep); }
.finder__sub { margin-top: var(--space-2xs); font-weight: var(--weight-bold); }
.finder__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s); margin-top: var(--space-m); }
.pick {
  display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: var(--tap);
  padding: var(--space-xs) var(--space-m); background: var(--color-white);
  border: var(--border) solid var(--color-navy); border-radius: var(--radius-pill); box-shadow: var(--shadow-btn);
  font-size: var(--fs-pill); font-weight: var(--weight-heavy);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.pick:hover { transform: translate(var(--lift), var(--lift)); box-shadow: var(--shadow-btn-hover); background: var(--color-yellow); }
.pick:active { transform: translate(var(--press), var(--press)); box-shadow: var(--shadow-btn-press); }

/* Sections (her rhythm: 65px top and bottom) */
.section { padding: var(--space-section) 0; }
.section h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h2); line-height: var(--leading-tight); margin: var(--space-2xs) 0 var(--space-s); }
.section-lede { max-width: none; }
.intro-price { margin-top: var(--space-s); font-weight: var(--weight-bold); color: var(--color-navy-deep); }
.membership, .steps { background: var(--color-paper); }

/* 06 Membership (her three cards) */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); margin-top: var(--space-xl); }
.card {
  display: flex; flex-direction: column;
  background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-card);
  padding: var(--space-xl); box-shadow: var(--shadow-card);
}
.card--green { border-color: var(--color-card-green-line); background: var(--color-card-green); }
.card--yellow { border-color: var(--color-card-yellow-line); background: var(--color-card-yellow); }
.card--pink { border-color: var(--color-card-pink-line); background: var(--color-card-pink); }
.card h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); }
.price { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-price); line-height: var(--leading-tight); margin: var(--space-xs) 0 var(--space-2xs); }
.price small { font-size: var(--fs-body); font-weight: var(--weight-heavy); }
.sessions { font-weight: var(--weight-heavy); }
.card ul { padding-left: var(--space-l); margin: var(--space-s) 0 0; }
.card li { margin: var(--space-xs) 0; line-height: var(--leading-list); }
.tier-examples { margin-top: var(--space-s); padding-top: var(--space-xs); border-top: var(--rule) solid var(--color-rule); font-size: var(--fs-small); line-height: var(--leading-small); color: var(--color-muted); }
.tier-examples strong { color: var(--color-muted-strong); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card .tier-examples { margin-bottom: var(--space-l); }
.plans-foot { display: grid; gap: var(--space-m); margin-top: var(--space-2xl); padding: var(--space-l) var(--space-xl); background: var(--color-blue); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-card); }
.plans-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s) var(--space-l); }
.plans-perks li { display: flex; align-items: flex-start; gap: var(--space-xs); font-weight: var(--weight-bold); line-height: var(--leading-list); }
.plans-perks .tick { width: var(--tick-small); height: var(--tick-small); }
.plans-foot__small { display: grid; gap: var(--space-2xs); padding-top: var(--space-m); border-top: var(--rule) solid var(--color-rule); }
.promise { font-weight: var(--weight-bold); }
.fineprint { font-size: var(--fs-fine); line-height: var(--leading-small); color: var(--color-muted); }

/* 07 How it works (her steps) */
.stepgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-m); margin-top: var(--space-xl); }
.step { border: var(--border) solid var(--color-navy); border-radius: var(--radius-step); padding: var(--space-xl); background: var(--color-white); }
.step h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); margin: var(--space-s) 0 var(--space-2xs); }
.num { display: inline-flex; width: var(--num); height: var(--num); border-radius: var(--radius-round); align-items: center; justify-content: center; background: var(--color-num); font-weight: var(--weight-heavy); font-size: var(--fs-num); }

/* 08 One-time help (her pink band, yellow box and three rows) */
.oneoff { background: var(--color-pink); }
.oneoff-box { display: grid; grid-template-columns: minmax(0, var(--oneoff-col-copy)) minmax(0, var(--oneoff-col-list)); gap: var(--space-l); align-items: start; }
.oneoff-copy { display: grid; gap: var(--space-s); background: var(--color-yellow); border: var(--border) solid var(--color-navy); border-radius: var(--radius-card); padding: var(--space-xl); }
.oneoff-copy h2 { margin: 0; }
.oneoff-copy h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); margin-top: var(--space-xs); }
.oneoff-list { display: grid; gap: var(--space-s); }
.oneoff-item {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-s);
  background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-m);
}
.oneoff-item h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); }
.oneoff-item p { font-size: var(--fs-small); margin-top: var(--space-3xs); }
.oneoff-buy { display: grid; justify-items: end; gap: var(--space-2xs); flex: none; }
.oneoff-item .oneoff-price { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); margin: 0; }
.oneoff-foot { margin-top: var(--space-xl); max-width: var(--measure); }

/* 09 Library (her four categories as books and Binx’s checklist, from her second mockup; three starter articles) */
.library { background: var(--color-green); }
.library__grid { display: grid; grid-template-columns: minmax(0, var(--library-col-books)) minmax(0, var(--library-col-check)); gap: var(--space-2xl); align-items: center; margin-top: var(--space-xl); }
.books { display: grid; gap: var(--space-2xs); }
.book {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-s);
  min-height: var(--book-h); padding: var(--space-xs) var(--space-l);
  border: var(--border) solid var(--color-navy); border-radius: var(--radius-small) var(--radius-btn) var(--radius-btn) var(--radius-small);
  font-family: var(--font-display); font-weight: var(--weight-display-ui); text-transform: uppercase; letter-spacing: var(--tracking-nav);
  box-shadow: var(--shadow-btn);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.book:hover { transform: translateX(var(--space-2xs)); box-shadow: var(--shadow-btn-hover); }
.book:nth-child(1) { background: var(--color-blue); }
.book:nth-child(2) { background: var(--color-pink); margin-left: var(--space-s); }
.book:nth-child(3) { background: var(--color-card-green); margin-right: var(--space-s); }
.book:nth-child(4) { background: var(--color-yellow); }
.topics { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-m); }
.topics__label { width: 100%; font-size: var(--fs-small); font-weight: var(--weight-heavy); }
.chip { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-s); background: var(--color-white); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-pill); font-weight: var(--weight-bold); font-size: var(--fs-small); }
.chip:hover { background: var(--color-yellow); }
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); margin-top: var(--space-2xl); }
.checklist { justify-self: center; width: min(100%, var(--checklist-w)); background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-xl); box-shadow: var(--shadow-card); transform: rotate(var(--tilt-check)); }
.checklist h2, .checklist h3 { font-family: var(--font-hand); font-weight: var(--weight-body); font-size: var(--fs-hand-quote); line-height: var(--leading-hand); text-align: center; }
.checklist ul { display: grid; gap: var(--space-s); margin-top: var(--space-m); font-family: var(--font-hand); font-size: var(--fs-hand); line-height: var(--leading-hand); }
.checklist li { display: flex; align-items: center; gap: var(--space-s); }
.tick { flex: none; width: var(--tick); height: var(--tick); fill: none; stroke: var(--color-navy); stroke-width: var(--tick-stroke); stroke-linecap: round; stroke-linejoin: round; }
.article { display: grid; align-content: start; gap: var(--space-2xs); background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-l); box-shadow: var(--shadow-card); }
.article h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); line-height: var(--leading-tight); }
.article h3 a:hover { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.article__cat { font-size: var(--fs-small); color: var(--color-muted); }
.article p { font-size: var(--fs-small); line-height: var(--leading-small); }
.library__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m); margin-top: var(--space-xl); }

/* 10 FAQ preview */
.faq { background: var(--color-cream); }
.faq__grid { display: grid; grid-template-columns: minmax(0, var(--faq-col-head)) minmax(0, var(--faq-col-list)); gap: var(--space-2xl); align-items: start; }
.faq__head { display: grid; gap: var(--space-s); justify-items: start; }
.faq__head p a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.faq__list { display: grid; gap: var(--space-s); }
.faq details { background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); box-shadow: var(--shadow-btn); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); min-height: var(--tap); padding: var(--space-m) var(--space-l); cursor: pointer; list-style: none; font-weight: var(--weight-heavy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: 0; flex: none; }
.faq details[open] summary .chev { transform: rotate(var(--rot-up)); }
.faq .answer { display: grid; gap: var(--space-xs); padding: 0 var(--space-l) var(--space-l); }
.faq .answer a { text-decoration: underline; text-underline-offset: var(--underline-offset); }

/* 11 Binx's bottom line (her navy band) */
.bottom-line { background: var(--color-navy); color: var(--color-on-navy); padding: var(--space-section-dark) 0; }
.bottom-line h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h2); line-height: var(--leading-tight); margin: var(--space-2xs) 0 var(--space-s); }
.bottom-line p { max-width: var(--measure); color: var(--color-on-navy-muted); }
.bottom-line__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-l); }

/* 12 Footer (her deep navy footer with the big badge) */
.footer { background: var(--color-navy-deep); color: var(--color-on-navy); padding: var(--space-2xl) var(--space-xl); text-align: center; font-size: var(--fs-fine); display: grid; justify-items: center; gap: var(--space-xs); }
.footer-logo { width: var(--logo-footer); height: var(--logo-footer); object-fit: contain; }
.footer-brand { font-weight: var(--weight-heavy); font-size: var(--fs-quote); }
.footer a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3xs) var(--space-m); margin-top: var(--space-xs); }
.footer__links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.footer__legal { color: var(--color-on-navy-muted); }

/* Ask Binx (agreed feature): her cream card, navy border and offset shadow */
.askbinx { width: min(100% - 2 * var(--space-s), var(--dialog-width)); max-height: var(--dialog-max-h); padding: 0; border: var(--border) solid var(--color-navy); border-radius: var(--radius-card); background: var(--color-cream); color: var(--color-navy); box-shadow: var(--shadow-dialog); overflow: hidden; }
.askbinx[open] { display: flex; flex-direction: column; }
.askbinx::backdrop { background: var(--color-backdrop); }
.askbinx__head { display: flex; align-items: center; gap: var(--space-s); padding: var(--space-s) var(--space-l); background: var(--color-band); border-bottom: var(--border) solid var(--color-navy); }
.askbinx__avatar { width: var(--avatar); height: var(--avatar); border-radius: var(--radius-round); border: var(--border-thin) solid var(--color-navy); object-fit: cover; flex: none; }
.askbinx__head h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); }
.askbinx__head p { font-size: var(--fs-small); }
.askbinx__close { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-round); background: var(--color-white); font-size: var(--fs-close); line-height: var(--leading-none); }
.askbinx__body { display: grid; gap: var(--space-s); padding: var(--space-l); overflow-y: auto; }
.askbinx__body:focus { outline: none; }
.bubble { background: var(--color-white); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-item) var(--radius-item) var(--radius-item) var(--radius-small); padding: var(--space-s) var(--space-m); display: grid; gap: var(--space-3xs); }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.choices .pick { box-shadow: none; border-width: var(--border-thin); font-size: var(--fs-small); }
.guide { display: grid; gap: var(--space-xs); }
.guide__item { background: var(--color-white); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-s) var(--space-m); display: grid; gap: var(--space-2xs); }
.guide__item--warn { background: var(--color-card-pink); border-color: var(--color-card-pink-line); }
.guide__src { font-size: var(--fs-fine); color: var(--color-muted); }
.guide__src a, .guide__item p a, .askbinx__end a:not(.btn) { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.check-list { display: grid; gap: var(--space-2xs); padding-left: var(--space-l); }
.askbinx__end { display: grid; gap: var(--space-xs); justify-items: start; background: var(--color-yellow); border: var(--border) solid var(--color-navy); border-radius: var(--radius-card); padding: var(--space-l); }
.askbinx__end h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); }
.askbinx__end .fineprint { color: var(--color-muted-strong); }
.askbinx__reads { display: grid; gap: var(--space-xs); margin-bottom: var(--space-s); background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-card); padding: var(--space-l); }
.askbinx__reads h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); }
.askbinx__reads-list { display: grid; gap: var(--space-2xs); }
.read-link { display: flex; align-items: center; min-height: var(--tap); padding: var(--space-2xs) var(--space-s); background: var(--color-card-yellow); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-item); font-weight: var(--weight-bold); }
.read-link::after { content: "\2192"; margin-left: auto; padding-left: var(--space-xs); }
.read-link:hover { background: var(--color-yellow); }
.askbinx__nav { display: flex; flex-wrap: wrap; gap: var(--space-l); }
.askbinx__restart { justify-self: start; font-weight: var(--weight-heavy); text-decoration: underline; text-underline-offset: var(--underline-offset); min-height: var(--tap); }

/* Current page in the menus */
.navlinks a[aria-current="page"] { background-size: 100% var(--border); }
.menu a[aria-current="page"] { background: var(--color-band); }

/* About and Contact: page hero in her sky, with her navy rule */
.page-hero { background: linear-gradient(var(--to-bottom), var(--color-sky-top), var(--color-sky-bottom)); border-bottom: var(--border-hero) solid var(--color-navy); }
.page-hero--art { display: grid; grid-template-columns: minmax(0, var(--page-col-copy)) minmax(0, var(--page-col-art)); align-items: end; gap: var(--space-xl); padding-inline: var(--hero-pad-x); }
.page-hero--band { padding-block: var(--space-2xl); }
.page-hero__copy { align-self: center; display: grid; gap: var(--space-m); padding-block: var(--space-2xl); }
.page-hero--band .wrap { display: grid; gap: var(--space-s); }
.page-title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-page-title); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); color: var(--color-navy-deep); }
.page-lede { font-family: var(--font-display); font-weight: var(--weight-lede); font-size: var(--fs-hero-lede); line-height: var(--leading-list); color: var(--color-navy-deep); max-width: var(--lede-measure); }
.page-hero__art img { width: min(100%, var(--about-art-max)); margin-inline: auto; }

/* About: her words in readable columns */
.prose { display: grid; gap: var(--space-s); max-width: var(--measure); }
.prose-grid { display: grid; grid-template-columns: minmax(0, var(--prose-col-text)) minmax(0, var(--prose-col-side)); gap: var(--space-2xl); align-items: center; }
.prose-grid .prose { max-width: none; }
.prose-lead { font-family: var(--font-display); font-weight: var(--weight-display-ui); font-size: var(--fs-mascot-bio); color: var(--color-navy-deep); }
.prose-actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-xs); }
.about-mission, .about-values { background: var(--color-paper); }
.about-who { background: var(--color-blue); }
.about-help { background: var(--color-pink); }
.bottom-line .bottom-line__statement { font-size: var(--fs-statement); max-width: var(--measure); }

/* Contact: the form in her card style, with the ways to get help now beside it */
.contact { background: var(--color-paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, var(--contact-col-form)) minmax(0, var(--contact-col-side)); gap: var(--space-2xl); align-items: start; }
.form-card { background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-card); padding: var(--space-xl); box-shadow: var(--shadow-card); }
.contact-form, .form-done { display: grid; gap: var(--space-m); }
.form-done { justify-items: start; }
.contact-form h2, .form-done h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); color: var(--color-navy-deep); }
.contact-form .btn { justify-self: start; }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-weight: var(--weight-heavy); }
.field__optional { font-weight: var(--weight-body); color: var(--color-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--tap);
  padding: var(--space-xs) var(--space-s);
  font: inherit; font-size: var(--fs-input); color: var(--color-navy);
  background: var(--color-white); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-input);
}
.field textarea { min-height: var(--textarea-min); resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: var(--fs-small); font-weight: var(--weight-heavy); }
.contact-side { display: grid; gap: var(--space-l); }
.side-card { display: grid; gap: var(--space-xs); background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-l); }
.side-card h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); line-height: var(--leading-tight); color: var(--color-navy-deep); }
.side-card--yellow { background: var(--color-yellow); }
.side-card--blue { background: var(--color-blue); }
.side-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-block: var(--space-2xs); }
.side-card__email { font-family: var(--font-display); font-weight: var(--weight-display-ui); font-size: var(--fs-mascot-bio); }
.side-card a:not(.btn) { text-decoration: underline; text-underline-offset: var(--underline-offset); }

/* Library page: a search, her categories and situations as filters, and the articles as rows in her card style */
.page-lede a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.page-hero--band .lib-hero { grid-template-columns: minmax(0, var(--page-col-copy)) minmax(0, var(--page-col-art)); align-items: center; gap: var(--space-2xl); }
.lib-hero__copy { display: grid; gap: var(--space-s); }
.lib-search { max-width: var(--search-w); margin-top: var(--space-xs); color: var(--color-navy-deep); }
.lib-browse { background: var(--color-green); }
.lib-filters { display: grid; gap: var(--space-m); }
.books--row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.books--row .book { margin: 0; }
.books--row .book:hover { transform: translate(var(--lift), var(--lift)); }
.topics--row { margin-top: 0; }
.lib-filter .topics__label { margin-bottom: var(--space-2xs); }
.book[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--color-navy); color: var(--color-white); }
.lib-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3xs) var(--space-m); margin-top: var(--space-xl); font-weight: var(--weight-heavy); }
.lib-reset { min-height: var(--tap); font-weight: var(--weight-heavy); text-decoration: underline; text-underline-offset: var(--underline-offset); }
.lib-list { display: grid; gap: var(--space-s); margin-top: var(--space-xs); }
.lib-grouped { display: grid; gap: var(--space-xl); margin-top: var(--space-xs); }
.lib-animal__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); }
.lib-item {
  position: relative; display: grid; grid-template-columns: minmax(0, var(--lib-col-head)) minmax(0, var(--lib-col-body)); gap: var(--space-xs) var(--space-xl);
  background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-l); box-shadow: var(--shadow-card);
}
.lib-item__head, .lib-item__body { display: grid; align-content: start; gap: var(--space-2xs); }
.lib-item h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-quote); line-height: var(--leading-tight); }
.lib-item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-item); }
.lib-item:hover h3 a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.lib-item__body p { font-size: var(--fs-small); line-height: var(--leading-small); }
.lib-empty { display: grid; gap: var(--space-xs); justify-items: start; margin-top: var(--space-xs); background: var(--color-white); border: var(--border) solid var(--color-navy); border-radius: var(--radius-item); padding: var(--space-xl); }
.lib-empty h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--fs-h3); line-height: var(--leading-tight); }
.lib-empty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s); margin-top: var(--space-xs); }

/* Article pages: the guidance in Ask Binx's cards, the short version and the ways to get help beside it */
.back-link { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: var(--tap); justify-self: start; font-weight: var(--weight-heavy); color: var(--color-navy-deep); text-decoration: underline; text-underline-offset: var(--underline-offset); }
.chev-l { width: var(--chev-r); height: var(--chev-r); border-left: var(--border-thin) solid currentColor; border-bottom: var(--border-thin) solid currentColor; transform: rotate(var(--rot-down)); }
.article-cats { font-weight: var(--weight-bold); color: var(--color-navy-deep); }
.article-page { background: var(--color-paper); }
.article-grid { display: grid; grid-template-columns: minmax(0, var(--prose-col-text)) minmax(0, var(--prose-col-side)); gap: var(--space-2xl); align-items: start; }
.article-main { display: grid; gap: var(--space-m); max-width: var(--measure); }
.section .article-main h2 { font-size: var(--fs-h3); margin: 0; }
.section .article-main h2:not(:first-child) { margin-top: var(--space-m); }
.article-page .guide { gap: var(--space-s); }
.article-page .guide__item { padding: var(--space-m) var(--space-l); }
.sources { display: grid; gap: var(--space-2xs); padding-left: var(--space-l); font-size: var(--fs-small); line-height: var(--leading-small); }
.sources a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.article-side { display: grid; gap: var(--space-l); }
.article-side .side-card h2 { font-size: var(--fs-quote); margin: 0; }
.article-glance p, .article-help p { line-height: var(--leading-small); }
.more-articles { background: var(--color-green); }
.lib-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); margin: var(--space-l) 0 var(--space-xl); }
.lib-item--small { grid-template-columns: minmax(0, 1fr); align-content: start; }

/* FAQ page: her questions in four groups, in the FAQ style from Home */
.faq-groups { display: grid; gap: var(--space-2xl); }
.faq-page .faq__grid { grid-template-columns: minmax(0, var(--faq-page-col-head)) minmax(0, var(--faq-page-col-list)); }
.faq-page .faq__grid h2 { margin: 0; font-size: var(--fs-h3); }

/* Phones and small tablets (her 800px breakpoint) */
@media (max-width: 1100px) {
  .navlinks { gap: var(--space-s); }
  .nav__login { display: none; }
}
@media (max-width: 960px) {
  .navlinks { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 800px) {
  .nav__bar { min-height: var(--nav-min-phone); padding: var(--space-3xs) var(--nav-pad-x-phone); gap: var(--space-xs); }
  .brand-logo { width: var(--logo-phone); height: var(--logo-phone); }
  .nav .btn { padding: var(--space-xs) var(--space-s); font-size: var(--fs-btn-small); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding: var(--space-xl) var(--gutter) var(--space-l); }
  .hero__actions { width: 100%; }
  .pill-btn { width: 100%; justify-content: space-between; }
  .mascot { grid-template-columns: minmax(0, 1fr); gap: var(--space-m); padding: 0 var(--gutter) var(--space-2xl); }
  .mascot__art { margin-inline: calc(-1 * var(--gutter)); }
  .mascot__copy { padding-block: 0; }
  .mascot__art img { -webkit-mask-image: none; mask-image: none; }
  .quote-card { justify-self: center; max-width: var(--quote-max); }
  .plans-perks, .grid, .stepgrid, .oneoff-box, .library__grid, .faq__grid, .articles, .page-hero--art, .prose-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero--art { padding-inline: var(--gutter); gap: 0; }
  .page-hero__copy { padding-block: var(--space-xl) var(--space-m); }
  .page-hero__art img { width: min(100%, var(--about-art-max-phone)); }
  .contact-side, .article-side { display: contents; }
  .contact-grid { gap: var(--space-l); }
  .side-card--yellow { order: -1; }
  .plans-foot { padding: var(--space-l); }
  .page-hero--band .lib-hero, .article-grid, .lib-item, .lib-more, .faq-page .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .lib-hero__check { display: none; }
  .books--row .book { min-height: var(--tap); padding: var(--space-2xs) var(--space-s); font-size: var(--fs-btn-small); }
  .faq-page .faq__grid { gap: var(--space-m); }
  .checklist { transform: none; }
  .oneoff-item { align-items: flex-start; flex-direction: column; }
  .oneoff-buy { justify-items: start; }
  .footer-logo { width: var(--logo-footer-phone); height: var(--logo-footer-phone); }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .mascot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mascot__quote { grid-column: 2; }
}

/* Policy pages (October 28): her three policies as a reading column */
.policy-date { margin-top: var(--space-xs); font-size: var(--fs-small); color: var(--color-navy-deep); }
.policy .prose h2 { font-size: var(--fs-h3); margin-top: var(--space-m); }
.policy .prose ul { display: grid; gap: var(--space-2xs); padding-left: var(--space-l); list-style: disc; }
.policy .prose a { text-decoration: underline; text-underline-offset: var(--underline-offset); }

/* Her library articles (October 28): headings, lists and infographics in the reading column, and the gallery */
.article-body h3 { font-size: var(--fs-body); font-weight: var(--weight-heavy); margin-top: var(--space-xs); }
.article-body p a, .article-list a { text-decoration: underline; text-underline-offset: var(--underline-offset); }
.article-list { display: grid; gap: var(--space-2xs); padding-left: var(--space-l); }
ul.article-list { list-style: disc; }
ol.article-list { list-style: decimal; }
.infographic { display: grid; gap: var(--space-2xs); margin: var(--space-xs) 0; }
.infographic img { width: 100%; height: auto; border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-item); background: var(--color-white); }
.infographic figcaption { font-size: var(--fs-small); color: var(--color-muted-strong); }
.infographic figcaption a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: underline; text-underline-offset: var(--underline-offset); }
.lib-item__tag { justify-self: start; padding: var(--space-3xs) var(--space-xs); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-pill); font-size: var(--fs-fine); font-weight: var(--weight-bold); background: var(--color-card-yellow); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--gallery-min), 1fr)); gap: var(--space-m); margin-top: var(--space-xl); }
.gallery__item a { display: grid; gap: var(--space-xs); height: 100%; padding: var(--space-xs); background: var(--color-white); border: var(--border-thin) solid var(--color-navy); border-radius: var(--radius-item); font-weight: var(--weight-bold); font-size: var(--fs-small); }
.gallery__item img { width: 100%; height: auto; border-radius: var(--radius-small); }
.gallery__item a:hover span { text-decoration: underline; text-underline-offset: var(--underline-offset); }

/* Handout page (1.0.5): the page the outreach emails link to */
.handout-list { display: grid; gap: var(--space-2xs); padding: 0; }
.handout-list li { display: flex; gap: var(--space-xs); align-items: flex-start; }
.handout-flyer, .handout-video { display: grid; gap: var(--space-xs); justify-items: center; margin: 0; }
.handout-flyer a { display: block; width: 100%; max-width: var(--handout-flyer-max); border-radius: var(--radius-card); }
.handout-flyer img, .handout-video video {
  display: block; width: 100%; height: auto;
  border: var(--border) solid var(--color-navy); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.handout-flyer img { background: var(--color-white); }
.handout-video video { max-width: var(--handout-video-max); background: var(--color-navy); }
