|
| 1 | + |
| 2 | + |
| 3 | + /* Section heading with coloured underline */ |
| 4 | + .compass-section { margin-bottom: 48px; } |
| 5 | + .compass-section__heading { |
| 6 | + font-size: 22px; font-weight: 700; color: #212b32; |
| 7 | + padding-bottom: 12px; border-bottom: 4px solid #003087; |
| 8 | + margin-bottom: 4px; display: flex; align-items: center; gap: 10px; |
| 9 | + } |
| 10 | + .compass-section__subtitle { font-size: 15px; color: #4c6272; margin-bottom: 20px; } |
| 11 | + |
| 12 | + /* 2-column grid */ |
| 13 | + .compass-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } |
| 14 | + |
| 15 | + /* Stat tile with coloured top border */ |
| 16 | + .stat-tile { |
| 17 | + background: #fff; border: 1px solid #d8dde0; |
| 18 | + border-top: 4px solid #003087; padding: 20px; |
| 19 | + } |
| 20 | + .stat-tile--green { border-top-color: #007f3b; } |
| 21 | + .stat-tile--aqua { border-top-color: #00a9ce; } |
| 22 | + .stat-tile--yellow { border-top-color: #ffb81c; } |
| 23 | + .stat-tile--red { border-top-color: #da291c; } |
| 24 | + .stat-tile--purple { border-top-color: #330072; } |
| 25 | + .stat-tile__label { font-size: 13px; font-weight: 600; color: #4c6272; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; } |
| 26 | + .stat-tile__value { font-size: 32px; font-weight: 700; color: #212b32; line-height: 1; margin-bottom: 4px; } |
| 27 | + .stat-tile__sub { font-size: 14px; color: #4c6272; } |
| 28 | + |
| 29 | + /* Card label (eyebrow text) */ |
| 30 | + .compass-card__label { |
| 31 | + font-size: 13px; font-weight: 700; color: #4c6272; |
| 32 | + text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; |
| 33 | + display: flex; align-items: center; gap: 8px; |
| 34 | + } |
| 35 | + |
| 36 | + /* Horizontal bar chart */ |
| 37 | + .bar-chart { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; } |
| 38 | + .bar-item { display: flex; align-items: center; gap: 12px; } |
| 39 | + .bar-label { font-size: 14px; color: #212b32; min-width: 148px; flex-shrink: 0; } |
| 40 | + .bar-track { flex: 1; background: #f0f4f5; height: 28px; overflow: hidden; } |
| 41 | + .bar-fill { height: 100%; display: flex; align-items: center; padding-left: 10px; font-size: 12px; font-weight: 700; color: #fff; min-width: 20px; } |
| 42 | + .bar-count { font-size: 14px; font-weight: 600; min-width: 36px; text-align: right; } |
| 43 | + |
| 44 | + /* Segmented bar */ |
| 45 | + .seg-bar { height: 36px; display: flex; overflow: hidden; margin: 12px 0; } |
| 46 | + .seg-bar__seg { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; } |
| 47 | + .seg-legend { display: flex; flex-wrap: wrap; gap: 12px; } |
| 48 | + .seg-legend__item { display: flex; align-items: center; gap: 6px; font-size: 13px; } |
| 49 | + .seg-legend__dot { width: 12px; height: 12px; flex-shrink: 0; } |
| 50 | + |
| 51 | + /* Timeline chart */ |
| 52 | + .timeline-chart { margin-top: 12px; } |
| 53 | + .timeline-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } |
| 54 | + .timeline-lbl { font-size: 13px; color: #212b32; min-width: 124px; } |
| 55 | + .timeline-track { flex: 1; background: #f0f4f5; height: 24px; overflow: hidden; } |
| 56 | + .timeline-fill { height: 100%; } |
| 57 | + .timeline-num { font-size: 13px; font-weight: 600; min-width: 28px; text-align: right; } |
| 58 | + |
| 59 | + /* Trust comparison list */ |
| 60 | + .trust-list { display: flex; flex-direction: column; } |
| 61 | + .trust-item { padding: 12px 0; border-bottom: 1px solid #d8dde0; display: flex; align-items: center; gap: 12px; } |
| 62 | + .trust-item:last-child { border-bottom: none; } |
| 63 | + .trust-item__rank { |
| 64 | + width: 28px; height: 28px; border-radius: 50%; |
| 65 | + background: #f0f4f5; display: flex; align-items: center; justify-content: center; |
| 66 | + font-size: 12px; font-weight: 700; color: #4c6272; flex-shrink: 0; |
| 67 | + } |
| 68 | + .trust-item__rank--you { background: #003087; color: #fff; font-size: 11px; } |
| 69 | + .trust-item__name { flex: 1; font-size: 14px; font-weight: 600; color: #212b32; } |
| 70 | + .trust-item__type { font-size: 12px; color: #768692; font-weight: 400; } |
| 71 | + .trust-item__bar { flex: 2; height: 16px; background: #f0f4f5; overflow: hidden; } |
| 72 | + .trust-item__bar-fill { height: 100%; } |
| 73 | + .trust-item__count { font-size: 14px; font-weight: 700; min-width: 36px; text-align: right; } |
| 74 | + |
| 75 | + /* Activity feed */ |
| 76 | + .activity-feed { display: flex; flex-direction: column; } |
| 77 | + .activity-item { padding: 14px 0; border-bottom: 1px solid #d8dde0; display: flex; gap: 12px; align-items: flex-start; } |
| 78 | + .activity-item:last-child { border-bottom: none; } |
| 79 | + .activity-item__date { margin-left: auto; font-size: 12px; color: #768692; flex-shrink: 0; white-space: nowrap; } |
| 80 | + |
| 81 | + /* Filter pill bar (no NHS equivalent for toggle pills) */ |
| 82 | + .filter-bar { |
| 83 | + background: #fff; border: 1px solid #d8dde0; |
| 84 | + padding: 16px 20px; margin-bottom: 32px; |
| 85 | + display: flex; align-items: center; gap: 12px; flex-wrap: wrap; |
| 86 | + } |
| 87 | + .filter-bar__label { font-size: 14px; font-weight: 700; color: #4c6272; flex-shrink: 0; } |
| 88 | + .filter-pill { |
| 89 | + padding: 6px 14px; font-size: 14px; font-family: inherit; |
| 90 | + border: 2px solid #d8dde0; background: #f0f4f5; color: #212b32; |
| 91 | + border-radius: 100px; cursor: pointer; |
| 92 | + } |
| 93 | + .filter-pill--active { background: #003087; border-color: #003087; color: #fff; } |
| 94 | + .filter-bar__count { margin-left: auto; font-size: 14px; color: #4c6272; } |
| 95 | + .filter-bar__count strong { color: #003087; } |
| 96 | + |
| 97 | + /* Feature comparison table overrides */ |
| 98 | + .feature-table th { background: #003087; color: #fff; } |
| 99 | + .feature-table th:first-child { background: #f0f4f5; color: #4c6272; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; } |
| 100 | + .check { color: #007f3b; font-weight: 700; font-size: 16px; } |
| 101 | + .cross { color: #aeb7bd; font-size: 16px; } |
| 102 | + |
| 103 | + /* ROI positive */ |
| 104 | + .roi-positive { color: #007f3b; font-weight: 700; } |
| 105 | + |
| 106 | + /* Price range bars */ |
| 107 | + .price-tier { margin-bottom: 16px; } |
| 108 | + .price-tier__header { display: flex; justify-content: space-between; margin-bottom: 6px; } |
| 109 | + .price-tier__bar { height: 20px; } |
| 110 | + |
| 111 | + /* Donut chart */ |
| 112 | + .donut-wrap { display: flex; align-items: center; gap: 24px; margin-top: 12px; } |
| 113 | + .donut { position: relative; width: 128px; height: 128px; flex-shrink: 0; } |
| 114 | + .donut svg { transform: rotate(-90deg); } |
| 115 | + .donut__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; } |
| 116 | + .donut__center .d-num { font-size: 22px; font-weight: 700; color: #003087; display: block; } |
| 117 | + .donut__center .d-lbl { font-size: 11px; color: #4c6272; } |
| 118 | + .donut-legend { display: flex; flex-direction: column; gap: 8px; } |
| 119 | + .donut-legend__item { display: flex; align-items: center; gap: 8px; font-size: 13px; } |
| 120 | + .donut-legend__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; } |
| 121 | + .donut-legend__val { margin-left: auto; font-weight: 700; padding-left: 16px; } |
| 122 | + |
| 123 | + /* SME card panel */ |
| 124 | + .sme-card { padding: 14px; border: 1px solid #d8dde0; border-left: 4px solid #007f3b; margin-bottom: 10px; } |
| 125 | + .sme-card--aqua { border-left-color: #00a9ce; } |
| 126 | + |
| 127 | + /* Innovation row */ |
| 128 | + .innovation-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f0f4f5; margin-bottom: 8px; } |
| 129 | + |
| 130 | + /* Live pulse dot */ |
| 131 | + .live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #00a9ce; margin-right: 4px; animation: pulse 2s infinite; } |
| 132 | + @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} } |
| 133 | + |
| 134 | + /* Footnote */ |
| 135 | + .compass-footnote { font-size: 13px; color: #768692; margin-top: 12px; padding-top: 12px; border-top: 1px solid #d8dde0; } |
| 136 | + |
| 137 | + /* CTA panel */ |
| 138 | + .cta-panel { background: #003087; color: #fff; padding: 28px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; } |
| 139 | + .cta-panel h3 { color: #fff; font-size: 20px; margin: 0 0 6px; } |
| 140 | + .cta-panel p { opacity: .85; margin: 0; font-size: 15px; } |
| 141 | + |
| 142 | + @media (max-width: 768px) { |
| 143 | + .compass-grid-2 { grid-template-columns: 1fr; } |
| 144 | + .trust-banner__stats { display: none; } |
| 145 | + .donut-wrap { flex-direction: column; } |
| 146 | + } |
0 commit comments