/* additional_styles.css — for /help/ and /team/ pages only */

@font-face {
  font-family: Basel;
  font-weight: 535;
  font-style: normal;
  font-display: block;
  src: url("Basel-Grotesk-Medium.woff2") format("woff2"), url("Basel-Grotesk-Medium.woff") format("woff");
}

@font-face {
  font-family: Basel;
  font-weight: 485;
  font-style: normal;
  font-display: block;
  src: url("Basel-Grotesk-Book.woff2") format("woff2"), url("Basel-Grotesk-Book.woff") format("woff");
}

/* ── Page base ── */

.page-help,
.page-team {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 16px;
  line-height: 24px;
  color: #222222;
  background: radial-gradient(50% 50%, rgba(136, 120, 195, 0.1) 0%, rgba(255, 255, 255, 0) 100%) 0px -30vh no-repeat transparent;
  background-color: rgb(247, 248, 250);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.page-help *,
.page-team * {
  box-sizing: border-box;
}

/* ── Top nav bar ── */

.sub-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(34, 34, 34, 0.07);
}

.sub-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.sub-nav__logo-text {
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 20px;
  color: #222222;
  letter-spacing: -0.02em;
}

.sub-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sub-nav__link {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 16px;
  line-height: 24px;
  color: #7d7d7d;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 14px;
  transition: background 125ms, color 125ms;
}

.sub-nav__link:hover {
  background: rgba(34, 34, 34, 0.07);
  color: #222222;
}

.sub-nav__link--active {
  color: #8878c3;
}

.sub-nav__link--active:hover {
  color: #8878c3;
}

/* ── Page wrapper ── */

.sub-page-wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ── Page heading area ── */

.sub-page-header {
  margin-bottom: 48px;
}

.sub-page-header h1 {
  font-family: Basel, sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 60px;
  letter-spacing: -0.02em;
  color: #222222;
  margin: 0 0 16px;
  padding: 0;
}

.sub-page-header .sub-page-subtitle {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 18px;
  line-height: 28px;
  color: #7d7d7d;
  margin: 0;
  max-width: 640px;
}

/* ── Inline text links ── */

.inline-link {
  color: #8878c3;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 125ms;
}

.inline-link:hover {
  opacity: 0.6;
}

.inline-link:active {
  opacity: 0.4;
}

/* ── Help page Q&A ── */

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}

.qa-item {
  background-color: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 20px;
  padding: 28px 32px;
  transition: box-shadow 125ms;
}

.qa-item:hover {
  box-shadow: 0px 4px 16px rgba(136, 120, 195, 0.12);
}

.qa-item__question {
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 18px;
  line-height: 28px;
  color: #222222;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qa-item__question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #e3dff3;
  color: #8878c3;
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}

.qa-item__answer {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 16px;
  line-height: 26px;
  color: #505050;
  margin: 0;
  padding-left: 40px;
}

.qa-item__answer a {
  color: #8878c3;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 125ms;
}

.qa-item__answer a:hover {
  opacity: 0.6;
}

/* ── Team page sections ── */

.team-section {
  margin-bottom: 64px;
}

.team-section h2 {
  font-family: Basel, sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #222222;
  margin: 0 0 24px;
  padding: 0;
}

.team-section p {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 17px;
  line-height: 28px;
  color: #505050;
  margin: 0 0 16px;
  max-width: 760px;
}

.team-section p:last-child {
  margin-bottom: 0;
}

/* ── Team member cards grid ── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
}

.team-card {
  background-color: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 125ms, transform 125ms;
}

.team-card:hover {
  box-shadow: 0px 8px 24px rgba(136, 120, 195, 0.13);
  transform: translateY(-2px);
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #e3dff3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-card__avatar-initials {
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 20px;
  color: #8878c3;
  text-transform: uppercase;
}

.team-card__name {
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 18px;
  line-height: 24px;
  color: #222222;
  letter-spacing: -0.01em;
  margin: 0;
}

.team-card__role {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 14px;
  line-height: 20px;
  color: #8878c3;
  margin: 0;
}

.team-card__bio {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 14px;
  line-height: 22px;
  color: #7d7d7d;
  margin: 4px 0 0;
}

/* ── Feature/value prop cards ── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1100px;
}

.value-card {
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-image: radial-gradient(rgba(125, 125, 125, 0.18) 0.5px, transparent 0px);
  background-size: 12px 12px;
  background-position: -8.5px -8.5px;
}

.value-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: #e3dff3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #8878c3;
}

.value-card__title {
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 17px;
  line-height: 24px;
  color: #222222;
  letter-spacing: -0.01em;
  margin: 0;
}

.value-card__desc {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 15px;
  line-height: 23px;
  color: #7d7d7d;
  margin: 0;
}

/* ── Stat bar (for team/numbers section) ── */

.stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.stat-item {
  background-color: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 20px;
  padding: 24px 32px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item__value {
  font-family: Basel, sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #222222;
}

.stat-item__label {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 14px;
  line-height: 20px;
  color: #7d7d7d;
}

/* ── CTA / return-home button ── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  background-color: #8878c3;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 125ms, opacity 125ms;
}

.btn-primary:hover {
  background-color: rgba(136, 120, 195, 0.85);
}

.btn-primary:active {
  opacity: 0.7;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Basel, sans-serif;
  font-weight: 535;
  font-size: 16px;
  line-height: 24px;
  color: #222222;
  background-color: #f9f9f9;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 24px;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 125ms;
}

.btn-secondary:hover {
  background-color: rgba(34, 34, 34, 0.07);
}

.btn-secondary:active {
  opacity: 0.7;
}

/* ── Bottom action row ── */

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(34, 34, 34, 0.07);
}

/* ── Breadcrumb ── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  font-family: Basel, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #7d7d7d;
}

.breadcrumb a {
  color: #8878c3;
  text-decoration: none;
  transition: opacity 125ms;
}

.breadcrumb a:hover {
  opacity: 0.6;
}

.breadcrumb__sep {
  color: #cecece;
  font-size: 12px;
}

/* ── Divider ── */

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(34, 34, 34, 0.07);
  margin: 48px 0;
  border: none;
}

/* ── Pill tag ── */

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: #e3dff3;
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 13px;
  line-height: 20px;
  color: #8878c3;
}

/* ── Highlight box ── */

.highlight-box {
  background-color: rgba(136, 120, 195, 0.06);
  border-left: 3px solid #8878c3;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 15px;
  line-height: 24px;
  color: #505050;
  max-width: 760px;
}

/* ── Footer strip ── */

.sub-footer {
  width: 100%;
  border-top: 1px solid rgba(34, 34, 34, 0.07);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sub-footer__copy {
  font-family: Basel, sans-serif;
  font-weight: 485;
  font-size: 14px;
  color: #7d7d7d;
}

.sub-footer__links {
  display: flex;
  gap: 16px;
}

.sub-footer__links a {
  font-family: Basel, sans-serif;
  font-size: 14px;
  color: #7d7d7d;
  text-decoration: none;
  transition: color 125ms;
}

.sub-footer__links a:hover {
  color: #8878c3;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .sub-page-wrapper {
    padding: 40px 32px 64px;
  }

  .sub-page-header h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .team-section h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .stat-item__value {
    font-size: 28px;
    line-height: 32px;
  }
}

@media (max-width: 768px) {
  .sub-nav {
    padding: 0 16px;
  }

  .sub-nav__links {
    gap: 0;
  }

  .sub-nav__link {
    padding: 6px 10px;
    font-size: 14px;
  }

  .sub-page-wrapper {
    padding: 32px 20px 56px;
  }

  .sub-page-header h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .sub-page-header .sub-page-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .qa-item {
    padding: 20px 20px;
  }

  .qa-item__answer {
    padding-left: 0;
  }

  .team-section h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .stat-bar {
    gap: 12px;
  }

  .stat-item {
    padding: 18px 20px;
    min-width: 130px;
  }

  .stat-item__value {
    font-size: 24px;
    line-height: 28px;
  }

  .sub-footer {
    padding: 20px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 468px) {
  .sub-page-header h1 {
    font-size: 26px;
    line-height: 32px;
  }

  .qa-item__question {
    font-size: 16px;
    line-height: 24px;
  }

  .qa-item__question::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .sub-nav__logo-text {
    font-size: 17px;
  }
}