/* ===== 1. Title ===== */
.s-title { flex-direction: row; align-items: center; gap: 56px; }
.s-title__text { flex: 0 0 760px; display: flex; flex-direction: column; gap: 24px; }
.mega { margin: 0; font-size: 128px; line-height: .98; font-weight: 800; letter-spacing: -3px; }
.lead { margin: 0; font-size: 38px; line-height: 1.2; color: var(--muted); font-weight: 500; }
.people { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.person {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--card); border: var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 8px 22px 8px 12px;
}
.person__ava { font-size: 46px; line-height: 1; }
.person small { display: block; font-size: 17px; color: var(--muted); }
.person b { font-size: 27px; }
.school { margin: 0; font-size: 22px; color: var(--muted); }
.title-hint { position: absolute; right: 64px; bottom: 28px; font-size: 20px; color: var(--muted); }
.title-photo {
  position: relative; flex: 1; margin: 0; transform: rotate(2deg);
  border: var(--line); border-radius: 26px; box-shadow: 10px 10px 0 var(--ink); background: var(--card); padding: 14px;
}
.title-photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.tapepiece { position: absolute; width: 130px; height: 34px; background: rgba(242, 194, 48, .85); border: 2px solid rgba(30,58,47,.2); }
.tapepiece--tl { top: -14px; left: 30px; transform: rotate(-8deg); }
.tapepiece--br { bottom: -12px; right: 40px; transform: rotate(-6deg); }
.dim { position: absolute; display: flex; align-items: center; justify-content: center; }
.dim i { position: absolute; background: var(--tape); border: 2px solid var(--ink); }
.dim b {
  position: relative; padding: 2px 14px; border: var(--line); border-radius: 12px; background: var(--card);
  font-size: 26px; box-shadow: 3px 3px 0 var(--ink); opacity: 0; white-space: nowrap;
}
.dim--w { top: 30px; left: 40px; right: 40px; height: 40px; }
.dim--w i { left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; transform: scaleX(0); transform-origin: left; }
.dim--h { top: 90px; bottom: 60px; left: 30px; width: 40px; }
.dim--h i { top: 0; bottom: 0; left: 50%; width: 12px; margin-left: -6px; transform: scaleY(0); transform-origin: bottom; }
.dim--h b { transform: rotate(-90deg); }
.slide.is-active .dim--w i { animation: growX 1.2s cubic-bezier(.6,.1,.2,1) .9s forwards; }
.slide.is-active .dim--h i { animation: growY 1s cubic-bezier(.6,.1,.2,1) 2s forwards; }
.slide.is-active .dim--w b { animation: popIn .5s ease 1.9s forwards; }
.slide.is-active .dim--h b { animation: popInR .5s ease 2.9s forwards; }
@keyframes growX { to { transform: scaleX(1); } }
@keyframes growY { to { transform: scaleY(1); } }
@keyframes popInR { from { opacity: 0; transform: rotate(-90deg) scale(.6); } to { opacity: 1; transform: rotate(-90deg); } }

/* ===== 2. Brigades ===== */
.brigades { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brig {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 20px 28px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--c);
  font-size: 26px;
}
.brig b { font-size: 42px; }
.brig__ico { font-size: 80px; line-height: 1; }
.brig__hat { position: absolute; top: 18px; right: 22px; font-size: 56px; }
.slide.is-active .brig__hat { animation: hop 1.8s ease-in-out infinite; }
.brig:nth-child(2) .brig__hat { animation-delay: .3s !important; }
.brig:nth-child(3) .brig__hat { animation-delay: .6s !important; }
.brig:nth-child(4) .brig__hat { animation-delay: .9s !important; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px) rotate(-6deg); } }
.brig--oak, .task--oak { --c: var(--oak-l); }
.brig--green, .task--green { --c: var(--green-l); }
.brig--sky, .task--sky { --c: var(--sky-l); }
.brig--terra, .task--terra { --c: var(--terra-l); }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 28px; }
.rules li { display: flex; gap: 12px; align-items: center; }
.rules li span { font-size: 36px; }

/* ===== 3. Hook ===== */
[data-id="hook"] .card h3 { font-size: 28px; }

/* ===== 4. Goal path ===== */
.goal { font-size: 36px; line-height: 1.3; }
.path { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.path__line {
  position: absolute; left: 6%; right: 6%; top: 50%; height: 16px; margin-top: -8px; border: 2px solid var(--ink); border-radius: 4px;
  background: var(--tape) repeating-linear-gradient(90deg, rgba(30,58,47,.7) 0 2px, transparent 2px 24px);
}
.pstep {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 26px 14px 22px; border: var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.pstep b { font-size: 32px; line-height: 1.1; }
.pstep code { font-family: var(--font); font-size: 26px; font-weight: 700; padding: 2px 12px; border-radius: 10px; background: var(--tape-l); }
.pstep__ico { font-size: 72px; line-height: 1; }
.pstep__n {
  position: absolute; top: -22px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: var(--line); background: var(--tape); font-size: 24px; font-weight: 800;
}
.credit-note { margin: 0; font-size: 26px; text-align: center; color: var(--muted); }

/* ===== 4b. Project: relevance, goal, tasks, novelty ===== */
.proj {
  flex: 1; min-height: 0; display: grid; gap: 22px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  grid-template-areas: "why tasks" "goal tasks" "new new";
}
.proj__card { display: flex; flex-direction: column; gap: 10px; font-size: 28px; line-height: 1.3; }
.proj__card p + p { margin-top: 0; }
.proj__card--why { grid-area: why; background: var(--terra-l); }
.proj__card--goal { grid-area: goal; background: var(--tape-l); }
.proj__card--tasks { grid-area: tasks; background: var(--green-l); }
.proj__card--new { grid-area: new; flex-direction: row; align-items: center; gap: 24px; background: var(--card); }
.proj__tag {
  align-self: flex-start; padding: 4px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card);
  font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}
.proj__tag .ru { text-transform: none; letter-spacing: 0; }
.proj__card--new .proj__tag { align-self: center; }
.proj__big { flex: 1; font-size: 34px; font-weight: 700; }
.proj__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: task; }
.proj__list li {
  counter-increment: task; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); font-size: 27px;
}
.proj__list li::before {
  content: counter(task); flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tape); border: 2px solid var(--ink); font-weight: 800; font-size: 22px;
}
.proj__list li span { font-size: 32px; }
.slide.is-active .proj__list li { animation: popIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
.slide.is-active .proj__list li:nth-child(1) { animation-delay: .5s; }
.slide.is-active .proj__list li:nth-child(2) { animation-delay: .65s; }
.slide.is-active .proj__list li:nth-child(3) { animation-delay: .8s; }
.slide.is-active .proj__list li:nth-child(4) { animation-delay: .95s; }

/* ===== 5 & 16. Card grids ===== */
.cards8 { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.cards8 .flip__front { font-size: 30px; }
.cards8 .flip__front b { font-size: 34px; }
.cards8 .flip__back { font-size: 25px; line-height: 1.3; }
.sym { font-size: 76px; font-weight: 800; line-height: 1; color: var(--green); }
.cards8 .flip:nth-child(4n+1) .flip__front { background: var(--tape-l); }
.cards8 .flip:nth-child(4n+2) .flip__front { background: var(--sky-l); }
.cards8 .flip:nth-child(4n+3) .flip__front { background: var(--oak-l); }
.cards8 .flip:nth-child(4n) .flip__front { background: var(--terra-l); }
.cards8--tf .flip__front { font-size: 28px; font-weight: 600; line-height: 1.25; padding: 20px; }
.cards8--tf .flip__back b { font-size: 34px; }
.tf-n { position: absolute; top: 10px; left: 16px; font-size: 22px; color: var(--muted); font-weight: 800; }
.flip__back.is-no { background: var(--red-l); }

/* ===== 6. Units ===== */
.spans { display: flex; flex-direction: column; gap: 12px; }
.span-row { display: grid; grid-template-columns: 170px 44px 54px 44px 1fr; gap: 10px; align-items: center; font-size: 24px; }
.span-row b { text-align: center; font-size: 34px; font-variant-numeric: tabular-nums; }
.span-bar {
  height: 30px; width: calc(var(--n, 6) * 6%); border: 2px solid var(--ink); border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--oak) 0 calc(100% / var(--n, 6) - 3px), var(--ink) 0 calc(100% / var(--n, 6)));
  transition: width .3s ease;
}
.spans .btn { align-self: flex-start; }
.span-msg { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--green-l); font-size: 24px; font-weight: 600; animation: popIn .4s ease; }
.convert { display: flex; flex-direction: column; gap: 14px; }
.conv { display: flex; align-items: center; gap: 14px; font-size: 34px; font-weight: 700; }
.conv > span { min-width: 150px; text-align: right; }
.conv em { font-style: normal; font-size: 20px; color: var(--muted); font-weight: 500; }

/* ===== 7. Measure ===== */
.data { display: flex; flex-direction: column; gap: 4px; padding: 14px 26px; }
.data__row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 2px dashed rgba(30,58,47,.2); font-size: 28px; }
.data__row:last-child { border-bottom: 0; }
.data__row b { font-size: 32px; }
.meter { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; padding: 16px 20px; }
.meter img { width: 130px; height: 170px; object-fit: cover; border: var(--line); border-radius: 14px; }
.meter p { font-size: 23px; margin-bottom: 10px !important; }

/* ===== 8–9. Floor plan ===== */
.plan svg { display: block; height: 590px; width: auto; overflow: visible; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linejoin: round; }
.plan .floor { fill: #fff; }
.plan .lbl { font: 700 22px var(--font); fill: var(--ink); text-anchor: middle; }
.plan .dimline { stroke: var(--ink); stroke-width: 2; }
.plan .win { stroke: var(--sky); stroke-width: 9; stroke-linecap: round; }
.plan .door-gap { stroke: #fff; stroke-width: 10; }
.plan .door-arc { fill: none; stroke: var(--oak); stroke-width: 3; stroke-dasharray: 6 5; }
.plan .door-leaf { stroke: var(--oak); stroke-width: 4; }
.plan .door-mark { fill: none; stroke: var(--red); stroke-width: 12; stroke-dasharray: 10 6; opacity: 0; transition: opacity .4s; }
.plan.show-door .door-mark { opacity: 1; animation: blink 1s ease 3; }
@keyframes blink { 50% { opacity: .2; } }
.plan .grid-line { stroke: rgba(30,58,47,.18); stroke-width: 2; stroke-dasharray: 4 4; }
.plan .cell { fill: var(--green); opacity: 0; transition: opacity .25s; }
.plan .cell.is-part { fill: var(--tape); }
.plan .cell.is-on { opacity: .55; }
.plan .side { fill: none; stroke: var(--tape); stroke-width: 14; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.plan .side.is-on { opacity: 1; }
.plan .robot { font-size: 46px; dominant-baseline: central; text-anchor: middle; }
.counter { font-size: 30px; font-weight: 800; padding: 6px 18px; border: var(--line); border-radius: 14px; background: var(--card); min-width: 200px; text-align: center; }
.sum { display: flex; flex-wrap: wrap; gap: 10px; font-size: 44px; font-weight: 800; min-height: 70px; }
.sum span { padding: 2px 14px; border-radius: 14px; background: var(--tape-l); border: 2px solid var(--ink); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s cubic-bezier(.2,.9,.3,1.4); }
.sum span.is-on { opacity: 1; transform: none; }
.sum .sum__eq { background: var(--green-l); }

/* ===== 10. Walls unfold ===== */
.unfold-wrap { position: relative; height: 268px; padding-left: 70px; }
.unfold { position: relative; height: 182px; }
.panel {
  position: absolute; top: 0; height: 100%; border: 3px solid var(--ink); background: var(--card);
  transform: scaleX(0); transform-origin: left center; opacity: 0;
  transition: transform .7s cubic-bezier(.3,1.2,.4,1), opacity .3s, background .5s;
  transition-delay: calc(var(--i) * .45s);
}
.unfold.is-open .panel { transform: none; opacity: 1; }
.unfold.is-papered .panel { background: var(--green-l) radial-gradient(circle at 10px 10px, rgba(47,107,79,.35) 3px, transparent 4px) 0 0 / 22px 22px; }
.panel__name { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; font-size: 22px; font-weight: 700; }
.hole { position: absolute; border: 3px solid var(--ink); background: var(--sky-l); transition: background .4s, border-color .4s; }
.hole--door { background: var(--oak-l); }
.hole.is-cut { background: var(--bg); border: 3px dashed var(--red); }
.hole.is-cut::after { content: "✂️"; position: absolute; top: -18px; right: -16px; font-size: 26px; }
.unfold__h {
  position: absolute; left: -62px; top: 0; height: 100%; width: 48px; display: grid; place-items: center;
  border-right: 3px solid var(--ink);
}
.unfold__h span { transform: rotate(-90deg); white-space: nowrap; font-size: 22px; font-weight: 800; }
.unfold__p { position: absolute; left: 70px; right: 0; top: 232px; height: 30px; color: var(--green); text-align: center; font-size: 22px; font-weight: 800; opacity: 0; transition: opacity .5s 1.8s; }
.unfold-wrap.is-open .unfold__p { opacity: 1; }
.calc { display: flex; flex-direction: column; gap: 10px; }
.calc__row {
  display: grid; grid-template-columns: 290px 1fr 270px; align-items: center; gap: 16px;
  padding: 8px 22px; border: var(--line); border-radius: 16px; background: var(--card); font-size: 28px;
}
.calc__row code { font-family: var(--font); font-weight: 600; color: var(--muted); }
.calc__row b { text-align: right; font-size: 32px; }
.calc__row--minus b { color: var(--red); }
.calc__row--total { background: var(--green-l); box-shadow: var(--shadow-sm); }

/* ===== 11. Dance ===== */
.dance { display: flex; flex-direction: column; gap: 24px; align-items: center; flex: 0 0 720px; }
.dance__card {
  width: 680px; height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: var(--line); border-radius: 32px; box-shadow: 10px 10px 0 var(--ink); background: var(--tape-l); text-align: center;
}
.dance__card b { font-size: 76px; line-height: 1.05; }
.dance__card > span:last-child { font-size: 30px; color: var(--muted); }
.dance__ico { font-size: 150px; line-height: 1.05; }
.dance__card.is-new { animation: danceIn .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes danceIn { from { transform: scale(.7) rotate(-6deg); opacity: .3; } }
.dance-legend { gap: 10px; }
.leg { display: flex; gap: 12px; align-items: center; font-size: 24px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--card); }
.leg span { font-size: 34px; }
.leg.is-on { background: var(--tape); transform: scale(1.04); transition: transform .2s; }

/* ===== 12. Rounding ===== */
.rule { font-size: 30px; }
.round { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.round__tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.round__tabs button { font-size: 22px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font-weight: 600; }
.round__tabs button.is-on { background: var(--tape); box-shadow: 3px 3px 0 var(--ink); }
.round__tabs button.is-done::after { content: " ✅"; }
.round__card { flex: 1; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.round__q { margin: 0; font-size: 38px; font-weight: 700; text-align: center; }
.round__vis { display: flex; flex-direction: column; gap: 12px; }
.vis-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; font-size: 24px; font-weight: 700; }
.vis-track { position: relative; height: 44px; border-radius: 10px; background: rgba(30,58,47,.06); }
.vis-need, .vis-buy, .vis-gap { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 8px; transition: width .6s cubic-bezier(.3,1.2,.4,1), left .6s; }
.vis-need { background: repeating-linear-gradient(45deg, var(--sky-l) 0 10px, var(--sky) 10px 13px); border: 2px solid var(--sky); }
.vis-buy {
  width: 0; border: 2px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--green-l) 0 calc(var(--u) - 3px), var(--green) calc(var(--u) - 3px) var(--u));
}
.vis-gap { width: 0; opacity: 0; background: repeating-linear-gradient(45deg, var(--red-l) 0 8px, var(--red) 8px 12px); border: 2px solid var(--red); }
[data-round-opts] .btn { font-size: 34px; min-width: 220px; }
[data-round-opts] .btn.is-ok { background: var(--green); color: #fff; }
[data-round-opts] .btn.is-bad { background: var(--red-l); animation: shake .4s ease; }
.round__fb { margin: 0; text-align: center; font-size: 28px; font-weight: 700; min-height: 40px; }

/* ===== 13. Brigade tasks ===== */
.tasks { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.task { padding: 16px 22px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--c); font-size: 23px; display: flex; flex-direction: column; gap: 6px; }
.task h3 { margin: 0; font-size: 30px; }
.task p { margin: 0; }
.task__q { font-size: 26px; font-weight: 700; }
.task.is-solved { box-shadow: 0 0 0 5px var(--green), var(--shadow-sm); }

/* ===== 14. Smeta ===== */
.receipt { padding: 18px 22px; display: flex; flex-direction: column; background: #fff; }
.receipt__head, .receipt__row { display: grid; grid-template-columns: 1.7fr 1fr .9fr 1fr; gap: 10px; align-items: center; }
.receipt__head { font-size: 19px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 8px; border-bottom: var(--line); }
.receipt__row { font-size: 26px; padding: 15px 0; border-bottom: 2px dashed rgba(30,58,47,.2); cursor: pointer; }
.receipt__row:hover { background: var(--tape-l); }
.receipt__row span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.receipt__row .cost { font-weight: 800; color: var(--muted); }
.receipt__row.is-on .cost { color: var(--ink); animation: popIn .35s ease; }
.receipt__row.is-on { background: none; }
.total {
  display: flex; flex-direction: column; padding: 18px 26px; border: var(--line); border-radius: var(--radius);
  background: var(--ink); color: var(--tape); box-shadow: var(--shadow);
}
.total small { color: #CFE0D6; font-size: 20px; letter-spacing: .1em; }
.total b { font-size: 84px; line-height: 1; font-variant-numeric: tabular-nums; }
.total.is-done { animation: pulse .6s ease 2; }
.total--sm { padding: 10px 22px; box-shadow: var(--shadow-sm); }
.total--sm b { font-size: 46px; }
.guess { font-size: 26px; animation: popIn .5s ease; }

/* ===== 15. What-if calculator ===== */
.sliders { display: flex; flex-direction: column; gap: 14px; }
.sl { display: grid; grid-template-columns: 170px 1fr 110px; gap: 14px; align-items: center; font-size: 24px; }
.sl input { width: 100%; height: 36px; accent-color: var(--green); cursor: pointer; }
.sl output { font-weight: 800; font-size: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.mini-plan { flex: 1; display: grid; place-items: center; border: 3px dashed rgba(30,58,47,.3); border-radius: var(--radius); }
.mini-plan__room {
  display: grid; place-items: center; border: 6px solid var(--ink); border-radius: 4px;
  background: var(--oak-l) repeating-linear-gradient(90deg, transparent 0 24px, rgba(201,154,98,.5) 24px 26px);
  transition: width .35s ease, height .35s ease;
}
.mini-plan__room span { font-size: 30px; font-weight: 800; background: var(--card); padding: 2px 12px; border-radius: 10px; border: 2px solid var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { padding: 12px 16px; border: var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.kpi small { display: block; font-size: 18px; color: var(--muted); }
.kpi b { font-size: 38px; font-variant-numeric: tabular-nums; }
.mats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; padding: 16px 22px; font-size: 22px; flex: 1; align-content: center; }
.mat { display: flex; justify-content: space-between; gap: 8px; border-bottom: 2px dashed rgba(30,58,47,.15); padding: 4px 0; }
.mat b { font-variant-numeric: tabular-nums; }
.mat b.is-changed { animation: flash .6s ease; }
@keyframes flash { 30% { background: var(--tape); } }

/* ===== 17. Room ===== */
.room svg { display: block; width: 100%; height: auto; max-height: 560px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.room .layer { opacity: 0; transition: opacity .9s ease; }
.room.is-lam .layer--lam, .room.is-wall .layer--wall, .room.is-ceil .layer--ceil, .room.is-plinth .layer--plinth, .room.is-done .layer--deco { opacity: 1; }
.room-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.room-btns .btn { font-size: 18px; padding: 8px 6px; }
.takeaway { margin: 0; font-size: 26px; padding: 14px 18px; border-radius: 18px; background: var(--tape-l); border: 2px dashed var(--ink); }

/* ===== 18. Homework ===== */
.hw { display: flex; gap: 18px; align-items: center; padding: 14px 20px; border: var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); }
.hw > span { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tape); border: var(--line); font-size: 28px; font-weight: 800; }
.hw p { margin: 0; font-size: 28px; }
.hw--star { background: var(--green-l); }
.qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qr {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; text-decoration: none; color: var(--ink);
  border: var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); text-align: center;
}
.qr:hover { background: var(--tape-l); }
.qr b { font-size: 24px; }
.qr small { font-size: 17px; color: var(--muted); }
.qr__img { width: 190px; height: 190px; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
.qr__img svg, .qr__img img { width: 100%; height: 100%; }
.qr--cta { flex-direction: row; gap: 22px; padding: 18px 24px; text-align: left; background: var(--tape-l); }
.qr--cta .qr__img { flex: 0 0 170px; width: 170px; height: 170px; }
.qr__txt { display: flex; flex-direction: column; gap: 4px; }
.qr--cta b { font-size: 30px; }
.qr--cta small { font-size: 20px; }
.qr--cta strong { font-size: 34px; font-weight: 800; color: var(--green); white-space: nowrap; }
.bye { margin: 0; font-size: 44px; font-weight: 800; text-align: center; }
.credit { align-self: center; font-size: 16px; color: var(--muted); text-decoration: none; }
.credit:hover { text-decoration: underline; }
