:root {
  --water-900: #090D18;
  --water-800: #2b3b55;
  --water-700: #374b6d;
  --water-600: #415981;
  --water-500: #5b749d;
  --water-400: #7b94bd;
  --water-300: #9dafcd;
  --water-200: #bfcbdf;
  --water-100: #dae1ec;
  --grass: #1be3c2;
  --sky: #7ab7ff;
  --warning: #efb54b;
  --error: #dd5453;
  --sea-400: #83b0ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.sub-page-body {
  margin: 0;
  background-color: var(--water-900);
  color: var(--water-200);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  min-height: 100vh;
}

.sub-page-body a {
  color: inherit;
  text-decoration: none;
}

/* ── Nav ── */

.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  height: 3.5rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background-image: linear-gradient(
    120.86deg,
    rgba(217, 246, 250, 0.05) 14.03%,
    rgba(218, 227, 248, 0.05) 57.91%,
    rgba(185, 228, 255, 0.05) 100%
  );
  backdrop-filter: blur(50px);
  border-bottom: 1px solid rgba(55, 75, 109, 0.6);
}

.sp-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.sp-nav__logo img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  display: block;
}

.sp-nav__site-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.sp-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 2.5rem;
}

.sp-nav__link {
  color: var(--water-300);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
}

.sp-nav__link:hover {
  color: #fff;
}

.sp-nav__link--active {
  color: #fff;
  font-weight: 600;
}

.sp-nav__spacer {
  flex-grow: 1;
}

/* ── Layout wrapper ── */

.sp-main {
  padding-top: 3.5rem;
  min-height: 100vh;
}

.sp-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

@media (min-width: 640px) {
  .sp-container {
    padding: 3.5rem 2rem 6rem;
  }
}

@media (min-width: 1024px) {
  .sp-container {
    padding: 4rem 2.5rem 7rem;
  }
}

/* ── Page heading ── */

.sp-page-header {
  margin-bottom: 2.5rem;
}

.sp-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.625rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .sp-page-title {
    font-size: 2rem;
  }
}

.sp-page-subtitle {
  color: var(--water-300);
  font-size: 0.9375rem;
  margin: 0;
  max-width: 560px;
}

/* ── Breadcrumb ── */

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--water-500);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.sp-breadcrumb a {
  color: var(--water-400);
  text-decoration: none;
  transition: color 0.15s;
}

.sp-breadcrumb a:hover {
  color: var(--sky);
}

.sp-breadcrumb__sep {
  color: var(--water-700);
}

.sp-breadcrumb__current {
  color: var(--water-300);
}

/* ── Divider ── */

.sp-divider {
  border: none;
  border-top: 1px solid rgba(55, 75, 109, 0.5);
  margin: 2rem 0;
}

/* ── Support Q&A accordion ── */

.sp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-faq-item {
  background-color: rgba(191, 203, 223, 0.05);
  border: 1px solid rgba(55, 75, 109, 0.7);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.15s, background-color 0.15s;
}

.sp-faq-item:hover {
  border-color: rgba(91, 116, 157, 0.9);
  background-color: rgba(191, 203, 223, 0.07);
}

.sp-faq-item.is-open {
  border-color: rgba(122, 183, 255, 0.45);
  background-color: rgba(122, 183, 255, 0.05);
}

.sp-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.4;
  transition: color 0.15s;
}

.sp-faq-question:hover {
  color: var(--sky);
}

.sp-faq-item.is-open .sp-faq-question {
  color: var(--sky);
}

.sp-faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(55, 75, 109, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, transform 0.25s;
  color: var(--water-300);
}

.sp-faq-item.is-open .sp-faq-icon {
  background-color: rgba(122, 183, 255, 0.2);
  color: var(--sky);
  transform: rotate(180deg);
}

.sp-faq-icon svg {
  display: block;
}

.sp-faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--water-300);
  font-size: 0.875rem;
  line-height: 1.7;
}

.sp-faq-item.is-open .sp-faq-answer {
  display: block;
}

.sp-faq-answer p {
  margin: 0 0 0.75rem;
}

.sp-faq-answer p:last-child {
  margin-bottom: 0;
}

.sp-faq-answer a {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: rgba(122, 183, 255, 0.4);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.sp-faq-answer a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ── Team page sections ── */

.sp-section {
  margin-bottom: 3rem;
}

.sp-section:last-of-type {
  margin-bottom: 0;
}

.sp-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.125rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(55, 75, 109, 0.6);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .sp-section-title {
    font-size: 1.375rem;
  }
}

.sp-section-body {
  color: var(--water-300);
  font-size: 0.9rem;
  line-height: 1.75;
}

.sp-section-body p {
  margin: 0 0 0.875rem;
}

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

.sp-section-body a {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: rgba(122, 183, 255, 0.35);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.sp-section-body a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* ── Team member cards ── */

.sp-team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 480px) {
  .sp-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .sp-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sp-team-card {
  background-color: rgba(191, 203, 223, 0.06);
  border: 1px solid rgba(55, 75, 109, 0.7);
  border-radius: 0.875rem;
  padding: 1.375rem 1.25rem;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.sp-team-card:hover {
  border-color: rgba(122, 183, 255, 0.4);
  background-color: rgba(122, 183, 255, 0.05);
  transform: translateY(-2px);
}

.sp-team-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(71, 113, 181, 0.6), rgba(126, 216, 201, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
  border: 1px solid rgba(122, 183, 255, 0.25);
}

.sp-team-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.sp-team-card__role {
  font-size: 0.75rem;
  color: var(--grass);
  font-weight: 600;
  margin: 0 0 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-team-card__bio {
  font-size: 0.8125rem;
  color: var(--water-400);
  line-height: 1.6;
  margin: 0;
}

/* ── Stat / number blocks ── */

.sp-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .sp-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sp-stat-card {
  background-color: rgba(191, 203, 223, 0.05);
  border: 1px solid rgba(55, 75, 109, 0.6);
  border-radius: 0.875rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.sp-stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1.2;
  margin-bottom: 0.375rem;
}

.sp-stat-card__label {
  font-size: 0.75rem;
  color: var(--water-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── Info / highlight box ── */

.sp-info-box {
  background: linear-gradient(94deg, rgba(71, 113, 181, 0.12) 7.35%, rgba(126, 216, 201, 0.12));
  border: 1px solid rgba(122, 183, 255, 0.3);
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
  margin: 1.5rem 0;
  color: var(--water-200);
  font-size: 0.875rem;
  line-height: 1.7;
}

.sp-info-box strong {
  color: var(--sky);
}

/* ── Pill / badge ── */

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: rgba(27, 227, 194, 0.12);
  color: var(--grass);
  border: 1px solid rgba(27, 227, 194, 0.3);
}

.sp-badge--sky {
  background-color: rgba(122, 183, 255, 0.12);
  color: var(--sky);
  border-color: rgba(122, 183, 255, 0.3);
}

.sp-badge--warning {
  background-color: rgba(239, 181, 75, 0.12);
  color: var(--warning);
  border-color: rgba(239, 181, 75, 0.3);
}

/* ── Feature list ── */

.sp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sp-feature-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.sp-feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(27, 227, 194, 0.12);
  border: 1px solid rgba(27, 227, 194, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grass);
  margin-top: 0.1rem;
}

.sp-feature-icon svg {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
}

.sp-feature-text__title {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.sp-feature-text__desc {
  color: var(--water-300);
  font-size: 0.8125rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Back / home button ── */

.sp-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(91, 116, 157, 0.8);
  background-color: rgba(191, 203, 223, 0.07);
  color: var(--water-200);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
  font-family: inherit;
}

.sp-home-btn:hover {
  background-color: rgba(122, 183, 255, 0.1);
  border-color: rgba(122, 183, 255, 0.6);
  color: #fff;
}

.sp-home-btn svg {
  display: block;
  flex-shrink: 0;
}

.sp-bottom-actions {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(55, 75, 109, 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Internal link inline ── */

.sp-link {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: rgba(122, 183, 255, 0.35);
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.sp-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* ── Footer ── */

.sp-footer {
  border-top: 1px solid rgba(55, 75, 109, 0.45);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--water-500);
  font-size: 0.75rem;
  line-height: 1.7;
}

.sp-footer a {
  color: var(--water-400);
  text-decoration: none;
  transition: color 0.15s;
}

.sp-footer a:hover {
  color: var(--sky);
}

.sp-footer__links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.875rem;
}

.sp-footer__copy {
  margin: 0;
}

/* ── Glow accents (ambient) ── */

.sp-glow-top {
  position: fixed;
  pointer-events: none;
  top: -10%;
  left: -10%;
  width: 45vw;
  height: 45vh;
  border-radius: 50%;
  background: #7ab7ff;
  filter: blur(80px);
  opacity: 0.06;
  mix-blend-mode: screen;
  z-index: 0;
}

.sp-glow-right {
  position: fixed;
  pointer-events: none;
  top: 40%;
  right: -8%;
  width: 35vw;
  height: 40vh;
  border-radius: 50%;
  background: #1be3c2;
  filter: blur(90px);
  opacity: 0.05;
  mix-blend-mode: screen;
  z-index: 0;
}

.sp-content-wrap {
  position: relative;
  z-index: 1;
}

/* ── Responsive nav collapse ── */

@media (max-width: 639px) {
  .sp-nav__links {
    display: none;
  }
}

/* ── Accordion JS toggle support ── */

.sp-faq-answer[hidden] {
  display: none;
}

.sp-faq-answer:not([hidden]) {
  display: block;
}