/* About page */

.about-page main {
  padding-bottom: 0;
}

/* Hero */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(134, 239, 172, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(253, 224, 171, 0.22) 0%, transparent 38%),
    linear-gradient(180deg, #f3faf5 0%, #e6f2ea 55%, #f8faf9 100%);
  z-index: 0;
}

.about-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Ccircle cx='600' cy='200' r='120' fill='none' stroke='rgba(34,120,80,0.07)' stroke-width='2'/%3E%3Ccircle cx='600' cy='200' r='200' fill='none' stroke='rgba(34,120,80,0.05)' stroke-width='1.5'/%3E%3Ccircle cx='600' cy='200' r='280' fill='none' stroke='rgba(34,120,80,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  opacity: 0.9;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.about-hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-hero-lead {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Infrastructure */
.about-infra {
  padding: 64px 0;
  text-align: center;
}

.about-infra > .container > .section-title {
  margin-bottom: 48px;
}

.about-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.about-infra-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

.about-infra-copy p + p {
  margin-top: 1.25rem;
}

.about-wallet-mock {
  padding: 24px;
  border-radius: var(--radius-lg);
  min-height: 300px;
}

/* Partners */
.about-partners {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #e8f0fe 0%, #f8fafc 45%, #ffffff 100%);
}

.about-partners h2 {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-strong, #18181b);
  letter-spacing: -0.02em;
}

.partners-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.partner-tile {
  flex: 0 1 228px;
  width: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 22px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-tile:hover,
a.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

a.partner-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.partner-tile:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 4px;
}

.partner-tile__logo {
  width: 100%;
  max-width: 196px;
  height: 96px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
}

.partner-tile__logo img {
  width: 100%;
  height: 100%;
  max-width: 196px;
  max-height: 96px;
  display: block;
  object-fit: contain;
}

.partner-tile__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-strong, #18181b);
  line-height: 1.45;
}

.partner-tile:nth-child(1) .partner-tile__name,
.partner-tile:nth-child(2) .partner-tile__name {
  max-width: 11rem;
}

/* Profiles */
.about-team {
  padding: 72px 0;
}

.profile-block {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(45, 42, 38, 0.08);
}

.profile-block:last-child {
  border-bottom: none;
}

.profile-block h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
}

.profile-role {
  margin: 0 0 16px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--brand);
}

.profile-block p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-sm);
}

.profile-photo {
  width: 200px;
  height: 240px;
  border-radius: 18px;
  background: #f1f5f9;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Company table */
.about-company {
  padding: 72px 0 80px;
}

.company-table-wrap {
  max-width: 720px;
  margin: 32px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(45, 42, 38, 0.06);
}

.company-table th {
  width: 28%;
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.5);
}

.company-table td {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.35);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .about-infra-grid,
  .profile-block {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .partner-tile {
    flex: 0 1 calc(50% - 16px);
    width: auto;
    max-width: 220px;
  }
}
