/* ════════════════════════════════════════════════════════════════
   board-builder-byebye.css — "Bye Bye AAC" section only.
   Kept in its own file so board-builder.css stays under the 1,000-line
   line. Reuses brand atoms from home.css (.container, .rv, --amber,
   .bb-mock-tile / .bb-c-* color chips, .bb-mini-qr-grid).
   ════════════════════════════════════════════════════════════════ */

.bb-byebye {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(255, 110, 180, 0.10), transparent 60%),
    linear-gradient(180deg, #0c0c0c 0%, #141016 100%);
  color: #f4f0ea;
  overflow: hidden;
}

.bb-byebye-head { max-width: 780px; margin: 0 auto 2.75rem; text-align: center; }
.bb-byebye-eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: 0.04em;
  font-size: 0.82rem; color: #ff8ec3; margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem; border: 1px solid rgba(255, 142, 195, 0.4);
  border-radius: 100px; background: rgba(255, 142, 195, 0.08);
}
.bb-byebye-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 4.4vw, 2.9rem); line-height: 1.08;
  margin: 0 0 1rem; font-weight: 600;
}
.bb-byebye-head h2 em { color: var(--amber, #ffb347); font-style: italic; }
.bb-byebye-lede { font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.6; color: #cfc8c0; margin: 0; }
.bb-byebye-lede strong { color: #fff; }
.bb-byebye-lede em { color: #ff8ec3; font-style: normal; font-weight: 600; }

/* ── 3-step flow: paper → device → free ── */
.bb-byebye-flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 1rem; flex-wrap: wrap; max-width: 1040px; margin: 0 auto;
}
.bb-byebye-step {
  flex: 1 1 240px; max-width: 300px; text-align: center;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px; padding: 1.5rem 1.25rem 1.6rem; position: relative;
}
.bb-byebye-stepnum {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber, #ffb347); color: #1a1206; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.bb-byebye-step h3 { font-size: 1.08rem; margin: 1rem 0 0.4rem; color: #fff; font-weight: 700; }
.bb-byebye-step h3 em { color: var(--amber, #ffb347); font-style: italic; }
.bb-byebye-step p { font-size: 0.9rem; line-height: 1.5; color: #b8b1a9; margin: 0; }
.bb-byebye-step p strong { color: #efe9e2; }

.bb-byebye-arrow {
  align-self: center; font-size: 1.8rem; color: rgba(255, 179, 71, 0.7);
  font-weight: 700; flex: 0 0 auto;
}

/* STEP 1 — paper printout */
.bb-byebye-paper {
  background: #f7f3ea; color: #2b2620; border-radius: 8px;
  padding: 0.7rem; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transform: rotate(-2.2deg); position: relative; margin: 0.3rem auto 0; max-width: 200px;
}
.bb-byebye-paper-title { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; color: #8a8275; margin-bottom: 0.4rem; text-align: left; }
.bb-byebye-paper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bb-byebye-paper-grid span {
  border: 1px solid #cfc6b4; border-radius: 4px; padding: 0.4rem 0.15rem;
  font-size: 0.6rem; font-weight: 600; background: #fffdf8;
}
.bb-byebye-paper-grid .fld { background: #efe7d3; color: #6b5d34; }
.bb-byebye-paper-pin {
  position: absolute; top: -10px; right: -8px; font-size: 0.62rem;
  background: #2b2620; color: #f7f3ea; padding: 0.12rem 0.4rem; border-radius: 100px; transform: rotate(6deg);
}

/* STEP 2 — live device */
.bb-byebye-device {
  background: #15171c; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 0.7rem; max-width: 210px; margin: 0.3rem auto 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.bb-byebye-device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.bb-byebye-device-grid .bb-mock-tile {
  font-size: 0.52rem; padding: 0.35rem 0.1rem; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.bb-byebye-device-grid .bb-mock-tile .e { font-size: 0.95rem; }
.bb-byebye-drill { position: relative; }
.bb-byebye-drill::after {
  content: '›'; position: absolute; top: 2px; left: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); color: #fff; font-weight: 900;
  font-size: 0.62rem; line-height: 13px; text-align: center;
}
.bb-byebye-device-label { font-size: 0.6rem; color: #6fce9a; margin-top: 0.5rem; letter-spacing: 0.04em; }

/* STEP 3 — free forever */
.bb-byebye-free { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 0.5rem auto 0; min-height: 92px; }
.bb-byebye-free-badge {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #ffd98a, var(--amber, #ffb347));
  color: #1a1206; font-size: 1.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.bb-byebye-free-qr {
  width: 64px; height: 64px; background: #fff; border-radius: 8px; padding: 6px;
}
.bb-byebye-free-qr .bb-mini-qr-grid { width: 100%; height: 100%; }

/* ── honest fineprint ── */
.bb-byebye-honest {
  max-width: 820px; margin: 2.5rem auto 0;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 179, 71, 0.22);
  border-left: 3px solid var(--amber, #ffb347); border-radius: 12px;
  padding: 1.1rem 1.35rem;
}
.bb-byebye-honest p { font-size: 0.9rem; line-height: 1.62; color: #c4bdb4; margin: 0; }
.bb-byebye-honest strong { color: #f1ece4; }

/* ── bigger than AAC ── */
.bb-byebye-beyond {
  max-width: 820px; margin: 1.75rem auto 0; text-align: center;
  padding: 1.4rem 1.35rem; border-radius: 14px;
  background: linear-gradient(180deg, rgba(57,255,133,0.06), rgba(0,212,255,0.05));
  border: 1px solid rgba(57,255,133,0.18);
}
.bb-byebye-beyond-head { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; color: #fff; }
.bb-byebye-beyond-head em { color: #6fce9a; font-style: italic; }
.bb-byebye-beyond-sub { font-size: 0.9rem; color: #b8b1a9; margin: 0.5rem 0 0.9rem; }
.bb-byebye-beyond-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.bb-byebye-beyond-chips span {
  font-size: 0.82rem; font-weight: 600; color: #e7f6ee;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}

.bb-byebye-cta { text-align: center; margin-top: 2rem; }

@media (max-width: 720px) {
  .bb-byebye-arrow { transform: rotate(90deg); margin: 0.2rem 0; }
  .bb-byebye-flow { gap: 1.4rem; }
  .bb-byebye-step { max-width: 340px; }
}
