/* About uses the site's Story ink cards and existing Cairo / brand tokens.
   Shared styles are loaded unchanged; every layout override stays on About. */
.about-page {
  --about-ink: var(--fz-navy);
  --about-muted: var(--fz-ink-dim);
  --about-blue: var(--fz-sky-deep);
  --about-paper: rgba(255,255,255,1);
  color: var(--about-ink);
  background: var(--fz-base);
  font-family: 'Cairo', system-ui, sans-serif;
}
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-wrap { max-width: 1100px; margin-inline: auto; padding-inline: 28px; }
.about-page a:focus-visible { outline: 3px solid var(--about-blue); outline-offset: 5px; }
.about-skip {
  position: absolute; inset-inline-start: 20px; top: -100px; z-index: 100;
  min-height: 44px; padding: 12px 18px; color: var(--about-ink);
  background: var(--about-paper); border: 2px solid var(--about-ink); border-radius: 14px;
}
.about-skip:focus { top: 14px; }

/* Story nav/back/clogo, including its text-only animated wordmark. */
.about-page .about-nav { padding: 0; animation: none; }
.about-page .about-nav-inner {
  max-width: 1100px; min-height: 76px; margin-inline: auto; padding: 14px 28px;
  gap: 20px; flex-wrap: wrap; border-radius: 0;
}
.about-nav .brand { min-width: 64px; min-height: 44px; flex: none; }
.about-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.about-nav-links > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 16px; border-radius: 100px;
  color: var(--about-ink); font-size: 13px; font-weight: 800; text-decoration: none;
}
.about-nav-links > a:hover { background-color: var(--fz-sky-tint); }
.about-nav-links .about-nav-signup { border: 2px solid var(--about-ink); }
.about-nav .back { min-height: 44px; }
.about-nav .back svg { flex: none; }

/* Definition first in DOM and on mobile; the real Story image carries the second column. */
.about-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center; gap: 48px; padding-block: 56px 72px;
}
.about-intro { min-width: 0; }
.about-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; padding: 6px 15px; border: 1px solid var(--fz-sky-a18);
  border-radius: 100px; background: var(--about-paper);
  color: var(--about-blue); font-size: 12px; font-weight: 800; line-height: 1.8;
}
.about-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--fz-sky); }
.about-intro h1 {
  margin: 0 0 20px; font-size: clamp(42px, 4.8vw, 68px); line-height: 1.3;
  font-weight: 900; letter-spacing: -.8px;
}
.about-lead {
  margin: 0; color: var(--about-muted); font-size: 19px;
  line-height: 1.95; font-weight: 500; text-wrap: pretty;
}
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; max-width: 100%; padding: 12px 22px;
  border: 2px solid var(--about-ink); border-radius: 100px;
  font-size: 14px; font-weight: 800; line-height: 1.8; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-button-primary { color: var(--about-paper); background: var(--about-ink); }
.about-button-secondary { color: var(--about-ink); background: var(--about-paper); }
.about-button:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--about-ink); }
.about-button-primary:hover { background: var(--about-blue); }
.about-button-secondary:hover { background: var(--fz-sky-tint); }
.about-origin { min-width: 0; }
.about-page .about-origin-card { max-width: none; width: 100%; margin: 0; padding: 0; }
.about-origin-image { display: block; border-bottom: 2px solid var(--about-ink); }
.about-origin-image img { display: block; width: 100%; height: auto; }
.about-origin-copy { padding: 24px 26px 26px; }
.about-origin-card .sc-eyebrow { margin-bottom: 16px; letter-spacing: 0; }
.about-origin-card .sc-title { margin-bottom: 10px; font-size: 23px; line-height: 1.55; }
.about-origin-card .sc-lead { margin-bottom: 20px; font-size: 15.5px; line-height: 1.9; }
.about-origin-card .sc-cta { min-height: 44px; max-width: 100%; }
.about-origin-card .sc-cta svg { flex: none; }

/* Six service links: the same dark outline, solid offset shadow and pill action as Story. */
.about-services { padding-block: 0 72px; scroll-margin-top: 120px; }
.about-section-heading {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 0 48px; margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 2px solid var(--about-ink);
}
.about-section-heading .about-eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 14px; }
.about-section-heading h2 {
  margin: 0; color: var(--about-ink); font-size: clamp(27px, 3vw, 36px);
  line-height: 1.5; font-weight: 900; letter-spacing: -.5px;
}
.about-section-heading > p:last-child {
  align-self: center; margin: 0; color: var(--about-muted); font-size: 16px; line-height: 1.9;
}
.about-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.about-service {
  min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto; gap: 18px 14px; padding: 24px;
  color: var(--about-ink); background: var(--about-paper);
  border: 2px solid var(--about-ink); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--about-ink); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-service:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--about-ink); }
.about-service-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  color: var(--about-blue); background: var(--fz-sky-tint);
  border: 2px solid var(--about-ink); border-radius: 14px;
}
.about-service-icon svg { width: 26px; height: 26px; }
.about-service h3 {
  align-self: center; margin: 0; color: var(--about-ink);
  font-size: 20px; line-height: 1.55; font-weight: 900;
}
.about-service p {
  grid-column: 1 / -1; margin: 0; color: var(--about-muted);
  font-size: 16px; line-height: 1.85; font-weight: 500;
}
.about-service-more {
  grid-column: 1 / -1; justify-self: start; align-self: end;
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px;
  padding: 10px 18px; border-radius: 100px; color: var(--about-paper);
  background: var(--about-ink); font-size: 13.5px; font-weight: 800; line-height: 1.7;
}

/* Existing App Store / Play components in a clear, framed download section. */
.about-download { padding-block: 0 80px; scroll-margin-top: 120px; }
.about-download-inner {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
  align-items: center; gap: 48px; padding: 40px;
  background: var(--about-paper); border: 2px solid var(--about-ink);
  border-radius: 18px; box-shadow: 6px 6px 0 var(--about-ink);
}
.about-download-inner > div { min-width: 0; }
.about-download-inner .about-eyebrow { background: var(--fz-sky-tint); margin-bottom: 16px; }
.about-download-inner h2 {
  margin: 0 0 16px; color: var(--about-ink); font-size: clamp(27px, 3vw, 34px);
  line-height: 1.55; font-weight: 900; letter-spacing: -.5px; text-wrap: pretty;
}
.about-download-inner p:not(.about-eyebrow) {
  margin: 0 0 16px; color: var(--about-muted); font-size: 16px; line-height: 1.9;
}
.about-text-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  color: var(--about-blue); font-size: 15px; font-weight: 800; line-height: 1.8;
  text-decoration: underline; text-underline-offset: 5px;
}
.about-text-link:hover { color: var(--about-ink); }
.about-store-links { display: grid; gap: 16px; }
.about-store.store-btn {
  min-width: 0; min-height: 86px; gap: 16px; padding: 16px 22px;
  border: 2px solid var(--about-ink); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--about-ink); animation: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-store.store-btn.primary { background: var(--fz-sky-deep); }
.about-store.store-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--about-ink); }
.about-store.store-btn svg { width: 32px; height: 32px; flex: none; }
.about-store.store-btn > span { min-width: 0; }
.about-store.store-btn .s1 { color: inherit; font-size: 12px; font-weight: 600; line-height: 1.8; opacity: 1; }
.about-store.store-btn .s2 { font-size: 20px; line-height: 1.6; }

/* Keep the existing customer footer despite Story's generic .foot rules. */
.about-page .foot {
  max-width: none; width: auto; margin: 0; padding: 40px 0 60px;
  border-top: 0; color: inherit; background: var(--about-paper); font-size: inherit;
}
.about-page .foot a { margin: 0; }
.about-page .foot-links { flex-wrap: wrap; gap: 8px 24px; }
.about-page .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.about-page .cred-num { font-family: monospace; }

@media (max-width: 900px) {
  .about-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; }
  .about-origin-copy { padding: 22px; }
  .about-origin-card .sc-title { font-size: 21px; }
  .about-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section-heading { grid-template-columns: 1fr; gap: 10px; }
  .about-section-heading .about-eyebrow { margin-bottom: 4px; }
  .about-download-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .about-store-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .about-wrap { padding-inline: 22px; }
  .about-page .about-nav-inner { padding: 12px 16px; gap: 8px; }
  .about-nav-links { gap: 4px; }
  .about-nav-links > a, .about-nav .back { padding: 9px 11px; font-size: 12px; }
  .about-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 48px; }
  .about-lead { font-size: 18px; line-height: 1.9; }
  .about-actions { gap: 10px; margin-top: 24px; }
  .about-button { flex: 1 1 140px; padding: 11px 15px; gap: 10px; font-size: 13px; }
  .about-origin-copy { padding: 24px; }
  .about-origin-card .sc-title { font-size: 22px; }
  .about-services { padding-bottom: 48px; }
  .about-service-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-service { padding: 22px; }
  .about-download { padding-bottom: 56px; }
  .about-download-inner { padding: 26px 24px; }
  .about-store-links { grid-template-columns: 1fr; }
  .about-store.store-btn { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.about-page) { scroll-behavior: auto; }
  .about-page, .about-page *, .about-page *::before, .about-page *::after {
    transition: none !important; animation: none !important; scroll-behavior: auto !important;
  }
  .about-page a:hover, .about-page a:hover .sc-cta, .about-page a:hover .sc-cta svg { transform: none; }
}
