/* The About page (CR-105 U4), as the app's AboutScreen draws it (apps/customer-app/lib/features/about/about_screen.dart):
   the computer layout from 900px (_DesktopAbout), the phone's below it (_PhoneAbout). Sizes are the app's; type sizes
   use --u so they follow the reader's text size, gaps stay in px. */

.about { --about-body: #3F3F3F; }

/* The lines the app words differently on a computer and a phone: each width shows its own. */
.about .only-phone { display: none; }

/* Shared type. */
:where(.about) :where(p, h1, h2, h3) { margin: 0; }
.about__eyebrow { font-size: calc(10 * var(--u)); letter-spacing: 0.24em; line-height: 1.5; }
.about__title {
  font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.15;
  text-wrap: balance; overflow-wrap: break-word;
}
.about__para, .about__paras p {
  font-size: calc(14 * var(--u)); line-height: 1.85; color: var(--about-body);
}
.about__paras p + p { margin-top: 14px; }

/* GET YOUR FREE SUCCESS CODEX (GoldButton, at a computer's compact size). */
.about-gold {
  margin-top: 26px; min-height: 38px; padding: 8px 22px;
  font-size: calc(11.5 * var(--u)); line-height: 1.5; color: #1A1A1A;
}
.about-gold:hover { color: #1A1A1A; }

/* ---------------------------------------------------------------------------------------------------------------
   The intro beside the sample chart. */
.about-intro {
  max-width: 1160px; margin: 0 auto; padding: 64px 40px 56px;
  display: grid; grid-template-columns: minmax(0, 12fr) minmax(0, 10fr); column-gap: 56px; align-items: center;
}
/* The app's balanced title (TitleText) sets these words at the narrowest width that keeps their four lines, which
   breaks them after "A", "of" and "Business"; 11.9em is that width with a little room either side. */
.about-intro__title { margin-top: 14px; max-width: 11.9em; font-size: calc(36 * var(--u)); line-height: 1.12; text-wrap: wrap; }
.about-intro__paras { margin-top: 22px; }
.about-chart {
  padding: 22px; background: var(--white); border: 1px solid var(--hairline); border-radius: 8px;
  box-shadow: 0 4px 16px rgba(138, 107, 16, 0.07);
}
.about-chart img { width: 100%; height: auto; }

/* ---------------------------------------------------------------------------------------------------------------
   Why the Success Codex?, on the cream band. */
.about-why { background: var(--warm-white); border-top: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline-strong); }
.about-why__inner { max-width: 860px; margin: 0 auto; padding: 60px 40px; }
.about-why__open { margin-top: 16px; }
.about-why__pull {
  margin-top: 18px; font-family: var(--font-voice); font-style: italic; font-size: calc(28 * var(--u)); line-height: 1.3;
  color: var(--ink);
}
.about-why__paras { margin-top: 20px; }

/* ---------------------------------------------------------------------------------------------------------------
   The Main Components: four numbered cards, two to a row. */
.about-components { max-width: 1160px; margin: 0 auto; padding: 64px 40px 20px; }
.about-components__title { margin-top: 12px; font-size: calc(30 * var(--u)); }
.about-components__lede {
  margin-top: 12px; max-width: 836px; font-family: var(--font-voice); font-style: italic;
  font-size: calc(19 * var(--u)); line-height: 1.5; color: var(--grey-body);
}
.about-cards {
  margin: 30px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.about-card {
  padding: 26px 28px; background: var(--white); border: 1px solid var(--hairline-strong); border-radius: 8px;
  box-shadow: 0 1px 3px rgba(138, 107, 16, 0.08);
}
.about-card__number {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: calc(11 * var(--u)); font-weight: 600;
  line-height: 1.2; color: var(--gold-icon);
}
.about-card__title { margin-top: 8px; font-size: calc(22 * var(--u)); line-height: 1.2; }
.about-card__line {
  margin-top: 10px; font-family: var(--font-voice); font-style: italic; font-size: calc(17 * var(--u)); line-height: 1.5;
  color: var(--about-body);
}
.about-card__body { margin-top: 10px; font-size: calc(13 * var(--u)); line-height: 1.75; color: var(--grey-body); }

/* ---------------------------------------------------------------------------------------------------------------
   The Accelerator's call to action, on the dark card: its words beside its mockup. */
.about-accelerator { max-width: 1160px; margin: 0 auto; padding: 44px 40px 20px; }
.about-accelerator__card {
  padding: 30px 32px; background: var(--dark-card); border-radius: 8px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: center;
}
.about-accelerator__eyebrow { color: var(--gold); }
.about-accelerator__title { margin-top: 12px; font-size: calc(26 * var(--u)); color: var(--cream); }
.about-accelerator__line {
  margin-top: 10px; font-family: var(--font-voice); font-style: italic; font-size: calc(18 * var(--u)); line-height: 1.45;
  color: #C7C0AB;
}
.about-accelerator__body { margin-top: 12px; font-size: calc(13 * var(--u)); line-height: 1.7; color: #D8D2C2; }
.about-accelerator__button {
  margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 14px 24px; border-radius: 3px; background: var(--gold); color: #1A1A1A; text-decoration: none;
  font-size: calc(10.5 * var(--u)); font-weight: 600; letter-spacing: 0.14em; line-height: 1.5;
}
.about-accelerator__button:hover {
  color: #1A1A1A; background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), var(--gold);
}
.about-accelerator__picture img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }

/* ---------------------------------------------------------------------------------------------------------------
   Meet Ankhara Rose: her photo beside her bio and her signature. */
.about-founder {
  max-width: 1160px; margin: 0 auto; padding: 44px 40px 84px;
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 12fr); column-gap: 48px; align-items: center;
}
.about-founder__photo { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--warm-white); }
.about-founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-founder__title { margin-top: 12px; font-size: calc(30 * var(--u)); }
.about-founder__paras { margin-top: 18px; }
.about-founder__signature {
  display: block; margin-top: 18px; width: 130px; height: auto; aspect-ratio: 1150 / 570; color: var(--ink);
}

/* ---------------------------------------------------------------------------------------------------------------
   A phone (narrower than the app's Breakpoints.wide): one column, 18px sides, the cream band across the whole width. */
@media (max-width: 899.98px) {
  .about .only-wide { display: none; }
  .about .only-phone { display: block; }
  .about { padding-bottom: 40px; }

  .about__eyebrow { font-size: calc(9 * var(--u)); letter-spacing: 0.22em; }
  .about__para, .about__paras p { font-size: calc(13 * var(--u)); line-height: 1.8; }
  .about__paras p + p { margin-top: 12px; }

  .about-gold { display: flex; width: 100%; margin-top: 18px; min-height: 46px; padding: 16px 22px; }

  .about-intro { display: block; padding: 16px 18px 0; }
  .about-intro__pill { margin-bottom: 18px; }
  .about-intro__title { margin-top: 10px; font-size: calc(25 * var(--u)); line-height: 1.15; }
  .about-intro__paras { margin-top: 16px; }
  .about-chart { margin-top: 22px; padding: 14px; box-shadow: none; }

  .about-why { margin-top: 28px; }
  .about-why__inner { padding: 28px 18px; }
  .about-why__open { margin-top: 12px; }
  .about-why__pull { margin-top: 14px; font-size: calc(22 * var(--u)); }
  .about-why__paras { margin-top: 14px; }

  .about-components { padding: 30px 18px 0; }
  .about-components__title { margin-top: 8px; font-size: calc(23 * var(--u)); line-height: 1.2; }
  .about-components__lede { margin-top: 8px; max-width: none; font-size: calc(16 * var(--u)); }
  .about-cards { margin-top: 18px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .about-card { padding: 18px 20px; box-shadow: none; }
  .about-card__number { font-size: calc(10 * var(--u)); }
  .about-card__title { margin-top: 6px; font-size: calc(19 * var(--u)); }
  .about-card__line { margin-top: 8px; font-size: calc(15.5 * var(--u)); }
  .about-card__body { margin-top: 8px; font-size: calc(12.5 * var(--u)); line-height: 1.7; }

  .about-accelerator { padding: 24px 18px 0; }
  .about-accelerator__card { display: flex; flex-direction: column; padding: 22px 20px 24px; }
  .about-accelerator__picture { order: -1; margin-bottom: 16px; }
  .about-accelerator__title { margin-top: 8px; font-size: calc(21 * var(--u)); line-height: 1.2; }
  .about-accelerator__line { margin-top: 8px; font-size: calc(16 * var(--u)); }
  .about-accelerator__body { margin-top: 10px; font-size: calc(12.5 * var(--u)); }
  .about-accelerator__button { display: flex; width: 100%; margin-top: 16px; padding: 14px; font-size: calc(10 * var(--u)); }

  .about-founder { display: block; padding: 30px 18px 0; }
  .about-founder__words { margin-top: 20px; }
  .about-founder__title { margin-top: 8px; font-size: calc(23 * var(--u)); line-height: 1.2; }
  .about-founder__paras { margin-top: 12px; }
  .about-founder__signature { margin-top: 14px; width: 110px; }
}
