.hero {
  padding: 88px 0 70px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  max-width: 760px;
}

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

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

.trust-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  padding: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(11, 18, 32, 0.05);
}

.trust-item span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  background: #f3f6ff;
  color: var(--accent-2);
}

.module-card,
.blog-card,
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover,
.blog-card:hover,
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(11, 18, 32, 0.12);
  border-color: rgba(31, 111, 235, 0.25);
}

.home-page .module-card h3 {
  margin-bottom: 2px;
}

.home-page .module-card p {
  margin-bottom: 0;
}

.chart-preview {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.chart-preview--clean {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: block;
}

.topic-article {
  max-width: 980px;
}

.topic-article .topic-lead {
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

.topic-article .card.section {
  margin-top: 18px;
}

.topic-article h2 {
  margin-bottom: 10px;
}

.topic-article p + p {
  margin-top: 0.72rem;
}

.glossary-card .accordion-trigger {
  width: 100%;
}

.preview-lab {
  align-items: center;
}

.calc-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.calc-form {
  margin-top: 14px;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: start;
}

.calc-grid > div {
  display: flex;
  flex-direction: column;
}

.calc-grid label {
  min-height: 50px;
  margin-bottom: 8px;
}

.calc-form .btn {
  margin-top: 14px;
}

.calc-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-metric {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
}

.calc-metric span {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.calc-metric strong {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: 1.08rem;
  color: #0f172a;
}

.preview-graphic-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-graphic-wrap .chart-preview {
  width: min(180%, 860px);
  max-width: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-panel {
  height: 0;
  overflow: hidden;
}

.faq-panel-inner {
  padding: 0 16px 16px;
}

.progress-wrap {
  background: #eef2f9;
  border-radius: 999px;
  height: 10px;
}

.progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff9c5f);
  height: 100%;
  width: 0;
  transition: width 0.3s ease;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topics-map-image {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 8px auto 16px;
  border-radius: 16px;
  height: auto;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

.pill.active {
  background: #ffe8d7;
  color: #6a3900;
  border-color: #ffcfb2;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  padding: 12px 14px;
  color: var(--text);
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.small-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.toc {
  position: sticky;
  top: 100px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 8px;
}

.callout {
  border-left: 4px solid var(--accent-2);
  background: #f2f7ff;
  border-radius: 10px;
  padding: 16px;
}

.accordion-content[hidden] {
  display: none;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .calc-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-grid label {
    min-height: 0;
  }

  .preview-graphic-wrap .chart-preview {
    width: min(100%, 470px);
    max-width: 100%;
  }

  .toc {
    position: static;
  }
}
