.results {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.errorBanner {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #f6c7c7;
  color: #b3261e;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.errorBannerHint {
  color: #7f1d1d;
  font-size: 13px;
  opacity: 0.8;
}

.overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.overviewInfo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.overviewLabel {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.overviewUrl {
  font-size: 22px;
  font-weight: 650;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.25;
}

.overviewBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.badgeSoft {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.overviewNote {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
}

.ctaCard {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(480px 260px at 100% 0%, rgba(20, 184, 166, 0.45), transparent 60%),
    linear-gradient(135deg, #03222b 0%, #0a3d49 60%, #0f6674 135%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}

.ctaTitle {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.ctaSub {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  opacity: 0.72;
  max-width: 440px;
}

.ctaActions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.btnPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 650;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btnPrimary:hover {
  transform: translateY(-1px);
  background: #e2f6f2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.btnGhost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btnGhost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sectionHeading {
  margin-bottom: 22px;
}

.sectionHeading h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sectionHeading p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.insights {
  margin-top: 44px;
}

.insightsColumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.insightCol {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.insightColHelp {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(340px 240px at 115% -15%, rgba(45, 212, 191, 0.55), transparent 62%),
    radial-gradient(280px 220px at -15% 115%, rgba(20, 184, 166, 0.28), transparent 58%),
    linear-gradient(150deg, #03222b 0%, #0a3d49 62%, #0f6674 145%);
  border-color: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.insightColHelp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.insightEyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5eead4;
}

.insightColTitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.insightColHelp .insightColTitle {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  font-size: 22px;
  margin-bottom: 20px;
}

.insightList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* The display:flex above would override the hidden attribute — keep the
   email-wall gate effective until the visitor unlocks the issues. */
.insightList[hidden] {
  display: none;
}

.insightRow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.insightTitle {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.45;
}

.insightColHelp .insightRow {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.insightStep {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #5eead4;
}

.insightColHelp .insightTitle {
  color: #ffffff;
  font-weight: 600;
}

.insightReason {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.insightHelpCta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 148, 136, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insightLinkPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 650;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.insightLinkPrimary:hover {
  transform: translateY(-1px);
  background: #0d4550;
}

.insightLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.4;
}

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

.insightColHelp .insightHelpCta {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.insightColHelp .insightLinkPrimary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 62%, #0f766e 135%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 20px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 6px 28px rgba(13, 148, 136, 0.55);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.insightColHelp .insightLinkPrimary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: insightShine 3.4s ease-in-out infinite;
}

.insightColHelp .insightLinkPrimary:hover {
  background: linear-gradient(135deg, #3fe0cb 0%, #14b8a6 62%, #0d9488 135%);
  transform: translateY(-1px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.32) inset,
    0 8px 34px rgba(13, 148, 136, 0.68);
}

.insightColHelp .insightLink {
  color: #99f6e4;
}

/* Collapsible Issues identified + email wall */
.issuesDetails {
  border-radius: var(--radius-lg);
}

.issuesDetails[open] .issuesSummary {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.issuesSummary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.issuesSummary::-webkit-details-marker {
  display: none;
}

.issuesSummary .insightColTitle {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.issuesChevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.issuesDetails[open] .issuesChevron {
  transform: rotate(-135deg);
}

.issuesDetails .insightList {
  margin-top: 16px;
}

.emailWall {
  margin-top: 16px;
}

.wallTitle {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 10px;
}

.wallRow {
  display: flex;
  gap: 8px;
}

.wallInput {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
}

.wallInput:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.wallButton {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.wallButton:hover {
  background: var(--primary-strong, var(--primary));
}

.wallNote {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

@keyframes insightShine {
  0%,
  60% {
    left: -70%;
  }
  90%,
  100% {
    left: 130%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insightColHelp .insightLinkPrimary::after {
    animation: none;
  }
}

.insightEmpty {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
