/* نوديَّات - standalone static site (no build step) */

html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
    background: #fbfaf9;
    color: #251f21;
    font-family: 'Cairo', 'Noto Sans Arabic', -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

.rtl-page { direction: rtl; text-align: right; }

.file-card {
    max-width: 1040px;
    margin: 0 auto;
    padding: 36px 20px;
    background: #fbfaf9;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: #1a120b;
    color: #faf3e7;
    border-radius: 20px;
    padding: 18px 20px 40px;
    margin-bottom: 8px;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brand {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.navlinks { display: flex; gap: 14px; flex-wrap: wrap; }
.navlinks a {
    color: #d8c9b4;
    text-decoration: none;
    font-size: 13px;
}
.navlinks a:hover, .navlinks a:focus { color: #f2994a; }

.hero-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 26px;
}

.hero-art {
    position: relative;
    width: min(58vw, 240px);
    margin-bottom: 22px;
}
.hero-art img {
    width: 100%;
    display: block;
    border-radius: 24px;
    position: relative;
    z-index: 1;
}
.hero-ring {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(242, 153, 74, 0.55);
    border-radius: 50%;
    z-index: 0;
}

.hero-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #d8c9b4;
}

.hero-title {
    margin: 0;
    font-weight: 900;
    font-size: clamp(46px, 14vw, 88px);
    line-height: 1.12;
    display: flex;
    flex-direction: column;
}
.hero-title .line1 { color: #faf3e7; }
.hero-title .line2 { color: #f2994a; }

.hero-sub {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 24px;
    color: #e6dac6;
    max-width: 34ch;
}

.hero-cta {
    display: inline-block;
    margin-top: 22px;
    background: #f2994a;
    color: #1a120b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 999px;
}
.hero-cta:hover, .hero-cta:focus { background: #f7ab67; }

.hero-watermark {
    position: absolute;
    bottom: -26px;
    inset-inline-start: -6px;
    font-weight: 900;
    font-size: 120px;
    color: rgba(250, 243, 231, 0.05);
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- Kit-equivalent building blocks ---------- */
.file-caption {
    font-size: 12px;
    line-height: 20px;
    color: #585254;
    margin: 8px 0 16px;
}

.file-group { margin: 22px 0; }
.file-group-heading {
    font-size: 21px;
    font-weight: 800;
    color: #251f21;
    margin: 0 0 12px;
}
.file-group-label {
    font-size: 14px;
    color: #585254;
    margin: 0;
}
.file-group-head { margin-bottom: 12px; }
.file-group-head .file-group-heading { margin-bottom: 0; }

.file-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}
.file-row {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eae9ea;
}
.file-row-slot.is-number {
    color: #585254;
    font-weight: 700;
    min-width: 18px;
}
.file-row-main { display: flex; flex-direction: column; }
.file-strong { font-weight: 700; color: #251f21; }
.file-row-detail { display: block; color: #585254; }

.file-text .file-p { margin: 0 0 10px; max-width: 62ch; }
.file-link { color: #251f21; text-decoration: underline; text-decoration-color: #c0bebf; }
.file-link:hover { color: #b35c12; }

.file-callout {
    background: #f4efec;
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-closing {
    color: #585254;
    margin-top: 28px;
    max-width: 62ch;
}

/* ---------- Body ---------- */
.body-sections { padding-top: 4px; }
.body-sections > div { scroll-margin-top: 16px; }

/* ---------- Chat mock ---------- */
.chat-mock { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 8px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 22px; }
.bubble-visitor { align-self: flex-start; background: #f4efec; color: #251f21; border-start-start-radius: 4px; }
.bubble-bot { align-self: flex-end; background: rgba(115,168,154,0.12); border: 1px solid #73a89a; color: #251f21; border-start-end-radius: 4px; }

@media (min-width: 768px) {
    .file-card { padding: 36px; }
    .hero { padding: 26px 48px 56px; }
    .hero-watermark { font-size: 220px; bottom: -48px; }
}
