/* Reignite Scorecard. Builds on styles.css; only scorecard-specific rules live here. */

.sc { --royal: #1E3B8B; --panel: #EDF2F8; --slate: #64748B; }
.sc [hidden] { display: none !important; }
/* Reignite family colours (Maya, 5 Oct 2026): Royal Blue only; the bright #1645D3 is retired here. */
.sc a { color: var(--royal); }
.sc-wrap { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.sc-section { padding: clamp(40px, 7vh, 72px) 0 clamp(56px, 9vh, 96px); }

/* Landing */
.sc-hero { border-bottom: 3px solid; border-image: var(--gradient-warm) 1; }
.sc-lockup { width: min(340px, 78vw); height: auto; display: block; }
.sc-tagline { font-family: var(--display); font-weight: 500; color: var(--royal); font-size: 17px; margin-top: 10px; }
.sc-eyebrow { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin: 44px 0 14px; }
.sc h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 700; color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; }
.sc-sub { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 22px); color: var(--royal); margin: 18px 0 28px; }
.sc-gets { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; }
.sc-gets li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.sc-gets li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); flex: none; }
.sc-small { font-size: 14px; color: var(--slate); margin-top: 14px; }
.sc .btn { background: var(--royal); font-size: 16px; padding: 14px 26px; }
.sc .btn:hover { background: var(--blue-deep); }
.sc .btn.btn--ghost { background: transparent; color: var(--ink) !important; border: 1px solid #94A3B8; }
.sc .btn.btn--ghost:hover { background: var(--panel); }
.sc .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.sc-link-btn { background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; padding: 12px 4px; font-size: 16px; }

/* Progress */
.sc-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 36px; }
.sc-progress div { font-size: 12px; color: var(--slate); }
.sc-progress div::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--rule); margin-bottom: 6px; }
.sc-progress div.on::before { background: var(--royal); }
@media (max-width: 600px) { .sc-progress div { font-size: 0; } }

.sc-step h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 8px; }
.sc-step-lede { color: var(--slate); margin-bottom: 28px; }
.sc-intro { background: var(--panel); border-radius: 8px; padding: 18px 22px; margin-bottom: 28px; font-size: 16px; line-height: 1.6; }

/* About you */
.sc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc-fields .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .sc-fields { grid-template-columns: 1fr; } }
.sc-label { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; display: block; }
.sc-label .req { color: var(--magenta); }
.sc input[type=text], .sc input[type=email], .sc input[type=url], .sc select, .sc textarea {
  width: 100%; font-family: var(--body); font-size: 16px; padding: 12px 14px; border: 1px solid #CBD5E1;
  border-radius: 6px; background: #fff; color: var(--ink);
}
.sc input:focus, .sc select:focus, .sc textarea:focus { outline: 2px solid var(--royal); outline-offset: 1px; border-color: var(--royal); }
.sc textarea { min-height: 72px; resize: vertical; }
.sc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .sc-chips { grid-template-columns: 1fr; } }
.sc-chip { display: flex; gap: 10px; align-items: center; border: 1px solid #CBD5E1; border-radius: 6px; padding: 11px 14px; cursor: pointer; font-size: 16px; }
.sc-chip:has(input:checked) { border-color: var(--royal); background: var(--panel); }
.sc-chip input, .sc-check input { width: 18px; height: 18px; accent-color: var(--royal); flex: none; }
.sc-consents { background: var(--panel); border-radius: 8px; padding: 16px 18px; display: grid; gap: 12px; }
.sc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.sc-check input { margin-top: 2px; }
.sc-error { color: #B91C1C; font-size: 15px; margin-top: 16px; }

/* Question cards */
.sc-q { border: 1px solid var(--rule); border-radius: 10px; padding: 24px; margin-bottom: 20px; background: #fff; }
.sc-q-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.sc-q-meta { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.sc-q h3 { font-size: 22px; font-weight: 600; margin: 4px 0 12px; }
.sc-q-text { font-size: 17px; margin-bottom: 18px; }
.sc-q-score { text-align: right; min-width: 108px; }
.sc-q-num { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--royal); line-height: 1; }
.sc-q-num small { font-size: 15px; color: var(--slate); font-weight: 500; }
.sc-pill { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid; }
/* The score bar (12 Oct 2026, after Ross's preview run): a clear track, a visible
   thumb once scored, and a 1 to 10 scale beneath, so it reads as something to
   tap or drag. Until a question is scored the track is plain and the thumb hidden,
   so no position is suggested. --fill is set by scorecard.js. */
.sc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; --fill: 0%; }
.sc-range:focus-visible { outline: 2px solid var(--royal); outline-offset: 4px; border-radius: 6px; }
.sc-range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(to right, var(--royal) var(--fill), #DCE3EE var(--fill)); }
.sc-range::-moz-range-track { height: 10px; border-radius: 99px; background: #DCE3EE; }
.sc-range::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--royal); }
.sc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--royal); box-shadow: 0 1px 4px rgba(14,21,37,0.25); }
.sc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--royal); box-shadow: 0 1px 4px rgba(14,21,37,0.25); }
.sc-q:not(.scored) .sc-range::-webkit-slider-runnable-track { background: repeating-linear-gradient(90deg, #DCE3EE 0 calc(11.11% - 2px), #fff calc(11.11% - 2px) 11.11%); outline: 1px dashed #94A3B8; outline-offset: 2px; }
.sc-q:not(.scored) .sc-range::-moz-range-progress { background: transparent; }
.sc-q:not(.scored) .sc-range::-moz-range-track { outline: 1px dashed #94A3B8; outline-offset: 2px; }
.sc-q:not(.scored) .sc-range::-webkit-slider-thumb { opacity: 0; }
.sc-q:not(.scored) .sc-range::-moz-range-thumb { opacity: 0; }
.sc-q:not(.scored) .sc-range:hover::-webkit-slider-runnable-track { outline-color: var(--royal); }
.sc-scale { display: flex; justify-content: space-between; padding: 0 5px; margin-top: 2px; font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--slate); }
.sc-scale span { width: 14px; text-align: center; }
.sc-q-unset { font-size: 14px; color: var(--royal); font-weight: 600; }
.sc-anchors { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--slate); margin: 6px 0 16px; line-height: 1.45; }
.sc-anchors span { flex: 1; }
.sc-anchors span:last-child { text-align: right; }
.sc-q-missing { border-color: #B91C1C; }

.sc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* Priorities */
.sc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
@media (max-width: 600px) { .sc-tiles { grid-template-columns: 1fr; } }
.sc-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #CBD5E1; border-radius: 8px; padding: 14px 16px; cursor: pointer; text-align: left; background: #fff; font: inherit; }
.sc-tile strong { font-family: var(--display); font-weight: 600; display: block; }
.sc-tile span { font-size: 13px; color: var(--slate); }
.sc-tile[aria-pressed=true] { border-color: var(--royal); background: var(--panel); box-shadow: inset 0 0 0 1px var(--royal); }
.sc-star { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #CBD5E1; display: grid; place-items: center; flex: none; color: #CBD5E1; }
.sc-tile[aria-pressed=true] .sc-star { background: var(--royal); color: #fff; border-color: var(--royal); }
.sc-count { font-size: 15px; color: var(--slate); }

/* Results */
.sc-card { border: 1px solid var(--rule); border-radius: 12px; padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; background: #fff; }
.sc-date { font-family: var(--display); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.sc-results h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 4px 0 14px; }
.sc-results h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.sc-notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; font-size: 15px; }
.sc-notice.ok { background: #E8F5EC; color: #14532D; }
.sc-notice.warn { background: #FDECEC; color: #7F1D1D; }

.sc-heat { display: grid; grid-template-columns: 96px repeat(3, 1fr); gap: 8px; }
.sc-heat .colh { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); text-align: center; padding-bottom: 2px; }
.sc-heat .rowh { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); align-self: center; }
.sc-cell { position: relative; border-radius: 8px; padding: 12px; border: 2px solid transparent; min-height: 112px; }
.sc-cell.low { border-color: var(--magenta); box-shadow: 0 0 0 2px rgba(229,29,111,0.18); }
.sc-cell b { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; display: block; }
.sc-cell .n { font-family: var(--display); font-weight: 700; font-size: 28px; margin-top: 6px; display: block; }
.sc-cell .n small { font-size: 12px; font-weight: 500; }
.sc-cell .lbl { display: block; font-size: 11px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.sc-cell .prev { font-size: 12px; color: var(--slate); }
.sc-cell .st { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--royal); color: #fff; display: grid; place-items: center; font-size: 13px; }
@media (max-width: 600px) {
  .sc-heat { grid-template-columns: repeat(3, 1fr); }
  .sc-heat .corner, .sc-heat .rowh { display: none; }
  .sc-heat .rowh-m { grid-column: 1 / -1; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); margin-top: 6px; }
  .sc-cell { padding: 9px; min-height: 104px; }
  .sc-cell b { font-size: 12px; }
  .sc-cell .n { font-size: 22px; }
  .sc-cell .lbl { font-size: 9px; }
}
@media (min-width: 601px) { .sc-heat .rowh-m { display: none; } }
.sc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--slate); margin-top: 16px; }
.sc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid; }
.sc-avgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .sc-avgs { grid-template-columns: 1fr; } }
.sc-avgs h4 { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
/* Side by side, both headings take two lines' height and sit on the same baseline, so the rows line up. */
@media (min-width: 601px) { .sc-avgs h4 { min-height: 2.8em; display: flex; align-items: flex-end; } }
.sc-avg-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 9px 0; }
.sc-avg-row b { font-family: var(--display); color: var(--royal); }
.sc-gap { background: var(--panel); border-radius: 8px; padding: 14px 16px; margin-top: 10px; }
.sc-action { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 18px; }
.sc-action:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.sc-action-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sc-k { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-top: 12px; }
.sc-moves { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .sc-moves { grid-template-columns: 1fr; } }
.sc-next { background: var(--panel); border-color: #C7D2E3; }
.sc-foot { font-size: 14px; color: var(--slate); text-align: center; margin-top: 8px; }
.sc-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff; border-radius: 50%; animation: scspin 0.8s linear infinite; }
@keyframes scspin { to { transform: rotate(360deg); } }

/* Result page: the print bar and the print-only header and footer */
.sc-print-bar { text-align: center; margin: 4px 0 20px; }
.sc-print-head, .sc-print-foot { display: none; }

/* Print: the result page is the founder's PDF ("save as PDF" from the browser). */
@media print {
  @page { margin: 14mm 12mm; }
  .topbar, footer, .sc-notice, .sc-print-bar, .sc-next .btn, .nav-burger { display: none !important; }
  .sc-section { padding: 0; }
  .sc-wrap { max-width: none; padding: 0; }
  .sc-print-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 2px solid #1E3B8B; padding-bottom: 10px; margin-bottom: 18px; font-family: var(--display); font-weight: 500; color: #1E3B8B; font-size: 13px; }
  .sc-print-head img { width: 180px; height: auto; }
  .sc-print-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 18px; font-size: 12px; color: var(--slate); }
  .sc-print-foot img { width: 100px; height: auto; }
  .sc-card { break-inside: avoid; border-color: #CBD5E1; margin-bottom: 14px; padding: 14px 16px; box-shadow: none; }
  .sc-next, .sc-heat, .sc-legend, .sc-action, .sc-gap, .sc-avgs, .sc-moves, .sc-print-foot { break-inside: avoid; }
  .sc-card.sc-long { break-inside: auto; }
  .sc-results h3, .sc-results h4, .sc-k, .sc-results h3 + .sc-small { break-after: avoid; }
  .sc-avgs h4 { min-height: 2.8em; display: flex; align-items: flex-end; }
  .sc-results h2 { font-size: 22px; }
  .sc-results h3 { font-size: 16px; }
  .sc-heat { grid-template-columns: 80px repeat(3, 1fr); gap: 6px; }
  .sc-cell { min-height: 88px; padding: 8px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sc-cell.low { box-shadow: none; }
  .sc-cell .n { font-size: 22px; }
  .sc-cell .st { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sc-legend i, .sc-pill, .sc-gap, .sc-next { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sc-heat .rowh-m { display: none; }
  .sc-heat .corner, .sc-heat .rowh { display: block; }
  .sc-avgs, .sc-moves { grid-template-columns: 1fr 1fr; }
  .sc-next { border: 1px solid #C7D2E3; }
  .sc-next::after { content: 'Book a free 30-minute Discovery Call at phoenixadvisory.co.uk/book'; display: block; font-size: 13px; color: #1E3B8B; }
  a { color: inherit; text-decoration: none; }
}

/* ===== Results branding (12 Oct 2026: Maya's direction, Ross's rulings 17:16 to 17:20) =====
   Outcomes across and layers down, as on /reignite; filled heads in the framework
   colours (option A); RAG fills unchanged; the lowest three in a Royal Blue ring;
   strategy icons; a Royal Blue header band and call to action. Overrides the rules above. */
.sc-results { --ink: #0E1525; }
.sc-band { background: var(--royal); color: #fff; border-radius: 12px 12px 0 0; padding: 24px 28px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sc-band img { width: 200px; height: auto; display: block; }
.sc-band-tl { font-family: var(--display); font-weight: 600; font-size: 13px; text-align: right; color: #fff; }
.sc-band-tl small { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #20C7E7; margin-bottom: 6px; }
.sc-grad { height: 5px; background: linear-gradient(90deg, #F5B017, #F37120, #E51D6F); }
.sc-hello { padding: 22px 4px 18px; }
.sc-results .sc-hello h2 { color: var(--royal); margin: 0; }
.sc-hello p { color: var(--slate); font-size: 15px; margin-top: 2px; }
.sc-results .sc-card h3 { color: var(--royal); font-weight: 700; margin-bottom: 14px; }

.sc-heat { display: grid; grid-template-columns: 118px repeat(3, 1fr); gap: 8px; }
.sc-heat .colh { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; padding: 8px 0 7px; border-radius: 6px; }
.sc-heat .rowh { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 6px; padding: 6px; align-self: stretch; }
.sc-cell { position: relative; border-radius: 9px; padding: 12px 10px 10px; border: 3px solid transparent; min-height: 132px; }
.sc-cell.low { border-color: var(--royal); box-shadow: none; }
.sc-cell .ic { width: 30px; height: 30px; display: block; margin-bottom: 6px; }
.sc-cell b { font-size: 13px; min-height: 32px; }
.sc-cell .n { font-size: 26px; line-height: 1; margin-top: 4px; }
.sc-cell .n small { font-size: 12px; font-weight: 600; color: var(--slate); }
.sc-cell .prev { font-family: inherit; font-weight: 400; font-size: 12px; color: var(--slate); margin-left: 6px; }
.sc-cell .lbl { font-family: var(--display); font-weight: 600; font-size: 10px; letter-spacing: 0.12em; margin-top: 4px; }
.sc-cell .lowtag { position: absolute; top: -11px; left: 10px; background: var(--royal); color: #fff; font-family: var(--display); font-weight: 600; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.sc-cell .st { top: 8px; right: 8px; width: 24px; height: 24px; }
.sc-legend i { border-radius: 3px; }
.sc-legend-star { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--royal); color: #fff; margin-right: 6px; vertical-align: -3px; }
.sc-legend-star svg { width: 10px; height: 10px; }
@media (max-width: 600px) {
  .sc-band { padding: 18px 18px 16px; }
  .sc-band img { width: 150px; }
  .sc-heat { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sc-heat .corner { display: none; }
  .sc-heat .rowh { display: block; grid-column: 1 / -1; padding: 6px; margin-top: 8px; }
  .sc-heat .colh { font-size: 9px; letter-spacing: 0.08em; }
  .sc-cell { padding: 12px 7px 8px; min-height: 120px; }
  .sc-cell .ic { width: 24px; height: 24px; }
  .sc-cell b { font-size: 11.5px; }
  .sc-cell .n { font-size: 21px; }
  .sc-cell .lbl { font-size: 8.5px; letter-spacing: 0.06em; }
  .sc-cell .lowtag { font-size: 8px; padding: 1px 6px; left: 6px; }
  .sc-cell .st { width: 20px; height: 20px; top: 6px; right: 6px; }
}

.sc-avgs .sc-k { margin-top: 0; margin-bottom: 4px; }
.sc-avg-row { display: grid; grid-template-columns: 116px 1fr 40px; align-items: center; gap: 10px; padding: 8px 0; }
.sc-avg-row .k { font-family: var(--display); font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.sc-avg-row .k i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.sc-avg-row .trk { height: 8px; background: var(--panel); border-radius: 99px; overflow: hidden; display: block; }
.sc-avg-row .trk span { display: block; height: 100%; background: var(--royal); border-radius: 99px; }
.sc-avg-row b { text-align: right; font-weight: 700; }
.sc-mv-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 9px 0; }
.sc-mv-row b { font-family: var(--display); color: var(--royal); }
.sc-mv-row { gap: 12px; }
.sc-mv-row b { white-space: nowrap; }
.sc-mv-row .sc-delta { margin-left: 6px; }

.sc-gap { border-left: 5px solid var(--royal); padding: 12px 16px; }

.sc-action { display: grid; grid-template-columns: 58px 1fr; gap: 16px; }
.sc-action-ic { width: 58px; height: 58px; border-radius: 12px; background: var(--panel); border-top: 4px solid; display: flex; align-items: center; justify-content: center; }
.sc-action-ic img { width: 38px; height: 38px; }
.sc-results .sc-action h3 { color: var(--ink); font-size: 17px; margin: 0; }
.sc-loc { font-family: var(--display); font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 4px 0 2px; }
.sc-loc i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 5px 0 0; }
.sc-loc i + i, .sc-loc i:nth-of-type(2) { margin-left: 10px; }
.sc-action p { margin: 2px 0 4px; }
@media (max-width: 600px) { .sc-action { grid-template-columns: 1fr; gap: 8px; } .sc-action-ic { width: 46px; height: 46px; } .sc-action-ic img { width: 30px; height: 30px; } }

.sc-cta { background: var(--royal); border-radius: 12px; overflow: hidden; color: #fff; margin-bottom: 24px; }
.sc-cta-in { display: grid; grid-template-columns: 104px 1fr; gap: 22px; padding: 24px 26px; align-items: center; }
.sc-cta img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid #fff; }
.sc-results .sc-cta h3 { color: #fff; font-size: 21px; margin: 0 0 6px; }
.sc-cta p { color: #DCE4F2; margin: 0 0 16px; }
.sc .sc-cta-btn { display: inline-block; background: #fff; color: var(--royal); font-family: var(--display); font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 7px; text-decoration: none; }
@media (max-width: 600px) { .sc-cta-in { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

@media print {
  .sc-band, .sc-grad, .sc-heat .colh, .sc-heat .rowh, .sc-cell .lowtag, .sc-cell .st, .sc-legend-star, .sc-avg-row .k i, .sc-avg-row .trk, .sc-avg-row .trk span, .sc-loc i, .sc-gap, .sc-action-ic, .sc-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sc-band { border-radius: 0; padding: 16px 18px 14px; }
  .sc-band img { width: 170px; }
  .sc-hello { padding: 12px 0 10px; }
  .sc-heat { grid-template-columns: 96px repeat(3, 1fr); gap: 6px; }
  .sc-cell { min-height: 112px; padding: 10px 8px 8px; }
  .sc-cell .n { font-size: 22px; }
  .sc-cta-btn { display: none !important; }
  .sc-cta { break-inside: avoid; }
  .sc-cta::after { content: 'Book a free 30-minute Discovery Call at phoenixadvisory.co.uk/book'; display: block; padding: 0 26px 18px; font-size: 13px; color: #fff; }
}

/* Heatmap matches the /reignite grid (Ross, 12 Oct 2026, 19:11): Light Panel heads with the
   outcome and layer colours as text, hairline cells, centred content. RAG fills unchanged. */
.sc-heat { grid-template-columns: 140px repeat(3, 1fr); gap: 1px; background: #E2E8F0; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.sc-heat .corner { background: #EDF2F8; }
.sc-heat .colh { background: #EDF2F8; border-radius: 0; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: none; text-align: center; padding: 18px 8px; }
.sc-heat .rowh { background: #EDF2F8; border-radius: 0; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; text-transform: none; display: flex; align-items: center; justify-content: flex-start; text-align: left; padding: 12px 18px; }
.sc-cell { border: 0; border-radius: 0; text-align: center; padding: 22px 12px 16px; min-height: 0; }
.sc-cell.low { box-shadow: inset 0 0 0 3px var(--royal); }
.sc-cell .ic { width: 44px; height: 44px; margin: 0 auto 10px; }
.sc-cell b { font-size: 14px; min-height: 0; }
.sc-cell .n { font-size: 28px; margin-top: 8px; }
.sc-cell .lowtag { top: 8px; left: 8px; }
.sc-cell .st { top: 8px; right: 8px; }
@media (max-width: 600px) {
  .sc-heat { grid-template-columns: repeat(3, 1fr); }
  .sc-heat .corner { display: none; }
  .sc-heat .rowh { display: block; grid-column: 1 / -1; padding: 8px 10px; font-size: 12px; }
  .sc-heat .colh { font-size: 11px; padding: 10px 2px; letter-spacing: 0; }
  .sc-cell { padding: 28px 5px 10px; }
  .sc-cell .ic { width: 28px; height: 28px; margin-bottom: 6px; }
  .sc-cell b { font-size: 11.5px; }
  .sc-cell .n { font-size: 21px; }
  .sc-cell .lowtag { top: 6px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .sc-cell .st { top: auto; bottom: 5px; right: 5px; }
}
@media print {
  .sc-heat { grid-template-columns: 100px repeat(3, 1fr); gap: 1px; }
  .sc-heat .corner, .sc-heat .rowh { display: flex; }
  .sc-heat .corner { display: block; }
  .sc-heat .colh { padding: 10px 4px; font-size: 12px; }
  .sc-heat .rowh { padding: 8px 10px; font-size: 11px; grid-column: auto; }
  .sc-cell { padding: 14px 8px 10px; min-height: 0; }
  .sc-cell .ic { width: 30px; height: 30px; margin-bottom: 6px; }
  .sc-cell .n { font-size: 22px; }
  .sc-cell.low { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Page breaks for Print or save as PDF (Ross, 23 Oct 2026 12:12). Kept last so it wins over the
   12 Oct restyle above. Aim: page 1 the heatmap and averages, page 2 the gaps and two of the
   three actions, page 3 the last action, the call to action and the footer, which stays with
   it rather than falling onto a page of its own. A card that does split repeats its border. */
@media print {
  @page { margin: 12mm 12mm; }
  .sc-hello { padding: 8px 0 6px; }
  .sc-card { padding: 12px 14px; margin-bottom: 10px; }
  .sc-results .sc-card h3 { margin-bottom: 10px; }
  .sc-heat .colh { padding: 7px 4px; }
  .sc-cell { padding: 26px 6px 7px; } /* room for the Lowest three tag above the icon */
  .sc-cell .lowtag { top: 6px; }
  .sc-cell .ic { width: 24px; height: 24px; margin: 0 auto 4px; }
  .sc-cell b { font-size: 12.5px; }
  .sc-cell .n { font-size: 20px; margin-top: 3px; }
  .sc-card.sc-long { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .sc-action { grid-template-columns: 44px 1fr; gap: 12px; padding-top: 12px; margin-top: 12px; }
  .sc-action:first-of-type { padding-top: 0; margin-top: 4px; }
  .sc-action-ic { width: 44px; height: 44px; }
  .sc-action-ic img { width: 28px; height: 28px; }
  .sc-action p { font-size: 14px; line-height: 1.45; margin: 1px 0 3px; }
  .sc-results .sc-action h3 { font-size: 15.5px; }
  .sc-cta { margin-bottom: 12px; }
  .sc-cta-in { padding: 18px 22px; }
  .sc-foot, .sc-print-foot { break-before: avoid; }
}
