/* About (v2/about.html). Markup: tools/about_page.py; behaviour: ../js/about-page.js */
.abp { --ink: #242426; --sub: #5d5d63; --mute: #68686f; --line: #ececf1; --soft: #f6f5fa; --lav: #efe9ff; --dark: #16151b; color: var(--ink); }
.tp-page main.abp { padding-bottom: 72px; }
.abp h1, .abp h2, .abp h3 { color: var(--ink); }
.abp .btn > i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.abp svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* hero */
.abp-hero { position: relative; isolation: isolate; margin: 86px 30px 0; padding: 40px 0 130px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(50% 75% at 85% 20%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 5% 115%, rgba(125, 64, 255, 0.22), rgba(125, 64, 255, 0) 70%), #111312; }
.abp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); }
.abp-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.abp-crumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; } .abp-crumb a:hover { color: #fff; }
.abp-crumb b { font-weight: 500; color: #c9b6ff; }
.abp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); align-items: center; gap: 64px; margin-top: 40px; }
.abp .abp-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 5vw, 72px); font-weight: 400; line-height: 1.04; letter-spacing: -0.05em; color: #fff; }
.abp-lead { max-width: 58ch; margin: 22px 0 0; font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.66); }
.abp-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.abp-hero .btn--line, .abp-cta .btn--line { border: 0; background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); backdrop-filter: none; }
.abp-hero .btn--line:hover { background: rgba(255, 255, 255, 0.12); }
.abp-hero .btn--line > i, .abp-cta .btn--line > i { background: rgba(255, 255, 255, 0.14); color: #fff; }
.abp-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.abp-rate b { font-weight: 600; color: #fff; }
.abp-stars { display: inline-flex; gap: 2px; color: #ffb547; }
.abp-stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
/* timeline card */
.abp-time { position: relative; padding: 30px 30px 26px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.9); }
.abp-time::before { content: ""; position: absolute; inset: -12px 22px auto; z-index: -1; height: 40px; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, 0.12); }
.abp-time__chip { position: absolute; top: -16px; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--dark); font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); }
.abp-time__chip i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.25); }
.abp-time__k { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.abp-time__h { margin: 8px 0 0; font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.abp-time__list { position: relative; margin: 20px 0 0; padding: 0; list-style: none; }
.abp-time__list::before { content: ""; position: absolute; top: 12px; bottom: 30px; left: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #d9ccff, var(--brand)); }
.abp-time__list li { position: relative; padding: 0 0 20px 32px; }
.abp-time__list li:last-child { padding-bottom: 0; }
.abp-time__list li::before { content: ""; position: absolute; top: 4px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.abp-time__list li.is-on::before { background: var(--brand); box-shadow: 0 0 0 5px var(--lav); }
.abp-time__list b { display: block; font-size: 15.5px; font-weight: 600; }
.abp-time__list span { display: block; margin-top: 2px; font-size: 14px; color: var(--sub); }
.abp-time__list li.is-on { margin: 0 -10px; padding: 12px 10px 12px 42px; border-radius: 14px; background: var(--lav); }
.abp-time__list li.is-on::before { top: 16px; left: 11px; }
.abp-time__list li.is-on b { color: var(--brand); }

/* stats */
.abp-stats-sec { position: relative; z-index: 2; margin-top: -84px; }
.abp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.abp-stat { padding: 24px 26px 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(30, 20, 70, 0.55); }
.abp-stat__top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sub); }
.abp-stat__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lav); color: var(--brand); }
.abp-stat__ic svg { width: 17px; height: 17px; stroke-width: 1.9; }
.abp-stat__n { margin: 18px 0 0; font-family: var(--display); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.abp-stat__n i { margin-left: 4px; font-style: normal; font-size: 22px; letter-spacing: -0.02em; color: var(--brand); }
.abp-stat__l { margin: 10px 0 0; font-size: 14.5px; color: var(--sub); }
.abp-bar { display: block; height: 6px; margin-top: 20px; border-radius: 99px; background: #f0eef6; overflow: hidden; }
.abp-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b99bff, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.abp-segs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 20px; }
.abp-segs i { height: 6px; border-radius: 99px; background: #f0eef6; }
.abp-segs i.is-on { background: linear-gradient(90deg, #b99bff, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.abp-stats.is-in .abp-bar i, .abp-stats.is-in .abp-segs i.is-on { transform: none; }

/* statement */
.abp-say { padding: 110px 0 0; }
.abp-say p { max-width: 24ch; margin: 0; font-family: var(--display); font-size: clamp(32px, 4.4vw, 60px); font-weight: 400; line-height: 1.1; letter-spacing: -0.045em; color: var(--ink); }
.abp-say p span { color: #8e8d97; } /* large text: 3.3:1 (needs 3:1; was 2.1:1) */

/* story */
.abp-sec { padding: 110px 0 0; }
.abp .abp-h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; }
.abp-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.abp-inbox { position: relative; padding: 54px 40px 70px; border-radius: 28px; background: radial-gradient(70% 60% at 100% 0%, rgba(184, 155, 255, 0.45), rgba(184, 155, 255, 0) 70%), linear-gradient(160deg, #efe9ff, #f7f5fc); }
.abp-inbox__card { padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 40px 70px -40px rgba(60, 30, 140, 0.6), 0 0 0 1px rgba(125, 64, 255, 0.08); }
.abp-inbox__hd { display: flex; align-items: center; justify-content: space-between; }
.abp-inbox__hd b { font-size: 16px; font-weight: 600; }
.abp-inbox__hd span { padding: 4px 10px; border-radius: 999px; background: #fdeaea; font-size: 12px; font-weight: 600; color: #c0392b; }
.abp-inbox ul { margin: 14px 0 0; padding: 0; list-style: none; }
.abp-inbox li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.abp-inbox__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--sub); }
.abp-inbox li b { display: block; font-size: 14.5px; font-weight: 600; }
.abp-inbox li small { display: block; font-size: 13px; color: var(--mute); }
.abp-inbox li s { padding: 4px 9px; border-radius: 999px; background: #fdeaea; font-size: 12px; font-weight: 600; color: #c0392b; text-decoration: line-through; }
.abp-inbox__meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--soft); }
.abp-inbox__meter small { display: block; font-size: 12px; color: var(--mute); }
.abp-inbox__meter b { display: block; font-size: 15px; font-weight: 600; }
.abp-inbox__meter i { height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 11px); }
.abp-inbox__meter span.is-on { padding: 8px 12px; border-radius: 12px; background: var(--brand); }
.abp-inbox__meter span.is-on small { color: #fff; }
.abp-inbox__meter span.is-on b { color: #fff; }
.abp-inbox__toast { position: absolute; right: 26px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--dark); color: #fff; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
.abp-inbox__toast-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--brand); }
.abp-inbox__toast-ic svg { width: 17px; height: 17px; stroke-width: 2; }
.abp-inbox__toast b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.abp-inbox__toast small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.abp-story__copy p { margin: 18px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--sub); }
.abp-story__copy .abp-story__lead { margin-top: 24px; font-size: 18px; color: var(--ink); }
.abp-story__end { padding-left: 16px; border-left: 3px solid var(--brand); font-weight: 600; color: var(--ink) !important; }

/* principles: a 2x2 bento, the first card dark */
.abp-prin__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.abp-prin__head p { margin: 0; font-size: 17px; color: var(--sub); }
.abp-prin__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.abp-pr { display: flex; flex-direction: column; padding: 28px 30px 30px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -42px rgba(30, 20, 70, 0.5); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; }
.abp-pr:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(125, 64, 255, 0.3), 0 30px 50px -34px rgba(60, 30, 140, 0.5); }
.abp-pr__top { display: flex; align-items: center; justify-content: space-between; }
.abp-pr__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lav); color: var(--brand); }
.abp-pr__ic svg { width: 22px; height: 22px; stroke-width: 1.8; }
.abp-pr__tag { padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: 12.5px; font-weight: 500; color: var(--sub); }
.abp .abp-pr h3 { margin: 22px 0 0; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.035em; }
.abp-pr > p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--sub); }
.abp-vis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.abp-vis span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 12px; background: var(--soft); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.abp-vis span.is-on { background: var(--lav); color: #6a2fe6; } /* brand purple is 4.4:1 on lavender; this is 5.6:1 */
.abp-vis--steps span + span::before { content: "\2192"; margin-right: 2px; color: #c4c3cc; }
.abp-vis--chips span.is-on::before { content: "\2713"; font-size: 12px; }
.abp-vis--toggles { display: grid; gap: 8px; }
.abp-vis--toggles p { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 500; }
.abp-vis--toggles i { position: relative; width: 36px; height: 20px; border-radius: 99px; background: var(--brand); }
.abp-vis--toggles i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.abp-pr:first-child { background: radial-gradient(90% 60% at 100% 0%, rgba(125, 64, 255, 0.5), rgba(125, 64, 255, 0) 65%), var(--dark); box-shadow: 0 40px 70px -40px rgba(40, 15, 110, 0.75); }
.abp .abp-pr:first-child h3 { color: #fff; }
.abp-pr:first-child > p { color: rgba(255, 255, 255, 0.66); }
.abp-pr:first-child .abp-pr__ic { background: var(--brand); color: #fff; }
.abp-pr:first-child .abp-pr__tag { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75); }
.abp-pr:first-child .abp-vis span { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.abp-pr:first-child .abp-vis span.is-on { background: var(--brand); color: #fff; }

/* questions */
.abp-faq__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.abp-faq__side { position: sticky; top: 120px; }
.abp .abp-faq__lead { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -0.04em; }
.abp-faq__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--soft); font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background 0.25s ease, color 0.25s ease; }
.abp-faq__mail:hover { background: var(--lav); color: var(--brand); }
.abp-faq__mail-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; }
.abp-faq__mail-ic svg { width: 17px; height: 17px; stroke-width: 1.9; }
.abp-faq__list { display: grid; gap: 12px; }
.abp-acc { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.3s ease, background 0.3s ease; }
.abp-acc:hover { box-shadow: 0 0 0 1px rgba(125, 64, 255, 0.3); }
.abp-acc.is-open { background: linear-gradient(180deg, #faf8ff, #fff); box-shadow: 0 0 0 1.5px rgba(125, 64, 255, 0.35), 0 26px 50px -36px rgba(60, 30, 140, 0.55); }
.abp-acc h3 { margin: 0; }
.abp-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 22px 22px 26px; border: 0; background: none; font: inherit; font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-align: left; cursor: pointer; }
.abp-acc__sign { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); transition: background 0.3s ease, transform 0.35s ease; }
.abp-acc__sign::before, .abp-acc__sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 0.3s ease, background 0.3s ease; }
.abp-acc__sign::after { transform: rotate(90deg); }
.abp-acc.is-open .abp-acc__sign { background: var(--brand); transform: rotate(180deg); }
.abp-acc.is-open .abp-acc__sign::before, .abp-acc.is-open .abp-acc__sign::after { background: #fff; }
.abp-acc.is-open .abp-acc__sign::after { transform: rotate(0deg); }
.abp-acc__q:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 20px; }
.abp-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.abp-acc.is-open .abp-acc__a { grid-template-rows: 1fr; }
.abp-acc__a > div { overflow: hidden; }
.abp-acc__a p { margin: 0; padding: 0 72px 24px 26px; font-size: 16px; line-height: 1.65; color: var(--sub); }

/* closing */
.abp-cta { padding: 110px 0 0; }
.abp .abp-cta h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -0.04em; color: #fff; }
.abp-cta__acts { position: relative; flex: none; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.abp .abp-cta .tp-cta p.abp-cta__acts { margin: 0; }

@media (max-width: 1100px) {
  .abp-hero__grid, .abp-story__grid, .abp-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .abp-time { max-width: 480px; }
  .abp-faq__side { position: static; }
}
@media (max-width: 760px) {
  .abp-hero { margin: 78px 12px 0; padding: 28px 0 100px; border-radius: 22px; }
  .abp-lead { font-size: 16px; }
  .abp-acts .btn { width: 100%; }
  .abp-stats-sec { margin-top: -64px; }
  .abp-stats, .abp-prin__grid { grid-template-columns: minmax(0, 1fr); }
  .abp-stat__n { font-size: 46px; }
  .abp-say, .abp-sec, .abp-cta { padding-top: 76px; }
  .abp-inbox { padding: 30px 14px 86px; }
  .abp-inbox__meter { grid-template-columns: 1fr; }
  .abp-inbox__meter i { display: none; }
  .abp-prin__head { flex-direction: column; align-items: flex-start; }
  .abp-pr { padding: 24px 20px; }
  .abp-acc__q { padding: 18px; font-size: 16px; }
  .abp-acc__a p { padding: 0 18px 20px; }
}

/* ---- responsive rhythm pass (tablets ~88px between sections, compact stat cards on phones) ---- */
@media (min-width: 761px) and (max-width: 1024px) { .abp-say, .abp-sec, .abp-cta { padding-top: 88px; } }
@media (max-width: 760px) {
  .abp-stats { gap: 10px; }
  .abp-stat { padding: 18px 20px 20px; border-radius: 20px; }
  .abp-stat__n { margin-top: 12px; font-size: 40px; }
  .abp-stat__l { margin-top: 6px; font-size: 14px; }
  .abp-stat .abp-bar, .abp-stat .abp-segs { margin-top: 14px; }
}

/* ---- desktop/tablet pass: small laptops (961-1100px) keep the two-column hero instead of stacking it ---- */
@media (min-width: 961px) and (max-width: 1100px) { .abp-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: center; } }

/* No status dots in front of labels anywhere on the site */
.abp-time__chip i { display: none !important; }
