/* Big Bun Creators: /bundles-and-discounts only, on top of styles.css. Nothing here loads on the homepage.
   Same blocks and rules as the rest of the site: mustard / off-white / ink colour blocks, 2px ink borders, tables
   that become labelled stacked blocks on phones. Its own pieces: a hero headline beside a "Bundle Facts" label,
   the deal table used as a glossary, a two-column ledger on ink, a three-column "fit" table, four ruled questions
   and an "Example only" sums table on mustard, a ruled list on ink, the homepage's three numerals recoloured for
   mustard, and a mustard call to action. Motion is the site's own (main.js, styles.css). */

/* ---------- Hero ---------- */
.bd-hero { padding-block: clamp(36px, 6vw, 96px) clamp(48px, 6vw, 96px); }
.bd-hero__grid { display: grid; gap: 40px; align-items: end; }
.bd-hero__title {
  margin-top: clamp(14px, 2vw, 24px);
  font-size: clamp(2.6rem, 9.6vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
}
.bd-hero__title span { display: block; animation: rise 640ms var(--ease-out) both; }
.bd-hero__title span + span { margin-top: .18em; font-size: .52em; line-height: .98; letter-spacing: -.035em; color: var(--ink-2); animation-delay: 90ms; }
.bd-hero__lead { margin-top: clamp(20px, 3vw, 32px); max-width: 36rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.bd-facts { max-width: 400px; justify-self: start; transform: rotate(1.5deg); }
.bd-facts .facts__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
@media (min-width: 960px) {
  .bd-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: clamp(48px, 6vw, 112px); }
  .bd-facts { justify-self: end; }
}

/* ---------- What they are: the deal table on paper, plus a note ---------- */
.bd-note { margin-top: 28px; max-width: 46rem; font-size: 1.1rem; font-weight: 500; }

/* ---------- Give and take: two ruled columns on ink ---------- */
.bd-ledger { display: grid; gap: 40px; }
.bd-ledger__title { padding-bottom: 12px; border-bottom: 2px solid var(--mustard); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; color: var(--mustard); }
.bd-ledger li { padding: 16px 0; border-bottom: 2px solid rgba(255, 251, 239, .2); color: rgba(255, 251, 239, .82); font-size: 1.06rem; }
.bd-ledger li:last-child { border-bottom: 0; padding-bottom: 0; }
.bd-ledger b { display: block; margin-bottom: 2px; font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--paper); }
@media (min-width: 900px) {
  .bd-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 96px); }
}

/* ---------- When: your page | bundle? | why ---------- */
.bd-fit { border: var(--line); background: var(--white); }
.bd-fit th, .bd-fit td { text-align: left; vertical-align: top; }
.bd-fit thead th:nth-child(2) { background: var(--teal); }
.bd-fit tbody th { background: var(--paper); line-height: 1.1; }
.bd-fit td:nth-child(2) { background: #FFF1C2; font-family: var(--display); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.bd-fit td:last-child { color: var(--ink-2); }
@media (min-width: 760px) {
  .bd-fit tr > * + * { border-left: var(--line); }
  .bd-fit tbody > tr > * { border-top: var(--line); }
  .bd-fit th[scope="row"], .bd-fit td { padding: 22px 24px; }
  .bd-fit th[scope="row"] { width: 34%; font-size: clamp(1.25rem, 1.8vw, 1.65rem); }
  .bd-fit td:nth-child(2) { width: 18%; font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
  .bd-fit td:last-child { font-size: 1.08rem; }
}
@media (max-width: 759px) {
  .bd-fit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bd-fit, .bd-fit tbody { display: block; border: 0; background: none; }
  .bd-fit tr { display: grid; border: var(--line); background: var(--white); }
  .bd-fit tr + tr { border-top: 0; }
  .bd-fit th, .bd-fit td { padding: 12px 16px; }
  .bd-fit th[scope="row"] { font-size: 1.25rem; padding: 14px 16px; border-bottom: var(--line); }
  .bd-fit td + td { border-top: 2px solid var(--ink); }
  .bd-fit td::before {
    content: attr(data-label);
    display: block; margin-bottom: 2px;
    font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--teal);
  }
}

/* ---------- Choosing a discount: four ruled questions, then the example ---------- */
.bd-checks { border-top: var(--line); }
.bd-checks li { padding: 22px 0; border-bottom: var(--line); }
.bd-checks h3 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); letter-spacing: -.035em; line-height: 1.02; }
.bd-checks p { margin-top: 10px; max-width: 40rem; color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 900px) {
  .bd-checks li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: baseline; padding: 28px 0; }
  .bd-checks p { margin-top: 0; }
}

.bd-example { margin-top: clamp(40px, 6vw, 72px); max-width: 56rem; }
.bd-example__tag {
  display: inline-block; margin-bottom: 12px; padding: 4px 10px;
  background: var(--ink); color: var(--mustard);
  font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.bd-sums { border: var(--line); background: var(--white); }
.bd-sums caption { caption-side: top; padding: 14px 20px; border: var(--line); border-bottom: 0; background: var(--paper); text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.015em; }
.bd-sums th, .bd-sums td { text-align: left; padding: 14px 20px; }
.bd-sums tbody > tr > * { border-top: var(--line); }
.bd-sums tr > * + * { border-left: var(--line); }
.bd-sums tbody th { font-size: 1.1rem; }
.bd-sums td { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bd-sums td:last-child { font-family: var(--display); font-weight: 800; color: var(--ink); }
.bd-example__foot { margin-top: 14px; max-width: 46rem; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 599px) {
  .bd-sums thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bd-sums caption { display: block; padding: 12px 16px; font-size: 1.05rem; }
  .bd-sums, .bd-sums tbody { display: block; }
  .bd-sums tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bd-sums tr + tr { border-top: var(--line); }
  .bd-sums tbody > tr > * { border-top: 0; }
  .bd-sums th, .bd-sums td { padding: 10px 12px; }
  .bd-sums th[scope="row"] { grid-column: 1 / -1; background: var(--ink); color: var(--paper); }
  .bd-sums tr > * + * { border-left: 0; }
  .bd-sums td + td { border-left: var(--line); }
  .bd-sums td::before {
    content: attr(data-label);
    display: block; margin-bottom: 2px;
    font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-2);
  }
}

/* ---------- Messages and paid posts: a ruled list on ink ---------- */
.bd-shifts { border-top: 2px solid var(--mustard); }
.bd-shifts li { padding: 22px 0; border-bottom: 2px solid rgba(255, 251, 239, .2); }
.bd-shifts li:last-child { border-bottom: 0; padding-bottom: 0; }
.bd-shifts h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1; color: var(--mustard); }
.bd-shifts p { margin-top: 10px; max-width: 40rem; color: rgba(255, 251, 239, .82); font-size: 1.08rem; }
@media (min-width: 900px) {
  .bd-shifts li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: baseline; padding: 30px 0; }
  .bd-shifts p { margin-top: 0; }
}

/* ---------- How we'd set them up: the homepage's numerals, in ink on mustard ---------- */
.bd-plan .steps li { border-top-color: var(--ink); }
.bd-plan .steps__n { color: var(--ink); }
.bd-plan .steps h3 { color: var(--ink); }
.bd-plan .steps p { color: var(--ink-2); }

/* ---------- Call to action ---------- */
.bd-cta__grid { display: grid; gap: 24px; align-items: end; }
.bd-cta h2 { font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -.045em; line-height: .9; }
.bd-cta p { max-width: 32rem; font-size: 1.12rem; color: var(--ink-2); }
.bd-cta__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 599px) { .bd-cta__actions .btn { width: calc(100% - var(--shadow-off)); } }
@media (min-width: 900px) {
  .bd-cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

/* Updated date: under the lead, in the site's label caps, a size down. */
.bd-hero__updated { margin-top: 18px; font-size: .75rem; color: var(--ink-2); }
