/* توأم · Tawam — صفحة الهوية (/brand). تُحمَّل فوق style.css في هذه الصفحة فقط. الألوان من tawam-tokens.json. */

.bk-head { padding-block: clamp(48px, 8vw, 96px) 8px; }
.bk-head h1 { font-size: clamp(40px, 7vw, 72px); }
.bk-head .lead { max-width: 38em; }
.bk-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 28px; }
.bk-dl .btn { gap: 8px; }
.bk-dl svg, .bk-files svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bk-dl__size { font-weight: 400; font-size: 13px; opacity: .8; }

.bk-sec { padding-block: clamp(64px, 9vw, 112px); }
.bk-sec + .bk-sec { padding-block-start: 0; }
.bk-sec .sec__head { margin-block-end: clamp(28px, 4vw, 44px); }
.bk-p { margin-block-start: 14px; color: var(--muted); max-width: 36em; }
.bk-note { margin-block-start: 20px; color: var(--muted); font-size: 15px; }

/* الفكرة */
.bk-idea { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .bk-idea { grid-template-columns: 1.15fr .85fr; } }
.bk-idea__art { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-card); background: var(--nila-soft); padding: 12%; }
.bk-idea__art img { width: 100%; max-width: 320px; }
@media (prefers-color-scheme: dark) { .bk-idea__art { background: #F7F7FC; } }
.bk-pair { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.bk-pair li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.bk-pair b { font-weight: 600; }
.bk-pair small { grid-column: 2; color: var(--muted); font-size: 14px; }
.bk-sq { grid-row: span 2; width: 40px; height: 40px; border-radius: 28%; }
.bk-sq--nila { background: #3A3FC4; }
.bk-sq--hinna { background: #E2662B; }

/* نسخ الشعار */
.bk-logos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.bk-logo { margin: 0; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.bk-logo__img { display: grid; place-items: center; height: 190px; padding: 28px; background: #FFFFFF; }
.bk-logo__img img { max-height: 120px; width: auto; max-width: 100%; }
.bk-logo--nila .bk-logo__img { background: #3A3FC4; }
.bk-logo figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; font-size: 15px; }
.bk-logo figcaption b { font-weight: 600; }
.bk-logo__use { color: var(--muted); }
.bk-logo__files { color: var(--muted); font-size: 13px; margin-block-start: 6px; }
.bk-logo__fn { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); margin-block-start: 6px; text-align: end; }
html[dir="ltr"] .bk-logo__fn { text-align: start; }
.bk-logo__fn + .bk-logo__files { margin-block-start: 0; }
.bk-logo__files a { color: var(--primary); font-weight: 600; }

/* المساحة والمقاس */
.bk-two { display: grid; gap: 16px; }
@media (min-width: 820px) { .bk-two { grid-template-columns: 1fr 1fr; } }
.bk-card { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 24px; }
.bk-card > p { color: var(--muted); margin-block-start: 16px; font-size: 16px; }
.bk-card.bk-type > p { margin-block-start: 0; }
.bk-clear { position: relative; display: grid; place-items: center; background: #FFFFFF; border-radius: 16px; padding: 28px; }
.bk-clear img { width: 62%; max-width: 260px; outline: 2px dashed #E2662B; outline-offset: 22px; margin: 26px; }
.bk-clear__x { position: absolute; font: 600 13px/1 var(--text); color: #A3400F; background: #FCE9DE; padding: 3px 7px; border-radius: 6px; }
.bk-clear__x--t { top: 10px; left: 50%; transform: translateX(-50%); }
.bk-clear__x--s { top: 50%; inset-inline-start: 8px; transform: translateY(-50%); }
.bk-min { display: flex; align-items: flex-end; justify-content: center; gap: 48px; min-height: 220px; background: #FFFFFF; border-radius: 16px; padding: 28px; }
.bk-min figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.bk-min figcaption { font-size: 13px; color: #5C5F7E; }
.bk-min__lockup { width: 96px; height: auto; }
.bk-min__mark { width: 16px; height: 16px; }

/* الألوان */
.bk-colors { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.bk-sw { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: grid; gap: 2px; padding-block-end: 18px; }
.bk-sw > :not(.bk-sw__chip) { padding-inline: 18px; }
.bk-sw__chip { display: block; height: 120px; margin-block-end: 14px; }
.bk-sw b { font-weight: 600; font-size: 17px; }
.bk-sw__hex { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; text-align: start; user-select: all; }
.bk-sw__rgb { font-size: 13px; color: var(--muted); text-align: start; }
.bk-sw__use { font-size: 14px; color: var(--muted); margin-block-start: 6px; }
html[dir="rtl"] .bk-sw__hex, html[dir="rtl"] .bk-sw__rgb { text-align: right; }
.bk-sw--nila { background: #3A3FC4; }
.bk-sw--hinna { background: #E2662B; }
.bk-sw--zaytoon { background: #4F7A34; }
.bk-sw--kohl { background: #14152B; }
.bk-sw--nila-soft { background: #E9EAFB; box-shadow: inset 0 -1px 0 var(--line); }
.bk-sw--hinna-strong { background: #A3400F; }
@media (prefers-color-scheme: dark) { .bk-sw--kohl { box-shadow: inset 0 0 0 1px rgba(238, 239, 250, .16); } }

/* الخطوط */
.bk-card.bk-type > .bk-type__name { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.bk-card.bk-type > .bk-type__display { color: var(--ink); font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 54px); line-height: 1.35; margin-block-start: 8px; }
.bk-card.bk-type > .bk-type__text { color: var(--ink); font-size: 18px; line-height: 1.75; margin-block-start: 10px; }
.bk-card.bk-type > .bk-type__glyphs { font-family: var(--display); font-weight: 900; font-size: 28px; margin-block-start: 14px; color: var(--primary); }
.bk-card.bk-type > .bk-type__glyphs--text { font-family: var(--text); font-weight: 500; }
.bk-card.bk-type > .bk-type__meta { font-size: 13px; color: var(--muted); margin-block-start: 6px; }
.bk-card.bk-type > p:last-child { margin-block-start: 14px; }

/* أيقونة التطبيق */
.bk-icons { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.bk-icons figure { margin: 0; display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.bk-icons img { width: clamp(120px, 18vw, 180px); height: auto; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(20, 21, 43, .45); }

/* الممنوعات */
.bk-donts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.bk-donts li { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.bk-donts p { padding: 14px 16px 16px; font-size: 15px; color: var(--muted); }
.bk-dont__img { position: relative; display: grid; place-items: center; height: 170px; background: #FFFFFF; }
.bk-dont__img img { width: 110px; height: 110px; }
.bk-dont__img::after {
  content: "✕"; position: absolute; top: 10px; inset-inline-end: 10px;
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: #B42318; color: #FFFFFF; font-size: 14px; font-weight: 600;
}
.bk-dont__img::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(180, 35, 24, .35) 50%, transparent calc(50% + 1px));
}
.bk-dont__fx { filter: drop-shadow(6px 8px 6px rgba(20, 21, 43, .55)); }
.bk-dont__typed { font-family: "Readex Pro", system-ui, sans-serif; font-weight: 600; font-size: 54px; color: #3A3FC4; }

/* التنزيل */
.bk-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .bk-files { grid-template-columns: repeat(3, 1fr); } }
.bk-files a {
  display: grid; gap: 6px; height: 100%; padding: 24px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s ease;
}
.bk-files a:hover { transform: translateY(-2px); border-color: var(--primary); }
.bk-files__type { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--primary); }
.bk-files b { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.4; margin-block-start: 8px; }
.bk-files__sub { color: var(--muted); font-size: 15px; }
.bk-files__size { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 10px; color: var(--primary); font-weight: 600; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { .bk-files a { transition: none; } .bk-files a:hover { transform: none; } }
