/* ===== About page (ap-*) ===== */
.ap {
  position: relative;
  z-index: 1;
}

.ap-hero {
  position: relative;
  padding: calc(var(--total-chrome, 122px) + 36px) 0 56px;
  overflow: hidden;
}

.ap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 10% 30%, rgba(37, 99, 235, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 45% at 92% 12%, rgba(37, 99, 235, 0.08), transparent 55%);
  pointer-events: none;
}

.ap-crumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.ap-crumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ap-crumb a:hover {
  color: #e2e8f0;
}

.ap-crumb__sep {
  opacity: 0.5;
}

.ap-crumb [aria-current="page"] {
  color: #cbd5e1;
}

.ap-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.ap-tag {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.ap-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #f8fafc;
}

.ap-hero__desc {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #94a3b8;
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ap-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.ap-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 550;
  color: #94a3b8;
}

.ap-trust__item svg {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  flex-shrink: 0;
}

.ap-aside {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    rgba(8, 12, 22, 0.65);
}

.ap-aside__title {
  margin: 0;
  padding: 1.15rem 1.25rem 0.85rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.ap-aside__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
}

.ap-aside__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
}

.ap-aside__list svg {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  color: #93c5fd;
  flex-shrink: 0;
}

.ap-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
}

.ap-stats__item {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-stats__item:last-child {
  border-right: 0;
}

.ap-stats__value {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.ap-stats__label {
  font-size: 0.8rem;
  color: #64748b;
}

/* Shared section shell */
.ap-sec {
  padding: 72px 0 80px;
}

.ap-sec__head {
  max-width: 36rem;
  margin: 0 0 2.25rem;
}

.ap-sec__title {
  margin: 0;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f1f5f9;
}

/* Mission / vision */
.ap-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
}

.ap-mv__cell {
  padding: 1.6rem 1.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-mv__cell:last-child {
  border-right: 0;
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.08), transparent 70%);
}

.ap-mv__label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.ap-mv__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.ap-mv__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #94a3b8;
}

/* Values rail */
.ap-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
}

.ap-rail__cell {
  padding: 1.45rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.ap-rail__cell:last-child {
  border-right: 0;
}

.ap-rail__cell:hover {
  background: rgba(255, 255, 255, 0.025);
}

.ap-rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ap-rail__num {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: #475569;
}

.ap-rail__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.ap-rail__ico svg {
  width: 16px;
  height: 16px;
}

.ap-rail__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.ap-rail__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* Process */
.ap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.ap-track::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.35) 12%, rgba(96, 165, 250, 0.35) 88%, transparent);
  pointer-events: none;
}

.ap-step {
  position: relative;
  z-index: 1;
}

.ap-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: #bfdbfe;
  background: #0b1220;
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 0 0 6px rgba(8, 12, 22, 0.95);
}

.ap-step__body {
  padding: 1.15rem 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 12, 22, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ap-step:hover .ap-step__body {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(15, 23, 42, 0.72);
}

.ap-step__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
}

.ap-step__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* Tech */
.ap-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(8, 12, 22, 0.55);
}

.ap-tech__item {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

/* Metrics */
.ap-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
}

.ap-metrics__item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.ap-metrics__item:last-child {
  border-right: 0;
}

.ap-metrics__value {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.ap-metrics__label {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}

/* FAQ */
.ap-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}

.ap-faq__lead {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #94a3b8;
}

.ap-faq__list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
}

.ap-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-faq__item:last-child {
  border-bottom: 0;
}

.ap-faq__item[open] {
  background: rgba(255, 255, 255, 0.02);
}

.ap-faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 650;
  color: #f1f5f9;
}

.ap-faq__q::-webkit-details-marker {
  display: none;
}

.ap-faq__num {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: #475569;
}

.ap-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
  transition: transform 0.2s ease;
}

.ap-faq__icon svg {
  width: 13px;
  height: 13px;
}

.ap-faq__item[open] .ap-faq__icon {
  transform: rotate(45deg);
}

.ap-faq__a {
  margin: 0;
  padding: 0 1.2rem 1.15rem 3.35rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
}

/* CTA */
.ap-cta {
  margin: 0 0 88px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 55%),
    rgba(8, 12, 22, 0.65);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ap-cta__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f8fafc;
}

.ap-cta__desc {
  margin: 0;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #94a3b8;
}

.ap-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 960px) {
  .ap-hero__grid,
  .ap-faq,
  .ap-mv,
  .ap-track {
    grid-template-columns: 1fr;
  }

  .ap-mv__cell {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ap-mv__cell:last-child {
    border-bottom: 0;
  }

  .ap-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-rail__cell:nth-child(2n) {
    border-right: 0;
  }

  .ap-rail__cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ap-track::before {
    display: none;
  }

  .ap-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-metrics__item:nth-child(2n) {
    border-right: 0;
  }

  .ap-metrics__item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 560px) {
  .ap-hero {
    padding: calc(var(--total-chrome, 100px) + 24px) 0 40px;
  }

  .ap-sec {
    padding: 56px 0 64px;
  }

  .ap-stats,
  .ap-rail,
  .ap-metrics {
    grid-template-columns: 1fr;
  }

  .ap-stats__item,
  .ap-rail__cell,
  .ap-metrics__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ap-stats__item:last-child,
  .ap-rail__cell:last-child,
  .ap-metrics__item:last-child {
    border-bottom: 0;
  }

  .ap-rail__cell:nth-child(-n+2),
  .ap-metrics__item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ap-faq__a {
    padding: 0 1rem 1.1rem;
  }

  .ap-cta {
    margin-bottom: 64px;
    padding: 1.5rem 1.2rem;
  }
}
