﻿:root {
  --navy: #102a43;
  --navy-deep: #081b2d;
  --charcoal: #263442;
  --muted: #647180;
  --red: #b53a3a;
  --blue: #246aa5;
  --paper: #f7f8f7;
  --white: #ffffff;
  --tint: #eef2f4;
  --line: #d8dee3;
  --line-dark: #bcc6ce;
  --shadow: 0 12px 34px rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 18px;
  max-width: 820px;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: 64px;
  line-height: 1.02;
}

h2 {
  font-size: 38px;
  line-height: 1.12;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-flag {
  width: 34px;
  height: 30px;
  padding: 6px;
  display: grid;
  gap: 3px;
  background: var(--navy);
  border-radius: 4px;
}

.brand-flag i {
  display: block;
  height: 3px;
  background: var(--white);
}

.brand-flag i:nth-child(2) {
  width: 72%;
  background: #d64b4b;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 11px;
  border-radius: 5px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: var(--tint);
}

.home-hero,
.category-hero,
.profile-hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 56px;
  align-items: center;
}

.home-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: 650px;
  padding: 78px 0;
}

.hero-copy > p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 20px;
}

.eyebrow,
.card-kicker,
.summary-label,
.issue-label {
  margin: 0 0 14px;
  color: var(--red);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
}

.editor-note {
  padding: 30px;
  background: var(--navy-deep);
  color: #dbe6ef;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.editor-note h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.editor-note .issue-label {
  color: #ef9a9a;
}

.editor-note dl {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #36516a;
}

.editor-note dl div {
  padding: 18px 10px 0 0;
}

.editor-note dt {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.editor-note dd {
  margin: 4px 0 0;
  color: #aebdca;
  font-size: 12px;
  line-height: 1.4;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 112px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.content-section,
.page-intro,
.breadcrumbs,
.status-page {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.content-section {
  padding: 76px 0;
}

.section-tint {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.04);
}

.category-card:hover,
.category-card:focus-visible {
  border-top-color: var(--red);
  transform: translateY(-2px);
}

.category-card > span,
.category-card > strong {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card h3 {
  margin: 18px 0 12px;
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.category-card > strong {
  margin-top: auto;
}

.preview-grid,
.guide-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.preview-grid a,
.guide-grid a,
.method-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.preview-grid a:hover,
.guide-grid a:hover {
  border-color: var(--blue);
}

.preview-grid span,
.guide-grid span,
.article-stack article > span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-grid strong {
  color: var(--navy-deep);
  font-size: 20px;
}

.preview-grid p,
.guide-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.methodology-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.factor-grid span {
  min-height: 72px;
  padding: 20px;
  display: flex;
  align-items: center;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.guide-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-grid a {
  min-height: 230px;
}

.about-band {
  margin-bottom: 76px;
  padding: 54px;
  background: var(--navy);
  color: #dce6ed;
  border-radius: 6px;
}

.about-band h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.about-band .text-link {
  color: var(--white);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.breadcrumbs {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.page-intro {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  margin-bottom: 24px;
}

.page-intro > p:not(.eyebrow) {
  font-size: 18px;
}

.category-hero,
.profile-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  padding: 62px 0 70px;
  align-items: start;
}

.category-hero h1,
.profile-hero h1 {
  margin-bottom: 22px;
  font-size: 54px;
}

.hero-lead {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.category-summary,
.profile-facts,
.profile-sidebar,
.form-note {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.category-summary ul,
.profile-sidebar ul,
.form-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-summary li {
  padding: 13px 0;
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
}

.category-summary li:last-child {
  border-bottom: 0;
}

.category-summary li span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.category-summary li strong {
  color: var(--navy);
}

.ranking-section {
  border-top: 1px solid var(--line);
}

.ranking-list {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.rank-badge {
  min-height: 100%;
  padding: 26px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
}

.rank-badge span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rank-badge strong {
  margin-top: 9px;
  font-size: 31px;
}

.company-main {
  padding: 28px;
}

.company-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.score {
  min-width: 92px;
  padding-left: 18px;
  text-align: right;
  border-left: 1px solid var(--line);
}

.score strong,
.score span {
  display: block;
}

.score strong {
  color: var(--navy);
  font-size: 27px;
}

.score span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.company-facts {
  margin: 24px 0 18px;
  display: grid;
  grid-template-columns: 0.8fr 0.45fr 1.75fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-facts div {
  padding: 15px;
  border-right: 1px solid var(--line);
}

.company-facts div:first-child {
  padding-left: 0;
}

.company-facts div:last-child {
  padding-right: 0;
  border-right: 0;
}

.company-facts span,
.company-facts strong {
  display: block;
}

.company-facts span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.company-facts strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tags span {
  padding: 7px 9px;
  background: var(--tint);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.proof-list,
.large-proof-list {
  margin: 20px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}

.proof-list li,
.large-proof-list li {
  margin-bottom: 8px;
  break-inside: avoid;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

th {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

td a {
  color: var(--blue);
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.two-column,
.profile-layout,
.form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  align-items: start;
}

.check-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.check-list div {
  padding: 17px 0;
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line-dark);
}

.check-list strong {
  color: var(--navy);
}

.check-list span {
  color: var(--muted);
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.faq-list summary {
  padding: 19px 22px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-link {
  min-height: 110px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.related-link:hover {
  border-color: var(--blue);
}

.related-link strong {
  color: var(--navy);
}

.related-link span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.directory-groups,
.directory-list {
  display: grid;
  gap: 12px;
}

.directory-groups {
  gap: 54px;
}

.directory-group {
  display: grid;
  gap: 18px;
}

.directory-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.directory-group-heading .eyebrow {
  margin-bottom: 7px;
}

.directory-group-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.directory-row {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 5px;
}

.directory-row:hover {
  border-left-color: var(--red);
}

.directory-row span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.directory-row h3 {
  margin: 7px 0;
  font-size: 26px;
}

.directory-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.directory-row > strong {
  min-width: 138px;
  color: var(--blue);
  text-align: right;
}

.profile-feature {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-left: 5px solid var(--red);
  border-radius: 5px;
}

.profile-feature span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-feature h2 {
  margin: 10px 0;
}

.profile-feature p {
  margin-bottom: 0;
}

.profile-feature > strong {
  min-width: 170px;
  color: var(--blue);
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: var(--line-dark);
}

.profile-facts div {
  min-height: 92px;
  padding: 18px;
  background: var(--white);
}

.profile-facts div:last-child {
  grid-column: 1 / -1;
}

.profile-facts span,
.profile-facts strong {
  display: block;
}

.profile-facts span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-facts strong {
  color: var(--navy);
}

.profile-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.profile-copy {
  display: grid;
  gap: 60px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-columns div {
  padding: 20px;
  display: grid;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.service-columns strong {
  margin-bottom: 5px;
  color: var(--navy);
}

.service-columns span {
  color: var(--muted);
  font-size: 14px;
}

.profile-sidebar {
  position: sticky;
  top: 100px;
}

.profile-sidebar li,
.form-note li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.ranking-links {
  margin-top: 8px;
  display: grid;
}

.ranking-links a {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.ranking-links span {
  color: var(--red);
  font-weight: 800;
}

.ranking-links strong {
  color: var(--navy);
  font-size: 13px;
}

.method-grid {
  grid-template-columns: repeat(2, 1fr);
}

.method-grid article h2 {
  margin-bottom: 10px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 18px;
}

.method-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-stack article {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.article-stack article h2 {
  margin-bottom: 14px;
}

.article-stack article a {
  color: var(--blue);
  font-weight: 800;
}

.form-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.site-form {
  padding: 30px;
  display: grid;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.site-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 3px solid rgba(36, 106, 165, 0.18);
  border-color: var(--blue);
}

.site-form .check-field {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 400;
  line-height: 1.5;
}

.site-form .check-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-note h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.form-note p {
  margin-top: 18px;
  color: var(--muted);
}

.status-page {
  min-height: 65vh;
  padding: 100px 0;
}

.status-page h1 {
  margin-bottom: 18px;
}

.legal-copy h2 {
  margin: 34px 0 12px;
  font-size: 28px;
}

.site-footer {
  padding: 58px max(24px, calc((100% - 1240px) / 2)) 24px;
  background: var(--navy-deep);
  color: #b8c6d1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.8fr);
  gap: 42px;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 5px;
  color: var(--white);
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-grid p {
  color: #91a2b0;
}

.footer-note {
  margin-top: 44px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8295a4;
  border-top: 1px solid #284155;
  font-size: 12px;
}

@media (max-width: 1020px) {
  h1 {
    font-size: 52px;
  }

  .main-nav {
    gap: 0;
  }

  .home-hero,
  .category-hero,
  .profile-hero,
  .methodology-band {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 64px 0;
  }

  .category-grid,
  .guide-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  h1,
  .category-hero h1,
  .profile-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .header-inner {
    width: min(100% - 32px, 1240px);
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .home-hero,
  .category-hero,
  .profile-hero,
  .content-section,
  .page-intro,
  .breadcrumbs,
  .status-page {
    width: min(100% - 32px, 1240px);
  }

  .home-hero {
    min-height: auto;
    gap: 32px;
  }

  .category-hero,
  .profile-hero {
    gap: 28px;
    padding: 42px 0 52px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-intro > p:not(.eyebrow),
  .hero-lead {
    font-size: 17px;
  }

  .content-section {
    padding: 54px 0;
  }

  .section-tint {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .preview-grid,
  .guide-grid,
  .method-grid,
  .related-grid,
  .two-column,
  .form-layout,
  .field-grid,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 220px;
  }

  .ranking-card {
    grid-template-columns: 1fr;
  }

  .rank-badge {
    min-height: auto;
    padding: 12px 18px;
    flex-direction: row;
    justify-content: space-between;
  }

  .rank-badge strong {
    margin: 0;
  }

  .company-main {
    padding: 22px;
  }

  .company-title {
    flex-direction: column;
  }

  .score {
    padding: 0;
    text-align: left;
    border-left: 0;
  }

  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-facts div,
  .company-facts div:first-child,
  .company-facts div:last-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-facts div:last-child {
    border-bottom: 0;
  }

  .proof-list,
  .large-proof-list {
    columns: 1;
  }

  .directory-row,
  .profile-feature {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-row > strong {
    min-width: 0;
    text-align: left;
  }

  .directory-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-note {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1,
  .category-hero h1,
  .profile-hero h1 {
    font-size: 36px;
  }

  .trust-strip,
  .editor-note dl,
  .factor-grid,
  .profile-facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .editor-note dl div {
    border-bottom: 1px solid #36516a;
  }

  .profile-facts div:last-child {
    grid-column: auto;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
