:root {
  --bg: #f4f1ea;
  --paper: #fffdf7;
  --ink: #182022;
  --muted: #64706d;
  --line: #d9d3c5;
  --charcoal: #22292b;
  --lime: #a8c256;
  --sun: #f1b44c;
  --brick: #bb5a3c;
  --blue: #3f6f8f;
  --shadow: 0 20px 48px rgba(24, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(24, 32, 34, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 32, 34, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(244, 241, 234, 0.95);
  border-bottom: 3px solid var(--charcoal);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  width: fit-content;
  padding: 2px 7px;
  background: var(--lime);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 900;
}

.brand strong {
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

nav a {
  padding: 10px 12px;
  border: 2px solid transparent;
  text-decoration: none;
}

nav a:hover {
  border-color: var(--charcoal);
}

.call-link {
  background: var(--charcoal);
  color: white;
}

.hero {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 70px) 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.kicker {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7.4vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.05;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 2px solid var(--charcoal);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--sun);
  color: var(--charcoal);
  box-shadow: 7px 7px 0 var(--charcoal);
}

.button.dark {
  background: var(--charcoal);
  color: white;
}

.button.light {
  background: white;
  color: var(--charcoal);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.25);
}

.button.outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
}

.top-pick-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 3px solid var(--charcoal);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--lime);
}

.top-pick-box h2 {
  font-size: 46px;
}

.top-pick-box p {
  color: var(--muted);
}

.top-pick-box a {
  margin-top: auto;
  color: var(--charcoal);
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
}

.top-pick-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 9px;
  background: var(--charcoal);
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-seo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 3px solid var(--charcoal);
  background: var(--charcoal);
  gap: 3px;
}

.quick-seo span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.content-block {
  padding: clamp(46px, 6vw, 84px) clamp(18px, 5vw, 70px);
}

.section-title {
  max-width: 940px;
  margin-bottom: 30px;
}

.section-title p,
.rank-row p,
.rank-row dd,
.intent-grid p,
.faq p,
footer {
  color: var(--muted);
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 76px minmax(260px, 1fr) minmax(280px, 0.85fr) 210px;
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border: 2px solid var(--line);
  background: rgba(255, 253, 247, 0.94);
}

.rank-row.winner {
  border: 3px solid var(--charcoal);
  background: white;
  box-shadow: var(--shadow);
}

.rank-num {
  display: grid;
  place-items: center;
  min-height: 92px;
  background: var(--charcoal);
  color: white;
  font-size: 34px;
  font-weight: 900;
}

.winner .rank-num {
  background: var(--sun);
  color: var(--charcoal);
  box-shadow: inset 0 0 0 3px var(--charcoal);
}

.company-main,
.company-details,
.row-actions {
  min-width: 0;
}

.row-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.row-heading span,
.muted-action {
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-main p {
  margin-bottom: 0;
}

dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

dt {
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 1px 0 0;
  font-size: 14px;
}

.row-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.text-action {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.muted-action {
  justify-content: center;
  color: var(--muted);
}

.service-intent {
  background: var(--paper);
  border-block: 3px solid var(--charcoal);
}

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

.intent-grid div {
  min-height: 160px;
  padding: 22px;
  border: 2px solid var(--line);
  background: white;
}

.intent-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.call-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(38px, 5vw, 62px) clamp(18px, 5vw, 70px);
  background: var(--charcoal);
  color: white;
}

.call-band .kicker,
.call-band p {
  color: #dce7e5;
}

.call-band h2 {
  max-width: 840px;
}

.faq {
  max-width: 1120px;
}

details {
  margin-bottom: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
}

footer {
  padding: 34px clamp(18px, 5vw, 70px);
  border-top: 3px solid var(--charcoal);
  background: #111719;
}

footer p {
  max-width: 1100px;
}

footer a {
  color: white;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero-grid,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .rank-num {
    width: 76px;
  }

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

  .row-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .masthead {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  nav a {
    border-color: var(--line);
    text-align: center;
  }

  h1 {
    font-size: 42px;
  }

  .quick-seo,
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .call-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
