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

nav .logo {
    text-decoration: none;
    color: #0f172a;
}

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 4rem 5% 3rem;
    background: linear-gradient(180deg, #eef2ff 0%, #fff 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: #eef2ff;
    border-radius: 12px;
    color: #6366f1;
    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: #6366f1;
    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: #eef2ff;
    color: #4338ca;
    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;
}

/* Jobs List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99,102,241,0.08);
}

.job-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.job-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 0.82rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
}

.job-apply {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.job-apply:hover {
    text-decoration: underline;
}

/* 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) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .docs-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
