/* BINABY — a new homepage. Replace the old home.css completely.
   Scoped to .bn-home. Uses the site's palette and font family.
   Sections: foundation / hero / example / value / discovery / search / responsive. */

/* Foundation */
.bn-home {
  --bn-ink: var(--text, #182230);
  --bn-muted: var(--muted, #5d6b7d);
  --bn-blue: var(--brand-700, #435f80);
  --bn-deep: var(--brand-900, #293b50);
  --bn-line: var(--border, #dde3ea);
  --bn-soft: var(--brand-100, #eef3fb);
  --bn-paper: var(--surface, #fff);
  max-width: 1320px;
  margin-inline: auto;
  padding: 72px 40px 0;
  color: var(--bn-ink);
  font-family: var(--font, inherit);
  -webkit-font-smoothing: antialiased;
}
.bn-home *, .bn-home *::before, .bn-home *::after { box-sizing: border-box; }
.bn-home a { color: inherit; text-decoration: none; }
.bn-home button, .bn-home input { font: inherit; }
.bn-home button { cursor: pointer; }
.bn-home button, .bn-home a { -webkit-tap-highlight-color: transparent; }
.bn-home svg { width: 24px; height: 24px; flex-shrink: 0; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bn-home [hidden] { display: none !important; }
.bn-home :is(a, button, input):focus-visible { outline: 3px solid var(--brand-500, #6f8fb8); outline-offset: 5px; }
.bn-home .bn-eyebrow { margin: 0; color: var(--bn-blue); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.bn-home .bn-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bn-home :is(#bn-perspective, #bn-search) { scroll-margin-top: 100px; }

/* Hero: typography and one purposeful demonstration. */
.bn-home .bn-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; padding-bottom: 62px; }
.bn-home .bn-hero__copy { min-width: 0; }
.bn-home .bn-hero__copy > .bn-eyebrow { display: flex; align-items: center; gap: 10px; }
.bn-home .bn-brand-mark { width: 16px; height: 16px; display: inline-block; border: 4px solid var(--bn-blue); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.bn-home .bn-hero h1 { margin: 24px 0; font-size: clamp(48px, 5.9vw, 78px); font-weight: 750; line-height: 1.015; letter-spacing: -.065em; }
.bn-home .bn-hero h1 > span { color: var(--bn-blue); }
.bn-home .bn-hero__description { max-width: 420px; margin: 0; font-size: 17px; line-height: 1.75; color: var(--bn-muted); }

/* The example is the product story, not a fabricated live result. */
.bn-home .bn-example { position: relative; min-width: 0; padding: 28px 30px 22px; border: 1px solid var(--bn-line); border-radius: 22px; background: var(--bn-paper); box-shadow: 0 12px 36px -24px rgb(24 34 48 / 18%); }
.bn-home .bn-example__heading { padding-top: 0; }
.bn-home .bn-example__heading h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.bn-home .bn-example__choices { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.bn-home .bn-example__choices button { min-height: 36px; padding: 7px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--bn-muted); font-size: 12px; font-weight: 600; }
.bn-home .bn-example__choices button[aria-pressed="true"] { border-color: var(--bn-blue); background: var(--bn-blue); color: #fff; }
.bn-home .bn-example__readout { margin-top: 26px; }
.bn-home .bn-small-label { color: var(--bn-muted); font-size: 11px; }
.bn-home .bn-example__price { display: flex; align-items: baseline; gap: 9px; margin-top: 5px; color: var(--bn-ink); font-variant-numeric: tabular-nums; }
.bn-home .bn-example__price > span:first-child { font-size: clamp(32px, 3.1vw, 42px); font-weight: 650; line-height: 1.15; letter-spacing: -.055em; }
.bn-home .bn-example__price > span:last-child { font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.bn-home .bn-example__readout p { min-height: 18px; max-width: 360px; margin: 8px 0 0; color: var(--bn-muted); font-size: 11px; line-height: 1.55; }
.bn-home .bn-market { position: relative; margin-top: 38px; }
.bn-home .bn-market__bars { display: flex; align-items: end; gap: 5px; height: 105px; padding-bottom: 8px; }
.bn-home .bn-market__bars i { flex: 1; height: var(--bar); min-width: 0; border-radius: 3px 3px 0 0; background: var(--brand-200, #dbe7f6); transition: height 240ms ease, background-color 240ms ease; }
.bn-home .bn-market__bars i.is-typical { background: var(--brand-500, #6f8fb8); }
.bn-home .bn-market__marker { position: absolute; z-index: 1; left: var(--marker); top: -22px; bottom: 25px; display: flex; align-items: center; flex-direction: column; transform: translateX(-50%); transition: left 240ms ease; }
.bn-home .bn-market__marker > span:first-child { padding: 5px 10px; border-radius: 5px; color: #fff; background: var(--bn-deep); font-size: 12px; font-weight: 650; box-shadow: 0 3px 9px rgb(41 59 80 / 10%); }
.bn-home .bn-market__pin { position: relative; display: block; flex: 1; width: 1px; background: var(--bn-deep); }
.bn-home .bn-market__pin::after { content: ''; position: absolute; bottom: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--bn-deep); box-shadow: 0 0 0 3px #fff; }
.bn-home .bn-market__scale { position: relative; height: 5px; border-radius: 5px; background: var(--brand-200, #dbe7f6); }
.bn-home .bn-market__scale > span { position: absolute; left: var(--range-start); width: var(--range-width); height: 100%; border-radius: inherit; background: var(--bn-blue); transition: left 240ms ease, width 240ms ease; }
.bn-home .bn-market__axis { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; padding-top: 10px; color: var(--bn-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.bn-home .bn-market__axis > span:nth-child(2) { font-size: 9px; }
.bn-home .bn-example__legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; font-size: 10px; color: var(--bn-muted); }
.bn-home .bn-example__legend-key { width: 15px; height: 4px; border-radius: 4px; background: var(--bn-blue); }
.bn-home .bn-example__legend-dot { width: 6px; height: 6px; margin-left: 12px; border-radius: 50%; background: var(--bn-deep); }
.bn-home .bn-example__disclaimer { margin: 20px 0 0; font-size: 10px; line-height: 1.5; color: var(--bn-muted); }

/* Why it matters: an open, typographic section. */
.bn-home .bn-perspective { border-top: 1px solid var(--bn-line); padding: 46px 0 54px; }
.bn-home .bn-perspective__intro h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 650; line-height: 1.2; letter-spacing: -.045em; }
.bn-home .bn-perspective__intro h2 span { color: var(--bn-blue); }

/* Existing product imagery in open search rows. */

/* Closing search, intentionally at the bottom rather than duplicating the header. */
.bn-home .bn-search { display: flex; gap: 14px; align-items: center; max-width: 640px; margin: 0 auto; padding: 7px 7px 7px 20px; border: 1px solid var(--brand-300, #c4d6ee); border-radius: 10px; background: #fff; box-shadow: 0 8px 20px -12px rgb(41 59 80 / 20%); }
.bn-home .bn-search > svg { width: 20px; height: 20px; color: var(--bn-muted); }
.bn-home .bn-search input { width: 100%; min-width: 0; min-height: 44px; border: 0; padding: 8px 0; border-radius: 2px; background: #fff; color: var(--bn-ink); font-size: 15px; }
.bn-home .bn-search input::placeholder { color: var(--bn-muted); opacity: 1; }
.bn-home .bn-search button { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 12px 20px; border: 0; border-radius: 6px; background: var(--bn-blue); color: #fff; font-size: 14px; font-weight: 650; }
.bn-home .bn-search button svg { width: 18px; height: 18px; }


/* Original six banners, with a single quiet control strip. */
.bn-home .bn-story { margin-top: 28px; min-width: 0; }
.bn-home .bn-story__viewport { display: grid; overflow: hidden; border-radius: 18px; background: var(--bn-soft); }
.bn-home .bn-story__slide { grid-area: 1 / 1; min-width: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 240ms ease; }
.bn-home .bn-story__slide.is-active { opacity: 1; visibility: visible; }
.bn-home .bn-story__slide img { display: block; width: 100%; height: auto; }
.bn-home .bn-story__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; }
.bn-home .bn-story__counter { font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--bn-muted); }
.bn-home .bn-story__controls, .bn-home .bn-story__dots { display: flex; align-items: center; }
.bn-home .bn-story__controls { gap: 4px; }
.bn-home .bn-story__button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--bn-blue); }
.bn-home .bn-story__button svg { width: 20px; height: 20px; }
.bn-home .bn-story__pause { margin-left: 8px; border-color: var(--bn-line); }
.bn-home .bn-story__dots button { display: grid; place-items: center; width: 22px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 7px; }
.bn-home .bn-story__dots button::after { content: ''; width: 5px; height: 5px; border-radius: 9px; background: var(--brand-300, #c4d6ee); }
.bn-home .bn-story__dots button[aria-current]::after { width: 18px; background: var(--bn-blue); }

/* App availability: one download link, one honest development status. */


/* Store-style badges: iPhone available, Android visibly in development. */
.bn-home .bn-store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bn-home .bn-store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border: 1px solid #666; border-radius: 8px; background: #111; color: #fff; }
.bn-home .bn-store-logo { width: 28px; height: 32px; stroke: none; }
.bn-home .bn-store-badge small { display: block; font-size: 10px; line-height: 1.2; font-weight: 400; }
.bn-home .bn-store-badge strong { display: block; font-size: 21px; line-height: 1.15; font-weight: 550; letter-spacing: -.025em; }
.bn-home .bn-store-badge--pending { background: #333; }
/* A single search section: your own query or a suggested starting point. */
.bn-home .bn-start { display: grid; grid-template-columns: .85fr 1.4fr; align-items: start; gap: clamp(32px, 5vw, 72px); padding: 48px 0 60px; border-top: 1px solid var(--bn-line); }
.bn-home .bn-start__intro, .bn-home .bn-start__browse { min-width: 0; }
.bn-home .bn-start h2 { margin: 12px 0 0; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.15; font-weight: 650; letter-spacing: -.045em; }
.bn-home .bn-start__search > p { margin: 10px 0 0; color: var(--bn-muted); font-size: 12px; }
.bn-home .bn-start .bn-search { max-width: none; }
.bn-home .bn-start__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 12px; }
.bn-home .bn-start__links > a { display: grid; grid-template-columns: 76px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--bn-line); }
.bn-home .bn-start__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 9px; background: #eee; }
.bn-home .bn-start__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-home .bn-start__links strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 650; }
.bn-home .bn-start__links small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.6; color: var(--bn-muted); }
.bn-home .bn-start__arrow { color: var(--bn-muted); font-size: 20px; }


.bn-home .bn-start h2 span { color: var(--bn-blue); }
.bn-home .bn-account-prompt { max-width: 360px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--bn-line); }
.bn-home .bn-account-prompt h3 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 650; }
.bn-home .bn-account-prompt p { margin: 10px 0 12px; color: var(--bn-muted); font-size: 13px; line-height: 1.7; }
.bn-home .bn-account-prompt__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.bn-home .bn-account-prompt__actions a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--bn-blue); font-size: 13px; font-weight: 650; }
.bn-home .bn-account-prompt__actions .bn-account-prompt__primary { padding: 10px 15px; border: 1px solid var(--bn-line); border-radius: 8px; background: var(--bn-paper); }

/* Interaction and responsive rules are kept together. */
@media (hover: hover) {
  .bn-home .bn-account-prompt__actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .bn-home a.bn-store-badge:hover { background: #292929; }
  .bn-home .bn-start__links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
  .bn-home .bn-story__button:hover { background: var(--bn-soft); }
  .bn-home .bn-example__choices button[aria-pressed="false"]:hover { background: var(--bn-soft); color: var(--bn-blue); }
}
@media (max-width: 1100px) {
  .bn-home .bn-start__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-home { padding: 52px 28px 0; }
  .bn-home .bn-hero { gap: 34px; }
  .bn-home .bn-example { padding: 24px; }
  .bn-home .bn-hero h1 { font-size: clamp(46px, 5.9vw, 66px); }
}
@media (max-width: 800px) {
  .bn-home .bn-start { grid-template-columns: 1fr; gap: 28px; }
  .bn-home .bn-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .bn-home .bn-hero h1 { font-size: clamp(48px, 8.5vw, 70px); }
  .bn-home .bn-hero__description { max-width: 540px; }
  .bn-home .bn-example { width: 100%; max-width: 600px; justify-self: center; padding: 30px; }
  .bn-home .bn-market__bars { height: 120px; }
  .bn-home .bn-perspective { padding: 44px 0 48px; }
}
@media (max-width: 520px) {
  .bn-home .bn-start__links > a { grid-template-columns: 100px minmax(0, 1fr) 16px; }
  .bn-home .bn-start__links { grid-template-columns: 1fr; }
  .bn-home .bn-start { padding-block: 32px 40px; }
  .bn-home .bn-store-links { gap: 10px; }
  .bn-home .bn-store-badge { padding-inline: 10px; }
  .bn-home .bn-store-badge strong { font-size: 19px; }
  .bn-home .bn-story__footer { justify-content: center; }
  .bn-home .bn-story__counter { display: none; }
  .bn-home .bn-story__controls { gap: 0; }
  .bn-home .bn-story__dots button { width: 21px; }
  .bn-home .bn-story__pause { margin-left: 4px; }
  .bn-home .bn-story__viewport { border-radius: 12px; }
  .bn-home { padding: 32px 20px 0; }
  .bn-home .bn-hero h1 { font-size: clamp(44px, 11.8vw, 60px); margin-block: 20px; }
  .bn-home .bn-hero__description { font-size: 15px; }
  .bn-home .bn-example { padding: 22px 18px 18px; border-radius: 16px; }
  .bn-home .bn-example__heading h2 { font-size: 20px; }
  .bn-home .bn-example__choices { gap: 2px; }
  .bn-home .bn-example__choices button { font-size: 11px; padding-inline: 9px; min-height: 44px; }
  .bn-home .bn-example__price > span:first-child { font-size: 36px; }
  .bn-home .bn-market__bars { gap: 4px; height: 100px; }
  .bn-home .bn-search { flex-wrap: wrap; gap: 4px 10px; padding: 8px 10px; }
  .bn-home .bn-search input { flex: 1; width: auto; font-size: 16px; }
  .bn-home .bn-search button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-home *, .bn-home *::before, .bn-home *::after { transition: none; }
}
