/**
 * About page — Figma « BuyTryShare Website » (node 167-782).
 * Tokens aligned with compliance / platform pages.
 */

/* -------------------------------------------------------------------------- */
/* Page shell                                                                 */
/* -------------------------------------------------------------------------- */

body.bts-about-page {
  background: transparent;
}

body.bts-about-page .page-shell {
  background: transparent;
}

body.bts-about-page .site-main--about {
  position: relative;
  z-index: 0;
}

/* -------------------------------------------------------------------------- */
/* Tokens & layout                                                            */
/* -------------------------------------------------------------------------- */

.about-page {
  --about-max: 1200px;
  /* Hero H1 at ≥981px — same as .platform-hero__title */
  --about-title-lg: 40px;
  --about-title-lh: 50px;
  /* Match compliance / platform horizontal rhythm */
  --about-gutter: clamp(32px, 10vw, 240px);
  --about-section-y: 50px;
  /* Header row clearance + shared band gap (menu→H1, hero p→hr, hr→next H2). */
  --about-header-clearance: calc(32px + 39px);
  --about-radius: 14px;
  --about-radius-lg: 18px;
  --about-border: rgba(12, 127, 218, 0.38);
  --about-muted: var(--muted, rgba(236, 243, 249, 0.74));
  --about-surface: rgba(17, 39, 71, 0.55);
  --about-gap: 22px;
  overflow-x: clip;
  color: var(--text, #f8fafc);
}

.about-page h1,
.about-page h2,
.about-page h3 {
  margin: 0;
}

.about-container {
  width: min(calc(100% - 64px), var(--container, var(--about-max)));
  margin-inline: auto;
}

@media (max-width: 1120px) {
  .about-page .about-container {
    width: min(calc(100% - 48px), var(--container, var(--about-max)));
  }

  .about-divider {
    max-width: min(calc(100% - 48px), var(--container, var(--about-max)));
  }
}

.about-container--stack {
  display: flex;
  flex-direction: column;
  gap: var(--about-gap);
}

.about-container--hero {
  text-align: center;
  align-items: center;
}

/* Figma: hero copy is left-aligned in the content column */
.about-container--hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bts-page-hero-stack-gap);
  text-align: left;
}

.about-hero .about-container {
  position: relative;
  z-index: 1;
}

.about-container--closing {
  text-align: center;
  align-items: center;
  padding-bottom: clamp(56px, 10vw, 100px);
}

.about-section {
  padding-block: var(--about-section-y);
}

@media (max-width: 640px) {
  .about-section {
    padding-block: var(--about-section-y);
  }
}

.about-divider {
  max-width: min(calc(100% - 64px), var(--container, var(--about-max)));
  margin: 0 auto;
  margin-block: 0;
}

/* Match platform: hr→first section H2 uses the same band gap as hero bottom. */
.about-page .about-hero + .about-divider + .about-section {
  padding-top: var(--bts-page-hero-section-y);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.about-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--about-header-clearance) + var(--bts-page-hero-section-y)) 0
    var(--bts-page-hero-section-y);
  text-align: left;
}

.about-eyebrow--hero {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.about-hero__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-shadow: 0 2px 10px rgba(1, 20, 46, 0.45);
}

@media (min-width: 981px) {
  .about-hero__title {
    font-size: var(--about-title-lg);
    line-height: var(--about-title-lh);
  }
}

@media (max-width: 480px) {
  .about-page {
    --about-header-clearance: calc(21px + 29px);
  }
}

@media (max-width: 720px) {
  .about-page .about-container {
    width: min(calc(100% - 16px), var(--container, var(--about-max)));
  }

  .about-divider {
    max-width: min(calc(100% - 16px), var(--container, var(--about-max)));
  }
}

.about-hero__sub {
  margin: 0;
  color: #fff;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Narrow glowing rule under hero copy */
.about-hero__rule-wrap {
  width: 100%;
  max-width: min(720px, 100%);
  margin: clamp(18px, 3vw, 28px) 0 0;
}

.about-container--hero-left .about-hero__rule-wrap {
  align-self: stretch;
}

.about-divider--hero {
  margin: 0;
  max-width: none;
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Founder section (portrait + narrative + list)                            */
/* -------------------------------------------------------------------------- */

.about-founder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.about-founder__media {
  width: 100%;
  max-width: 100%;
}

.about-founder__photo-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 2px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
}

.about-founder__photo-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  border-radius: 0 12px 0 0;
  pointer-events: none;
  z-index: 2;
  filter: none;
  background:
    radial-gradient(circle at top right, rgba(24, 161, 255, 0.95) 0, rgba(24, 161, 255, 0.8) 30%, rgba(24, 161, 255, 0) 62%) top right / 8px 8px no-repeat,
    linear-gradient(270deg, rgba(24, 161, 255, 0.9) 0%, rgba(24, 161, 255, 0.6) 38%, rgba(24, 161, 255, 0) 100%) top / 100% 1.5px no-repeat,
    linear-gradient(180deg, rgba(24, 161, 255, 0.9) 0%, rgba(24, 161, 255, 0.6) 38%, rgba(24, 161, 255, 0) 100%) right / 1.5px 100% no-repeat;
}

.about-founder__photo {
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
}

.about-founder__photo-frame--placeholder {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 2px;
  display: block;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(12, 131, 223, 0.55), rgba(12, 131, 223, 0.15));
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
}

.about-founder__photo-frame--placeholder .about-founder__placeholder-inner {
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(8, 20, 40, 0.55);
  text-align: center;
}

/* Single column: keep portrait proportion from art (562×546). */
@media (max-width: 899px) {
  .about-founder__photo-frame,
  .about-founder__photo-frame--placeholder {
    aspect-ratio: 562 / 546;
    min-height: 240px;
    height: auto;
  }
}

@media (max-width: 620px) {
  .about-founder__photo-frame--placeholder .about-founder__placeholder-inner {
    position: absolute;
    inset: 2px;
    width: auto;
    height: auto;
  }
}

/* Two columns: image column fills same row height as copy (frame is positioned; img stays cover). */
@media (min-width: 900px) {
  .about-founder__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
  }

  .about-founder__copy {
    align-self: stretch;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .about-founder__media {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
  }

  .about-founder__photo-frame,
  .about-founder__photo-frame--placeholder {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    max-width: none;
    min-height: 0;
    aspect-ratio: unset;
  }
}

.about-founder__placeholder-hint {
  font-size: 13px;
  font-family: ui-monospace, monospace;
  color: var(--about-muted);
  line-height: 1.5;
}

.about-founder__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
}

.about-founder__body p {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

.about-founder__body p:last-child {
  margin-bottom: 0;
}

.about-founder__list-lead {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
}

.about-founder__list {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-founder__list > li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

.about-founder__list > li strong {
  font-weight: 700;
}

/*
 * theme style.css sets svg { width:100%; height:100%; } — without a sized parent
 * checklist icons blow up to the viewport. Lock the check wrapper + svg.
 */
.about-founder__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-founder__check svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px;
  max-height: 22px;
}

.about-founder__closing-line {
  max-width: 100%;
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
}

.about-founder__sign {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  text-transform: capitalize;
}

/* -------------------------------------------------------------------------- */
/* Our Mission (long-form strip under founder)                                */
/* -------------------------------------------------------------------------- */

/* Same shell as founder / hero: optional compliance page background asset — no band fill */
.about-our-mission {
  text-align: left;
  background: transparent;
}

/* Mirrors founder: .about-container > inner fills the content column (not viewport). */
.about-our-mission__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(20px, 3.8vw, 32px);
}

.about-our-mission__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 125% */
  text-transform: capitalize;
}

.about-our-mission__body {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

.about-our-mission__subhead {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 120% */
  text-transform: capitalize;
}

.about-our-mission__figure {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 20, 40, 0.32);
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
}

.about-our-mission__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-our-mission__figure-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 28vw, 320px);
  padding: 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: rgba(160, 174, 192, 0.85);
  border: 1px dashed rgba(160, 174, 192, 0.35);
  border-radius: inherit;
}

.about-our-mission__box {
  margin-top: clamp(32px, 6vw, 56px);
  padding: 30px;
  border-radius: var(--about-radius);
  border: 1px solid var(--about-border);
  background: transparent;
}

.about-our-mission__box-title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  text-transform: capitalize;
}

.about-our-mission__aims-list {
  margin-bottom: 0;
}

.about-our-mission__outro {
  margin-top: clamp(12px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
}

.about-our-mission__outro-title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  text-transform: capitalize;
}

.about-our-mission__outro-body {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

/* -------------------------------------------------------------------------- */
/* Long-Term Vision                                                           */
/* -------------------------------------------------------------------------- */

.about-long-term-vision {
  text-align: left;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
  background: transparent;
}

.about-long-term-vision__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(20px, 3.8vw, 32px);
}

.about-long-term-vision__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 125% */
  text-transform: capitalize;
}

.about-long-term-vision__body {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

/* Anchor line: bold white, between body and closing copy (slightly below mission principle scale) */
.about-long-term-vision__statement {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 100% */
  text-transform: capitalize;
}

.about-long-term-vision__statement strong {
  font-weight: 700;
}

.about-our-mission__aims-list--spaced {
  padding-top: 20px;
}

/* -------------------------------------------------------------------------- */
/* Why Now?                                                                   */
/* -------------------------------------------------------------------------- */

.about-why-now {
  text-align: left;
  background: transparent;
}

.about-why-now__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(18px, 3.2vw, 26px);
}

.about-why-now__title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 125% */
  text-transform: capitalize;
}

.about-why-now__subhead {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  text-transform: capitalize;
}

.about-why-now__body {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 150% */
}

.about-why-now__paradox {
  margin: clamp(8px, 2vw, 14px) 0;
}

.about-why-now__paradox-title {
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  text-transform: capitalize;
}

@media (min-width: 900px) {
  .about-why-now__paradox-title.custom-margin {
    margin: 10px 0 -60px;
  }
}


@media (max-width: 768px) {
  .about-why-now__paradox-title.custom-margin {
      margin: 0 0 -20px 0 !important;
  }
}
/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */

.about-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.about-title--center {
  text-align: center;
}

.about-intro {
  margin: 0;
  font-size: var(--body-text-size, 16px);
  font-weight: var(--body-font-weight, 300);
  line-height: 1.65;
  color: var(--about-muted);
}

.about-intro--center {
  text-align: center;
  max-width: min(58ch, 100%);
  margin-inline: auto;
}

.about-body {
  margin: 0;
  font-size: var(--body-text-size, 16px);
  font-weight: var(--body-font-weight, 300);
  line-height: 1.65;
  color: var(--about-muted);
}

.about-body + .about-body {
  margin-top: 1em;
}

.about-body--closing {
  max-width: min(52ch, 100%);
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/* Mission two-column                                                         */
/* -------------------------------------------------------------------------- */

.about-mission .about-title {
  margin-bottom: clamp(14px, 2.5vw, 22px);
}

.about-two-col--mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .about-two-col--mission {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

.about-figure--mission {
  margin: 0;
  border-radius: var(--about-radius-lg);
  overflow: hidden;
  border: 1px solid var(--about-border);
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.28));
  background: rgba(8, 20, 40, 0.45);
}

.about-figure--mission img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------------------------- */
/* Pillars                                                                    */
/* -------------------------------------------------------------------------- */

.about-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .about-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.about-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 26px;
  border-radius: var(--about-radius);
  border: 1px solid var(--about-border);
  background: linear-gradient(160deg, rgba(17, 39, 71, 0.65) 0%, rgba(15, 33, 58, 0.45) 100%);
  box-shadow: var(--shadow-md, 0 18px 48px rgba(0, 0, 0, 0.22));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 127, 218, 0.55);
  box-shadow: var(--shadow-lg, 0 34px 90px rgba(0, 0, 0, 0.34));
}

.about-pillar-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(12, 131, 223, 0.18);
  border: 1px solid rgba(12, 131, 223, 0.35);
}

.about-pillar-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.about-pillar-card__title {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.about-pillar-card__text {
  margin: 0;
  font-size: var(--body-text-size, 16px);
  font-weight: var(--body-font-weight, 300);
  line-height: 1.6;
  color: var(--about-muted);
}

/* -------------------------------------------------------------------------- */
/* Stats                                                                      */
/* -------------------------------------------------------------------------- */

.about-stats {
  padding-block: clamp(40px, 6vw, 56px);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .about-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.about-stat {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--about-radius);
  border: 1px solid var(--about-border);
  background: rgba(12, 131, 223, 0.1);
}

.about-stat__value {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.about-stat__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--about-muted);
}

/* -------------------------------------------------------------------------- */
/* Closing statement (dark band — matches About closing frame)               */
/* -------------------------------------------------------------------------- */

.about-closing--statement {
  background: transparent;
}

.about-closing__wrap {
  text-align: left;
  align-items: flex-start;
}

.about-closing__headline {
  max-width: 100%;
  color: #FFF;
  font-family: "Open Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 125% */
}

.about-closing__subline {
  max-width: 100%;
  color: #FFF;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
}

/* -------------------------------------------------------------------------- */
/* CTA pill (used on other landing blocks; kept for reuse)                   */
/* -------------------------------------------------------------------------- */

.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #0c9fff 0%, #0c83df 100%);
  border: 1px solid rgba(126, 200, 255, 0.35);
  box-shadow: 0 12px 32px rgba(12, 131, 223, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.about-cta:hover,
.about-cta:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(12, 131, 223, 0.45);
}

.about-cta:focus-visible {
  outline: 2px solid rgba(126, 200, 255, 0.65);
  outline-offset: 3px;
}
