/* About — one designed page: light header, dark copy, founder photo */

.about-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    padding: 4rem 1rem 3.25rem;
}

.public-main .about-hero h1,
.about-hero h1 {
    color: #0f172a;
    font-size: clamp(2.15rem, 4.2vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.85rem;
}

.public-main .about-hero .lead,
.about-hero .lead {
    color: #1f2937;
    max-width: 38rem;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.65;
}

/* Founder */
.founder-story {
    background: #fff;
    padding: 3.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.founder-story-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 1.2rem;
    line-height: 1.2;
}

.founder-story-copy {
    max-width: 40rem;
}

.founder-story-copy p {
    color: #1f2937;
    font-size: 1.06rem;
    line-height: 1.8;
    margin: 0 0 1.1rem;
}

.founder-story-copy p:last-child {
    margin-bottom: 0;
}

.founder-photo {
    margin: 0;
}

.founder-photo-frame {
    position: relative;
    padding: 0.35rem;
}

.founder-photo-frame::before {
    content: "";
    position: absolute;
    inset: 0.85rem -0.65rem -0.65rem 0.85rem;
    border-radius: 22px;
    background: linear-gradient(165deg, #1e3a5f 0%, #2563eb 70%);
    opacity: 0.18;
    z-index: 0;
}

.founder-photo-slot {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(165deg, #e8eef7 0%, #dbeafe 55%, #e2e8f0 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.founder-photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    display: block;
}

.founder-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.founder-photo-mark {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: #fff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.founder-photo-hint {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e3a5f;
}

.founder-photo-caption {
    margin-top: 1rem;
    text-align: center;
}

.founder-photo-caption strong {
    display: block;
    color: #0f172a;
    font-size: 1.08rem;
}

.founder-photo-caption span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: #1f2937;
}

/* Shared section chrome */
.about-section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.about-section-head h2,
.about-mission h2,
.about-tech h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 0.75rem;
}

.public-main .about-section-head p,
.about-section-head p,
.public-main .about-mission p,
.about-mission p,
.public-main .about-tech p,
.about-tech p,
.public-main .about-card p,
.about-card p,
.public-main .about-principle p,
.about-principle p {
    color: #1f2937;
}

/* Mission + stats */
.about-mission {
    background: #f8fafc;
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.about-stat-value {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1d4ed8;
    line-height: 1.15;
}

.about-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
}

/* Provide cards */
.about-provide {
    background: #fff;
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.6rem 1.4rem 1.45rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.about-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    margin-bottom: 0.95rem;
}

.about-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.55rem;
}

.about-card p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.65;
}

.about-card a {
    font-weight: 600;
}

/* Principles */
.about-principles {
    background: #f8fafc;
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-principle {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.4rem;
}

.about-principle-num {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #1d4ed8;
    margin-bottom: 0.65rem;
}

.about-principle h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.about-principle p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Operator disclosure — matches _OperatorStories.cshtml class names */
#operator-stories,
.operator-stories {
    background: #f8fafc;
    padding: 4rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

#operator-stories h2,
.operator-stories h2 {
    color: #0f172a;
}

.public-main #operator-stories .lead,
.public-main .operator-stories .lead,
.public-main #operator-stories .text-muted,
.public-main .operator-stories .text-muted {
    color: #1f2937 !important;
}

.operator-story-card,
.operator-story-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.6rem 1.5rem 1.4rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.operator-story-card-top,
.operator-story-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.operator-story-badge,
.operator-story-badge {
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}

.operator-story-mark,
.operator-story-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
}

.operator-story-name,
.operator-story-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.operator-story-role,
.operator-story-role {
    color: #1f2937;
    margin: 0.2rem 0 0.75rem;
}

.operator-story-quote,
.operator-story-quote {
    margin: 0;
    padding: 0;
    border: 0;
    color: #1f2937;
    font-size: 1.02rem;
    line-height: 1.65;
}

.operator-story-disclose,
.operator-story-disclose {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

/* Tech */
.about-tech {
    background: #fff;
    padding: 4rem 0;
}

.about-tech-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.about-tech-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.7rem;
    color: #1f2937;
    font-weight: 600;
}

.about-tech-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #10b981;
}

.about-security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-security-tile {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
}

.about-security-tile i {
    display: block;
    font-size: 1.35rem;
    color: #1d4ed8;
    margin-bottom: 0.55rem;
}

.about-security-tile strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.about-security-tile span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: #1f2937;
}

/* CTA */
.about-cta {
    padding: 4.25rem 1rem;
}

.about-cta-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.about-cta-inner h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.about-cta-inner p {
    margin-bottom: 1.6rem;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.about-cta-actions .btn {
    min-width: 10.5rem;
}

@media (max-width: 767px) {
    .about-hero {
        padding: 2.75rem 1rem 2.15rem;
        text-align: left;
    }

    .public-main .about-hero .lead {
        margin-left: 0;
        margin-right: 0;
    }

    .founder-story,
    .about-mission,
    .about-provide,
    .about-principles,
    .about-tech {
        padding: 2.75rem 0;
    }

    .founder-photo-slot {
        max-width: 22rem;
        margin: 0 auto;
    }

    .founder-photo-frame::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-card {
        transition: none;
    }

    .about-card:hover {
        transform: none;
    }
}
