/* ==========================
   ABOUT PAGE
   Layers on top of ../home/style.css — reuses .primary-btn, .secondary-btn,
   .cards/.card, .text-blue. New selectors are namespaced "ab-".
========================== */

html, body { width:100%; max-width:100%; overflow-x:hidden; }
*, *::before, *::after { box-sizing:border-box; }
img, video, svg, canvas { max-width:100%; }
img { height:auto; }

:root {
    /* Page-scoped spacing rhythm. The shared --section-padding token resolves to
       ~87px at 1440px (and ~112px above 1920px); applying it to every block made
       roughly a quarter of this page pure padding, which is what read as dead
       space. One tighter value, scaled down on small screens. */
    --ab-pad: clamp(36px, 4.4vw, 60px);
    --ab-wrap: 1120px;
}

.ab-eyebrow{
    display:inline-block;
    color: var(--tb-primary, #0d6efd);
    background: var(--tb-primary-light, #eef5ff);
    border:1px solid var(--border-color, #e5e7eb);
    padding:6px 16px;
    border-radius: var(--radius-pill, 9999px);
    font-size: var(--text-xs, 12px);
    font-weight:700;
    letter-spacing:.06em;
    margin-bottom:16px;
    text-transform: uppercase;
}
.ab-eyebrow-center{ display:inline-block; }

/* ---------- HERO ---------- */
.ab-hero{
    padding: calc(70px + 20px) var(--container-px) var(--ab-pad);
    background: transparent;
    transition: padding-top 0.3s ease;
}
body.has-app-promo-bar .ab-hero{
    padding-top: calc(10px + 20px);
}

.ab-hero-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:clamp(32px, 6vw, 64px);
    flex-wrap:wrap;
    max-width:1180px;
    margin:0 auto;
}

.ab-hero-content{
    flex:1 1 420px;
    min-width:0;
    position: relative;
    z-index: 2;
}

.ab-hero-content h1{
    font-size:clamp(30px, 5vw, 46px);
    line-height:1.2;
    color: var(--text-primary, #172033);
    font-weight:700;
    margin-bottom:20px;
}
.ab-hero-content h1 .text-blue{ color: var(--tb-primary, #0d6efd); }

.ab-lead{
    font-size: var(--text-md, 16px);
    line-height:1.85;
    color: var(--text-secondary, #4b5563);
    margin-bottom:30px;
    max-width:540px;
}

.ab-hero-cta{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:32px; }

.ab-tags{ display:flex; flex-wrap:wrap; gap:12px; }
.ab-tags span{
    display:inline-flex; align-items:center; gap:8px;
    background:#fff; border:1.5px solid var(--border-color, #e5e7eb); border-radius: var(--radius-pill, 9999px);
    padding:8px 16px; font-size: var(--text-sm, 14px); font-weight:600; color: var(--text-secondary, #4b5563);
}
.ab-tags i{ color: var(--tb-primary, #0d6efd); font-size:13px; }

.ab-hero-media{
    flex:1 1 380px; min-width:280px; max-width:520px;
    position:relative;
}
.ab-hero-media img{
    width:100%; display:block; border-radius: var(--radius-xl);
    box-shadow:0 30px 60px rgba(13,32,58,.16);
}

.ab-floating-card{
    position:absolute;
    display:flex; align-items:center; gap:12px;
    background: var(--tb-surface);
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    box-shadow:0 16px 34px rgba(13,32,58,.16);
    animation:ab-float 3.4s ease-in-out infinite;
}
.ab-floating-card i{
    width:38px; height:38px; border-radius: var(--radius-md); flex:0 0 38px;
    background: var(--tb-primary-light); color: var(--tb-primary); font-size:15px;
    display:flex; align-items:center; justify-content:center;
}
.ab-floating-card div{ display:flex; flex-direction:column; line-height:1.3; }
.ab-floating-card strong{ font-size: var(--text-sm); color: var(--text-primary); }
.ab-floating-card span{ font-size: var(--text-xs); color: var(--text-muted); }

.ab-float-1{ top:-16px; left:-18px; }
.ab-float-2{ bottom:-16px; right:-18px; animation-delay:.6s; }

@keyframes ab-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }

@media(max-width:560px){
    .ab-floating-card{ padding:9px 12px; gap:9px; }
    .ab-floating-card strong{ font-size:13px; }
    .ab-floating-card span{ font-size:10px; }
    .ab-float-1{ top:-12px; left:-10px; }
    .ab-float-2{ bottom:-12px; right:0; }
}

/* ---------- STORY ---------- */
.ab-story{ padding: var(--ab-pad) var(--container-px); }
.ab-story-inner{
    max-width:1180px; margin:0 auto;
    display:flex; align-items:center; gap:clamp(32px, 6vw, 64px); flex-wrap:wrap;
}
.ab-story-media{ flex:1 1 420px; min-width:280px; }
.ab-story-media img{
    width:100%; display:block; border-radius: var(--radius-xl);
    box-shadow:0 24px 50px rgba(13,32,58,.12);
}
.ab-story-content{ flex:1 1 420px; min-width:0; }
.ab-story-content h2{
    font-size:clamp(26px, 4vw, 36px); color: var(--text-primary); margin-bottom:18px; line-height:1.25;
}
.ab-story-content p{
    color: var(--text-secondary); font-size: var(--text-md); line-height:1.85; margin-bottom:16px;
}
.ab-check-list{ list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.ab-check-list li{ display:flex; align-items:flex-start; gap:10px; color: var(--text-secondary); font-size: var(--text-sm); font-weight:500; }
.ab-check-list i{ color: var(--text-success); margin-top:2px; }

/* ---------- ROLES: For Senders / For Travelers ---------- */
.ab-roles{ background:#f5f8fd; padding: var(--ab-pad) var(--container-px); }
.ab-roles-inner{ max-width:var(--ab-wrap); margin:0 auto; }
.ab-roles-head{ max-width:640px; margin:0 auto clamp(26px, 3.4vw, 40px); text-align:center; }
.ab-roles-head h2{ color: var(--text-primary); font-size:clamp(26px, 4vw, 36px); line-height:1.22; margin:0 0 12px; }
.ab-roles-head p{ color: var(--text-secondary); font-size: var(--text-md); line-height:1.7; margin:0; }

.ab-role-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:24px; }
.ab-role{
    display:flex; flex-direction:column;
    background:#fff;
    border:1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--tb-shadow-l1);
    padding:30px 30px 26px;
    transition: transform .3s var(--tb-transition), box-shadow .3s var(--tb-transition), border-color .3s var(--tb-transition);
}
.ab-role:hover{ transform:translateY(-4px); border-color: rgba(13,110,253,.32); box-shadow: var(--tb-shadow-l2); }
.ab-role-icon{
    display:flex; align-items:center; justify-content:center;
    width:52px; height:52px; margin-bottom:16px;
    border-radius: var(--radius-md);
    background: var(--tb-primary-light); color: var(--tb-primary);
    font-size:20px;
}
.ab-role-icon-alt{ background:#eafaf1; color: var(--text-success); }
.ab-role h3{ color: var(--text-primary); font-size: var(--text-lg); line-height:1.35; margin:0 0 10px; }
.ab-role > p{ color: var(--text-secondary); font-size: var(--text-sm); line-height:1.7; margin:0 0 18px; }
.ab-role-list{ list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:11px; }
.ab-role-list li{ display:flex; align-items:flex-start; gap:10px; color: var(--text-secondary); font-size: var(--text-sm); line-height:1.55; }
.ab-role-list i{ color: var(--tb-success); margin-top:4px; font-size:13px; flex:0 0 auto; }
.ab-role-link{
    margin-top:auto; align-self:flex-start;
    display:inline-flex; align-items:center; gap:8px;
    color: var(--tb-primary); font-size: var(--text-sm); font-weight:700;
    text-decoration:none;
}
.ab-role-link i{ transition: transform .25s var(--tb-transition); }
.ab-role-link:hover, .ab-role-link:focus-visible{ text-decoration: underline; }
.ab-role-link:hover i{ transform: translateX(4px); }

/* ---------- MISSION / VISION ---------- */
.ab-purpose{ background:#fff; padding: var(--ab-pad) var(--container-px); }
.ab-purpose-inner{
    max-width:var(--ab-wrap); margin:0 auto;
    display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:24px;
}
.ab-purpose-card{
    padding:30px 30px 32px;
    border-radius: var(--radius-lg);
    border:1px solid var(--border-color);
    border-left: 4px solid var(--tb-primary);
    background: #fbfcfe;
}
.ab-purpose-card-alt{ border-left-color: var(--tb-success); background:#fbfefc; }
.ab-purpose-label{
    display:inline-block; margin-bottom:12px;
    color: var(--tb-primary); font-size: var(--text-xs); font-weight:700;
    letter-spacing:.06em; text-transform:uppercase;
}
.ab-purpose-card-alt .ab-purpose-label{ color: var(--text-success); }
.ab-purpose-card h2{ color: var(--text-primary); font-size:clamp(20px, 2.4vw, 24px); line-height:1.32; margin:0 0 12px; }
.ab-purpose-card p{ color: var(--text-secondary); font-size: var(--text-sm); line-height:1.75; margin:0; }

/* ---------- PROCESS (how it works) ---------- */
.ab-process{ padding: var(--ab-pad) var(--container-px); background: #fff; }
.ab-process-inner{ max-width:var(--ab-wrap); margin:0 auto; }
.ab-process-head{ text-align:center; max-width:640px; margin:0 auto clamp(28px, 4vw, 46px); }
.ab-process-head h2{ color: var(--text-primary); font-size:clamp(26px, 4vw, 38px); line-height:1.22; margin:0 0 14px; }
.ab-process-head p{ color: var(--text-secondary); font-size: var(--text-md); line-height:1.75; margin:0; }

.ab-steps{
    list-style:none; margin:0; padding:0;
    display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:24px;
}
.ab-step{
    position:relative;
    display:flex; gap:20px; align-items:flex-start;
    padding:30px 32px;
    background: var(--tb-bg);
    border:1px solid var(--tb-border);
    border-radius: var(--radius-lg);
    transition: transform .3s var(--tb-transition), box-shadow .3s var(--tb-transition), border-color .3s var(--tb-transition);
}
.ab-step:hover{
    transform: translateY(-4px);
    background: #fff;
    border-color: rgba(13,110,253,.35);
    box-shadow: var(--tb-shadow-l2);
}
.ab-step-index{
    flex:0 0 auto;
    display:flex; align-items:center; justify-content:center;
    width:52px; height:52px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--tb-primary), var(--tb-accent));
    color:#fff; font-size: var(--text-md); font-weight:700; letter-spacing:.02em;
    box-shadow: 0 6px 16px rgba(13,110,253,.28);
}
.ab-step-body h3{ color: var(--text-primary); font-size: var(--text-lg); line-height:1.35; margin:2px 0 8px; }
.ab-step-body p{ color: var(--text-secondary); font-size: var(--text-sm); line-height:1.7; margin:0; }

/* ---------- TRUST STRIP ---------- */
.ab-trust{ padding:0 var(--container-px) var(--ab-pad); background:#fff; }
.ab-trust-inner{
    max-width:var(--ab-wrap); margin:0 auto;
    display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:20px;
}
.ab-trust-card{
    text-align:center;
    padding:28px 22px;
    background: var(--tb-surface);
    border:1px solid var(--tb-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--tb-shadow-l1);
    transition: transform .3s var(--tb-transition), box-shadow .3s var(--tb-transition);
}
.ab-trust-card:hover{ transform: translateY(-4px); box-shadow: var(--tb-shadow-l2); }
.ab-trust-card i{
    display:inline-flex; align-items:center; justify-content:center;
    width:52px; height:52px; margin-bottom:14px;
    border-radius:50%;
    background: var(--tb-primary-light);
    color: var(--tb-primary);
    font-size:20px;
}
.ab-trust-card h3{ color: var(--text-primary); font-size: var(--text-md); margin:0 0 8px; }
.ab-trust-card p{ color: var(--text-secondary); font-size: var(--text-sm); line-height:1.65; margin:0; }
/* The support card carries a mailto link. */
.ab-trust-card a{ color: var(--tb-primary); font-weight:600; word-break:break-word; }

/* ---------- CTA BANNER ---------- */
.ab-cta{
    padding: var(--ab-pad) var(--container-px);
    background: var(--text-primary);
    position:relative;
    overflow:hidden;
}
.ab-cta::before{
    content:"";
    position:absolute; width:340px; height:340px; border-radius:50%;
    top:-180px; right:-100px; background:rgba(13,110,253,.18);
}
.ab-cta-inner{
    position:relative; z-index:1;
    max-width:640px; margin:0 auto; text-align:center;
}
.ab-cta-inner h2{ color: var(--text-inverse); font-size:clamp(26px, 4vw, 36px); margin-bottom:14px; }
.ab-cta-inner p{ color:#aebde0; font-size: var(--text-md); line-height:1.7; margin-bottom:30px; }
.ab-cta-buttons{ display:flex; justify-content:center; flex-wrap:wrap; gap:16px; }
.ab-ghost-btn{
    display:inline-flex; align-items:center; justify-content:center;
    background:transparent; color: var(--text-inverse); border:1.5px solid rgba(255,255,255,.28);
    text-decoration:none; padding:13px 26px; border-radius: var(--radius-pill);
    font-family:'Poppins',sans-serif; font-size: var(--text-sm); font-weight:600;
    transition:background .25s ease, border-color .25s ease;
}
.ab-ghost-btn:hover{ background:rgba(255,255,255,.08); border-color:#fff; }

/* ---------- SCROLL REVEAL ---------- */
.ab-reveal{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.ab-reveal.ab-in-view{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
    .ab-reveal{ opacity:1; transform:none; transition:none; }
    .ab-floating-card{ animation:none; }
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:992px){
    .ab-hero-inner{ flex-direction:column; text-align:center; }
    .ab-lead{ margin-left:auto; margin-right:auto; }
    .ab-hero-cta, .ab-tags{ justify-content:center; }
    .ab-story-inner{ flex-direction:column; }
    .ab-story-content{ text-align:left; }
    .ab-trust-inner{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Roles and Mission/Vision are two-up only where both columns can hold a
   readable sentence; below that they stack rather than squeeze. */
@media(max-width:860px){
    .ab-role-grid, .ab-purpose-inner{ grid-template-columns: 1fr; gap:20px; }
    .ab-roles-head{ text-align:left; }
}

@media(max-width:700px){
    .ab-steps{ grid-template-columns: 1fr; gap:18px; }
    .ab-step{ padding:24px; }
}

@media(max-width:520px){
    .ab-trust-inner{ grid-template-columns: 1fr; }
    .ab-process-head{ text-align:left; }
    .ab-role, .ab-purpose-card{ padding:24px 22px; }
}

@media(max-width:600px){
    .ab-hero-media{ margin-top:20px; }
    .ab-hero, .ab-story, .ab-cta, .ab-roles, .ab-purpose, .ab-process { padding-inline:16px; }
    .ab-hero-cta .btn, .ab-hero-cta .ab-ghost-btn, .ab-cta-buttons a { width:100%; }
    .ab-trust{ padding-inline:16px; }
    .ab-hero-content,
    .ab-hero-media,
    .ab-story-media,
    .ab-story-content { flex:1 1 auto; min-width:0; width:100%; max-width:100%; }
    /* Floating cards would overlap the hero copy once stacked. */
    .ab-floating-card{ display:none; }
}
