/* BuildCost BD homepage */
.bc-home { background: #fff; }
.bc-section { border-top: 1px solid var(--bc-line); padding: 22px 0; }
.bc-section__title { margin: 0; font-size: 27px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.bc-section__title span { font-size: .7em; font-weight: 700; }
.bc-section__header { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.bc-section__header .bc-section__title { flex: 1; }
.bc-section__meta { color: var(--bc-muted); font-size: 13px; }
.bc-text-link { border: 0; padding: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; color: var(--bc-teal-800); font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; }
.bc-text-link .bc-icon { width: 18px; height: 18px; }
.bc-card-action { font: inherit; }

/* Hero */
.bc-hero { padding: 34px 0 18px; }
.bc-hero__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(660px, 1.12fr); gap: 56px; align-items: center; }
.bc-hero__content { padding: 12px 0 8px; }
.bc-hero__title { margin: 0; max-width: 630px; font-size: clamp(44px, 4.3vw, 61px); line-height: 1.18; letter-spacing: -.035em; font-weight: 850; }
.bc-hero__lead { max-width: 590px; margin: 24px 0 0; color: #536165; font-size: 20px; line-height: 1.75; }
.bc-hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.bc-hero__actions .bc-btn { min-width: 210px; min-height: 56px; font-size: 17px; }
.bc-hero__actions .bc-icon { width: 22px; height: 22px; }
.bc-hero__trust { margin-top: 43px; display: flex; flex-wrap: wrap; gap: 28px; color: #2f4044; font-size: 14px; }
.bc-hero__trust span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bc-hero__trust .bc-icon { color: var(--bc-teal-700); }

.bc-quick { border: 1px solid #dbe4e5; border-radius: 14px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(220px, .72fr); gap: 20px; background: #fff; box-shadow: var(--bc-shadow); }
.bc-quick__form-wrap { padding: 2px 0; }
.bc-quick__heading { margin-bottom: 14px; font-size: 16px; font-weight: 800; }
.bc-quick__heading span { font-weight: 600; color: #37474a; }
.bc-field-label, .bc-choice-group legend { display: block; margin: 0 0 7px; color: #2c3c40; font-size: 13px; font-weight: 800; }
.bc-area-row { display: grid; grid-template-columns: 1fr 132px; gap: 8px; }
.bc-input, .bc-select { width: 100%; min-width: 0; height: 46px; border: 1px solid #d5dfe0; border-radius: 7px; background: #fff; color: #233235; padding: 8px 13px; outline: none; }
.bc-input:focus, .bc-select:focus { border-color: var(--bc-teal-700); box-shadow: 0 0 0 3px rgba(10,129,126,.12); }
.bc-choice-group { min-width: 0; border: 0; padding: 0; margin: 12px 0 0; }
.bc-choice-row { display: grid; gap: 8px; }
.bc-choice-row--floors { grid-template-columns: repeat(5, 1fr); }
.bc-choice-row--quality { grid-template-columns: repeat(3, 1fr); }
.bc-choice-input { position: absolute; opacity: 0; pointer-events: none; }
.bc-select-card { min-height: 41px; display: grid; place-items: center; border: 1px solid #d5dfe0; border-radius: 7px; background: #fff; color: #344347; font-size: 13px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.bc-choice-input:checked + .bc-select-card { color: #fff; border-color: var(--bc-teal-800); background: linear-gradient(135deg, var(--bc-teal-800), var(--bc-teal-600)); box-shadow: 0 5px 13px rgba(6,112,110,.16); }
.bc-choice-input:focus-visible + .bc-select-card { outline: 3px solid rgba(10,129,126,.2); outline-offset: 2px; }
.bc-quick__submit { width: 100%; min-height: 43px; margin-top: 13px; font-size: 14px; }
.bc-quick__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 7px 0 0; color: #687579; font-size: 11px; text-align: center; }
.bc-quick__note .bc-icon { width: 14px; height: 14px; }

.bc-estimate { border-radius: 10px; padding: 18px 17px; background: linear-gradient(145deg, #eef9f7, #f7fbfa); min-width: 0; }
.bc-estimate__eyebrow { margin: 0 0 5px; color: #46575a; font-size: 13px; }
.bc-estimate__total { color: var(--bc-teal-800); font-size: clamp(29px, 2.55vw, 38px); line-height: 1.15; font-weight: 850; letter-spacing: -.02em; white-space: nowrap; }
.bc-estimate__rate, .bc-estimate__area { margin-top: 7px; color: #455356; font-size: 13px; }
.bc-estimate__divider { height: 1px; margin: 17px 0 11px; background: #bcdbd7; }
.bc-estimate__details { margin: 0; display: grid; gap: 7px; }
.bc-estimate__details div { display: flex; justify-content: space-between; gap: 12px; color: #4d5c60; font-size: 11px; }
.bc-estimate__details dt, .bc-estimate__details dd { margin: 0; }
.bc-estimate__details dd { text-align: right; color: #26373a; font-weight: 700; }
.bc-estimate__link { width: 100%; margin-top: 13px; padding: 10px 0 0; border: 0; border-top: 1px solid #bcdbd7; background: transparent; display: flex; align-items: center; justify-content: space-between; color: var(--bc-teal-800); font-size: 12px; font-weight: 800; cursor: pointer; }
.bc-estimate__link .bc-icon { width: 17px; height: 17px; }

/* Calculator types */
.bc-calculators { padding-top: 20px; }
.bc-calculators .bc-section__title { margin-bottom: 13px; }
.bc-calculator-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bc-calc-card { min-height: 79px; border: 1px solid var(--bc-line); border-radius: 8px; padding: 12px 15px; background: #fff; display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 10px; text-align: left; cursor: pointer; box-shadow: 0 2px 8px rgba(23,34,38,.025); transition: .18s ease; }
.bc-calc-card:hover { border-color: #b6d3d2; background: var(--bc-teal-50); transform: translateY(-1px); box-shadow: var(--bc-shadow-sm); }
.bc-calc-card__icon { width: 38px; height: 38px; color: var(--bc-teal-700); display: grid; place-items: center; }
.bc-calc-card__icon .bc-icon { width: 34px; height: 34px; }
.bc-calc-card__title { font-weight: 750; font-size: 14px; }
.bc-calc-card__arrow { color: #425255; display: grid; place-items: center; }
.bc-calc-card__arrow .bc-icon { width: 17px; height: 17px; }

/* How it works */
.bc-how { padding-top: 18px; }
.bc-how .bc-section__title { margin-bottom: 12px; }
.bc-how__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.bc-step-card { position: relative; min-height: 119px; border: 1px solid var(--bc-line); border-radius: 9px; padding: 16px 14px; display: grid; grid-template-columns: 55px 1fr 42px; align-items: center; gap: 10px; background: #fff; }
.bc-step-card__number { align-self: start; color: var(--bc-teal-800); font-size: 36px; line-height: 1; font-weight: 800; }
.bc-step-card__copy h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.bc-step-card__copy p { margin: 5px 0 0; color: #637074; font-size: 11px; line-height: 1.5; }
.bc-step-card__icon { color: var(--bc-teal-700); }
.bc-step-card__icon .bc-icon { width: 39px; height: 39px; }
.bc-step-card__connector { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); color: #7c8b8f; font-size: 25px; }

/* Market */
.bc-market__header { display: grid; grid-template-columns: 1fr auto auto; }
.bc-market__all { min-height: 40px; padding: 7px 17px; font-size: 13px; }
.bc-market__all .bc-icon { width: 18px; }
.bc-market__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bc-material-card { min-height: 110px; border: 1px solid var(--bc-line); border-radius: 9px; padding: 12px; display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; background: #fff; }
.bc-material-card__visual { width: 90px; height: 70px; border-radius: 7px; display: grid; place-items: center; background: #f5f7f7; color: #68777a; }
.bc-material-card__visual .bc-icon { width: 64px; height: 64px; }
.bc-material-card__visual--brick { color: #b75535; background: #fff4ef; }
.bc-material-card__visual--cement { color: #8a795c; background: #f7f4ed; }
.bc-material-card__visual--rod { color: #68777a; }
.bc-material-card__main h3 { margin: 0; font-size: 14px; }
.bc-material-card__price { margin-top: 4px; display: flex; align-items: baseline; gap: 5px; }
.bc-material-card__price strong { font-size: 22px; line-height: 1; }
.bc-material-card__price span, .bc-material-card__previous { color: #667478; font-size: 11px; }
.bc-material-card__previous { margin-top: 8px; }
.bc-material-card__change { align-self: center; font-size: 12px; font-weight: 800; white-space: nowrap; }
.bc-material-card__change--up { color: var(--bc-success); }
.bc-material-card__change--flat { color: #526064; }
.bc-data-note { margin: 8px 0 0; color: #788589; font-size: 11px; text-align: right; }

/* Features */
.bc-features .bc-section__title { margin-bottom: 12px; }
.bc-feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bc-feature-card { min-height: 108px; border: 1px solid var(--bc-line); border-radius: 8px; padding: 13px; display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 10px; }
.bc-feature-card__icon { color: var(--bc-teal-700); }
.bc-feature-card__icon .bc-icon { width: 38px; height: 38px; }
.bc-feature-card h3 { margin: 0; font-size: 13px; line-height: 1.25; }
.bc-feature-card p { margin: 5px 0 0; color: #718084; font-size: 10px; line-height: 1.45; }


/* Articles */
.bc-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bc-guide-card { min-height: 197px; border: 1px solid var(--bc-line); border-radius: 9px; padding: 14px 17px; display: flex; flex-direction: column; background: #fff; }
.bc-guide-card__badge { align-self: flex-start; padding: 2px 9px; border-radius: 5px; background: #e6f7f3; color: var(--bc-teal-800); font-size: 10px; font-weight: 800; }
.bc-guide-card h3 { margin: 7px 0 0; font-size: 18px; line-height: 1.35; }
.bc-guide-card p { margin: 6px 0 10px; color: #647276; font-size: 12px; line-height: 1.55; }
.bc-guide-card__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 14px; color: #758286; font-size: 10px; }
.bc-guide-card__meta a, .bc-guide-card__meta button { font-size: 11px; }

/* FAQ */
.bc-faq { padding-bottom: 8px; }
.bc-faq__list { border: 1px solid var(--bc-line); border-radius: 8px; overflow: hidden; }
.bc-faq__item + .bc-faq__item { border-top: 1px solid var(--bc-line); }
.bc-faq__item h3 { margin: 0; }
.bc-faq__trigger { width: 100%; min-height: 41px; border: 0; padding: 8px 12px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 15px; text-align: left; color: #29393d; cursor: pointer; font-size: 12px; font-weight: 800; }
.bc-faq__trigger > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.bc-faq__trigger > span:first-child .bc-icon { width: 15px; height: 15px; color: var(--bc-teal-800); }
.bc-faq__indicator { color: #2e4145; display: grid; place-items: center; }
.bc-faq__indicator .bc-icon { width: 16px; height: 16px; }
.bc-faq__panel { padding: 0 22px 10px; background: #fff; }
.bc-faq__panel p { margin: 0; color: #667579; font-size: 11px; line-height: 1.6; }

/* CTA */
.bc-home-cta { padding: 0 0 10px; }
.bc-home-cta__inner { min-height: 101px; border-radius: 9px; padding: 13px 24px; background: linear-gradient(110deg, #086d6b, #008d86); color: #fff; display: grid; grid-template-columns: 245px 1fr auto; gap: 25px; align-items: center; overflow: hidden; }
.bc-home-cta__visual { position: relative; height: 76px; }
.bc-home-cta__paper { position: absolute; left: 18px; top: 22px; width: 105px; height: 44px; border-radius: 4px; background: #f7f7ef; transform: rotate(-8deg); box-shadow: 0 5px 12px rgba(0,0,0,.12); }
.bc-home-cta__paper::before, .bc-home-cta__paper::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #cbd8d7; }
.bc-home-cta__paper::before { top: 13px; }
.bc-home-cta__paper::after { top: 22px; }
.bc-home-cta__calculator { position: absolute; left: 92px; top: 4px; width: 54px; height: 66px; border-radius: 6px; background: #4c696a; color: #fff; display: grid; place-items: center; transform: rotate(3deg); box-shadow: 0 7px 16px rgba(0,0,0,.18); }
.bc-home-cta__calculator .bc-icon { width: 37px; height: 37px; }
.bc-home-cta__roll { position: absolute; left: 135px; top: 35px; width: 96px; height: 21px; border-radius: 15px; background: linear-gradient(#edf2f0,#d4dedb); transform: rotate(9deg); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.bc-home-cta__copy h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.bc-home-cta__copy p { margin: 4px 0 0; color: rgba(255,255,255,.9); font-size: 12px; }
.bc-home-cta__actions { display: flex; align-items: center; gap: 13px; }
.bc-home-cta__actions .bc-btn { min-height: 47px; padding-inline: 19px; font-size: 13px; white-space: nowrap; }
.bc-home-cta__actions .bc-icon { width: 18px; height: 18px; }
.bc-footer-link-button { border: 0; padding: 0; background: transparent; color: #59666a; cursor: pointer; font-size: 13px; text-align: left; }
.bc-footer-link-button:hover { color: var(--bc-teal-800); }

/* Intermediate desktop/tablet fallback until approved mobile reference arrives. */
@media (max-width: 1260px) {
  .bc-hero__grid { grid-template-columns: minmax(0, .78fr) minmax(600px, 1.22fr); gap: 30px; }
  .bc-hero__title { font-size: 48px; }
  .bc-hero__lead { font-size: 17px; }
  .bc-quick { grid-template-columns: minmax(0, 1.35fr) minmax(200px, .65fr); }
  .bc-calculator-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bc-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-how__grid { gap: 24px; }
  .bc-step-card { grid-template-columns: 44px 1fr 32px; }
  .bc-step-card__number { font-size: 30px; }
  .bc-step-card__icon .bc-icon { width: 31px; height: 31px; }
  .bc-step-card__connector { right: -20px; }
}

@media (max-width: 1050px) {
  .bc-hero { padding-top: 26px; }
  .bc-hero__grid { grid-template-columns: 1fr; }
  .bc-hero__content { text-align: center; }
  .bc-hero__title, .bc-hero__lead { margin-left: auto; margin-right: auto; }
  .bc-hero__actions, .bc-hero__trust { justify-content: center; }
  .bc-quick { max-width: 760px; width: 100%; margin: 0 auto; }
  .bc-calculator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-how__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-step-card__connector { display: none; }
  .bc-market__grid { grid-template-columns: 1fr; }
  .bc-material-card { grid-template-columns: 88px 1fr auto; }
  .bc-home-cta__inner { grid-template-columns: 170px 1fr; }
  .bc-home-cta__actions { grid-column: 2; }
}

@media (max-width: 760px) {
  .bc-section { padding: 20px 0; }
  .bc-section__title { font-size: 23px; }
  .bc-section__header { align-items: flex-start; flex-wrap: wrap; }
  .bc-hero__title { font-size: clamp(34px, 9vw, 45px); }
  .bc-hero__lead { font-size: 16px; }
  .bc-hero__actions .bc-btn { min-width: 0; flex: 1 1 200px; }
  .bc-hero__trust { margin-top: 28px; gap: 14px 20px; font-size: 12px; }
  .bc-quick { grid-template-columns: 1fr; max-width: 560px; }
  .bc-estimate { order: 2; }
  .bc-calculator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-how__grid { grid-template-columns: 1fr; }
  .bc-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-guide-grid { grid-template-columns: 1fr; }
  .bc-market__header { grid-template-columns: 1fr; align-items: start; }
  .bc-market__all { justify-self: start; }
  .bc-home-cta__inner { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .bc-home-cta__visual { display: none; }
  .bc-home-cta__actions { grid-column: auto; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 440px) {
  .bc-hero { padding-top: 20px; }
  .bc-hero__title { font-size: 35px; line-height: 1.2; }
  .bc-hero__lead { margin-top: 16px; line-height: 1.65; }
  .bc-hero__actions { margin-top: 22px; gap: 10px; }
  .bc-hero__actions .bc-btn { width: 100%; flex-basis: 100%; min-height: 50px; }
  .bc-hero__trust { display: grid; justify-content: start; text-align: left; }
  .bc-quick { padding: 13px; gap: 13px; }
  .bc-area-row { grid-template-columns: minmax(0, 1fr) 115px; }
  .bc-choice-row { gap: 5px; }
  .bc-select-card { min-height: 40px; font-size: 12px; }
  .bc-estimate__total { font-size: 30px; }
  .bc-calculator-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .bc-calc-card { min-height: 69px; padding: 9px; grid-template-columns: 34px minmax(0, 1fr) 14px; gap: 7px; }
  .bc-calc-card__icon { width: 32px; height: 32px; }
  .bc-calc-card__icon .bc-icon { width: 29px; height: 29px; }
  .bc-calc-card__title { font-size: 12px; overflow-wrap: anywhere; }
  .bc-step-card { min-height: 105px; grid-template-columns: 43px 1fr 30px; padding: 13px 10px; }
  .bc-step-card__number { font-size: 27px; }
  .bc-material-card { grid-template-columns: 65px minmax(0, 1fr); gap: 10px; }
  .bc-material-card__visual { width: 62px; height: 58px; }
  .bc-material-card__visual .bc-icon { width: 46px; height: 46px; }
  .bc-material-card__change { grid-column: 2; justify-self: start; }
  .bc-feature-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .bc-feature-card { min-height: 113px; grid-template-columns: 34px 1fr; padding: 10px 8px; gap: 7px; }
  .bc-feature-card__icon .bc-icon { width: 31px; height: 31px; }
  .bc-guide-card { min-height: auto; }
  .bc-home-cta__copy h2 { font-size: 22px; }
  .bc-home-cta__actions { display: grid; width: 100%; }
  .bc-home-cta__actions .bc-btn { width: 100%; white-space: normal; }
}

@media (max-width: 340px) {
  .bc-hero__title { font-size: 31px; }
  .bc-area-row { grid-template-columns: 1fr; }
  .bc-calculator-grid, .bc-feature-grid { grid-template-columns: 1fr; }
  .bc-choice-row--quality { grid-template-columns: 1fr; }
  .bc-estimate__total { white-space: normal; }
}

/* v1.5.0 calculator discovery redesign */
.bc-calculator-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.bc-calculator-section-head p{margin:7px 0 0;color:#64757a;max-width:720px}.bc-section-kicker{display:inline-block;color:var(--bc-teal-700);font-weight:800;font-size:13px;margin-bottom:5px}.bc-calculator-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bc-calc-card{min-height:184px;padding:18px;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:start;border-radius:13px;gap:12px 14px}.bc-calc-card__icon{width:48px;height:48px;border-radius:11px;background:#edf8f7}.bc-calc-card__body{display:grid;gap:6px;min-width:0}.bc-calc-card__title{font-size:17px}.bc-calc-card__description{font-size:13px;color:#66777c;line-height:1.55}.bc-calc-card__output{font-size:12px;color:#0b7571;font-weight:700}.bc-calc-card__cta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #e8eeee;color:#087572;font-size:13px;font-weight:800}.bc-calc-card__cta .bc-icon{width:17px;height:17px}.bc-calc-card__arrow{display:none}
@media(max-width:980px){.bc-calculator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.bc-calculator-section-head{align-items:flex-start;flex-direction:column}.bc-calculator-section-head .bc-btn{width:100%}.bc-calculator-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bc-calc-card{min-height:166px;padding:12px;grid-template-columns:38px minmax(0,1fr);gap:9px}.bc-calc-card__icon{width:38px;height:38px}.bc-calc-card__icon .bc-icon{width:29px;height:29px}.bc-calc-card__title{font-size:14px}.bc-calc-card__description{font-size:11px;line-height:1.45}.bc-calc-card__output{font-size:10px}.bc-calc-card__cta{font-size:11px}}@media(max-width:340px){.bc-calculator-grid{grid-template-columns:1fr}.bc-calc-card{min-height:145px}}


/* v1.6.0 — compact mobile homepage discovery grids */
@media (max-width: 767px) {
  .bc-how__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .bc-step-card {
    min-width: 0;
    min-height: 126px;
    padding: 11px 10px;
    border-radius: 11px;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 7px 8px;
    align-items: start;
  }
  .bc-step-card__number {
    font-size: 22px;
    line-height: 1;
  }
  .bc-step-card__copy {
    min-width: 0;
  }
  .bc-step-card__copy h3 {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .bc-step-card__copy p {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.45;
  }
  .bc-step-card__icon {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }
  .bc-step-card__icon .bc-icon {
    width: 25px;
    height: 25px;
  }
  .bc-step-card__connector {
    display: none;
  }

  .bc-market__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .bc-material-card {
    min-width: 0;
    min-height: 126px;
    padding: 10px;
    border-radius: 11px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 7px 8px;
    align-items: start;
  }
  .bc-material-card__visual {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .bc-material-card__visual .bc-icon {
    width: 27px;
    height: 27px;
  }
  .bc-material-card__main {
    min-width: 0;
  }
  .bc-material-card__main h3 {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .bc-material-card__price {
    display: block;
    margin-top: 5px;
    min-width: 0;
  }
  .bc-material-card__price strong {
    display: block;
    font-size: clamp(15px, 4.3vw, 19px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .bc-material-card__price span,
  .bc-material-card__previous {
    font-size: 10px;
    line-height: 1.35;
  }
  .bc-material-card__previous {
    margin-top: 4px;
    overflow-wrap: anywhere;
  }
  .bc-material-card__change {
    grid-column: 1 / -1;
    justify-self: start;
    align-self: end;
    font-size: 10px;
    white-space: normal;
  }
  .bc-data-note {
    text-align: left;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  .bc-how__grid,
  .bc-market__grid {
    gap: 8px;
  }
  .bc-step-card {
    min-height: 118px;
    padding: 9px 8px;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 6px;
  }
  .bc-step-card__number {
    font-size: 19px;
  }
  .bc-step-card__copy h3 {
    font-size: 12px;
  }
  .bc-step-card__copy p {
    font-size: 9.5px;
  }
  .bc-step-card__icon .bc-icon {
    width: 22px;
    height: 22px;
  }
  .bc-material-card {
    min-height: 120px;
    padding: 9px 8px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }
  .bc-material-card__visual {
    width: 30px;
    height: 30px;
  }
  .bc-material-card__visual .bc-icon {
    width: 24px;
    height: 24px;
  }
  .bc-material-card__main h3 {
    font-size: 12px;
  }
  .bc-material-card__price strong {
    font-size: 14px;
  }
}

/* Keep market cards efficient on tablets without changing desktop's three-column grid. */
@media (min-width: 768px) and (max-width: 1050px) {
  .bc-market__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
