:root {
  --ink: #17212b;
  --ink-soft: #405060;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9d4ca;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --brick: #b8472d;
  --gold: #d39a2d;
  --green: #24825a;
  --shadow: 0 18px 55px rgba(28, 32, 36, 0.12);
  --radius: 8px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  isolation: isolate;
}

body.dialog-open {
  overflow: hidden;
}

.map-drive-bg {
  position: fixed;
  inset: 84px 0 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.48;
}

.map-drive-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-grid-line {
  fill: none;
  stroke: #cfc7b8;
  stroke-width: 1;
  opacity: 0.42;
}

.map-dot {
  fill: var(--teal);
  opacity: 0.16;
}

.map-road-network path {
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-width: 12;
  opacity: 0.08;
}

.drive-route {
  fill: none;
  stroke: var(--gold);
  stroke-dasharray: 18 16;
  stroke-linecap: round;
  stroke-width: 5;
  opacity: 0.38;
}

.delivery-route {
  stroke: var(--teal);
  stroke-dasharray: 12 15;
  opacity: 0.28;
}

.moving-truck {
  filter: drop-shadow(0 8px 12px rgba(15, 118, 110, 0.22));
}

.delivery-truck {
  filter: drop-shadow(0 8px 12px rgba(184, 71, 45, 0.18));
}

.moving-truck rect,
.moving-truck path {
  fill: var(--teal);
  stroke: #fffdf8;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.moving-truck circle {
  fill: var(--ink);
  stroke: #fffdf8;
  stroke-width: 2.5;
}

.delivery-truck rect,
.delivery-truck path {
  fill: var(--brick);
}

.map-house {
  opacity: 0.82;
  filter: drop-shadow(0 5px 9px rgba(23, 33, 43, 0.1));
}

.house-roof {
  fill: #fff7e8;
  stroke: var(--brick);
  stroke-linejoin: round;
  stroke-width: 5;
}

.house-body {
  fill: #fffdf8;
  stroke: var(--teal-dark);
  stroke-width: 3;
}

.house-door {
  fill: var(--teal);
}

.house-window {
  fill: #dbeafe;
  stroke: var(--teal-dark);
  stroke-width: 2;
}

.delivery-box {
  opacity: 0;
  transform-box: view-box;
  transform-origin: 0 0;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-delay: -6.6s;
}

.delivery-box rect {
  fill: var(--green);
  stroke: #fffdf8;
  stroke-width: 2;
}

.delivery-box-one {
  animation-name: box-to-house-one;
}

.delivery-box-two {
  animation-name: box-to-house-two;
}

.delivery-box-b,
.delivery-box-d {
  animation-delay: -5.95s;
}

@keyframes box-to-house-one {
  0%,
  23.5%,
  38.5%,
  100% {
    opacity: 0;
    transform: translate(214px, 556px) scale(0.45);
  }
  26% {
    opacity: 1;
    transform: translate(211px, 548px) scale(1);
  }
  31% {
    opacity: 1;
    transform: translate(188px, 529px) scale(0.82);
  }
  37% {
    opacity: 0;
    transform: translate(168px, 516px) scale(0.28);
  }
}

@keyframes box-to-house-two {
  0%,
  61.5%,
  74.5%,
  100% {
    opacity: 0;
    transform: translate(212px, 280px) scale(0.45);
  }
  64% {
    opacity: 1;
    transform: translate(209px, 272px) scale(1);
  }
  68.5% {
    opacity: 1;
    transform: translate(188px, 239px) scale(0.82);
  }
  73% {
    opacity: 0;
    transform: translate(172px, 214px) scale(0.28);
  }
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 244, 238, 0.94));
  border-bottom: 1px solid rgba(23, 33, 43, 0.14);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.07);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 328px;
}

.brand-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(150deg, #102231 0%, #0f766e 78%);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.brand-mark svg {
  width: 55px;
  height: 55px;
}

.logo-road,
.logo-pin,
.logo-box {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-road {
  stroke: #efc16c;
  stroke-dasharray: 2 7;
}

.logo-pin {
  fill: rgba(255, 255, 255, 0.12);
}

.logo-pin-dot,
.logo-wheel {
  fill: #efc16c;
}

.brand-wordmark {
  display: grid;
  gap: 2px;
}

.brand-main,
.brand-tagline,
.brand-domain {
  display: block;
}

.brand-main {
  color: var(--ink);
  font-size: 1.74rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.brand-tagline {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-domain {
  width: max-content;
  margin-top: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(237, 248, 243, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.header-proof {
  display: flex;
  gap: 5px;
  flex: 0 1 228px;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-proof span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #edf8f3;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.top-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.top-nav a:hover {
  color: var(--ink);
  background: #ece6da;
}

.nav-action,
.company-card button,
.form-panel button,
.dialog-close {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}

.nav-action {
  padding: 0 16px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.nav-link-action {
  display: inline-flex;
  align-items: center;
}

.nav-action:hover {
  background: var(--teal-dark);
}

.directory-shell {
  padding: 28px 0 34px;
}

.directory-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.control-rail {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.rail-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 5px 20px rgba(27, 31, 35, 0.04);
}

.rail-intro {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  padding: 22px;
}

.rail-intro p {
  color: rgba(255, 255, 255, 0.74);
}

.rail-intro h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brick);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-intro .eyebrow {
  color: #efc16c;
}

.rail-block label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.rail-block input[type="search"],
.rail-block select,
.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.rail-block input:focus,
.rail-block select:focus,
.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0 !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.disclosure {
  border-color: rgba(184, 71, 45, 0.24);
  background: #fff7f0;
}

.disclosure p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.results-zone {
  min-width: 0;
}

.results-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.results-topline h2,
.section-heading h2,
.guide-copy h2,
.review-copy h2,
.request-content h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.summary-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.summary-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.summary-strip strong {
  color: var(--ink);
}

.map-band {
  position: relative;
  min-height: 254px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.map-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.map-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 23, 31, 0.88), rgba(13, 23, 31, 0.18));
}

.market-panel {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  padding: 28px;
  color: #fff;
}

.market-panel strong {
  display: block;
  max-width: 12ch;
  font-size: clamp(1.7rem, 3.3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.market-panel p {
  max-width: 46ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.company-list {
  display: grid;
  gap: 12px;
}

.company-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 220px;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(27, 31, 35, 0.06);
}

.company-card.sponsored {
  background: linear-gradient(90deg, #e6f7ef 0%, #f6fff9 52%, #ffffff 100%);
  border: 2px solid rgba(15, 118, 110, 0.58);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.16);
}

.company-card.sponsored::before {
  content: "";
  position: absolute;
  inset: 36px auto 0 0;
  width: 6px;
  border-radius: 0 0 0 var(--radius);
  background: var(--teal);
}

.sponsored-banner {
  grid-column: 1 / -1;
  min-height: 36px;
  display: flex;
  align-items: center;
  margin: -18px -18px 0;
  padding: 0 18px 0 24px;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  color: #fff;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-card.sponsored .company-title h3 {
  color: var(--teal-dark);
}

.company-main {
  min-width: 0;
}

.company-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rank-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.sponsored .rank-badge {
  background: var(--teal);
}

.company-thumb {
  flex: 0 0 auto;
  width: 82px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.company-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-thumb.media-contain {
  background: #fff;
}

.company-thumb.media-contain img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
}

.company-thumb.thumb-fallback {
  color: #fff;
  background: var(--brand-bg);
  border-color: transparent;
  font-weight: 900;
}

.company-title {
  min-width: 0;
}

.company-title h3 {
  margin: 0;
  font-size: 1.23rem;
  line-height: 1.2;
}

.company-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f0ebe1;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.pill.sponsor {
  color: #fff;
  background: var(--teal);
  border: 1px solid rgba(15, 118, 110, 0.5);
}

.pill.warning {
  color: #6b3a17;
  background: #f7e5c4;
}

.pill.good {
  color: #fff;
  background: var(--green);
}

.pill.source {
  color: #17324a;
  background: #dbeafe;
}

.company-summary {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.service-list,
.source-bars {
  margin-top: 14px;
}

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

.service-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.company-card button {
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
}

.company-card button.secondary {
  color: var(--ink);
  background: #eee8dd;
}

.company-card button:hover {
  filter: brightness(0.94);
}

.company-aside {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.card-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.score-cell {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.score-cell strong {
  font-size: 1.38rem;
  line-height: 1;
}

.score-cell span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.rating-box {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(211, 154, 45, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 8px 18px rgba(211, 154, 45, 0.12);
}

.rating-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rating-topline strong {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.rating-topline span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
}

.star-rating {
  position: relative;
  width: max-content;
  color: #d7d0c3;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--star-fill);
  overflow: hidden;
  color: var(--gold);
  white-space: nowrap;
}

.rating-box-profile {
  min-width: 0;
  gap: 6px;
  padding: 12px;
  background: linear-gradient(180deg, #fff8e9, #fff);
  overflow: hidden;
}

.rating-box-profile .rating-topline {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.rating-box-profile .rating-topline strong {
  font-size: 1.42rem;
}

.rating-box-profile .rating-topline span {
  max-width: 100%;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: left;
}

.rating-box-profile .star-rating {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.source-bars {
  display: grid;
  gap: 9px;
}

.source-row {
  display: grid;
  grid-template-columns: 74px 1fr minmax(54px, auto);
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: #ece6da;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--fill);
  background: var(--gold);
}

.compare-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.compare-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.compare-section,
.guide-section,
.review-section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.compare-section {
  background: #fffdf8;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 20px;
}

.section-heading p,
.guide-copy p,
.review-copy p {
  color: var(--ink-soft);
}

.compare-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: #f0ebe1;
  font-size: 0.9rem;
}

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

.empty-compare {
  padding: 26px;
  color: var(--ink-soft);
  font-weight: 800;
}

.guide-section {
  background: #e8f0ed;
}

.verify-section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.verify-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: start;
}

.verify-grid h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  line-height: 1.05;
}

.verify-grid p {
  color: var(--ink-soft);
}

.verify-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.verify-links a {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.verify-links a:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.11);
}

.verify-links strong {
  font-size: 1.05rem;
}

.verify-links span {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-list article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.method-list span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brick);
  font-weight: 900;
}

.method-list strong {
  display: block;
  font-size: 1.1rem;
}

.method-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.review-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: start;
}

.page-hero {
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(211, 154, 45, 0.08)),
    #fffdf8;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: center;
}

.page-hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.page-hero p {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero-stat-panel,
.contact-card,
.score-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.08);
}

.hero-stat-panel span,
.score-panel span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f1fbf6;
  color: var(--ink-soft);
  font-weight: 850;
}

.hero-stat-panel strong,
.score-panel strong {
  color: var(--teal-dark);
  font-size: 1.4rem;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side-note {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.side-note h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
}

.side-note p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.04);
}

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

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--ink-soft);
}

.contact-hero {
  background:
    linear-gradient(135deg, rgba(184, 71, 45, 0.08), rgba(15, 118, 110, 0.1)),
    #fffdf8;
}

.contact-card strong {
  font-size: 1.3rem;
}

.contact-card span {
  color: var(--teal-dark);
  font-weight: 900;
}

.contact-card p {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 0.88fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  padding: 22px;
}

.contact-info-stack {
  display: grid;
  gap: 12px;
}

.contact-info-stack article,
.method-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.04);
}

.contact-info-stack span,
.method-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brick);
  font-weight: 950;
}

.contact-info-stack strong {
  display: block;
  font-size: 1.12rem;
}

.contact-info-stack p,
.method-card p {
  color: var(--ink-soft);
}

.method-hero {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(23, 33, 43, 0.04)),
    #fffdf8;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.method-card {
  min-height: 248px;
}

.method-card h2 {
  margin: 0;
  font-size: 1.22rem;
}

.form-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 31, 35, 0.06);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row label {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-panel textarea {
  resize: vertical;
}

.form-panel button {
  width: fit-content;
  padding: 0 16px;
  color: #fff;
  background: var(--teal);
}

.form-panel button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

dialog {
  max-width: min(960px, calc(100vw - 34px));
  width: 960px;
  max-height: calc(100vh - 40px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(13, 23, 31, 0.58);
}

.company-dialog,
.request-dialog {
  background: #fffdf8;
}

.dialog-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  margin: 12px;
  padding: 0 13px;
  color: var(--ink);
  background: #eee8dd;
}

.dialog-profile {
  min-width: 0;
  padding: 24px;
}

.dialog-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  clear: both;
}

.dialog-hero img {
  width: 100%;
  min-height: 310px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.profile-photo-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}

.profile-photo-link img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  padding: 0;
}

.profile-photo-link.media-contain img {
  width: calc(100% - 36px);
  height: 274px;
  object-fit: contain;
  padding: 0;
}

.profile-photo-link span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.brand-media {
  min-height: 310px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(160deg, rgba(23, 33, 43, 0.08), rgba(23, 33, 43, 0.72)),
    var(--brand-bg);
}

.brand-media .brand-initials {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 900;
}

.brand-media strong {
  display: block;
  margin-top: 26px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.brand-media span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.brand-media p {
  max-width: 42ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.dialog-copy {
  min-width: 0;
  padding: 8px 0;
}

.dialog-copy h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.dialog-copy p {
  color: var(--ink-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.detail-tile {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-tile strong {
  display: block;
  font-size: 1.18rem;
}

.detail-tile span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-sections {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.profile-block {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow-wrap: anywhere;
}

.profile-block.wide-block {
  grid-column: 1 / -1;
  overflow-x: auto;
}

.profile-block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.profile-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.source-links a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-table {
  width: 100%;
  border-collapse: collapse;
}

.source-table th,
.source-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.credential-table th,
.credential-table td {
  padding-right: 16px;
}

.credential-table a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.request-content {
  clear: both;
  padding: 24px;
}

.request-content h2 {
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 4;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-proof {
    flex: 0 1 auto;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .directory-grid,
  .guide-grid,
  .verify-grid,
  .review-grid,
  .page-hero-grid,
  .faq-layout,
  .contact-grid,
  .methodology-grid,
  .dialog-hero,
  .profile-sections {
    grid-template-columns: 1fr;
  }

  .control-rail {
    position: static;
  }

  .side-note {
    position: static;
  }

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

  .company-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .directory-grid {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    grid-row: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .brand-mark svg {
    width: 46px;
    height: 46px;
  }

  .brand-main {
    font-size: 1.5rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .brand-domain {
    font-size: 0.68rem;
  }

  .header-proof {
    grid-row: 2;
    margin-left: 0;
  }

  .nav-action {
    grid-row: 4;
    justify-self: stretch;
    margin-left: 0;
    max-width: none;
    width: 100%;
    padding: 0 12px;
    white-space: nowrap;
  }

  .top-nav {
    order: initial;
    grid-column: 1 / -1;
    grid-row: 3;
    flex-wrap: wrap;
    gap: 6px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .top-nav a {
    flex: 1 1 calc(33.333% - 6px);
    justify-content: center;
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.86rem;
  }

  .results-topline,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .rail-intro h1 {
    max-width: 13ch;
  }

  .rail-intro p {
    max-width: 29ch;
  }

  .summary-strip {
    justify-content: flex-start;
  }

  .market-panel {
    padding: 22px;
  }

  .market-panel strong {
    max-width: 13ch;
    font-size: 2rem;
  }

  .company-top,
  .card-actions {
    align-items: stretch;
  }

  .company-thumb {
    width: 76px;
    height: 58px;
  }

  .company-card button,
  .form-panel button {
    width: 100%;
  }

  .method-list,
  .verify-links,
  .hero-stat-panel,
  .score-panel,
  .form-row.two-col,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 38px 0 32px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .dialog-profile,
  .request-content {
    padding: 18px;
  }

  .company-dialog,
  .request-dialog {
    max-width: calc(100vw - 24px);
  }

  .dialog-hero img {
    min-height: 220px;
  }

  .source-table {
    font-size: 0.84rem;
  }

  .credential-table {
    min-width: 560px;
  }
}
