/* Customer stories page */
.cs { background: #fff; }
.cs-hero { position: relative; padding: 8.5rem 0 5rem; background: linear-gradient(110deg, #EAF6FE 0%, #F7FBFF 35%, #fff 55%, #EEF6FD 100%); overflow: hidden; }
.cs-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 110px); pointer-events: none; }
.cs-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 4rem; align-items: center; }
.cs-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.08; font-weight: 600; color: #101828; letter-spacing: -0.02em; margin: 0.4rem 0 1rem; }
.cs-hero h1 span { color: #0096EE; }
.cs-hero p { font-size: 1.1rem; color: #475467; line-height: 1.6; margin-bottom: 2rem; max-width: 34rem; }
.cs-wall { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cs-tile { display: flex; align-items: center; justify-content: center; height: 84px; padding: 0 1.4rem; min-width: 120px; flex: 1 1 140px; max-width: 220px; border-radius: 1rem; background: #fff; border: 1px solid #E4EEF6; box-shadow: 0 10px 24px -18px rgba(0, 60, 110, 0.45); opacity: 0; transform: translateY(10px); animation: cs-in 0.5s ease forwards; animation-delay: calc(0.1s + var(--i) * 0.06s); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cs-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(0, 60, 110, 0.55); }
.cs-tile img { max-height: 44px; max-width: 100%; object-fit: contain; }
.cs-tile.is-dark, .cs-card-logo-box.is-dark, .cs-ask-logos .is-dark { background: #101828; border-color: #101828; }
@keyframes cs-in { to { opacity: 1; transform: none; } }

.cs-slider { position: relative; }
.cs-slide { display: none; margin: 0; padding: 2.8rem 2.5rem; border-radius: 1.6rem; background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 60, 120, 0.45), 0 0 0 1px #E4EEF6; text-align: center; }
.cs-slide.is-active { display: block; animation: cs-in 0.45s ease both; }
.cs-slide-logo { max-height: 64px; margin: 0 auto 1.4rem; }
.cs-slide blockquote { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; color: #101828; margin: 0 0 1.6rem; font-weight: 500; }
.cs-slide figcaption { display: grid; justify-items: center; gap: 0.2rem; }
.cs-face { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 0.6rem; }
.cs-slide figcaption b { font-size: 1.05rem; color: #101828; } .cs-slide figcaption span { color: #475467; }
.cs-slide figcaption a, .cs-more { color: #0077C0; font-weight: 600; margin-top: 0.6rem; display: inline-block; }
.cs-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.4rem; }
.cs-nav button { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid #98A2B3; font-size: 1.4rem; color: #344054; display: flex; align-items: center; justify-content: center; }
.cs-nav button:hover { border-color: #0096EE; color: #0096EE; }
.cs-nav span { color: #98A2B3; font-size: 1.2rem; } .cs-nav b { color: #344054; font-weight: 500; }
.cs-slide--ask { text-align: left; }
.cs-ask-icon { width: 3.2rem; height: 3.2rem; border-radius: 1rem; background: linear-gradient(135deg, #33B1F5, #0078BE); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.cs-slide--ask p { color: #475467; line-height: 1.6; margin: -0.6rem 0 1.4rem; }
.cs-ask-logos { overflow: hidden; margin: 0 -2.5rem 1.6rem; padding: 0.4rem 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cs-ask-logos > div { display: flex; gap: 0.7rem; width: max-content; animation: cs-marq 30s linear infinite; }
.cs-ask-logos span { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 1rem; border-radius: 0.8rem; border: 1px solid #EEF2F6; background: #fff; }
.cs-ask-logos img { max-height: 30px; max-width: 110px; object-fit: contain; }
@keyframes cs-marq { to { transform: translateX(-50%); } }

.cs-bar { position: sticky; top: 4.2rem; z-index: 20; background: #fff; border-bottom: 1px solid #EEF2F6; box-shadow: 0 8px 20px -18px rgba(0, 40, 80, 0.5); }
.cs-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.cs-tabs { display: flex; gap: 1.5rem; align-self: stretch; }
.cs-tabs button { position: relative; font-size: 1rem; color: #344054; padding: 0 0.3rem; }
.cs-tabs button.is-active { color: #0077C0; }
.cs-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #0096EE; }
.cs-select { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: #344054; }
.cs-select select { border: 1px solid #D0D5DD; border-radius: 0.6rem; padding: 0.45rem 0.8rem; font: inherit; color: #101828; background: #fff; }
.cs-bar-note { font-size: 0.88rem; color: #667085; }

.cs-grid-wrap { padding: 3rem 0 5rem; background: linear-gradient(160deg, #0A8FE0, #0070B8); }
.cs-grid { columns: 3; column-gap: 1.6rem; }
.cs-card { break-inside: avoid; margin-bottom: 1.6rem; padding: 2rem 2.1rem; border-radius: 1.2rem; background: #fff; display: grid; gap: 0.8rem; justify-items: start; opacity: 0; transform: translateY(14px); animation: cs-in 0.5s ease forwards; animation-delay: calc(var(--i) * 0.05s); }
.cs-card[hidden] { display: none; }
.cs-card-logo { max-height: 48px; max-width: 180px; object-fit: contain; }
.cs-card h2 { font-size: 1.3rem; line-height: 1.4; font-weight: 500; color: #101828; }
.cs-card p { color: #475467; font-size: 0.95rem; line-height: 1.55; }
.cs-results { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cs-results span { display: grid; padding: 0.6rem 0.8rem; border-radius: 0.7rem; background: #F0F8FE; font-size: 0.78rem; color: #475467; }
.cs-results b { font-size: 1.2rem; color: #0077C0; }
.cs-person { display: flex; gap: 0.9rem; align-items: center; margin-top: 0.4rem; }
.cs-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.cs-person b { display: block; color: #101828; } .cs-person span { font-size: 0.9rem; color: #475467; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cs-tags span { font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 99px; background: #F2F4F7; color: #475467; }
.cs-card-logo-box { display: flex; align-items: center; justify-content: center; height: 76px; padding: 0 1.2rem; border-radius: 0.8rem; border: 1px solid #EEF2F6; }
.cs-card-logo-box img { max-height: 40px; max-width: 170px; object-fit: contain; }
.cs-card--logo:nth-child(3n+2) .cs-card-logo-box { height: 110px; }
.cs-card--you { background: #EAF6FE; }
.cs-empty { text-align: center; color: #fff; font-size: 1.05rem; }

@media (max-width: 1023px) { .cs-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .cs-grid { columns: 2; } }
@media (max-width: 640px) { .cs-hero { padding-top: 7rem; } .cs-grid { columns: 1; } .cs-slide { padding: 2rem 1.4rem; } .cs-tile { height: 70px; flex-basis: 120px; } .cs-bar-row { padding: 0.5rem 0; } }
@media (prefers-reduced-motion: reduce) { .cs-ask-logos > div { animation: none; } .cs-tile, .cs-card { animation: none; opacity: 1; transform: none; } }
