/* Why 19Cabs exists hub */

.why-exists__intro {
  max-width: 42rem;
  margin-inline: auto;
}

.why-exists__answer {
  max-width: min(52rem, 100%);
  margin: 2rem auto 2.5rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: calc(var(--radius, 16px) + 2px);
  border: 1px solid var(--border-bright, rgba(255, 255, 255, 0.1));
}

.why-exists__answer h2 {
  margin: 0 0 0.75rem;
}

.why-exists__answer p {
  margin: 0 0 0.85rem;
  color: var(--text-2, #9ca3af);
  line-height: 1.6;
}

.why-exists__answer p:last-of-type {
  margin-bottom: 0;
}

.why-exists__figure {
  margin: 1.15rem 0 0;
}

.why-exists__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius, 16px) - 2px);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: #fff;
}

.why-exists__figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-2, #9ca3af);
}

.why-exists__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem !important;
}

[data-theme="light"] .why-exists__figure img {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .why-exists__figure figcaption {
  color: var(--text-2, #4b5563);
}

.why-exists__stories {
  max-width: 960px;
  margin-inline: auto;
}

.why-exists__stories > .h3 {
  margin: 0 0 0.5rem;
}

.why-exists__stories-lead {
  margin: 0 0 1.25rem;
  color: var(--text-2, #9ca3af);
}

.why-exists__grid {
  margin-top: 0;
}

[data-theme="light"] .why-exists__answer p,
[data-theme="light"] .why-exists__stories-lead {
  color: var(--text-2, #4b5563);
}

.why-exists__ai {
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
}

.why-exists__ai > .h3 {
  margin: 0 0 0.5rem;
}

.why-exists__ai-points {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text-2, #9ca3af);
}

.why-exists__ai-points a {
  text-decoration: underline;
}

[data-theme="light"] .why-exists__ai {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .why-exists__ai-points {
  color: var(--text-2, #4b5563);
}
