/* =========================================================
   Zoie — about page (content from zoie.ai/about, layout after
   flowsuite.framer.website/about). Builds on styles.css (stats,
   testimonials, footer pitch), pricing.css (dark header, pills)
   and compare.css (header sizes, phone panel, verdict text).
   ========================================================= */

.about-eyebrow { color: #5866d8; }
.about-h2 { font-size: 46px; line-height: 52px; font-weight: 700; letter-spacing: -.025em; color: #0b0c0e; }
.p-pill--light { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px #dfe2e7; }
.p-pill--light svg { color: #5866d8; }

/* ---------- Our mission: heading left, story right, then client logos ---------- */
.about-intro { padding: 120px 0 0; }
.about-intro-grid {
  width: 1180px; max-width: calc(100% - 64px); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.about-intro .about-h2 { margin-top: 16px; font-size: 52px; line-height: 58px; }
.about-intro-text { padding-top: 34px; }
.about-intro-text p { font-size: 18px; line-height: 29px; color: #4a5054; }
.about-intro-text p + p { margin-top: 18px; }
/* the home page's client logos, dark on white */
.about-logos { margin-top: 80px; }
.about-logos .logo-track img { height: 40px; width: auto; filter: invert(1); }
.about-logos .logo-track li { opacity: .38; }
.about-logos .logo-row:not(.is-marquee) { height: auto; }
.about-logos .logo-row:not(.is-marquee) .logo-track { flex-wrap: wrap; justify-content: center; gap: 16px 44px; }
.about-logos .logo-row:not(.is-marquee) .logo-track li { margin-left: 0; }

/* ---------- Wide picture: the dashboard on a dark panel ---------- */
.about-shot { padding-top: 72px; }
.about-shot-panel {
  position: relative; overflow: hidden; width: 1180px; max-width: calc(100% - 64px); margin: 0 auto; padding: 64px 64px 0;
  border-radius: 32px;
  background: var(--glow), var(--charcoal);
}
.about-shot-panel img {
  display: block; width: 100%; height: auto; margin-bottom: -6%;   /* cut off by the panel's bottom edge */
  border-radius: 16px 16px 0 0; border: 8px solid rgba(255, 255, 255, .1); border-bottom: 0;
  box-shadow: 0 -20px 60px -20px rgba(142, 160, 255, .25);
}

/* ---------- By the numbers (home page stats, own spacing here) ---------- */
.about-stats { padding-top: 80px; }
.about-stats .stats { margin-top: 0; }

/* ---------- What Zoie does: six cards ---------- */
.about-features { padding-top: 130px; }
.about-head { width: 760px; max-width: calc(100% - 64px); margin: 0 auto; text-align: center; }
.about-head .p-pill { display: inline-flex; }
.about-head .about-h2 { margin-top: 18px; }
.about-lead { margin-top: 16px; font-size: 17px; line-height: 27px; color: #4a5054; }
/* channel hub (compare.css .hub) on a black panel, between the heading and the cards */
.about-hub { width: 1180px; max-width: calc(100% - 64px); margin: 48px auto 0; padding: 28px 0; overflow: hidden; border-radius: 32px; background: var(--glow), var(--charcoal); }
.about-hub .hub { margin-top: 0; }
.about-grid { width: 1180px; max-width: calc(100% - 64px); margin: 20px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { padding: 30px 30px 32px; border-radius: 22px; background: #f6f7f9; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .35s var(--ease-out), box-shadow .3s; }
.about-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 22px 40px -30px rgba(20, 24, 32, .45); }
.about-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--ink); }
.about-card h3 { margin-top: 26px; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; color: #0b0c0e; }
.about-card p { margin-top: 10px; font-size: 15px; line-height: 23px; color: #5b6168; }

/* ---------- Who Zoie is built for: picture left, story right ---------- */
.about-split { padding-top: 130px; }
.about-split-grid {
  width: 1180px; max-width: calc(100% - 64px); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-split-media { aspect-ratio: 1 / 1; align-items: flex-start; padding-top: 56px; overflow: hidden; }
/* an upright phone drawn in code around the app screenshot, rising from the panel's bottom edge */
.about-phone {
  position: relative; flex: none; width: clamp(190px, 54%, 320px); padding: 9px; border-radius: 48px;
  background: #0b0c0e;
  box-shadow: inset 0 0 0 1.5px #44474d, inset 0 0 0 3px #16181b, 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 70px -30px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease-out);
}
.about-phone::after {   /* Dynamic Island */
  content: ""; position: absolute; left: 50%; top: 20px; width: 31%; height: 24px; margin-left: -15.5%; border-radius: 99px; background: #000;
}
.about-phone img { display: block; width: 100%; height: auto; border-radius: 39px; }
.about-split-grid:hover .about-phone { transform: translateY(-6px); }
.about-split-text .about-h2 { margin-top: 16px; }
.about-split-text > p:not(.p-eyebrow) { margin-top: 18px; font-size: 17px; line-height: 27px; color: #4a5054; }

/* ---------- How Zoie is different (the quick-verdict text style) ---------- */
.about-different { padding-bottom: 20px; }
.page-about .testimonials { margin-top: 110px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1219px) {
  .about-intro-grid, .about-split-grid { width: calc(min(760px, 100%) - 64px); max-width: none; grid-template-columns: 1fr; gap: 28px; }
  .about-intro-text { padding-top: 0; }
  .about-shot-panel { padding: 40px 40px 0; }
  .about-grid { grid-template-columns: repeat(2, 1fr); width: calc(min(760px, 100%) - 64px); max-width: none; }
  .about-hub { width: calc(min(760px, 100%) - 64px); max-width: none; padding: 16px 0; }
  .about-split-grid { gap: 44px; }
  .about-split-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .about-h2, .about-intro .about-h2 { font-size: 30px; line-height: 36px; }
  .about-intro { padding-top: 72px; }
  .about-intro-grid, .about-split-grid, .about-grid { width: calc(100% - 32px); }
  .about-intro-text p { font-size: 16px; line-height: 26px; }
  .about-logos { margin-top: 48px; }
  .about-logos .logo-track img { height: 26px; }
  .about-shot { padding-top: 48px; }
  .about-shot-panel { max-width: calc(100% - 32px); padding: 22px 22px 0; border-radius: 22px; }
  .about-shot-panel img { border-width: 4px; border-radius: 10px 10px 0 0; }
  .about-stats { padding-top: 56px; }
  .about-features, .about-split { padding-top: 84px; }
  .about-head { max-width: calc(100% - 32px); }
  .about-lead, .about-split-text > p:not(.p-eyebrow) { font-size: 16px; line-height: 25px; }   /* phones: subheaders 16px */
  .about-grid { grid-template-columns: 1fr; margin-top: 14px; gap: 14px; }
  .about-hub { width: calc(100% - 32px); margin-top: 36px; padding: 8px 0; border-radius: 22px; }
  .about-card { padding: 24px 22px 26px; border-radius: 18px; }
  .about-card h3 { margin-top: 20px; font-size: 18px; }
  .about-split-media { aspect-ratio: 1 / 1; padding-top: 36px; }
  .about-phone { padding: 6px; border-radius: 32px; }
  .about-phone img { border-radius: 27px; }
  .about-phone::after { top: 13px; height: 16px; }
  .page-about .testimonials { margin-top: 72px; }
}
