*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #222;
    min-height: 100vh;
    padding: 0 16px 60px;
}

.page-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding-top: 24px;
}

.back-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s;
    margin-bottom: 8px;
    text-align: center;
}
.back-link:hover { color: #555; }

/* Hero */
.about-hero {
    text-align: center;
    padding: 48px 0 36px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 36px;
}
.about-hero h1 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: normal;
    color: #111;
    line-height: 1.2;
    margin-bottom: 10px;
}
.about-hero p {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.6;
}

/* Sections */
.about-section {
    margin-bottom: 36px;
}
.section-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #bbb;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Mission */
.mission-text {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.75;
}

/* Dictionary cards */
.dict-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dict-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.dict-card-body strong {
    display: block;
    font-size: 0.88rem;
    color: #222;
    margin-bottom: 4px;
    font-weight: 500;
}
.dict-card-body p {
    font-size: 0.76rem;
    color: #999;
    line-height: 1.55;
}

/* Quote */
.arabic-quote {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px 22px;
    text-align: center;
}
.arabic-quote .arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.arabic-quote .arabic-translation {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-bottom: 6px;
}
.arabic-quote .arabic-source {
    font-size: 0.9rem;
    color: #bbb;
}

/* Fons Vitae */
.fons-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px 18px;
}
.fons-card p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}
.fons-card a {
    font-size: 0.76rem;
    color: #006080;
    text-decoration: none;
    font-weight: 500;
}
.fons-card a:hover { text-decoration: underline; }

/* Footer */
.about-footer {
    border-top: 1px solid #efefef;
    padding-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.trust-line {
    font-size: 0.72rem;
    color: #bbb;
}
.credit-line {
    font-size: 0.68rem;
    color: #ccc;
}
.credit-line a { color: #ccc; text-decoration: none; }
.privacy-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #006080;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 6px;
    transition: background 0.15s;
}
.privacy-btn:hover { background: #004f66; }
