/* ── Shared styles for inner pages ── */

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 4rem 5% 3rem;
    background: linear-gradient(180deg, #fef2f2 0%, #fff 50%, #eff6ff 100%);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Page Content */
.page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 5% 4rem;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.content-block p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.content-block.centered {
    text-align: center;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-card {
    padding: 1.8rem;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.value-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.value-card p {
    color: #64748b;
    font-size: 0.93rem;
    margin-bottom: 0;
}

/* Docs Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    color: #0038A8;
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.doc-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doc-link {
    color: #0038A8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.doc-link:hover {
    text-decoration: underline;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-date {
    font-size: 0.82rem;
    color: #94a3b8;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
    line-height: 1.4;
}

.blog-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.team-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D2042D, #0038A8);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: #0f172a;
}

.team-role {
    font-size: 0.85rem;
    color: #D2042D;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: #64748b;
    font-size: 0.88rem;
}

/* Legal Content */
.legal-content ul {
    margin: 0.8rem 0 1.2rem 1.2rem;
    color: #475569;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.3rem;
}

/* Security List */
.security-list {
    list-style: none;
    margin: 0.8rem 0 1.2rem 0;
}

.security-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    line-height: 1.6;
}

.security-list li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 600px) {
    .docs-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}
