/* ============================================================
   pages.css  –  inner page styles (business, community, contact)
   Import this AFTER app.css
   ============================================================ */

/* ============================================================
   SHARED INNER-PAGE COMPONENTS
   ============================================================ */

/* ---------- Hero Inner (purple gradient hero) ---------- */
.hero-inner {
    position: relative;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    overflow: hidden;
}

.hero-inner__inner {
    max-width: 72rem;
    margin-inline: auto;
    padding: 5rem 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-inner__inner {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-inner__inner {
        padding: 7rem 2rem;
    }
}

.hero-inner__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .hero-inner__grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Pill badge */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 99px;
    margin-bottom: 1.25rem;
}

.hero-inner h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-inner p {
    color: rgba(255, 255, 255, .75);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 28rem;
    margin-bottom: .5rem;
}

/* Hero actions row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.hero-actions.justify-center {
    justify-content: center;
}

/* Hero card (right column) */
.hero-card {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .75rem;
    padding: 2rem;
    color: #fff;
}

.hero-card .box-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 1rem;
}

.hero-card ul {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.hero-card ul li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .9);
}

.hero-card ul li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* Diagonal clip at bottom */
.hero-diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: #fff;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: .5rem;
    font-size: .95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn.w-full {
    width: 100%;
}

.btn.justify-center {
    justify-content: center;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--purple-dark);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--gray-100);
}

/* ---------- Stats strip ---------- */
.stats-strip {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .stats-strip {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .stats-strip {
        padding-inline: 2rem;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    margin-bottom: .35rem;
}

.stat-label {
    font-size: .875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ---------- Section wrapper ---------- */
.section-wrap {
    padding: 5rem 1rem;
    max-width: 72rem;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .section-wrap {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-wrap {
        padding-inline: 2rem;
    }
}

.section-wrap.alt {
    background: var(--gray-50);
    max-width: 100%;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .section-wrap.alt {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-wrap.alt {
        padding-inline: 2rem;
    }
}

.section-wrap.alt>* {
    max-width: 72rem;
    margin-inline: auto;
}

/* Section head */
.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: .75rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 40rem;
    margin-inline: auto;
    line-height: 1.7;
}

/* ---------- Tiles grid (product/program tiles) ---------- */
.tiles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tile {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 2px solid var(--gray-200);
    border-radius: .75rem;
    background: #fff;
    text-decoration: none;
    color: var(--gray-900);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.tile:hover {
    border-color: var(--purple);
    box-shadow: 0 8px 24px rgba(107, 45, 133, .1);
    transform: translateY(-2px);
}

.tile-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: .5rem;
}

.t-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .4rem;
}

.t-desc {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
}

.t-more {
    margin-top: 1.25rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--purple);
}

.tile:hover .t-more {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Split layout ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

.split-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.split-text p {
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 2rem;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: var(--gray-700);
}

.feature-list li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

.split-img {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-100);
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Order helpers for reversed split */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

@media (min-width: 1024px) {
    .lg-order-1 {
        order: 1;
    }

    .lg-order-2 {
        order: 2;
    }
}

/* ---------- Industry chips ---------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1.25rem;
    border-radius: 99px;
    border: 2px solid var(--gray-200);
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}

.chip:hover {
    border-color: var(--purple);
    background: var(--purple);
    color: #fff;
}

/* ---------- CTA Band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    padding: 5rem 1rem;
    text-align: center;
    color: #fff;
}

.cta-band>div {
    max-width: 42rem;
    margin-inline: auto;
    position: relative;
    z-index: 10;
}

.cta-band h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-band p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: .5rem;
}

/* ---------- News card (community stories) ---------- */
.news-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: .75rem;
    overflow: hidden;
    transition: box-shadow .2s;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.news-card__thumb {
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--gray-50);
}

/* Themed backgrounds */
.bg-purple-light {
    background: #f5f0f9;
}

.bg-orange-light {
    background: #fff4e6;
}

.bg-green-light {
    background: #f0faf4;
}

.bg-blue-light {
    background: #eff6ff;
}

.news-card__body {
    padding: 1.5rem;
}

.news-tag {
    display: inline-block;
    background: rgba(107, 45, 133, .1);
    color: var(--purple);
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: 99px;
    margin-bottom: .75rem;
}

.news-card__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    margin-bottom: .5rem;
}

.news-card__body p {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-story {
    font-size: .875rem;
    font-weight: 600;
    color: var(--purple);
    border-bottom: 2px solid transparent;
    transition: border-color .2s;
    text-decoration: none;
}

.read-story:hover {
    border-color: var(--purple);
}

/* ---------- Page header (contact page) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    padding: 4rem 1rem;
    color: #fff;
    text-align: center;
}

@media (min-width: 640px) {
    .page-header {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .page-header {
        padding-inline: 2rem;
    }
}

.page-header>div {
    max-width: 72rem;
    margin-inline: auto;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.page-header p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    max-width: 36rem;
    margin-inline: auto;
}

/* ---------- Contact grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

/* Contact info card */
.contact-info-card {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    border-radius: 1rem;
    padding: 2.5rem;
    color: #fff;
}

.contact-info-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, .15);
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text .c-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: .2rem;
}

.contact-item-text .c-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.contact-item-text .c-sub {
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
    margin-top: .2rem;
}

/* Contact form card */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.75rem;
}

/* Form elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-group label .optional {
    color: var(--gray-300);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: .8rem;
    margin-left: .3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: .5rem;
    font-size: .95rem;
    font-family: inherit;
    color: var(--gray-900);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(107, 45, 133, .1);
}

.form-group textarea {
    min-height: 8rem;
    resize: vertical;
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #dc2626;
}

.field-error {
    font-size: .8rem;
    color: #dc2626;
    margin-top: .2rem;
}

/* Alert banners */
.alert-banner,
.success-banner {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

.alert-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.success-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.inline-link {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inline-link:hover {
    color: var(--purple-dark);
}

/* ---------- Quote panel (community split) ---------- */
.quote-panel {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    background: linear-gradient(135deg, #f5f0f9 0%, #fff4e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem;
    text-align: center;
}

.quote-icon {
    font-size: 4.5rem;
}

.quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-dark);
    line-height: 1.4;
    max-width: 28rem;
}

.quote-author {
    font-size: .875rem;
    color: var(--gray-500);
}

/* ---------- Stories grid ---------- */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   PERSONAL PAGE
   ============================================================ */

/* Hero glow blobs */
.hero-inner--glow {
    overflow: hidden;
}

.hero-inner--glow::before,
.hero-inner--glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: .25;
    pointer-events: none;
}

.hero-inner--glow::before {
    width: 24rem;
    height: 24rem;
    background: var(--orange);
    filter: blur(5rem);
    top: -6rem;
    left: -6rem;
}

.hero-inner--glow::after {
    width: 28rem;
    height: 28rem;
    background: var(--purple);
    filter: blur(5rem);
    bottom: -6rem;
    right: -6rem;
}

/* Personal hero white card */
.personal-hero-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    overflow: hidden;
}

.personal-hero-card__header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.phc-title {
    font-weight: 600;
    color: var(--gray-900);
}

.phc-sub {
    font-size: .875rem;
    color: var(--gray-500);
    margin-top: .25rem;
}

.personal-hero-card__list {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.personal-hero-card__list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--gray-700);
    font-size: .95rem;
}

.personal-hero-card__list li::before {
    content: "";
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    margin-top: .45rem;
}

.personal-hero-card__footer {
    padding: 0 1.5rem 1.5rem;
}

.explore-link {
    font-weight: 600;
    color: var(--purple);
    text-decoration: none;
}

.explore-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Section intro (left-aligned variant) */
.section-intro {
    margin-bottom: 2.5rem;
}

.section-intro .section-title {
    text-align: left;
    margin-bottom: .75rem;
}

.section-intro .section-desc {
    text-align: left;
    margin-inline: 0;
}

/* 4-column tiles override */
.tiles-grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .tiles-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tiles-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Hover-lift tile variant */
.tile--hover-lift {
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.tile--hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

/* Split image fallback */
.split-img-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9d5f5, #c4b5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

/* Rates band */
.rates-band {
    background: var(--purple-dark);
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .rates-band {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .rates-band {
        padding-inline: 2rem;
    }
}

.rates-band__inner {
    max-width: 80rem;
    margin-inline: auto;
}

.rates-band__head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rates-band__head h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-top: .5rem;
}

.eyebrow--light {
    color: rgba(255, 255, 255, .6);
}

.rates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rate-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #fff;
}

.rate-label {
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
}

.rate-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 1rem;
}

.rate-value sup {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
}

.rate-note {
    font-size: .875rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
    margin-top: .5rem;
}

.rates-disclaimer {
    margin-top: 1.5rem;
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    text-align: center;
}

/* Tool chips */
.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1.25rem;
    border-radius: 99px;
    border: 2px solid var(--gray-200);
    background: #fff;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}

.tool-chip:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(107, 45, 133, .05);
}

/* ============================================================
   SECURITY PAGE
   ============================================================ */

/* Alert banner warning variant */
.alert-banner--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* Security cards grid */
.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .security-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.security-grid--3 {}

/* same as default — alias for clarity */

.security-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: .75rem;
    padding: 1.75rem;
    transition: box-shadow .2s;
}

.security-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.security-card--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.s-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    background: rgba(107, 45, 133, .08);
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .5rem;
}

.security-card p {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Chip static (non-link) */
.chip--static {
    cursor: default;
}

.chip--static:hover {
    border-color: var(--gray-200);
    background: transparent;
    color: var(--gray-700);
}

/* Security panel (split right column) */
.security-panel {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem;
    text-align: center;
}

.security-panel__icon {
    font-size: 4.5rem;
}

.security-panel__text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    max-width: 22rem;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.security-badge {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .75rem;
    padding: .4rem 1rem;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
}

/* ============================================================
   SUPPORT PAGE
   ============================================================ */

/* Search bar */
.support-search-wrap {
    background: var(--gray-50);
    padding: 2.5rem 1rem;
}

@media (min-width: 640px) {
    .support-search-wrap {
        padding-inline: 1.5rem;
    }
}

.support-search {
    max-width: 42rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: border-color .2s, box-shadow .2s;
}

.support-search:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(107, 45, 133, .1);
}

.support-search__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.support-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: .95rem;
    font-family: inherit;
    color: var(--gray-900);
}

.support-search__input::placeholder {
    color: var(--gray-300);
}

.support-search__btn {
    flex-shrink: 0;
    font-size: .875rem;
    padding: .5rem 1rem;
}

/* FAQ accordion */
.faq-list {
    border: 1px solid var(--gray-200);
    border-radius: .75rem;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    font-family: inherit;
    transition: background .15s;
}

.faq-q:hover {
    background: var(--gray-50);
}

.faq-q[aria-expanded="true"] {
    background: var(--gray-50);
    color: var(--purple);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--purple);
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-q[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a.open {
    max-height: 20rem;
}

.faq-a-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}