/** CSRD product page — /csrd.html */

/* Pretitle pill variants */
/* Mist / #eef4f1 sections */
.csrd-pretitle--on-mist {
  background-color: #e8f0ed;
  color: #407775;
}
/* Soft gradient panels (risk, tinted cards) */
.csrd-pretitle--on-soft {
  background-color: rgba(255, 255, 255, 0.9);
  color: #2f6f64;
}
/* Light gray panels (#f4f7f5) */
.csrd-pretitle--on-panel {
  background-color: #ffffff;
  color: #407775;
}
/* Dark / cinematic sections */
.csrd-pretitle--dark {
  background-color: rgba(212, 235, 228, 0.18);
  color: #d4ebe4;
}
.csrd-section-header .csrd-pretitle {
  margin-bottom: 0;
}
.csrd-section-header .csrd-pretitle-wrap {
  margin-bottom: 1rem;
}
.csrd-section-pad {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .csrd-section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.csrd-section-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  text-align: center;
}
.csrd-section-header .csrd-h2 {
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
/* Benefits: two-line title */
.csrd-section-header--benefits {
  max-width: 42rem;
}
.csrd-section-header--benefits .csrd-h2 {
  text-wrap: normal;
}
/* Comparison: two-line title */
.csrd-section-header--compare {
  max-width: 54rem;
}
.csrd-section-header--compare .csrd-h2 {
  text-wrap: normal;
}
.csrd-section-header--workflow {
  max-width: 32rem;
}
.csrd-section-header--left {
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
  text-align: left;
}
.csrd-section-header--left .csrd-h2 {
  margin-left: 0;
  margin-right: 0;
}

/* Benefits callout — icon left, copy right */
.csrd-read-band {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  text-align: left;
  border: none;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 640px) {
  .csrd-read-band {
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
  }
}
@media (max-width: 479px) {
  .csrd-read-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
.csrd-read-band__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #d4ebe4 0%, #eaf5f1 100%);
  color: #2f6f64;
}
@media (min-width: 640px) {
  .csrd-read-band__icon {
    width: 3rem;
    height: 3rem;
  }
}
.csrd-read-band__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4b5f5b;
  font-weight: 500;
}
@media (min-width: 640px) {
  .csrd-read-band__text {
    font-size: 1.1875rem;
    line-height: 1.7;
  }
}
.csrd-read-band__highlight {
  color: #2f6f64;
  font-weight: 700;
}
/* Comparison footer — standalone outcome cards (no outer panel) */
.csrd-outcome-block {
  margin-top: 3rem;
}
.csrd-outcome-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .csrd-outcome-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.csrd-outcome-point {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  overflow: hidden;
  padding: 1rem 1.125rem 1rem 1.375rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  box-shadow: 0 8px 30px rgba(47, 111, 100, 0.05);
  text-align: left;
}
.csrd-outcome-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fab430;
}
@media (min-width: 768px) {
  .csrd-outcome-point {
    padding: 1.125rem 1.25rem 1.125rem 1.5rem;
  }
}
.csrd-outcome-point__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #d4ebe4 0%, #eaf5f1 100%);
  color: #2f6f64;
}
.csrd-outcome-point__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: #343f52;
}
@media (min-width: 768px) {
  .csrd-outcome-point__text {
    font-size: 1rem;
  }
}
.csrd-outcome-point__emph {
  font-weight: 700;
  color: #407775;
}
.csrd-outcome-tagline {
  margin: 1.75rem auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #5c6c6a;
  font-weight: 500;
}
@media (min-width: 640px) {
  .csrd-outcome-tagline {
    margin-top: 2rem;
    font-size: 1.2rem;
  }
}
.csrd-outcome-brand {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  color: #407775;
}
.csrd-outcome-keyword {
  font-weight: 600;
  color: #2f6f64;
}
.csrd-benefits-showcase {
  background: #ffffff;
  border-color: #e2e8e6;
}
.csrd-section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .csrd-section-lead {
    font-size: 1.0625rem;
  }
}

/* Hero — ecoGRID gold-to-teal gradient */
.csrd-hero-ecogrid {
  background: linear-gradient(148deg, rgba(249, 212, 35, 0.1) 21.64%, rgba(249, 212, 35, 0.5) 57.84%, rgba(111, 134, 100, 0.8) 87.68%, #407775 115.33%);
}
.csrd-trust-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.csrd-trust-pill--light {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #343f52;
  backdrop-filter: blur(6px);
}
.csrd-hero-visual {
  min-width: 0;
}
.csrd-hero-media img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.csrd-hero-media {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Phase / Omnibus briefing — ecoPRISM dark teal + gold */
.csrd-phase {
  background: linear-gradient(168deg, #050d0c 0%, #0f2422 38%, #122a28 68%, #1a3d3a 100%);
}
.csrd-phase-glow {
  background: radial-gradient(ellipse 55% 45% at 50% 35%, rgba(61, 220, 151, 0.1) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 50% 80%, rgba(244, 185, 64, 0.08) 0%, transparent 50%);
}
.csrd-phase-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 189, 184, 0.45), rgba(244, 185, 64, 0.35), transparent);
}
.csrd-phase-lead {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.015em;
  text-shadow: 0 2px 28px rgba(244, 185, 64, 0.12);
}
@media (min-width: 640px) {
  .csrd-phase-lead {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}
@media (min-width: 1024px) {
  .csrd-phase-lead {
    font-size: 1.375rem;
    line-height: 1.55;
    text-wrap: pretty;
  }
}
.csrd-phase-tagline {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  color: #ffffff;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .csrd-phase-tagline {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .csrd-phase-tagline {
    font-size: 1.1875rem;
  }
}
.csrd-phase-cards {
  width: 100%;
}
@media (min-width: 640px) {
  .csrd-phase-cards {
    max-width: 36rem;
  }
}
.csrd-metric-ring--compact {
  max-width: 17.5rem;
}
.csrd-metric-ring {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.csrd-metric-ring:hover {
  border-color: rgba(244, 185, 64, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .csrd-metric-ring:hover {
    transform: none;
  }
}

/* Cost of non-compliance — mint band after dark phase */
.csrd-risk-section {
  background-color: #f3f8f2;
}
.csrd-risk-img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.csrd-risk-wrap:hover .csrd-risk-img {
  transform: scale(1.04);
}
.csrd-risk-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.csrd-risk-step {
  position: relative;
  padding-left: 2.875rem;
  padding-bottom: 1.75rem;
}
@media (min-width: 640px) {
  .csrd-risk-step {
    padding-bottom: 2rem;
  }
}
.csrd-risk-step:last-child {
  padding-bottom: 0;
}
/* Vertical connector — spans from circle bottom to next item */
.csrd-risk-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(0.9375rem - 1px);
  top: 1.875rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #5a9e96 0%, #9dbdb8 55%, rgba(157, 189, 184, 0.45) 100%);
  border-radius: 1px;
}
.csrd-risk-step--light:not(:last-child)::after {
  background: linear-gradient(180deg, #407775 0%, #7eb5ae 50%, rgba(157, 189, 184, 0.5) 100%);
}
.csrd-risk-step h3 {
  margin: 0;
  padding-top: 0.2rem;
  line-height: 1.35;
}
@media (min-width: 640px) {
  .csrd-risk-step h3 {
    padding-top: 0.3rem;
  }
}
.csrd-risk-marker {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 9999px;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  background: #407775;
  box-shadow:
    0 0 0 2px rgba(64, 119, 117, 0.16),
    0 0 10px rgba(61, 220, 151, 0.22);
}
@media (min-width: 640px) {
  .csrd-risk-marker {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
  .csrd-risk-step {
    padding-left: 3rem;
  }
  .csrd-risk-step:not(:last-child)::after {
    left: calc(1rem - 1px);
    top: 2rem;
  }
}
.csrd-risk-marker--light {
  color: #ffffff;
  background: #407775;
  border: 2px solid #d4ebe4;
  box-shadow:
    0 0 0 3px rgba(212, 235, 228, 0.95),
    0 2px 8px rgba(64, 119, 117, 0.22);
}
.csrd-risk-step--light h3 {
  color: #343f52;
  font-size: 1rem;
  line-height: 1.4;
}
@media (min-width: 640px) {
  .csrd-risk-step--light h3 {
    font-size: 1.125rem;
  }
}

/* Benefits section */
.csrd-benefits-section {
  border-bottom: 1px solid rgba(226, 232, 230, 0.9);
}
.csrd-grid-texture {
  background-image: linear-gradient(rgba(64, 119, 117, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(64, 119, 117, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.csrd-glass-benefit {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 245, 0.75) 100%);
  border: 1px solid rgba(226, 232, 230, 0.9);
  backdrop-filter: blur(8px);
}
.csrd-hover-lift {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.csrd-hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(47, 111, 100, 0.12);
  border-color: rgba(64, 119, 117, 0.25);
}

/* Showcase */
.csrd-showcase-bg {
  background: linear-gradient(180deg, #fafbfa 0%, #eef4f1 55%, #e8f0ec 100%);
}
.csrd-showcase-frame {
  box-shadow:
    0 32px 80px rgba(15, 36, 34, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* Key benefits — four-card row */
.csrd-benefits-dots {
  background-image: radial-gradient(#d1ddd8 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}
.csrd-benefit-card {
  min-height: 100%;
}
.csrd-benefit-icon img {
  object-fit: contain;
}

/* Workflow */
.csrd-workflow-line {
  position: absolute;
  top: 1.75rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #9dbdb8 0%, #407775 50%, #9dbdb8 100%);
  opacity: 0.45;
}
.csrd-workflow-line--three {
  left: 18%;
  right: 18%;
}
@media (max-width: 1023px) {
  .csrd-workflow-line {
    display: none;
  }
}
.csrd-step-badge {
  font-family: Poppins, sans-serif;
  border: 3px solid #eef4f1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.csrd-step-badge--soft {
  background: #d4ebe4;
  color: #407775;
}
.csrd-step-badge--active {
  background: #407775;
  border-color: #d4ebe4;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
/* Comparison table */
.csrd-table-scroll {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
  .csrd-table-scroll {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
.csrd-table-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8e6;
  box-shadow: 0 20px 50px rgba(47, 111, 100, 0.08);
}
.csrd-table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.csrd-table tbody tr {
  transition: background 0.2s ease;
}
.csrd-table tbody tr:hover {
  background: rgba(212, 235, 228, 0.35);
}
.csrd-table tbody tr.csrd-table-highlight {
  background: linear-gradient(90deg, rgba(212, 235, 228, 0.55) 0%, rgba(244, 247, 245, 0.9) 100%);
}
.csrd-table tbody tr.csrd-table-highlight:hover {
  background: linear-gradient(90deg, rgba(196, 228, 218, 0.7) 0%, rgba(234, 245, 241, 1) 100%);
}

/* Hassle section */
.csrd-hassle-mask {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
@media (max-width: 1023px) {
  .csrd-hassle-mask {
    clip-path: none;
  }
}

/* Resources */
.csrd-resources-main {
  min-width: 0;
}
@media (max-width: 1023px) {
  .csrd-resources-sidebar {
    position: static !important;
  }
}
.csrd-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .csrd-resource-grid {
    gap: 1.5rem;
  }
}
@media (max-width: 479px) {
  .csrd-resource-grid {
    grid-template-columns: 1fr;
  }
}
.csrd-resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8e6;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}
.csrd-resource-card:hover {
  border-color: #c5ddd8;
  box-shadow: 0 12px 32px rgba(47, 111, 100, 0.1);
}
.csrd-resource-card-hit {
  color: inherit;
  text-decoration: none;
}
.csrd-resource-media {
  position: relative;
  overflow: hidden;
  background: #eef4f1;
}
/* Thumbnail cards — same as California slider */
.csrd-resource-media--thumb {
  aspect-ratio: 16 / 9;
}
@media (min-width: 640px) {
  .csrd-resource-media--thumb {
    aspect-ratio: 2 / 1;
  }
}
.csrd-resource-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.csrd-resource-card:hover .csrd-resource-img {
  transform: scale(1.04);
}
.csrd-resource-body {
  padding: 1.25rem 1.5rem;
}
.csrd-resource-body--compact {
  padding: 1rem 1.25rem 1.25rem;
}
.csrd-resource-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #407775;
}
.csrd-resource-meta {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #7a8a88;
}
.csrd-resource-body--compact .csrd-resource-meta {
  margin-top: 0.5rem;
}
.csrd-resource-author {
  font-weight: 600;
  color: #407775;
  text-decoration: none;
  transition: color 0.2s ease;
}
.csrd-resource-author:hover {
  color: #2f6f64;
  text-decoration: underline;
}
.csrd-resources-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(64, 119, 117, 0.45) transparent;
}
.csrd-resources-track::-webkit-scrollbar {
  height: 6px;
}
.csrd-resources-track::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: rgba(64, 119, 117, 0.45);
}
.csrd-resource-slide {
  flex: 0 0 auto;
  width: min(85vw, 300px);
  scroll-snap-align: start;
  text-decoration: none;
}
@media (min-width: 640px) {
  .csrd-resource-slide {
    width: 320px;
  }
}
.csrd-resource-slide-media {
  display: block;
  height: 180px;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid #e2e8e6;
  background: #fff;
  box-shadow: 0 8px 30px rgba(47, 111, 100, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.csrd-resource-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.csrd-resource-slide:hover .csrd-resource-slide-media {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(64, 119, 117, 0.14);
}
.csrd-resource-slide:hover .csrd-resource-slide-media img {
  transform: scale(1.04);
}
.csrd-resources-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(64, 119, 117, 0.25);
  background: #fff;
  color: #407775;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
}
.csrd-resources-nav:hover:not(:disabled) {
  background: #f3f8f2;
  border-color: rgba(64, 119, 117, 0.45);
}
.csrd-resources-nav:disabled {
  opacity: 1;
  cursor: not-allowed;
  border-color: #d0d0d0;
  background: #f0f0f0;
  color: #999999;
}
.csrd-resources-nav:hover {
  background: #f3f8f2;
  border-color: rgba(64, 119, 117, 0.45);
}

/* Enterprise trust */
.csrd-trust-dark {
  background: linear-gradient(180deg, #0f2422 0%, #1a3d3a 100%);
}
.csrd-logo-placeholder {
  filter: grayscale(1) brightness(1.4);
  opacity: 0.55;
}

.csrd-btn-insights {
  background: #407775;
  color: #fff;
  box-shadow: 0 4px 14px rgba(64, 119, 117, 0.28);
}
.csrd-btn-insights:hover {
  background: #356862;
  box-shadow: 0 10px 28px rgba(64, 119, 117, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .csrd-risk-wrap:hover .csrd-risk-img,
  .csrd-resource-card:hover .csrd-resource-img,
  .csrd-resource-card-hit:hover .csrd-resource-img {
    transform: none;
  }
  .csrd-hover-lift:hover {
    transform: none;
  }
}
