.essential-features-page {
  background: #ffffff;
}

.essential-features-page .hero {
  background: var(--local-gradient);
}

.essential-features-page .hero-text h1 {
  text-transform: none;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.article-content {
  max-width: 860px;
}

.article-content a {
  color: var(--accent-color);
  font-weight: 600;
  text-underline-offset: 0.14em;
}

.article-content p,
.article-content li {
  color: #263b3a;
}

.article-intro {
  font-size: 1.12rem;
  line-height: 1.75;
}

.statement-card {
  margin: 28px 0;
  padding: 26px;
  border-left: 6px solid var(--accent-color);
  border-radius: 8px;
  background: #f1fbf8;
  box-shadow: 0 14px 34px rgba(0, 102, 102, 0.1);
}

.statement-card p {
  margin: 0;
  color: #083f3d;
  font-size: 1.35rem;
  font-weight: 700;
}

.connected-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.connected-list li {
  padding: 12px 14px;
  border: 1px solid #dcebea;
  border-radius: 8px;
  background: #ffffff;
}

.article-sidebar {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid #dfe9e7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 102, 102, 0.1);
}

.article-sidebar h2 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.article-sidebar ol {
  margin: 0;
  padding-left: 20px;
}

.article-sidebar li {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.article-sidebar a {
  color: #143b3a;
  text-decoration: none;
}

.article-sidebar a:hover,
.article-sidebar a:focus {
  color: var(--accent-color);
  text-decoration: underline;
}

.feature-section {
  margin: 36px 0;
  padding: 26px;
  border: 1px solid #e4eceb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 102, 102, 0.08);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-section h2 {
  font-size: 1.65rem;
}

.feature-example {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #f6fbfa;
  color: #143b3a;
}

.feature-example strong {
  color: #062f2d;
}

.article-band {
  padding: 42px 0;
  background: #f5faf9;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.need-card,
.recommendation-card {
  padding: 20px;
  border: 1px solid #dfe9e7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 102, 102, 0.08);
}

.recommendation-card {
  display: grid;
  grid-template-rows: 76px 142px auto;
  min-height: 300px;
}

.recommendation-card-header {
  margin: -20px -20px 16px;
  padding: 14px 18px;
  border-radius: 8px 8px 0 0;
  background: var(--accent-color);
  display: flex;
  align-items: center;
}

.need-card h3,
.recommendation-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.recommendation-card-header h3 {
  margin: 0;
  color: #ffffff;
  line-height: 1.25;
}

.assessment-panel {
  padding: 30px;
  border-radius: 8px;
  background: #062f2d;
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.assessment-panel h2,
.assessment-panel h3,
.assessment-panel p {
  color: #ffffff;
}

.assessment-panel .statement-card p {
  color: #083f3d;
  text-align: center;
}

.assessment-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.assessment-progress {
  flex: 0 0 180px;
  text-align: right;
  color: #c6ffef;
  font-weight: 700;
}

.progress-track {
  overflow: hidden;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-bar {
  width: 8.333%;
  height: 100%;
  border-radius: inherit;
  background: #6fffe6;
  transition: width 180ms ease;
}

.question-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.question-card legend {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.answer-option input {
  position: absolute;
  opacity: 0;
}

.answer-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.answer-option input:checked + span,
.answer-option input:focus-visible + span {
  border-color: #6fffe6;
  background: #ffffff;
  color: #062f2d;
}

.assessment-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.assessment-controls .button {
  min-width: 130px;
}

.assessment-results {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.recommendation-card p {
  color: #263b3a;
}

.recommendation-card p:not(.reason) {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.recommendation-card .reason {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #dfe9e7;
  color: #0d4b48;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: #4d6260;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 960px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .feature-section,
  .assessment-panel {
    padding: 22px;
  }

  .assessment-header {
    flex-direction: column;
  }

  .assessment-progress {
    width: 100%;
    flex-basis: auto;
    text-align: left;
  }

  .assessment-controls {
    flex-direction: column;
  }

  .assessment-controls .button,
  .cta-row .button {
    width: 100%;
  }
}
