/* About page */
.ab {
    --ab-ink: #172033;
    --ab-muted: #5b6475;
    --ab-line: #e3e7ef;
    --ab-indigo: #4f46e5;
    --ab-indigo-dark: #312e81;
    --ab-orange: #f97316;
    --ab-tint: #f6f7fb;
    color: var(--ab-ink);
    background: #fff;
}
.ab-wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.ab h1, .ab h2, .ab h3 { color: var(--ab-ink); letter-spacing: -.025em; text-wrap: balance; }
.ab h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; }
.ab h3 { margin: 0 0 .4rem; font-size: 1.12rem; font-weight: 750; line-height: 1.3; }
.ab p { margin: 0; }
.ab a:not(.ab-btn):not(.ab-explore-card):not(.ab-text-link):not(.app-store-link) { color: #3730a3; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.ab-eyebrow,
.ab-kicker {
    display: inline-flex;
    margin-bottom: .9rem;
    color: var(--ab-indigo);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ab-eyebrow { padding: .38rem .8rem; border: 1px solid #c7d2fe; border-radius: 999px; background: #eef2ff; letter-spacing: .06em; }
.ab-kicker-light { color: #c7d2fe; }
.ab-body { max-width: 38rem; color: var(--ab-muted); font-size: 1.08rem; line-height: 1.75; }
.ab-head { max-width: 46rem; margin-bottom: 2.5rem; }

/* Buttons */
.ab-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ab-actions-center { justify-content: center; }
.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 3.1rem;
    padding: .8rem 1.35rem;
    border-radius: .85rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ab-btn:hover { transform: translateY(-1px); }
.ab-btn:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.ab-btn-primary { background: var(--ab-indigo); color: #fff; box-shadow: 0 12px 28px -10px rgba(79, 70, 229, .6); }
.ab-btn-primary:hover { background: #4338ca; color: #fff; }
.ab-btn-ghost { border: 1px solid #c7d2fe; background: #fff; color: #3730a3; }
.ab-btn-ghost:hover { background: #eef2ff; }
.ab-btn-light { background: #fff; color: var(--ab-indigo-dark); }

/* Hero */
.ab-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 85% 10%, rgba(165, 180, 252, .45), transparent 40%),
        radial-gradient(circle at 5% 95%, rgba(253, 186, 116, .3), transparent 35%),
        linear-gradient(160deg, #eef2ff 0%, #fff 55%, #fff7ed 100%);
}
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ab-hero h1 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 850; line-height: 1.02; letter-spacing: -.04em; }
.ab-lede { max-width: 36rem; margin-bottom: 2rem !important; color: #3f4859; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.65; }
.ab-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: #3f4859; font-size: .95rem; font-weight: 600; }
.ab-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.ab-trust svg { width: 1.15rem; height: 1.15rem; padding: .15rem; border-radius: 999px; background: #dcfce7; fill: none; stroke: #15803d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.ab-hero-media { position: relative; padding: 0 0 2.5rem 0; }
.ab-hero-photo { margin: 0; overflow: hidden; border-radius: 1.75rem; box-shadow: 0 30px 70px -30px rgba(30, 27, 90, .45); aspect-ratio: 4 / 3.4; }
.ab-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.ab-phone {
    margin: 0;
    overflow: hidden;
    border: 6px solid #0f172a;
    border-radius: 1.6rem;
    background: #0f172a;
    box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .55);
    aspect-ratio: 580 / 1260;
}
.ab-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-phone-hero { position: absolute; left: -1.5rem; bottom: 0; width: clamp(8.5rem, 15vw, 11.5rem); }

/* Stats */
.ab-stats { border-block: 1px solid var(--ab-line); background: #fff; }
.ab-stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ab-stats-grid > div { display: flex; flex-direction: column; gap: .15rem; padding: 1.6rem 1rem; text-align: center; }
.ab-stats-grid > div + div { border-left: 1px solid var(--ab-line); }
.ab-stats strong { color: var(--ab-indigo); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 850; line-height: 1.1; letter-spacing: -.03em; }
.ab-stats span { color: var(--ab-muted); font-size: .88rem; font-weight: 600; }

/* Sections */
.ab-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.ab-section-tint { background: var(--ab-tint); }
.ab-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ab-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.ab-problems article,
.ab-promises article {
    padding: 1.35rem;
    border: 1px solid var(--ab-line);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 24px -16px rgba(23, 32, 51, .2);
}
.ab-problems p,
.ab-promises p { color: var(--ab-muted); font-size: .95rem; line-height: 1.6; }
.ab-icon { display: inline-grid; width: 2.6rem; height: 2.6rem; margin-bottom: .9rem; place-items: center; border-radius: .8rem; background: #eef2ff; color: var(--ab-indigo); }
.ab-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.ab-photo-card { position: relative; margin: 0; overflow: hidden; border-radius: 1.5rem; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .5); aspect-ratio: 4 / 5; }
.ab-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.ab-photo-card figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1.4rem 1.3rem; background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .85)); color: #fff; font-size: 1.05rem; font-weight: 700; }

/* Steps */
.ab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.ab-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.6rem;
    border: 1px solid var(--ab-line);
    border-radius: 1.4rem;
    background: #fff;
}
.ab-steps .ab-phone { width: 46%; margin: 0 auto 1.5rem; }
.ab-photo-step { margin: 0 0 1.5rem; overflow: hidden; border-radius: 1rem; aspect-ratio: 580 / 1260; width: 46%; align-self: center; }
.ab-photo-step img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.ab-step-num { display: inline-grid; width: 2rem; height: 2rem; margin-bottom: .8rem; place-items: center; border-radius: 999px; background: var(--ab-indigo); color: #fff; font-weight: 800; }
.ab-steps p { color: var(--ab-muted); line-height: 1.6; }

/* App */
.ab-app {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0%, rgba(167, 139, 250, .4), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(249, 115, 22, .18), transparent 35%),
        linear-gradient(135deg, #1e1b5a 0%, #312e81 55%, #4338ca 100%);
    color: #fff;
}
.ab-app-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ab-app h2 { color: #fff; }
.ab-app-list { display: grid; gap: .9rem; margin: 1.25rem 0 2rem; padding: 0; list-style: none; }
.ab-app-list li { position: relative; padding-left: 1.9rem; color: #e0e7ff; font-size: 1.05rem; line-height: 1.55; }
.ab-app-list li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 999px; background: var(--ab-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.ab-app-list strong { color: #fff; }
.ab-stores { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.ab-stores img { display: block; height: 48px; width: auto; }
.ab-text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ab a.ab-text-link.ab-text-link-light { color: #fff; }
.ab .ab-stores .app-download-badges { margin: 0; }
.ab-app-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); align-items: center; }
.ab-app-phones .ab-phone { border-color: #0b1020; }
.ab-phone-lift { transform: translateY(-1.75rem) scale(1.06); }

/* Comparison table */
.ab-table-wrap { overflow-x: auto; border: 1px solid var(--ab-line); border-radius: 1.25rem; background: #fff; box-shadow: 0 16px 40px -28px rgba(23, 32, 51, .35); }
.ab-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.ab-table th, .ab-table td { padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--ab-line); text-align: left; vertical-align: top; }
.ab-table thead th { background: #f8f9fc; color: var(--ab-muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ab-table tbody th { color: var(--ab-ink); font-weight: 700; }
.ab-table tbody tr:last-child > * { border-bottom: 0; }
.ab-table td { color: #3f4859; }
.ab-table .ab-col-us { background: #f5f3ff; color: var(--ab-indigo-dark); font-weight: 700; }
.ab-table thead .ab-col-us { background: var(--ab-indigo); color: #fff; }
.ab-yes { display: inline-flex; align-items: center; gap: .35rem; color: #15803d; }
.ab-yes::before { content: "✓"; font-weight: 900; }
.ab-note { margin-top: 1rem !important; color: var(--ab-muted); font-size: .9rem; }

/* Promises */
.ab-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

/* Explore */
.ab-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ab-explore-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.4rem;
    aspect-ratio: 4 / 3;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 20px 45px -28px rgba(15, 23, 42, .6);
}
.ab-explore-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ab-explore-card:hover img { transform: scale(1.04); }
.ab-explore-card:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.ab-explore-body { position: absolute; inset: auto 0 0; display: grid; gap: .25rem; padding: 3.5rem 1.35rem 1.3rem; background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .88)); }
.ab-explore-body strong { font-size: 1.2rem; }
.ab-explore-body span { color: #e2e8f0; font-size: .92rem; line-height: 1.45; }

/* Final CTA */
.ab-cta { padding: clamp(3rem, 7vw, 5rem) 0; background: linear-gradient(135deg, #312e81, #4f46e5); color: #fff; text-align: center; }
.ab-cta h2 { color: #fff; }
.ab-cta p { margin-bottom: 1.75rem !important; color: #e0e7ff; font-size: 1.15rem; }

@media (max-width: 1023px) {
    .ab-hero-grid, .ab-split, .ab-app-grid { grid-template-columns: 1fr; }
    .ab-hero-media { max-width: 38rem; margin-inline: auto 0; padding-left: 2rem; }
    .ab-photo-card { aspect-ratio: 16 / 10; }
    .ab-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ab-stats-grid > div:nth-child(4) { border-left: 0; }
    .ab-stats-grid > div:nth-child(n + 4) { border-top: 1px solid var(--ab-line); }
    .ab-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-app-phones { max-width: 34rem; }
}

@media (max-width: 720px) {
    .ab-wrap { width: calc(100% - 2rem); }
    .ab-hero-media { padding-left: 1.25rem; }
    .ab-phone-hero { left: -.25rem; width: 7.5rem; border-width: 4px; border-radius: 1.1rem; }
    .ab-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-stats-grid > div { padding: 1.1rem .75rem; }
    .ab-stats-grid > div + div { border-left: 0; }
    .ab-stats-grid > div:nth-child(even) { border-left: 1px solid var(--ab-line); }
    .ab-stats-grid > div:nth-child(n + 3) { border-top: 1px solid var(--ab-line); }
    .ab-stats-grid > div:last-child { grid-column: 1 / -1; border-left: 0; }
    .ab-problems, .ab-steps, .ab-promises, .ab-explore { grid-template-columns: 1fr; }
    .ab-steps li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; padding: 1.1rem; }
    .ab-steps .ab-phone, .ab-photo-step { grid-row: 1 / span 3; width: 100%; margin: 0; border-width: 4px; border-radius: 1rem; }
    .ab-step-num { margin-bottom: .4rem; }
    .ab-app-phones { gap: .6rem; }
    .ab-phone-lift { transform: translateY(-1rem) scale(1.04); }
    .ab-explore-card { aspect-ratio: 16 / 10; }
    .ab-btn { flex: 1 1 auto; }
    .ab-table { min-width: 0; }
    .ab-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .ab-table, .ab-table tbody, .ab-table tr, .ab-table th, .ab-table td { display: block; width: 100%; }
    .ab-table tr { padding: .9rem 1rem; border-bottom: 1px solid var(--ab-line); }
    .ab-table tbody tr:last-child { border-bottom: 0; }
    .ab-table th, .ab-table td { padding: .3rem 0; border: 0; }
    .ab-table tbody th { padding-bottom: .5rem; }
    .ab-table td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
    .ab-table td::before { content: attr(data-label); color: var(--ab-muted); font-weight: 600; text-align: left; }
    .ab-table .ab-col-us { margin-top: .3rem; padding: .45rem .6rem; border-radius: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-btn, .ab-explore-card img { transition: none; }
    .ab-btn:hover, .ab-explore-card:hover img { transform: none; }
}
