.about-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.75rem;
  align-items: start;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #2f2f2f;
  background: #111111;
  color: #d6d6d6;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.about-hero-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(140deg, rgba(124, 112, 255, 0.18), #141414 70%);
  border: 1px solid #3a3a3a;
}

.about-hero-list {
  padding-left: 1.1rem;
}

.about-services {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-service-grid {
  gap: 1.25rem;
}

.about-service-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-engagement {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.contact-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-card-body {
  margin: 0;
  color: #bbbbbb;
  line-height: 1.6;
}

.contact-email-link {
  color: #9cb0ff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.contact-email-link:hover,
.contact-email-link:focus {
  text-decoration: underline;
  color: #c7d1ff;
}

.contact-topics {
  margin: 0;
}

.contact-key-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.contact-key-panel textarea {
  width: 100%;
  min-height: 200px;
  color: #d6d6d6;
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 1rem;
  font-family: "SFMono-Regular", SFMono, ui-monospace, Menlo, Monaco, "Courier New", monospace;
  font-size: 0.9rem;
  resize: vertical;
}

.contact-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  order: 3;
  margin-top: auto;
}

.contact-key-button,
.contact-key-button:link,
.contact-key-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #5757ff;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-key-button:hover,
.contact-key-button:focus-visible {
  background: rgba(87, 87, 255, 0.15);
}

.contact-key-button:active {
  transform: translate(2px, 2px);
}

.contact-key-status {
  margin: 0;
  font-size: 0.875rem;
  color: #a3a3a3;
  order: 2;
}

.contact-key-status.is-error {
  color: #ff8585;
}

.privacy-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 799px) {
  .about-page {
    gap: 2rem;
  }

  .about-service-grid {
    gap: 1rem;
  }
}
