/* Homepage service cards: real-looking, looping previews of each service (12 October 2026). */
:root {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --night: #131315;
  /* Fonts the real tools use, so each preview reads as a screenshot. */
  --ui-ms: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  --ui-apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
.home-group small {
  font: 700 12px/1 "JetBrains Mono";
  letter-spacing: 0.06em;
  background: var(--orange);
  color: #1a0d05;
  padding: 6px 10px 5px;
  border-radius: 6px;
  box-shadow: 0 4px 10px -4px rgba(255, 104, 27, 0.6);
}
.home-card {
  box-shadow:
    0 1px 2px rgba(26, 26, 28, 0.05),
    0 16px 32px -14px rgba(60, 35, 10, 0.22);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(26, 26, 28, 0.05),
    0 26px 44px -16px rgba(60, 35, 10, 0.3);
}
.home-more span {
  transition: transform 0.2s var(--ease);
}
.home-card:hover .home-more span {
  transform: translateX(4px);
}
/* Something useful under each section heading. */
.hp-extra {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 255px;
}
.hp-extra > b {
  display: block;
  font: 700 11px "JetBrains Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.hp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.hp-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  bottom: 10px;
  border-left: 2px dotted #cfc9bd;
}
.hp-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.hp-steps li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange);
  display: grid;
  place-items: center;
  font: 700 12px "JetBrains Mono";
  color: var(--ink);
}
.hp-steps li strong {
  display: block;
  font: 700 14px "Sora";
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hp-chips span {
  --c: #0f6cbd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--c) 7%, #fff));
  border: 1px solid color-mix(in srgb, var(--c) 28%, #fff);
  box-shadow: 0 3px 8px -4px color-mix(in srgb, var(--c) 45%, transparent);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.hp-chips span:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -5px color-mix(in srgb, var(--c) 55%, transparent);
}
.hp-chips svg {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
}
.hp-extra .hp-note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}
.hp-asks {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.hp-asks span {
  position: relative;
  background: #fff;
  border: 1px solid #e4e1db;
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  font: 600 13.5px/1.3 "Sora";
  letter-spacing: -0.015em;
  box-shadow: 0 4px 10px -6px rgba(60, 35, 10, 0.35);
  transition: transform 0.2s var(--ease);
}
.hp-asks span:nth-child(even) {
  margin-left: 18px;
}
.hp-asks span:hover {
  transform: translateX(3px);
}
.hp-asks span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 7px;
  vertical-align: 1px;
}
.hp-stage {
  position: relative;
  background: #efece6;
  border-bottom: 1px solid #e4e1db;
  padding: 18px;
  border-radius: 4px 4px 0 0;
}
.hp-eg {
  position: absolute;
  bottom: -11px;
  right: 16px;
  z-index: 3;
  font: 600 10px/1 "JetBrains Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f6b63;
  background: #fff;
  border: 1px solid #d6d2c9;
  border-radius: 999px;
  padding: 4px 8px;
}
/* A "window": the screenshot sits on the stage with its own shadow. */
.hp-win {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 8px 24px -8px rgba(0, 0, 0, 0.25);
  font-family: var(--ui-ms);
  color: #242424;
  position: relative;
}

/* Sample report pages, as on the live audit card. */
.hp-reports {
  position: relative;
  height: 270px;
  margin: 18px 0 calc(270px * -0.2);
  isolation: isolate;
  transform: scale(0.8);
  transform-origin: center top;
}
.hp-reports .hp-pg {
  position: absolute;
  top: 22px;
  left: 30%;
  width: 37%;
  min-height: 196px;
  background: #fff;
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.16);
  font-size: 6.5px;
  line-height: 1.45;
  padding: 13px;
  z-index: 2;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.hp-reports .hp-pg:first-child {
  left: 1%;
  top: 4px;
  transform: rotate(-7deg);
  background: #222225;
  color: #fff;
  border-bottom: 18px solid var(--orange);
  z-index: 1;
}
.hp-reports .hp-pg:last-child {
  left: 61%;
  top: 14px;
  transform: rotate(5deg);
  z-index: 3;
}
.home-card:hover .hp-reports .hp-pg:first-child {
  transform: rotate(-11deg) translate(-8px, -6px);
}
.home-card:hover .hp-reports .hp-pg:nth-child(2) {
  transform: translateY(-10px);
}
.home-card:hover .hp-reports .hp-pg:last-child {
  transform: rotate(9deg) translate(8px, -6px);
}
.hp-pg > small {
  display: block;
  font: 700 5px "Sora";
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 16px;
}
.hp-pg > small span {
  float: right;
  color: #8a8886;
}
.hp-pg > b {
  display: block;
  font: 700 10px/1.2 "Sora";
  margin-bottom: 6px;
}
.hp-pg.hp-cover > b {
  margin-top: 28px;
  font-size: 15px;
}
.hp-pg p {
  font-size: 6px;
  margin: 5px 0;
}
.hp-pg ul {
  padding-left: 9px;
  margin: 7px 0;
  font-size: 6px;
}
.hp-pg li {
  margin: 4px 0;
}
.hp-pg li::marker {
  color: var(--orange);
}
.hp-pg strong {
  display: block;
  font: 700 6px "Sora";
  margin-top: 6px;
}
.hp-pg footer {
  font-size: 6px;
  margin-top: 46px;
  color: #cfcac0;
}
.hp-pg .hp-meter {
  height: 5px;
  margin: 4px 0 7px;
  background: linear-gradient(90deg, var(--orange) 62%, #ece9e2 62%);
}
.hp-pg .hp-note {
  background: #19191b;
  color: #fff;
  padding: 6px;
  font-size: 6px;
  margin-top: 9px;
}
.hp-pg .hp-note b {
  display: block;
  font-family: "Sora";
}

/* ---------- 1. Outlook-style inbox ---------- */
.home-audit .hp-stage {
  height: 100%;
  min-height: 360px;
  padding: 34px 18px 18px;
  border-bottom: 0;
  border-left: 1px solid #e4e1db;
  border-radius: 0 4px 4px 0;
}
.home-audit .hp-eg {
  bottom: auto;
  top: 10px;
  right: 12px;
}
.hp-mail-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: #0f6cbd;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hp-mail-bar .hp-search {
  margin-left: auto;
  width: 44%;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  color: #616161;
  font-weight: 400;
  font-size: 11px;
  display: flex;
  align-items: center;
  padding-left: 8px;
}
.hp-mail-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 6px;
  font-size: 13px;
  font-weight: 600;
}
.hp-mail-head span {
  font-weight: 400;
  color: #616161;
  font-size: 11px;
}
.hp-mail {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 9px 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  position: relative;
}
.hp-mail .hp-av {
  grid-row: span 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #8a8886;
}
.hp-mail .hp-from,
.hp-mail .hp-subj,
.hp-mail .hp-snip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-mail time {
  font-size: 11px;
  color: #616161;
}
.hp-mail .hp-subj {
  grid-column: 2 / 4;
  color: #424242;
}
.hp-mail .hp-snip {
  grid-column: 2 / 4;
  color: #707070;
  font-size: 11px;
}
.hp-mail.hp-new {
  background: #ebf3fc;
}
.hp-mail.hp-new::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0f6cbd;
}
.hp-mail.hp-new .hp-from,
.hp-mail.hp-new .hp-subj {
  font-weight: 700;
  color: #242424;
}
.hp-mail.hp-new time {
  color: #0f6cbd;
  font-weight: 600;
}
.hp-mail.hp-new .hp-av {
  background: var(--orange);
  color: #111;
}
.hp-attach {
  grid-column: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.hp-attach span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px 4px 5px;
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.hp-attach i {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  border-radius: 2px;
  padding: 3px;
  background: #c4314b;
}
.hp-attach i.hp-x {
  background: #107c41;
}
.hp-attach small {
  color: #707070;
}
.hp-inbox-new {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.hp-go .hp-inbox-new {
  max-height: 140px;
}
.hp-go .hp-attach span {
  opacity: 1;
  transform: none;
}
.hp-go .hp-attach span:nth-child(1) {
  transition-delay: 0.7s;
}
.hp-go .hp-attach span:nth-child(2) {
  transition-delay: 0.9s;
}
.hp-go .hp-attach span:nth-child(3) {
  transition-delay: 1.1s;
}
.hp-toast {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 64%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  padding: 9px 11px;
  font-size: 11px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 2px 8px;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.hp-toast .hp-av {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.hp-toast.hp-show {
  transform: none;
}

/* ---------- 2. Secure Score portal ---------- */
.home-fix-cards .hp-stage {
  height: 300px;
}
.hp-portal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  background: #1b1a19;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hp-waffle {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 2px;
}
.hp-waffle i {
  width: 3px;
  height: 3px;
  background: #fff;
}
.hp-portal-bar .hp-who {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8a8886;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.hp-score-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
}
.hp-score-body h5 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
}
.hp-score-body .hp-sub {
  font-size: 10px;
  color: #616161;
}
.hp-ring {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 12px auto 6px;
}
.hp-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.hp-ring circle {
  fill: none;
  stroke-width: 10;
}
.hp-ring .hp-track {
  stroke: #edebe9;
}
.hp-ring .hp-val {
  stroke: #0f6cbd;
  stroke-dasharray: 289;
  stroke-dashoffset: 170.5;
  transition: stroke-dashoffset 0.4s var(--ease);
}
.hp-go .hp-ring .hp-val {
  stroke-dashoffset: 63.6;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}
.hp-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 600;
}
.hp-ring-legend {
  text-align: center;
  font-size: 10px;
  color: #616161;
}
.hp-ring-legend em {
  font-style: normal;
  color: #107c10;
  font-weight: 600;
}
.hp-actions-h {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #616161;
  border-bottom: 1px solid #edebe9;
  padding-bottom: 5px;
  margin-top: 8px;
}
.hp-act {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f3f2f1;
  font-size: 11.5px;
}
.hp-act small {
  display: block;
  color: #616161;
  font-size: 10px;
}
.hp-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  background: #fdf3f4;
  color: #b10e1c;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.hp-chip::after {
  content: "To address";
}
.hp-act.hp-done .hp-chip {
  background: #f1faf1;
  color: #0e700e;
}
.hp-act.hp-done .hp-chip::after {
  content: "✓ Completed";
}

/* ---------- 3. Sentinel incident queue ---------- */
.hp-q-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 12px 6px;
}
.hp-q-head b {
  font-size: 14px;
  font-weight: 600;
}
.hp-q-head span {
  font-size: 10px;
  color: #616161;
}
.hp-q-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 8px;
}
.hp-q-counts div {
  border: 1px solid #edebe9;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 10px;
  color: #616161;
}
.hp-q-counts strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #242424;
}
.hp-q-counts .hp-hi strong {
  color: #c50f1f;
}
.hp-inc {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  max-height: 30px;
  height: 30px;
  border-top: 1px solid #f3f2f1;
  font-size: 11px;
  overflow: hidden;
  transition:
    max-height 0.35s var(--ease),
    opacity 0.35s var(--ease),
    background 0.3s var(--ease);
}
.hp-inc span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-sev {
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #424242;
}
.hp-sev::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
}
.hp-sev.hp-h {
  --c: #c50f1f;
}
.hp-sev.hp-m {
  --c: #f7630c;
}
.hp-sev.hp-l {
  --c: #8a8886;
}
.hp-sev.hp-i {
  --c: #c8c6c4;
}
.hp-go .hp-inc.hp-noise {
  max-height: 0;
  opacity: 0;
  border-top-color: transparent;
}
.hp-go .hp-inc.hp-noise:nth-of-type(odd) {
  transition-delay: 0.25s;
}
.hp-go .hp-inc.hp-real {
  background: #fff4ce;
  transition-delay: 0.6s;
}

/* ---------- 4. Planner-style timeline ---------- */
.home-advise-cards .hp-stage {
  height: 330px;
}
.hp-doc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: #185abd;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.hp-doc-bar > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-doc-bar .hp-w {
  flex: none;
  width: 16px;
  height: 16px;
  background: #fff;
  color: #185abd;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.hp-tl-head {
  padding: 10px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.hp-tl-head span {
  font-size: 10px;
  font-weight: 400;
  color: #616161;
}
.hp-tl {
  position: relative;
  margin: 4px 12px 0;
  display: grid;
  gap: 10px;
  padding-top: 24px;
}
.hp-tl-q {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 10px;
  color: #616161;
  border-bottom: 1px solid #edebe9;
  padding-bottom: 4px;
}
.hp-tl-grid {
  position: absolute;
  inset: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}
.hp-tl-grid i {
  border-left: 1px dashed #e1dfdd;
}
.hp-task {
  position: relative;
  height: 28px;
  margin-left: var(--s);
  width: 0;
  border-radius: 4px;
  background: var(--c);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.3s var(--ease);
}
.hp-go .hp-task {
  width: var(--w);
  transition: width 0.6s var(--ease);
}
.hp-go .hp-task:nth-of-type(2) {
  transition-delay: 0.35s;
}
.hp-go .hp-task:nth-of-type(3) {
  transition-delay: 0.7s;
}
.hp-go .hp-task:nth-of-type(4) {
  transition-delay: 1.05s;
}
.hp-today {
  position: absolute;
  top: 16px;
  bottom: -8px;
  left: 38%;
  width: 2px;
  background: #c50f1f;
}
.hp-today::before {
  content: "Today";
  position: absolute;
  top: -3px;
  left: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #c50f1f;
}
.hp-owners {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 12px 0;
  font-size: 10px;
  color: #616161;
}
.hp-owners i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 8px;
  color: #fff;
  font-weight: 700;
}
.hp-owners i:first-child {
  margin-left: 0;
}

/* ---------- 5. Policy document with approvals ---------- */
.hp-doc-bar .hp-state {
  margin-left: auto;
  font-size: 9.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 999px;
}
.hp-doc-bar .hp-state::after {
  content: "Draft";
}
.hp-go .hp-doc-bar .hp-state.hp-pub {
  background: #fff;
  color: #0e700e;
}
.hp-go .hp-doc-bar .hp-state.hp-pub::after {
  content: "✓ Published";
}
.hp-page {
  margin: 10px 12px 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #edebe9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  height: 92px;
  overflow: hidden;
}
.hp-page b {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.hp-page small {
  display: block;
  font-size: 9px;
  color: #616161;
  margin-bottom: 7px;
}
.hp-page i {
  display: block;
  height: 4px;
  background: #e1dfdd;
  border-radius: 2px;
  margin-bottom: 6px;
}
.hp-page i:nth-of-type(2) {
  width: 88%;
}
.hp-page i:nth-of-type(4) {
  width: 70%;
}
.hp-approvals {
  margin: 8px 12px 0;
  font-size: 11px;
}
.hp-approvals > span {
  display: block;
  font-size: 10px;
  color: #616161;
  margin-bottom: 4px;
}
.hp-appr {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
}
.hp-appr i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
}
.hp-appr em {
  font-style: normal;
  font-size: 10px;
  color: #8a8886;
}
.hp-appr em::after {
  content: "Waiting";
}
.hp-appr.hp-ok em {
  color: #0e700e;
  font-weight: 600;
}
.hp-appr.hp-ok em::after {
  content: "✓ Approved";
}

/* ---------- 6. iPhone Messages ---------- */
.hp-phone {
  height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 5px #1c1c1e,
    0 0 0 6px #3a3a3c,
    0 14px 28px -8px rgba(0, 0, 0, 0.45);
  font-family: var(--ui-apple);
  color: #000;
  display: flex;
  flex-direction: column;
  margin: 2px 6px 0;
}
.hp-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 18px 0;
  font-size: 11px;
  font-weight: 600;
}
.hp-status .hp-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.hp-status .hp-sig {
  display: flex;
  gap: 1px;
  align-items: flex-end;
  height: 8px;
}
.hp-status .hp-sig i {
  width: 2px;
  background: #000;
  border-radius: 1px;
}
.hp-status .hp-bat {
  width: 17px;
  height: 8px;
  border: 1px solid #000;
  border-radius: 2px;
  padding: 1px;
}
.hp-status .hp-bat i {
  display: block;
  width: 75%;
  height: 100%;
  background: #000;
  border-radius: 1px;
}
.hp-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 0 5px;
  border-bottom: 0.5px solid #d1d1d6;
  background: #f9f9f9;
  position: relative;
}
.hp-contact::before {
  content: "‹";
  position: absolute;
  left: 12px;
  top: 4px;
  color: #007aff;
  font-size: 24px;
  line-height: 1;
}
.hp-contact .hp-pic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(#a5abb8, #858994);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.hp-contact span:last-child {
  font-size: 9.5px;
  margin-top: 2px;
}
.hp-thread {
  flex: 1;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  font-size: 11px;
  line-height: 1.26;
  overflow: hidden;
}
.hp-thread .hp-when {
  align-self: center;
  font-size: 9px;
  color: #8e8e93;
  margin: 0 0 3px;
}
.hp-thread .hp-when b {
  font-weight: 600;
}
.hp-msg {
  position: relative;
  max-width: 80%;
  padding: 5px 10px;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.hp-msg + .hp-msg.hp-tail {
  margin-top: 0;
}
.hp-msg.hp-in {
  align-self: flex-start;
  background: #e9e9eb;
  color: #000;
}
.hp-msg.hp-out {
  align-self: flex-end;
  background: #007aff;
  color: #fff;
}
.hp-msg.hp-in + .hp-msg.hp-out,
.hp-msg.hp-out + .hp-msg.hp-in,
.hp-delivered + .hp-msg.hp-in {
  margin-top: 4px;
}
/* The little tail on the last bubble of each run. */
.hp-msg.hp-tail::before,
.hp-msg.hp-tail::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 14px;
}
.hp-msg.hp-in.hp-tail::before {
  left: -5px;
  width: 14px;
  background: #e9e9eb;
  border-bottom-right-radius: 12px;
}
.hp-msg.hp-in.hp-tail::after {
  left: -9px;
  width: 9px;
  background: #fff;
  border-bottom-right-radius: 8px;
}
.hp-msg.hp-out.hp-tail::before {
  right: -5px;
  width: 14px;
  background: #007aff;
  border-bottom-left-radius: 12px;
}
.hp-msg.hp-out.hp-tail::after {
  right: -9px;
  width: 9px;
  background: #fff;
  border-bottom-left-radius: 8px;
}
.hp-msg.hp-show {
  opacity: 1;
  transform: none;
}
.hp-msg.hp-typing {
  display: flex;
  gap: 3px;
  padding: 8px 11px;
  background: #e9e9eb;
  align-self: flex-start;
}
.hp-msg.hp-typing.hp-tail::before {
  left: -5px;
  right: auto;
  background: #e9e9eb;
  border-radius: 0 0 12px 0;
}
.hp-msg.hp-typing.hp-tail::after {
  left: -9px;
  right: auto;
  border-radius: 0 0 8px 0;
}
.hp-msg.hp-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e8e93;
  animation: blink 1.2s infinite;
}
.hp-msg.hp-typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.hp-msg.hp-typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.35;
  }
  30% {
    opacity: 1;
  }
}
.hp-delivered {
  align-self: flex-end;
  font-size: 9px;
  color: #8e8e93;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.hp-delivered.hp-show {
  opacity: 1;
}
.hp-tapback {
  position: absolute;
  top: -11px;
  right: -12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e9e9eb;
  border: 2px solid #fff;
  color: #ff2d55;
  font-size: 10px;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.hp-tapback.hp-show {
  transform: scale(1);
}
.hp-compose {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 10px;
}
.hp-compose i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9e9eb;
  color: #8e8e93;
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.hp-compose span {
  flex: 1;
  height: 22px;
  border: 1px solid #d1d1d6;
  border-radius: 11px;
  font-size: 10px;
  color: #c7c7cc;
  padding-left: 9px;
  display: flex;
  align-items: center;
}

@media (max-width: 860px) {
  .home-audit .hp-stage {
    border-left: 0;
    border-top: 1px solid #e4e1db;
    border-radius: 0 0 4px 4px;
  }
}
@media (max-width: 760px) {
  .hp-extra {
    max-width: none;
  }
  .home-audit .hp-stage {
    min-height: 340px;
  }
}
@media (max-width: 600px) {
  .hp-score-body {
    grid-template-columns: 1fr;
  }
  .hp-score-body > div:first-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-stage *,
  .hp-stage *::before,
  .hp-stage *::after,
  .hp-reports .hp-pg,
  .home-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Homepage: fix-first service rows (title and text left, visual and examples right) ---------- */

      .mock-fix-col { display: grid; gap: 16px; align-content: start; }

      .mock-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
      .mock-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: 14px; color: #4a4741; line-height: 1.4; }
      .mock-steps li > span { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: #131315; color: #f4d538; font: 700 13px "JetBrains Mono"; }
      .mock-steps strong { display: block; font: 700 15px "Sora"; color: var(--ink); margin-bottom: 2px; }
      .mock-one .home-card { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
      .mock-one .home-card-copy { padding: 28px 32px; }
      @media (max-width: 1100px) { .mock-steps { grid-template-columns: minmax(0, 1fr); } }
      @media (max-width: 760px) { .mock-one .home-card { grid-template-columns: minmax(0, 1fr); } }
      .mock-rows { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
      .mock-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .mock-row > .hp-stage { height: auto !important; min-height: 320px; border-bottom: 0 !important; border-right: 1px solid #e4e1db; border-radius: calc(var(--r-lg) - 1px) 0 0 calc(var(--r-lg) - 1px) !important; }
      .mock-row.mock-flip > .hp-stage { order: 2; border-right: 0; border-left: 1px solid #e4e1db; border-radius: 0 calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 !important; }
      .mock-row > .home-card-copy { align-self: center; padding: 28px 32px; }
      .mock-areas { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
      .mock-areas li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #dcf5e3; border: 1px solid #a7e3b8; color: #15803d; font: 700 12.5px "Plus Jakarta Sans"; }
      .mock-areas-note { margin: 0 0 14px !important; font-size: 12.5px !important; color: #6f6b63 !important; }
      /* Advisory: a realistic tall, narrow phone with the text beside it */
      .mock-one .home-card { grid-template-columns: 330px minmax(0, 1fr) !important; align-items: stretch; }
      .mock-one .home-card > .hp-stage { height: auto !important; display: flex; justify-content: center; align-items: center; padding: 24px !important; }
      .mock-one .hp-phone { width: 250px; height: 540px; flex: none; }
      @media (max-width: 1100px) {
        .mock-row, .mock-row.mock-flip { grid-template-columns: minmax(0, 1fr); }
        .mock-row > .hp-stage, .mock-row.mock-flip > .hp-stage { order: 0; min-height: 300px; border: 0 !important; border-bottom: 1px solid #e4e1db !important; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0 !important; }
      }
      @media (max-width: 760px) {
        .mock-one .home-card { grid-template-columns: minmax(0, 1fr) !important; }
        .mock-one .hp-phone { width: 240px; height: 500px; }
        .mock-row > .home-card-copy { padding: 22px 20px; }
      }
      /* Example pills sit inside the preview in the row layout, so they're never cut off */
      .mock-row > .hp-stage .hp-eg, .mock-one .hp-stage .hp-eg { bottom: 12px; right: 14px; }
      /* Realistic "props" around each text panel: small real-looking pieces of the work, never over the words */
      .tp-a { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff 0%, #fbf8f3 100%); }
      .mock-row > .tp-a { align-self: stretch !important; display: flex; flex-direction: column; justify-content: center; padding: 104px 32px 96px !important; }
      .mock-one .tp-a { padding: 150px 32px 150px !important; }
      .tp-text { position: relative; z-index: 2; }
      .tp-props { position: absolute; inset: 0; z-index: 1; pointer-events: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
      .tp-props > div { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e7e4de; border-radius: 12px; box-shadow: 0 14px 28px -14px rgba(60, 35, 10, 0.45); padding: 11px 13px; color: #1a1a1c; font-size: 12.5px; }
      .tp-props b { display: block; font-weight: 600; font-size: 13px; }
      .tp-props small { display: block; color: #616161; font-size: 11.5px; margin-top: 1px; }
      .tp-invite { right: 20px; top: 20px; width: 250px; }
      .tp-date { flex: none; width: 42px; text-align: center; border-radius: 8px; overflow: hidden; border: 1px solid #e7e4de; font: 700 17px/1.6 "Sora"; }
      .tp-date b { display: block; background: #c4314b; color: #fff; font: 700 9.5px/1.8 "JetBrains Mono" !important; letter-spacing: 0.06em; }
      .tp-avs { display: flex; margin-top: 5px; }
      .tp-avs i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; margin-left: -4px; color: #fff; font: 700 7px/14px sans-serif; text-align: center; font-style: normal; }
      .tp-avs i:first-child { margin-left: 0; }
      .tp-doc { left: 32px; top: 20px; width: 230px; }
      .tp-docico { flex: none; width: 30px; height: 36px; border-radius: 5px; background: #185abd; color: #fff; display: grid; place-items: center; font: 700 14px "Sora"; }
      .tp-chat { right: 20px; bottom: 20px; width: 280px; align-items: flex-start !important; }
      .tp-chat > i { flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 700 10px/28px sans-serif; text-align: center; font-style: normal; }
      .tp-chat span { display: block; margin-top: 2px; color: #424242; }
      /* Optimisation */
      .tp-prompt { right: 20px; top: 20px; width: 240px; }
      .tp-prompt .tp-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #eef4fc; display: grid; place-items: center; font-size: 17px; }
      .tp-prompt > div { position: relative; flex: 1; }
      .tp-num { position: absolute; right: 0; top: 2px; font: 700 18px "JetBrains Mono"; color: #0f6cbd; }
      .tp-pass { left: 32px; bottom: 20px; width: 236px; }
      .tp-fp { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #fff 30%, transparent 31%), repeating-radial-gradient(circle, #0f6cbd 0 2px, #e8f0fb 2px 5px); }
      .tp-pill { right: 20px; bottom: 28px; padding: 6px 12px !important; border-radius: 999px !important; background: #dcf5e3 !important; border-color: #a7e3b8 !important; color: #15803d !important; font: 700 12px "Plus Jakarta Sans" !important; gap: 6px !important; }
      .tp-pill i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
      /* Sentinel */
      .tp-toast { left: 32px; top: 20px; width: 250px; border-left: 4px solid #c4314b !important; }
      .tp-sev { flex: none; padding: 2px 8px; border-radius: 999px; background: #fde7ea; color: #a4262c; font: 700 11px sans-serif; }
      .tp-closed { right: 20px; bottom: 20px; width: 240px; justify-content: space-between; }
      .tp-chip { flex: none; padding: 3px 9px; border-radius: 999px; background: #dcf5e3; border: 1px solid #a7e3b8; color: #15803d; font: 700 11.5px sans-serif; }
      @media (max-width: 1100px) {
        .mock-row > .tp-a { padding: 96px 28px 92px !important; }
      }
      @media (max-width: 760px) {
        .mock-row > .tp-a { padding: 96px 20px 92px !important; }
        .mock-one .tp-a { padding: 150px 20px 110px !important; }
        .mock-row:not(.mock-flip) > .tp-a { padding-bottom: 150px !important; }
        .tp-invite { top: 16px; right: 16px; width: 230px; }
        .tp-doc { top: 76px; left: 16px; width: 220px; }
        .tp-chat { bottom: 16px; right: 16px; left: 16px; width: auto; }
        .tp-prompt { width: 220px; right: 16px; }
        .tp-pass { width: 220px; left: 16px; }
        .tp-pill { right: 16px; bottom: 74px; }
      }
      .mock-row:not(.mock-flip) > .tp-a { padding-top: 112px !important; padding-bottom: 120px !important; }
      /* Props laid out neatly: straight, fully visible, in a tidy grid under the text */
      .tp-a, .mock-row > .tp-a, .mock-row:not(.mock-flip) > .tp-a, .mock-one .tp-a { padding: 32px !important; }
      .tp-props { position: static !important; inset: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 22px; }
      .tp-props > div { position: static !important; width: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
      .tp-props > .tp-pill { justify-self: start; align-self: center; }
      @media (max-width: 760px) {
        .tp-a, .mock-row > .tp-a, .mock-row:not(.mock-flip) > .tp-a, .mock-one .tp-a { padding: 22px 20px !important; }
        .tp-props { grid-template-columns: minmax(0, 1fr); }
      }
      /* Keep "Find out more" as the last thing in each panel, after the props */
      .tp-a .tp-text { display: contents; }
      .tp-a .tp-props { order: 2; margin-bottom: 18px; }
      .tp-a .home-more { order: 3; }
      /* ---------- Services as rows: title and text on the left, the visual on the right ---------- */
      .mx-section { margin: 0 0 56px; }
      .mx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 26px; }
      .mx-head .home-group h2 { font-size: 34px; }
      .mx-head .home-group p { max-width: 460px; }
      .mx-head .hp-extra { margin: 0; padding: 0; border: 0; }
      .mx-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px; margin-bottom: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(60, 35, 10, 0.45); }
      .mx-row.mx-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
      .mx-row.mx-flip .mx-text { order: 2; }
      .mx-text h3 { margin: 0 0 12px; font: 700 26px/1.15 "Sora"; letter-spacing: -0.03em; }
      .mx-text p { margin: 0 0 14px; color: #4a4741; font-size: 16px; line-height: 1.5; }
      .mx-text .home-more { margin-top: 10px; }
      .mx-visual { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-md); background: #f3f1ec; }
      .mx-visual > .hp-stage { position: relative; height: 330px !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; }
      .mx-visual > .hp-stage .hp-eg { bottom: -6px; right: 0; }
      .mx-visual .tp-props { position: static !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
      .mx-visual .tp-props > div { position: static !important; width: auto !important; }
      .mx-visual .tp-props > .tp-pill { justify-self: start; }
      #advise .mx-visual { grid-template-columns: 250px minmax(0, 1fr); }
      #advise .mx-visual > .hp-stage { height: 430px !important; display: flex; justify-content: center; align-items: center; }
      #advise .mx-visual .hp-phone { width: 222px; height: 410px; flex: none; }
      @media (max-width: 1100px) {
        .mx-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
        .mx-row, .mx-row.mx-flip { grid-template-columns: minmax(0, 1fr); gap: 22px; }
        .mx-row.mx-flip .mx-text { order: 0; }
      }
      @media (max-width: 760px) {
        .mx-row { padding: 18px; }
        .mx-visual, #advise .mx-visual { grid-template-columns: minmax(0, 1fr); padding: 14px; }
        .mx-visual > .hp-stage { height: 300px !important; }
        #advise .mx-visual > .hp-stage { height: 432px !important; }
        #advise .mx-visual .hp-phone { width: 212px; height: 412px; }
      }
      .mx-head:has(.mx-head-extra:empty) { grid-template-columns: minmax(0, 1fr); }
      .mx-head-extra:empty { display: none; }
      .mx-works { margin: 6px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
      .mx-works .hp-extra { margin: 0; padding: 0; border: 0; }
      .mx-row { align-items: stretch; }
      .mx-text { align-self: center; }
      .mx-visual { align-content: center; }
      @media (min-width: 1101px) { #fix .mx-row:first-of-type { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
      .mx-works .hp-extra, .mx-works .hp-chips, .mx-works .hp-note { max-width: none !important; width: 100%; }
      .mx-works .hp-chips { gap: 6px; }
      .mx-works .hp-chips span { padding: 4px 9px 4px 5px; font-size: 12px; gap: 5px; }
      .mx-works .hp-chips svg { width: 18px; height: 18px; }
      .mx-works { margin-bottom: 8px; }
      #fix .mx-row:first-of-type .mx-text .home-more { margin-top: 4px; }
      .home-advise-cards.mock-one { grid-template-columns: minmax(0, 1fr) !important; }
      .mock-one .home-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .mock-one .home-card > .hp-stage { border-radius: calc(var(--r-lg) - 1px) 0 0 calc(var(--r-lg) - 1px) !important; border-bottom: 0; border-right: 1px solid #e4e1db; }
      .mock-one .home-card-copy { align-self: center; }
      .mock-also { margin: 10px 0 14px; font-size: 14.5px; color: #4a4741; }
      .mock-also a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }
      .mock-early { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 0 0 14px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px dashed #d8d3c8; }
      .mock-early > div > p:last-child { margin: 0; color: #4a4741; font-size: 15px; }
      .mock-early .mk-early { margin-bottom: 6px; font-family: "Sora"; font-size: 16px; font-weight: 700; }
      .mock-early-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #f3f1ec; color: #131315; }
      .mock-early-go { display: flex; align-items: center; gap: 16px; }
      @media (max-width: 760px) {
        .mock-one .home-card { display: block; }
        .mock-one .home-card > .hp-stage { border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0 !important; border-right: 0; }
        .mock-early { grid-template-columns: 40px minmax(0, 1fr); }
        .mock-early-go { grid-column: 1 / -1; flex-wrap: wrap; }
      }

/* A hidden message bubble must stay hidden (the typing dots set display: flex) */
.hp-phone [hidden] {
  display: none !important;
}

/* ---------- Homepage: AI governance row with a looping quick check preview ---------- */
.hq-cta {
  margin: 4px 0 14px;
}
.mx-visual.hq-visual {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.hq-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7e4de;
  border-radius: 14px;
  box-shadow: 0 14px 28px -18px rgba(60, 35, 10, 0.45);
  padding: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
}
.hq-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #6f6b63;
}
.hq-top b {
  padding: 3px 9px;
  border-radius: 999px;
  background: #131315;
  color: var(--yellow);
  font: 700 10.5px "JetBrains Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hq-progress {
  height: 5px;
  margin: 10px 0 14px;
  border-radius: 999px;
  background: #eeebe5;
  overflow: hidden;
}
.hq-progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 999px;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hq-q p {
  margin: 0 0 14px;
  font: 700 15.5px/1.35 "Sora";
  letter-spacing: -0.01em;
}
.hq-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.hq-answers span {
  padding: 9px 8px;
  border-radius: 10px;
  border: 1.5px solid #e2ded6;
  background: #faf9f6;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  transition:
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hq-visual.hq-picked .hq-answers .hq-pick {
  border-color: var(--orange);
  background: #fff1e8;
}
.hq-visual.hq-picked .hq-progress i {
  width: 33%;
}
.hq-r {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.hq-level {
  display: grid;
  place-items: center;
  align-content: center;
  height: 86px;
  border-radius: 16px;
  background: #fff4ce;
  color: #8a5a00;
  text-align: center;
}
.hq-level small {
  font: 700 9.5px "JetBrains Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hq-level b {
  font: 800 32px/1 "Sora";
}
.hq-level span {
  font: 700 11px "Plus Jakarta Sans";
}
.hq-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.hq-bars li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.hq-bars i {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eeebe5;
  overflow: hidden;
}
.hq-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: #dc2626;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hq-bars li[data-tone="warn"] i::after {
  background: #f2aa00;
}
.hq-bars li[data-tone="good"] i::after {
  background: #16a34a;
}
.hq-visual.hq-scored .hq-bars i::after {
  width: var(--w);
}
.hq-r .hq-level {
  opacity: 0.35;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hq-visual.hq-scored .hq-r .hq-level {
  opacity: 1;
}
.hq-eg {
  position: absolute;
  right: 10px;
  bottom: -9px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid #ddd9d1;
  background: #fff;
  color: #6f6b63;
  font: 700 9px "JetBrains Mono";
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .mx-visual.hq-visual {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hq-answers span,
  .hq-progress i,
  .hq-bars i::after,
  .hq-r .hq-level {
    transition: none !important;
  }
}
