/* /about — the founder's page and "Hear the alarms". Tokens in tokens.css;
   keyframes, links and hover states in site.css. Layout values follow
   index.html's sections, so the two pages read as one site. */

.ab-sec { position: relative; padding: clamp(56px, 9vh, 104px) clamp(20px, 5vw, 64px); }
.ab-rule { border-top: 1px solid var(--color-neutral-900); }
.ab-in { position: relative; max-width: 1120px; margin: 0 auto; }

.ab-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent-300); }
.ab-grad {
  background: linear-gradient(var(--color-accent-300), var(--color-accent-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* nav: the About link beside "Get the app" (index.html carries the same link inline) */
.ab-navlink { margin-left: auto; margin-right: -4px; padding: 12px 4px; font-family: var(--font-heading); font-weight: 500; font-size: 13px; }
.ab-navlink[aria-current="page"] { color: var(--color-text); }

/* — hero — */
.ab-hero { position: relative; overflow: hidden; padding: clamp(56px, 10vh, 112px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 88px); }
.ab-hero-glow {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(720px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 25, 67, .45), transparent 70%);
  pointer-events: none; animation: mwBreathe 7s ease-in-out infinite;
}
.ab-hero-in { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vw, 22px); text-align: center; }
.ab-hero h1 { margin: 0; font-size: clamp(38px, 7vw, 60px); line-height: 1.04; letter-spacing: -.03em; animation: mwFade .7s ease .08s both; }
.ab-hero .ab-eyebrow { animation: mwFade .6s ease both; }
.ab-lede { margin: 0; max-width: 600px; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.6; color: var(--color-neutral-300); text-wrap: pretty; animation: mwFade .7s ease .18s both; }
.ab-dawns { display: flex; gap: 9px; margin-top: 4px; animation: mwFade .7s ease .3s both; }
.ab-dawns span { width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent-300); box-shadow: 0 0 8px rgb(255 214 122 / .6); }
.ab-dawns .off { background: none; box-shadow: inset 0 0 0 1px var(--color-neutral-700); }

/* — the three fixes — */
.ab-fixes-h { margin: 0 0 clamp(24px, 4vw, 40px); max-width: 760px; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ab-fixes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ab-fix {
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--color-neutral-900);
  padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px;
}
.ab-fix-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; color: var(--color-accent-300); font-variant-numeric: tabular-nums; }
.ab-fix-meta svg { flex: none; }
.ab-fix p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--color-neutral-400); text-wrap: pretty; }
.ab-fix strong { display: block; margin-bottom: 10px; font-family: var(--font-heading); font-weight: 600; font-size: clamp(18px, 2.3vw, 21px); line-height: 1.35; letter-spacing: -.01em; color: var(--color-text); }
.ab-fix--proof { box-shadow: 0 0 0 1px var(--color-accent-800); }
.ab-fix-copy { display: flex; flex-direction: column; gap: 14px; }

/* the place-of-wudu screenshot, whole and uncropped, as on the home page, and
   under it the v1 privacy line, word for word: the screenshot's own copy of
   that line is about 7px tall at this size, too small to read */
.ab-phone { margin: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ab-phone-frame {
  position: relative; width: min(230px, 60vw); border-radius: 30px; background: #0b152f; overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-neutral-800), 0 0 0 7px #030a10, 0 30px 70px rgba(0, 0, 0, .55);
}
.ab-phone-frame img { display: block; width: 100%; height: auto; }
.ab-phone-cap { margin: 0; max-width: 280px; font-size: 13.5px; line-height: 1.5; color: var(--color-neutral-300); text-align: center; text-wrap: balance; }
.ab-phone-cap svg { display: inline-block; vertical-align: -2.5px; margin-right: 7px; color: var(--color-accent-300); }

@media (min-width: 760px) {
  .ab-fixes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-fix--proof { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 72px); }
  .ab-fix--proof .ab-phone { margin: 4px clamp(0px, 3vw, 40px) 4px 0; }
  .ab-fix--proof .ab-phone-frame { width: 250px; }
  .ab-fix--proof p { max-width: 540px; font-size: clamp(16px, 1.6vw, 18px); }
  .ab-fix--proof strong { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.28; margin-bottom: 14px; }
}

/* — hear the alarms — */
.ab-alarms-h { margin: 0 0 clamp(22px, 3.6vw, 34px); font-size: clamp(30px, 5.5vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.ab-sayings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .ab-sayings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-saying {
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--color-neutral-900);
  padding: clamp(18px, 3vw, 24px); display: flex; flex-direction: column; gap: 12px;
}
.ab-saying h3 { margin: 0; font-size: clamp(18px, 2.4vw, 21px); line-height: 1.32; letter-spacing: -.01em; text-wrap: balance; }
.ab-saying h3.ab-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; color: var(--color-neutral-400); }
.ab-source { margin: -6px 0 0; font-size: 12px; line-height: 1.5; color: var(--color-neutral-500); }
.ab-tones { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.ab-tone {
  position: relative; display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 60px; padding: 11px 16px 11px 12px;
  border: 1px solid var(--color-neutral-800); border-radius: 12px;
  background: rgba(243, 251, 255, .02); color: var(--color-text);
  font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.ab-tone:hover { border-color: var(--color-accent-700); background: rgba(224, 179, 82, .06); }
.ab-tone[aria-pressed="true"] { border-color: var(--color-accent); background: rgba(224, 179, 82, .13); }
.ab-tone-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--color-accent-700); color: var(--color-accent-200);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ab-tone[aria-pressed="true"] .ab-tone-icon { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.ab-tone .i-stop, .ab-tone[aria-pressed="true"] .i-play { display: none; }
.ab-tone[aria-pressed="true"] .i-stop { display: block; }
.ab-tone-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ab-tone-voice { font-family: var(--font-heading); font-weight: 500; font-size: 15px; line-height: 1.3; }
.ab-tone-cap { font-size: 12.5px; line-height: 1.45; color: var(--color-neutral-400); }

/* playing: bars beside the name, and the button's bottom edge fills as it plays */
.ab-eq { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 16px; opacity: 0; transition: opacity .2s ease; }
.ab-eq i { width: 3px; height: 100%; border-radius: 1px; background: var(--color-accent-300); transform-origin: bottom; transform: scaleY(.35); }
.ab-tone[aria-pressed="true"] .ab-eq { opacity: 1; }
.ab-tone[aria-pressed="true"] .ab-eq i { animation: abEq .9s ease-in-out infinite; }
.ab-tone[aria-pressed="true"] .ab-eq i:nth-child(2) { animation-delay: -.3s; }
.ab-tone[aria-pressed="true"] .ab-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes abEq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.ab-tone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(to right, var(--color-accent-600), var(--color-accent-300));
}

/* — the pull quote, on the home page's deep band — */
.ab-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(64px, 11vh, 120px) clamp(20px, 5vw, 64px);
  background: radial-gradient(120% 140% at 50% 115%, #141943 0%, #0f1336 50%, #080b1f 100%);
}
.ab-band-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 560px; height: 560px; max-width: 140vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(39, 71, 127, .22), transparent 70%);
  pointer-events: none; animation: mwBreathe 7s ease-in-out infinite;
}
.ab-band-in { position: relative; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ab-band p { margin: 0; }
.ab-band-lead { max-width: 560px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; color: var(--color-neutral-200); text-wrap: pretty; }
.ab-pull { font-family: var(--font-heading); font-weight: 500; font-size: clamp(30px, 6vw, 56px); line-height: 1.1; letter-spacing: -.025em; color: #fff; text-wrap: balance; text-shadow: none; }
.ab-pull .ab-grad { display: block; text-shadow: none; }

/* — what came next — */
.ab-story-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 760px) { .ab-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-story-grid p { margin: 0; padding-left: clamp(16px, 2.4vw, 22px); border-left: 1px solid var(--color-accent-800); font-size: 17px; line-height: 1.7; color: var(--color-neutral-400); text-wrap: pretty; }
.ab-lead { display: block; margin-bottom: 12px; font-family: var(--font-heading); font-weight: 500; font-size: clamp(21px, 3vw, 27px); line-height: 1.2; letter-spacing: -.015em; color: var(--color-text); }
.ab-said { color: var(--color-accent-200); }

/* — the rope, the signature, first light — */
.ab-close { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 12vh, 132px) clamp(20px, 5vw, 64px) clamp(84px, 14vh, 150px); }
.ab-close-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: radial-gradient(120% 100% at 50% 130%, rgba(26, 49, 93, .45) 0%, rgba(17, 32, 74, .2) 45%, transparent 75%); pointer-events: none; }
.ab-close-sun { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: radial-gradient(60% 100% at 50% 100%, rgba(213, 241, 248, .14) 0%, rgba(213, 241, 248, .08) 35%, rgba(213, 241, 248, 0) 75%); pointer-events: none; }
.ab-close-line { position: absolute; left: 0; right: 0; bottom: 0; }
.ab-close-in { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ab-close-mark { color: var(--color-text); display: flex; filter: drop-shadow(0 0 21px rgba(189, 238, 255, .55)) drop-shadow(0 2px 10px rgba(3, 10, 16, .8)); }
.ab-rope { margin: 0; font-family: var(--font-heading); font-weight: 500; font-size: clamp(25px, 4.6vw, 40px); line-height: 1.22; letter-spacing: -.02em; color: var(--color-text); text-wrap: balance; text-shadow: 0 2px 18px rgba(3, 10, 16, .6); }
.ab-rope .ab-grad { display: block; margin-top: 8px; text-shadow: none; }
.ab-cite { font-size: .52em; letter-spacing: 0; color: var(--color-neutral-400); white-space: nowrap; }
.ab-sign { margin: 0; font-family: Amiri, serif; font-style: italic; font-size: clamp(21px, 3vw, 27px); color: var(--color-accent-200); text-shadow: 0 2px 14px rgba(3, 10, 16, .6); }

.ab-close + footer, footer { background: var(--color-foot); }
