@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/DMSans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading--family: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body--family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fbf5ea; -webkit-font-smoothing: antialiased; }
img, picture { max-width: 100%; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: #2b2320;
  color: #fbf5ea;
  border-radius: 999px;
  font: 600 14px/1 var(--font-body--family);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.button-unstyled { background: none; border: 0; padding: 0; margin: 0; }



  .bb-tz {
    --tz-milk: #fbf5ea;
    --tz-loam: #2b2320;
    --tz-gold: #f0b43c;
    --tz-honey: #e9a52b;
    --tz-butter: #f7e8c1;
    --tz-oat: #d9cbb8;
    --tz-cream: #fffcf6;
    --tz-rust: #a8482a;
    --tz-muted: rgba(43, 35, 32, 0.76);
    --tz-ease: cubic-bezier(0.16, 0.9, 0.24, 1);
    --tz-scoop: cubic-bezier(0.3, 1.3, 0.45, 1);
    width: 100%;
    background: var(--tz-milk);
    color: var(--tz-loam);
    font-family: var(--font-body--family);
    font-size: 16px;
    line-height: 1.55;
  }

  .bb-tz *, .bb-tz *::before, .bb-tz *::after { box-sizing: border-box; }

  .bb-tz__wrap {
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 20px;
  }

  .bb-tz__top {
    display: flex;
    justify-content: center;
    padding: 18px 20px 10px;
  }

  .bb-tz__top picture { display: contents; }
  .bb-tz__logo { width: 128px; height: auto; display: block; }

  /* Hero */
  .bb-tz__hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0 12px 48px;
  }

  .bb-tz__hero-media { position: relative; }
  .bb-tz__hero-media picture { display: block; }

  .bb-tz__hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 35% 40%;
    border-radius: 24px;
    animation: bb-tz-zoom 1.4s var(--tz-ease) both;
  }

  .bb-tz__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 5px 14px 5px 5px;
    background: rgba(255, 252, 246, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
  }

  .bb-tz__badge img { width: 28px; height: 28px; border-radius: 50%; }

  .bb-tz__hero-copy {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding-inline: 8px;
    text-align: center;
  }

  .bb-tz__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px;
    background: var(--tz-butter);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .bb-tz__dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--tz-rust);
    animation: bb-tz-pulse 2.4s ease-in-out 3;
  }

  .bb-tz__title {
    margin: 0 0 12px;
    font-family: var(--font-heading--family);
    font-weight: 500;
    font-size: clamp(36px, 9.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--tz-loam);
    text-wrap: balance;
  }

  .bb-tz__rule {
    display: block;
    width: 3.5rem; height: 2px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: var(--tz-gold);
    animation: bb-tz-draw 700ms var(--tz-ease) 0.35s both;
  }

  .bb-tz__sub {
    margin: 0 auto 24px;
    max-width: 38ch;
    font-size: 17px;
    color: var(--tz-muted);
    text-wrap: pretty;
  }

  /* Signup card */
  .bb-tz__card {
    text-align: left;
    padding: 22px 18px 18px;
    background: var(--tz-cream);
    border: 1px solid var(--tz-oat);
    border-radius: 24px;
    box-shadow: 0 18px 40px -24px rgba(43, 35, 32, 0.35);
    scroll-margin-top: 16px;
  }

  .bb-tz__form { margin: 0; display: flex; flex-direction: column; gap: 14px; }

  .bb-tz__card-title {
    margin: 0;
    font-family: var(--font-heading--family);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.15;
  }

  .bb-tz__card-text { margin: -6px 0 2px; font-size: 15px; color: var(--tz-muted); }

  .bb-tz__grid2 { display: grid; gap: 14px; }

  .bb-tz__field { display: flex; flex-direction: column; gap: 6px; }

  .bb-tz__field label, .bb-tz__pets legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--tz-loam);
  }

  .bb-tz__req { font-weight: 400; color: var(--tz-muted); }

  .bb-tz__input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #9a8770;
    border-radius: 14px;
    font: inherit;
    font-size: 16px;
    color: var(--tz-loam);
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .bb-tz__input:focus { outline: none; border-color: var(--tz-gold); box-shadow: 0 0 0 4px rgba(240, 180, 60, 0.25); }
  .bb-tz__input:focus-visible { outline: 2px solid var(--tz-loam); outline-offset: 2px; }
  .bb-tz__input[aria-invalid='true'] { border-color: var(--tz-rust); }

  .bb-tz__pets { margin: 0; padding: 0; border: 0; min-width: 0; }
  .bb-tz__pets legend { padding: 0; margin-bottom: 8px; }

  .bb-tz__chips { display: flex; flex-wrap: wrap; gap: 8px; }

  .bb-tz__chip { position: relative; cursor: pointer; }

  .bb-tz__chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
  }

  .bb-tz__chip span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #9a8770;
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
  }

  .bb-tz__chip input:checked + span {
    background: var(--tz-butter);
    border-color: var(--tz-loam);
    box-shadow: inset 0 0 0 1px var(--tz-loam);
  }

  .bb-tz__chip input:checked + span::before {
    content: '';
    width: 8px; height: 8px; margin-right: 8px;
    border-radius: 50%;
    background: var(--tz-honey);
  }

  .bb-tz__chip input:focus-visible + span { outline: 2px solid var(--tz-loam); outline-offset: 2px; }

  .bb-tz__btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--tz-gold);
    color: var(--tz-loam);
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(240, 180, 60, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .bb-tz__btn::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 -10% -40% -10%;
    border-radius: 50% 50% 0 0 / 40% 40% 0 0;
    background: var(--tz-honey);
    transform: translate3d(0, 100%, 0);
    transition: transform 520ms var(--tz-scoop);
    pointer-events: none;
  }

  .bb-tz__btn > span { position: relative; }
  .bb-tz__btn:hover, .bb-tz__btn:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(240, 180, 60, 0.45); }
  .bb-tz__btn:hover::before, .bb-tz__btn:focus-visible::before { transform: translate3d(0, -25%, 0); }
  .bb-tz__btn:focus-visible { outline: 2px solid var(--tz-loam); outline-offset: 3px; }

  .bb-tz__consent { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tz-muted); text-align: center; }
  .bb-tz__consent a { color: inherit; text-underline-offset: 3px; }

  .bb-tz__err { margin: 0; font-size: 15px; color: var(--tz-rust); }

  .bb-tz__success { text-align: center; padding: 14px 6px 8px; }
  .bb-tz__success:focus { outline: none; }
  .bb-tz__success img { display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; animation: bb-tz-pop 600ms var(--tz-scoop) both; }
  .bb-tz__success-title { margin: 0 0 8px; font-family: var(--font-heading--family); font-weight: 500; font-size: 28px; line-height: 1.15; }
  .bb-tz__success p { margin: 0 auto; max-width: 34ch; color: var(--tz-muted); }

  /* Shared type */
  .bb-tz__kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a4a1e;
  }

  .bb-tz__h2 {
    margin: 0 0 14px;
    font-family: var(--font-heading--family);
    font-weight: 500;
    font-size: clamp(30px, 7.4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
  }

  .bb-tz__body { margin: 0 0 18px; font-size: 17px; color: var(--tz-muted); max-width: 52ch; }
  .bb-tz__fine { margin: 14px 0 0; font-size: 14px; color: var(--tz-muted); }

  /* Benefits */
  .bb-tz__band { padding: 56px 0; background: var(--tz-cream); border-block: 1px solid rgba(217, 203, 184, 0.6); text-align: center; }
  .bb-tz__band .bb-tz__h2 { margin-inline: auto; max-width: 20ch; }

  .bb-tz__benefits {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
    text-align: left;
  }

  .bb-tz__benefit {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 18px;
    background: var(--tz-milk);
    border-radius: 20px;
  }

  .bb-tz__benefit h3 { grid-column: 2; margin: 2px 0 4px; font-family: var(--font-heading--family); font-weight: 500; font-size: 21px; line-height: 1.2; }
  .bb-tz__benefit p { grid-column: 2; margin: 0; font-size: 15px; color: var(--tz-muted); }

  .bb-tz__icon {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--tz-gold);
    color: var(--tz-loam);
  }

  .bb-tz__icon svg { width: 24px; height: 24px; }

  /* Inside */
  .bb-tz__inside { padding: 64px 0; }
  .bb-tz__inside-grid { display: grid; gap: 36px; }

  .bb-tz__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .bb-tz__photo { position: relative; margin: 0; }
  .bb-tz__photo--offset { margin-top: 32px; }
  .bb-tz__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }

  .bb-tz__photo figcaption {
    position: absolute;
    left: 10px; bottom: 10px;
    padding: 4px 12px;
    background: rgba(255, 252, 246, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
  }

  .bb-tz__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

  .bb-tz__tags li {
    padding: 8px 14px;
    background: var(--tz-butter);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
  }

  /* Story */
  .bb-tz__story { padding: 0 0 64px; }
  .bb-tz__story-grid {
    display: grid;
    gap: 24px;
    align-items: center;
  }

  .bb-tz__story-grid > div {
    padding: 26px 22px;
    background: var(--tz-butter);
    border-radius: 24px;
  }

  .bb-tz__story-grid .bb-tz__body { margin: 0; color: rgba(43, 35, 32, 0.84); }
  .bb-tz__story-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }

  /* FAQ */
  .bb-tz__faq { padding: 56px 0; background: var(--tz-cream); border-top: 1px solid rgba(217, 203, 184, 0.6); }
  .bb-tz__faq-wrap { max-width: 760px; }
  .bb-tz__faq .bb-tz__h2 { text-align: center; }
  .bb-tz__faq-list { margin-top: 20px; border-top: 1px solid var(--tz-oat); }
  .bb-tz__q { border-bottom: 1px solid var(--tz-oat); }

  .bb-tz__q summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 2px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }

  .bb-tz__q summary::-webkit-details-marker { display: none; }
  .bb-tz__q summary:focus-visible { outline: 2px solid var(--tz-loam); outline-offset: 2px; border-radius: 6px; }

  .bb-tz__plus { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--tz-butter); }
  .bb-tz__plus::before, .bb-tz__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--tz-loam); border-radius: 2px; transition: transform 0.25s var(--tz-ease); }
  .bb-tz__plus::after { transform: rotate(90deg); }
  .bb-tz__q[open] .bb-tz__plus::after { transform: rotate(0deg); }

  .bb-tz__q p { margin: 0 0 18px; color: var(--tz-muted); max-width: 62ch; }

  /* Closing CTA */
  .bb-tz__cta { padding: 64px 0; text-align: center; background: var(--tz-loam); color: var(--tz-milk); }
  .bb-tz__cta img { display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; }
  .bb-tz__cta .bb-tz__h2 { color: var(--tz-milk); }
  .bb-tz__cta .bb-tz__body { margin-inline: auto; color: rgba(251, 245, 234, 0.82); }
  .bb-tz__btn--link { width: auto; box-shadow: none; }
  .bb-tz__cta .bb-tz__btn:focus-visible { outline-color: var(--tz-gold); }

  /* Footer */
  .bb-tz__footer { padding: 24px 20px 28px; text-align: center; font-size: 12px; color: var(--tz-muted); }
  .bb-tz__disclaimer { margin: 0 auto 10px; max-width: 70ch; line-height: 1.5; }
  .bb-tz__foot-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; }

  .bb-tz__pw {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  /* Motion */
  .bb-tz__fade { animation: bb-tz-up 0.8s var(--tz-ease) both; }
  .bb-tz__hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .bb-tz__hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .bb-tz__hero-copy > :nth-child(5) { animation-delay: 0.28s; }

  @keyframes bb-tz-up { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
  @keyframes bb-tz-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes bb-tz-zoom { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
  @keyframes bb-tz-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  @keyframes bb-tz-pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

  /* Tablet */
  @media (min-width: 600px) {
    .bb-tz__hero { padding-inline: 20px; }
    .bb-tz__hero-img { aspect-ratio: 16 / 9; }
    .bb-tz__card { padding: 28px 28px 22px; }
    .bb-tz__grid2 { grid-template-columns: 1fr 1fr; }
    .bb-tz__benefits { grid-template-columns: 1fr 1fr; }
    .bb-tz__story-grid { grid-template-columns: 0.8fr 1.2fr; }
    .bb-tz__wrap { padding-inline: 32px; }
  }

  /* Desktop */
  @media (min-width: 990px) {
    .bb-tz__top { justify-content: flex-start; max-width: 1240px; margin-inline: auto; padding: 22px 40px 6px; }
    .bb-tz__logo { width: 156px; }

    .bb-tz__hero {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 56px;
      max-width: 1240px;
      margin-inline: auto;
      padding: 12px 40px 72px;
    }

    .bb-tz__hero-media { order: 2; }
    .bb-tz__hero-img { aspect-ratio: 4 / 5; max-height: 820px; object-position: 50% 40%; border-radius: 32px; }
    .bb-tz__badge { left: 20px; bottom: 20px; }

    .bb-tz__hero-copy { order: 1; max-width: 560px; margin: 0; padding: 0; text-align: left; }
    .bb-tz__rule { margin-inline: 0; transform-origin: 0 50%; }
    .bb-tz__sub { margin-inline: 0; font-size: 19px; }

    .bb-tz__band { padding: 80px 0; }
    .bb-tz__benefits { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .bb-tz__benefit { grid-template-columns: 1fr; padding: 24px 22px; }
    .bb-tz__benefit h3, .bb-tz__benefit p { grid-column: 1; }
    .bb-tz__icon { grid-row: auto; margin-bottom: 14px; }

    .bb-tz__inside { padding: 96px 0; }
    .bb-tz__inside-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
    .bb-tz__photo--offset { margin-top: 56px; }

    .bb-tz__story { padding-bottom: 96px; }
    .bb-tz__story-grid { grid-template-columns: 0.75fr 1.25fr; gap: 32px; }
    .bb-tz__story-grid > div { padding: 44px 48px; }

    .bb-tz__faq { padding: 88px 0; }
    .bb-tz__cta { padding: 88px 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .bb-tz *, .bb-tz *::before, .bb-tz *::after {
      animation: none !important;
      transition: none !important;
    }
  }


/* Standalone additions */
.bb-tz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bb-tz__btn[disabled] { opacity: 0.7; cursor: progress; }
.bb-tz__footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 2.75rem; }
.bb-tz__top a { display: inline-block; border-radius: 8px; }
.bb-tz__top a:focus-visible, .bb-tz__footer a:focus-visible, .bb-tz__consent a:focus-visible { outline: 2px solid #2b2320; outline-offset: 2px; }

/* Simple text pages (privacy, thanks) */
.bb-doc { max-width: 720px; margin: 0 auto; padding: 8px 20px 56px; }
.bb-doc h1 { margin: 12px 0 8px; font-family: var(--font-heading--family); font-weight: 500; font-size: clamp(32px, 7vw, 48px); line-height: 1.08; letter-spacing: -0.015em; }
.bb-doc h2 { margin: 32px 0 8px; font-family: var(--font-heading--family); font-weight: 500; font-size: 22px; line-height: 1.2; }
.bb-doc p, .bb-doc li { color: rgba(43, 35, 32, 0.84); font-size: 16px; }
.bb-doc ul { padding-left: 20px; }
.bb-doc a { color: #2b2320; text-underline-offset: 3px; }
.bb-doc .bb-tz__fine { margin-top: 4px; }
.bb-thanks { max-width: 560px; margin: 24px auto 64px; padding: 0 20px; }
.bb-thanks .bb-tz__btn { width: auto; margin-top: 18px; }
