/* توأم · Tawam — صفحة التجربة (/beta). تُحمَّل فوق style.css في هذه الصفحة فقط. */

.bt-head { padding-block: clamp(48px, 8vw, 96px) 0; text-align: center; }
.bt-head h1 { font-size: clamp(40px, 7.4vw, 80px); line-height: 1.25; }
.bt-head .lead { margin-inline: auto; }

/* الوعد */
.bt-promise { margin-block: clamp(36px, 6vw, 64px); }
.bt-promise__in {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 64px); border-radius: var(--r-card);
  background: var(--nila); color: #FFFFFF;
  background-image: radial-gradient(70% 90% at 50% 0%, rgba(255, 154, 92, .30), transparent 65%);
}
@media (prefers-color-scheme: dark) { .bt-promise__in { background-color: #2A2E96; } }
.bt-promise__mark { display: inline-flex; gap: 6px; margin-block-end: 18px; }
.bt-promise__mark span { width: 18px; height: 18px; border-radius: 28%; background: #FFFFFF; }
.bt-promise__mark span + span { background: var(--hinna-bright); }
.bt-promise__text { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.4; max-width: 18em; margin-inline: auto; text-wrap: balance; }
html[lang="en"] .bt-promise__text { letter-spacing: -.01em; line-height: 1.2; }
.bt-promise__sub { margin-block-start: 16px; color: #E4E5FB; font-size: 17px; }
.bt-promise__sub a { color: #FFFFFF; font-weight: 600; }

/* المنصتان */
.bt-plats { display: grid; gap: 20px; }
@media (min-width: 900px) { .bt-plats { grid-template-columns: 1fr 1fr; align-items: start; } }
.bt-plat { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3vw, 32px); scroll-margin-top: 80px; }
.bt-plat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bt-plat__head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 32px); line-height: 1.35; }
.bt-plat__head p { color: var(--muted); font-size: 15px; margin-block-start: 2px; }
.bt-status { flex: none; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--tint-2); color: var(--accent-text); }
.bt-status--open { background: #E6EFDC; color: #23774A; }
.bt-status--closed { background: var(--surface-2); color: var(--muted); }
@media (prefers-color-scheme: dark) { .bt-status--open { background: #183324; color: #7FD1A0; } }
.bt-plat__note { margin-block-start: 18px; font-size: 14px; color: var(--muted); }
.bt-plat__note--state { margin-block-start: 16px; padding: 12px 16px; border-radius: 14px; background: var(--tint); color: var(--ink); font-size: 15px; }

.bt-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; counter-reset: bt; }
.bt-steps li {
  counter-increment: bt; position: relative; display: grid; gap: 4px;
  padding: 18px 18px 18px 18px; padding-inline-start: 62px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line);
}
.bt-steps li::before {
  content: counter(bt); position: absolute; inset-inline-start: 18px; top: 18px;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 28%;
  background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 15px;
}
.bt-steps h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }
.bt-steps p { color: var(--muted); font-size: 15px; }
.bt-btn { justify-self: start; margin-block-start: 8px; gap: 8px; min-height: 44px; font-size: 15px; }
.bt-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .bt-btn svg { transform: scaleX(-1); }
.bt-pending { justify-self: start; margin-block-start: 8px; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* أثناء التجربة */
.bt-how .sec__head { margin-block-end: 28px; }
.bt-two { display: grid; gap: 20px; }
@media (min-width: 820px) { .bt-two { grid-template-columns: 1fr 1fr; } }
.bt-card { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3vw, 30px); }
.bt-card h3 { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1.4; }
.bt-list { margin: 14px 0 0; padding-inline-start: 20px; display: grid; gap: 10px; color: var(--muted); }
.bt-list b { color: var(--ink); font-weight: 600; }
.bt-small { margin-block-start: 14px; font-size: 14px; color: var(--muted); }

/* النموذج */
.bt-signup { scroll-margin-top: 64px; }
.bt-form-card { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 5vw, 48px); }
.bt-form-card .h2 { font-size: clamp(30px, 4.4vw, 46px); }
.bt-form-lead { margin-block-start: 12px; color: var(--muted); }
.bt-form { display: grid; gap: 18px; margin-block-start: 24px; }
.bt-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-field label, .bt-field legend { font-weight: 600; font-size: 15px; padding: 0; }
.bt-opt { font-weight: 400; color: var(--muted); }
.bt-field input[type=email], .bt-field input[type=text] {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px;
}
.bt-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.bt-field--err input[type=email], .bt-field--err input[type=text] { border-color: #B42318; }
.bt-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-choices legend { margin-block-end: 8px; width: 100%; }
.bt-choice { position: relative; }
.bt-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bt-choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); font-size: 15px; font-weight: 500; cursor: pointer;
}
.bt-choice input:checked + span { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.bt-choice input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.bt-field--err.bt-choices .bt-choice span { border-color: #B42318; }
.bt-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.bt-consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--nila); }
.bt-consent.bt-field--err span { color: #B42318; }
@media (prefers-color-scheme: dark) { .bt-consent.bt-field--err span { color: #F97066; } }
.bt-submit { justify-self: start; min-height: 54px; padding-inline: 30px; font-size: 17px; border: 0; cursor: pointer; font-family: inherit; }
.bt-form { position: relative; }
.bt-hp { position: absolute; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

.bt-ok, .bt-err { margin-block-start: 20px; padding: 18px 20px; border-radius: 18px; }
.bt-ok { background: #E6EFDC; color: #14152B; }
.bt-ok__title { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1.4; color: #23774A; }
.bt-ok p + p { margin-block-start: 6px; }
.bt-err { background: #FDECEA; color: #14152B; }
.bt-err__title { font-weight: 600; color: #B42318; }
.bt-err ul { margin: 6px 0 0; padding-inline-start: 20px; }
@media (prefers-color-scheme: dark) {
  .bt-ok { background: #183324; color: var(--ink); }
  .bt-ok__title { color: #7FD1A0; }
  .bt-err { background: #3A1A1A; color: var(--ink); }
  .bt-err__title { color: #F97066; }
}
