/* Orbit clarity 1.1.2: live, compact homepage components and vector icons.
   The individual receipt retains its approved body typography and dimensions. */
:root {
  --orbit-heading-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --orbit-body-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body:not(.page-receipt) { font-family: var(--orbit-body-font); }
body:not(.page-receipt) h1,
body:not(.page-receipt) h2,
body:not(.page-receipt) h3,
.wordmark { font-family: var(--orbit-heading-font); font-weight: 800; }
.wordmark img, .wordmark small { display: none; }
.wordmark { letter-spacing: -1.05px; }
.wordmark b { font-weight: 800; }
.home-eyebrow { display: none; }
.home-hero h1 { line-height: 1.01; letter-spacing: -2px; }
.home-hero .lead { color: #deedf7; }
.hero-facts b { font-weight: 700; }
.home-record .section-heading { margin-bottom: 12px; }
.home-record .section-heading p { margin-top: 4px; color: #71869b; }
.home-record .table-footnote { margin: 7px 0 0; font-size: 12px; }
.home-find h2 { white-space: nowrap; }
.home-find label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; }

/* Separate homepage markup prevents detailed Explore rows from dominating Home. */
.home-rankings-wrap { overflow: hidden; background: #fff; border: 1px solid #d8e2eb; border-radius: 10px; }
.home-rankings { table-layout: fixed; width: 100%; }
.home-rankings th { padding: 9px 16px; color: #3d4d5e; background: #edf3f7; font-size: 12px; font-weight: 600; letter-spacing: -.2px; text-transform: none; }
.home-rankings th:nth-child(1) { width: 9%; text-align: center; }
.home-rankings th:nth-child(2) { width: 27%; }
.home-rankings th:nth-child(3) { width: 35%; }
.home-rankings th:nth-child(4) { width: 12%; }
.home-rankings th:nth-child(5) { width: 17%; }
.home-rankings td { padding: 12px 16px; height: 88px; border-bottom: 1px solid #e5ebf0; color: #061c30; }
.home-rankings td + td, .home-rankings th + th { border-left: 1px solid #edf1f5; }
.home-rankings tbody tr:hover { background: #fbfdff; }
.home-rankings .home-rank { font-size: 25px; line-height: 1.1; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
.home-rankings .system-name { color: #071c30; font-size: 16px; font-weight: 750; line-height: 1.35; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-rankings .hardware-line { color: #536171; font-size: 12px; line-height: 1.4; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-tier-summary { display: flex; align-items: center; gap: 15px; min-width: 0; }
.home-tier-summary > .tier-compact { flex: 0 0 auto; width: clamp(104px, 11.4vw, 160px); margin: 0; }
.home-tier-summary > .tier-compact img { border: 0; border-radius: 5px; }
.home-tier-summary .tier-label { display: none; }
.home-tier-value { min-width: 0; }
.home-score { display: block; color: #061c30; font-size: 25px; line-height: 1.12; font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-tier-name { display: block; color: #536171; font-size: 12px; line-height: 1.4; margin-top: 3px; }
.home-rankings .home-points { font-size: 18px; font-weight: 700; white-space: nowrap; }
.home-result a { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; color: #0077eb; font-size: 14px; white-space: nowrap; }
.home-record .text-link { color: #0077eb; }

/* These are inline vectors, with no enlarged raster icon crops. */
.category-icon { shape-rendering: geometricPrecision; }
.home-features .feature-card { padding: 24px 21px 24px 99px; border-color: #dce5ed; border-radius: 10px; min-height: 121px; box-shadow: 0 3px 14px #123a4a04; }
.home-features .feature-card > .category-icon { width: 54px; height: 54px; top: 29px; left: 24px; margin: 0; color: #062947; }
.home-features .feature-card h3 { font-family: var(--orbit-body-font); font-size: 17px; font-weight: 750; letter-spacing: -.6px; margin-bottom: 5px; }
.home-features .feature-card p { font-size: 13px; line-height: 1.5; margin: 0; color: #465569; }
.home-features { margin-top: 18px; gap: 12px; }
.category-section h2 { margin-bottom: 0; }
.home-story .scene-copy h2 { font-family: var(--orbit-heading-font); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }

/* A wrapper supplied by the Explore presentation keeps tier art beside score. */
.ranking-tier-summary { display: flex; align-items: center; gap: 12px; }
.ranking-tier-summary > .tier-compact { flex: 0 0 auto; width: 118px; }
.ranking-tier-summary .table-score { margin: 0; }

@media (min-width: 1000px) {
  /* Retain the previously approved 80% desktop width and 1120px maximum. */
  .topbar-inner { min-height: 67px; }
  .nav-links a::after { bottom: 13px; }
  .wordmark { font-size: 29px; }
  .wordmark b { font-size: 31px; }
  .home-hero { padding-top: 28px; padding-bottom: 28px; gap: 30px; grid-template-columns: 1.08fr 1fr; }
  .home-hero h1 { font-size: clamp(38px,4.05vw,57px); margin-bottom: 21px; }
  .home-hero .lead { font-size: 16px; margin-bottom: 25px; }
  .home-hero .button { padding-left: 20px; padding-right: 20px; font-size: 13px; }
  .hero-facts { margin-top: 34px; }
  .home-find { grid-template-columns: .52fr 1.6fr; padding: 16px 24px; margin-top: 24px; margin-bottom: 28px; }
  .home-find h2 { font-size: 25px; line-height: 1.2; letter-spacing: -1px; }
  .home-record { margin-top: 26px; margin-bottom: 28px; }
  .home-record h2, .category-section h2 { font-size: 32px; line-height: 1.15; letter-spacing: -1.25px; }
  .category-section { margin-top: 30px; margin-bottom: 28px; }
  .scene-banner.home-story { min-height: 225px; padding: 28px 32px; }
  .scene-banner.home-story .scene-copy { width: 64%; }
  .home-story .scene-copy h2 { font-size: 32px; }
  .home-story .scene-copy p { font-size: 14px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .wordmark { font-size: 24px; }
  .wordmark b { font-size: 27px; }
  .home-hero .button { font-size: 11px; padding-left: 11px; padding-right: 11px; }
  .home-find { grid-template-columns: .65fr 1.6fr; }
  .home-find h2 { font-size: 22px; }
  .home-record h2, .category-section h2 { font-size: 29px; }
  .home-features .feature-card { padding-left: 86px; padding-right: 16px; }
  .home-features .feature-card > .category-icon { left: 20px; width: 48px; height: 48px; }
  .home-features .feature-card h3 { font-size: 16px; }
  .home-features .feature-card p { font-size: 12px; }
  .home-story .scene-copy h2 { font-size: 28px; }
}
@media (min-width: 701px) and (max-width: 1099px) {
  .home-rankings th, .home-rankings td { padding-left: 11px; padding-right: 11px; }
  .home-rankings th { font-size: 11px; }
  .home-rankings .system-name { font-size: 14px; }
  .home-rankings .hardware-line { font-size: 11px; }
  .home-tier-summary { gap: 10px; }
  .home-tier-summary > .tier-compact { width: 100px; }
  .home-score { font-size: 23px; }
  .home-tier-name { font-size: 10px; }
  .home-rankings .home-points { font-size: 16px; }
  .home-result a { font-size: 12px; gap: 6px; }
}
@media (min-width: 701px) and (max-width: 999px) {
  .home-features .feature-card { padding: 22px 17px 22px 76px; }
  .home-features .feature-card > .category-icon { left: 19px; top: 25px; width: 40px; height: 40px; }
  .home-features .feature-card h3 { font-size: 16px; }
  .home-features .feature-card p { font-size: 12px; }
}
@media (max-width: 700px) {
  /* The same real records become labeled cards, with no horizontal page scroll. */
  .home-rankings, .home-rankings tbody { display: block; }
  .home-rankings thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .home-rankings tr { display: grid; grid-template-columns: 42px minmax(0,1fr); padding: 17px; border-bottom: 1px solid #dfe7ee; }
  .home-rankings tr:last-child { border-bottom: 0; }
  .home-rankings td { display: block; height: auto; width: auto; border: 0; padding: 0; min-width: 0; }
  .home-rankings td + td { border: 0; }
  .home-rankings .home-rank { align-self: center; text-align: left; font-size: 23px; }
  .home-rankings .home-computer { padding-left: 7px; }
  .home-rankings .system-name { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
  .home-rankings .hardware-line { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
  .home-rankings .home-tier { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6ecf2; }
  .home-tier-summary { gap: 17px; }
  .home-tier-summary > .tier-compact { width: min(44%,155px); }
  .home-score { font-size: 28px; }
  .home-tier-name { font-size: 12px; }
  .home-rankings .home-points { grid-column: 1 / -1; font-size: 17px; margin-top: 12px; }
  .home-rankings .home-points::before { content: "Points "; font-size: 12px; font-weight: 500; color: #536171; padding-right: 5px; }
  .home-rankings .home-result { grid-column: 1 / -1; margin-top: 5px; }
  .home-result a { font-size: 14px; }
  .home-find h2 { white-space: normal; }
  .home-record .section-heading { flex-wrap: wrap; gap: 10px; }
  .home-features .feature-card { min-height: 110px; padding: 23px 20px 23px 88px; }
  .home-features .feature-card > .category-icon { top: 25px; left: 23px; width: 44px; height: 44px; }
  .home-features .feature-card h3 { font-size: 18px; }
  .home-features .feature-card p { font-size: 13px; }
  .ranking-tier-summary { flex-direction: column; align-items: flex-start; gap: 9px; }
}
@media print {
  .home-rankings, .home-rankings tbody { display: table; width: 100%; }
  .home-rankings tbody { display: table-row-group; }
  .home-rankings thead { position: static; width: auto; height: auto; clip-path: none; display: table-header-group; }
  .home-rankings tr { display: table-row; }
  .home-rankings td { display: table-cell; padding: 8px; }
}
