/* QuoteRig page + its hub card (2026-11-25). Builds on custom.css (cs-*, go-* blocks). */

.qr-page { --qr-green: #0b7a5c; --qr-green-2: #13b383; }
.qr-wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 24px; text-decoration: none; }
.qr-wordmark img { width: 44px; height: 44px; border-radius: 22%; }
.qr-wordmark-sm { font-size: 1.15rem; margin: 0; gap: 10px; }
.qr-wordmark-sm img { width: 34px; height: 34px; }

.qr-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.qr-note { font-size: 0.88rem; color: var(--text-3); margin-top: 16px; }

/* Phone frames: real screens from the made-up demo business, cropped to the top by the frame */
.qr-phone {
  position: relative; justify-self: center; width: 100%; max-width: 300px; aspect-ratio: 9 / 15; overflow: hidden;
  border-radius: 34px; border: 8px solid var(--bg-card-2); background: #fff; box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg);
}
.qr-phone img { display: block; width: 100%; height: auto; }
.qr-phone::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.95)); }
.qr-hero-visual { position: relative; display: grid; justify-items: center; }
.qr-toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 0.8rem; line-height: 1.3; color: var(--text-2);
}
.qr-toast b { display: block; color: var(--text); font-size: 0.86rem; }
.qr-toast i { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--qr-green); font-size: 0.8rem; }
.qr-toast-a { left: -4%; top: 22%; }
.qr-toast-b { right: -6%; bottom: 16%; }

.qr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qr-step { display: flex; flex-direction: column; gap: 14px; }
.qr-step .qr-phone { max-width: 240px; transform: none; aspect-ratio: 9 / 12; }
.qr-step h3 { font-size: 1.12rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.qr-step h3 span {
  width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff; background: linear-gradient(135deg, var(--qr-green-2), var(--qr-green));
}
.qr-step p { color: var(--text-2); font-size: 0.94rem; line-height: 1.65; }

.qr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.qr-split .qr-phone { transform: rotate(-2deg); }
.qr-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.qr-list li { color: var(--text-2); font-size: 0.98rem; line-height: 1.6; padding-left: 26px; position: relative; }
.qr-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.qr-page .go-feature .go-ico { background: linear-gradient(135deg, var(--qr-green-2), var(--qr-green)); }
.qr-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.qr-plan { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-card); }
.qr-plan.pro { border-color: rgba(19,179,131,0.5); }
.qr-plan h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.qr-plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.qr-plan li { color: var(--text-2); font-size: 0.92rem; line-height: 1.55; padding-left: 22px; position: relative; }
.qr-plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

@media (max-width: 900px) {
  .qr-hero, .qr-split { grid-template-columns: 1fr; gap: 40px; }
  .qr-steps { grid-template-columns: 1fr; }
  .qr-step .qr-phone { max-width: 260px; }
  .qr-plans { grid-template-columns: 1fr; }
  .qr-page .go-features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .qr-phone { max-width: 250px; }
  .qr-toast-a { left: 0; }
  .qr-toast-b { right: 0; }
}
