@font-face {
  font-family: 'CairoBrand';
  src: url('./assets/Cairo.ttf') format('truetype-variations');
  font-weight: 200 1000;
  font-display: swap;
}

html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }

.tw { direction: rtl; font-family: 'CairoBrand', sans-serif; color: #251f21; }
.tw * { box-sizing: border-box; }

.tw-hero {
  background: #10263F;
  border-radius: 24px;
  padding: 44px 24px 40px;
  text-align: center;
  color: #F4F7FA;
}
.tw-hero img { width: 96px; height: 96px; }
.tw-hero h1 { margin: 18px 0 12px; font-size: 40px; font-weight: 900; color: #F4F7FA; line-height: 1.4; }
.tw-hero .tw-tag { margin: 0 0 28px; font-size: 19px; font-weight: 700; color: #F0A22E; line-height: 1.7; }
.tw-cta {
  display: inline-block; background: #F0A22E; color: #10263F; font-weight: 800;
  font-size: 17px; padding: 14px 34px; border-radius: 999px; text-decoration: none;
  min-height: 44px;
}
.tw-cta-sub { margin-top: 12px; font-size: 13px; color: #B9C6D2; }

.tw-section { margin-top: 34px; }
.tw-section h2 { font-size: 23px; font-weight: 800; margin: 0 0 6px; color: #10263F; }
.tw-section .tw-sub { font-size: 14px; color: #585254; margin: 0 0 16px; }

.tw-cards { display: grid; gap: 18px; }
@media (min-width: 768px) { .tw-cards { grid-template-columns: repeat(3, 1fr); } }
.tw-card {
  border: 1px solid #eae9ea; border-radius: 16px; padding: 20px;
  background: #F4F7FA; display: flex; flex-direction: column; gap: 8px;
}
.tw-card.tw-featured { background: #10263F; color: #F4F7FA; border-color: #10263F; }
.tw-card h3 { margin: 0; font-size: 19px; font-weight: 800; }
.tw-card .tw-price { font-size: 26px; font-weight: 900; color: #F0A22E; }
.tw-card .tw-price small { font-size: 14px; font-weight: 600; color: #B9C6D2; }
.tw-card ul { margin: 4px 0 0; padding: 0 18px 0 0; font-size: 14px; line-height: 1.9; }
.tw-card p { margin: 0; font-size: 14px; line-height: 1.9; }
.tw-card .tw-ask { color: #2E6DA4; font-weight: 700; }
.tw-card.tw-featured .tw-ask { color: #F0A22E; }

.tw-steps { display: grid; gap: 12px; }
@media (min-width: 768px) { .tw-steps { grid-template-columns: repeat(3, 1fr); } }
.tw-step { display: flex; gap: 12px; align-items: flex-start; }
.tw-step .tw-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: #10263F; color: #F0A22E; font-weight: 900; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.tw-step .tw-txt { font-size: 14px; line-height: 1.8; padding-top: 6px; }
.tw-step .tw-txt b { display: block; font-size: 15px; color: #10263F; }

.tw-guarantee {
  background: #F4F7FA; border-right: 4px solid #F0A22E; border-radius: 12px;
  padding: 18px 20px; font-size: 14px; line-height: 1.9;
}
.tw-guarantee b { color: #10263F; }

.tw-faq details { border-bottom: 1px solid #eae9ea; }
.tw-faq summary {
  cursor: pointer; padding: 14px 4px; font-weight: 700; font-size: 15px; color: #10263F;
  min-height: 44px; display: flex; align-items: center; list-style: none;
}
.tw-faq summary::before { content: '؟'; color: #F0A22E; font-weight: 900; margin-left: 10px; }
.tw-faq details p { margin: 0 4px 14px; font-size: 14px; line-height: 1.9; color: #585254; }

.tw-footer {
  margin-top: 36px; background: #10263F; border-radius: 16px; padding: 24px;
  text-align: center; color: #B9C6D2; font-size: 12.5px; line-height: 1.9;
}
.tw-footer img { width: 44px; height: 44px; display: block; margin: 0 auto 10px; }
.tw-footer .tw-brand { color: #F4F7FA; font-weight: 800; font-size: 15px; }

.tw-price-ink { color: #10263F; }
.tw-price-ink small { color: #585254; }
.tw-mech { font-size: 14px; font-weight: 700; color: #10263F; background: #EAF1F7; border-radius: 8px; padding: 8px 10px; }
.tw-durs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tw-dur {
  background: #10263F; color: #F4F7FA; border-radius: 12px;
  padding: 9px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
}
.tw-dur .tw-dur-name { font-size: 12px; font-weight: 800; color: #F0A22E; }
.tw-dur .tw-dur-prices { font-size: 15px; font-weight: 800; }
.tw-dur .tw-dur-prices s { font-size: 12px; font-weight: 700; color: #9AA7B4; margin-inline-end: 6px; text-decoration-thickness: 2px; }
.tw-gline { font-weight: 700; color: #2E6DA4; }

/* Standalone host wrapper (replaces FileCard chrome) */
:root { --ds-page: #ffffff; }
.tw-page { max-width: 1080px; margin: 0 auto; padding: 20px 16px 40px; }

/* Launch promo banner (draft copy, mechanism pending owner's answers) */
.tw-promo { background: linear-gradient(135deg, #F0A22E, #F6B85E); color: #10263F; border-radius: 20px; padding: 28px 24px; text-align: center; margin: 28px 0 0; }
.tw-promo .tw-promo-badge { display: inline-block; background: #10263F; color: #F0A22E; font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.tw-promo h2 { margin: 0 0 8px; font-size: 26px; font-weight: 900; color: #10263F; line-height: 1.5; }
.tw-promo p { margin: 0 0 18px; font-size: 16px; font-weight: 700; color: #1E3A5C; line-height: 1.8; }
.tw-promo a.tw-promo-cta { display: inline-block; background: #10263F; color: #F4F7FA; font-weight: 800; font-size: 16px; padding: 13px 34px; border-radius: 999px; text-decoration: none; }

/* Strikethrough original price next to opening-offer price */
.tw-old { display: inline-block; font-size: 15px; font-weight: 700; color: #9AA7B4; text-decoration: line-through; margin-inline-start: 8px; }

/* Card product icons */
.tw-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tw-card-head img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 1px 4px rgba(16,38,63,.14); flex: none; }
.tw-card-head h3 { margin: 0; }

/* Motion - tasteful, disabled under reduced-motion */
.tw-card { transition: transform .25s ease, box-shadow .25s ease; }
.tw-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,38,63,.12); }
.tw-cta, .tw-promo a.tw-promo-cta { transition: transform .2s ease, box-shadow .2s ease; }
.tw-cta:hover, .tw-promo a.tw-promo-cta:hover { transform: scale(1.045); }
.tw-dur { transition: transform .15s ease; }
.tw-dur:hover { transform: scale(1.04); }
@media (prefers-reduced-motion: no-preference) {
  .tw-hero img { animation: tw-float 5s ease-in-out infinite; }
  .tw-promo { background-size: 220% 220%; animation: tw-sheen 9s ease infinite; }
  .tw-js .tw-rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .tw-js .tw-rv.tw-in { opacity: 1; transform: none; }
}
@keyframes tw-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes tw-sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.tw-hero { position: relative; overflow: hidden; }
.tw-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% 18%, rgba(240,162,46,.16), transparent 65%); pointer-events: none; }
.tw-hero > * { position: relative; }

/* Promo signup form */
.tw-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 0 auto; }
.tw-hp { display: none; }
.tw-input { font-family: inherit; font-size: 16px; font-weight: 700; color: #10263F; background: #fff; border: 2px solid transparent; border-radius: 999px; padding: 13px 20px; outline: none; text-align: center; }
.tw-input:focus { border-color: #10263F; }
.tw-form-btn { font-family: inherit; background: #10263F; color: #F4F7FA; font-weight: 800; font-size: 17px; padding: 14px 34px; border: none; border-radius: 999px; cursor: pointer; transition: transform .2s ease; }
.tw-form-btn:hover { transform: scale(1.04); }
.tw-form-note { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: #1E3A5C; }
.tw-check{display:flex;align-items:flex-start;gap:.5rem;margin:.9rem 0 .2rem;text-align:right;font-size:.85rem;line-height:1.6;color:#10263F}
.tw-check input[type=checkbox]{width:1.05rem;height:1.05rem;margin-top:.15rem;accent-color:#10263F;flex:none}
.tw-form-note-sub{margin-top:.35rem;opacity:.85}

/* Opening discount emphasis */
.tw-card { position: relative; }
.tw-off {
  position: absolute; top: -10px; inset-inline-start: 16px;
  background: #F0A22E; color: #10263F; font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(240,162,46,.35);
}
.tw-discount-strip {
  background: #10263F; color: #F4F7FA; border-radius: 14px;
  padding: 12px 18px; font-size: 14px; font-weight: 700;
  margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
}
.tw-discount-strip b { color: #F0A22E; font-weight: 900; }
.tw-discount-strip span { color: #B9C6D2; font-size: 13px; }
.tw-save {
  align-self: flex-start; background: #EAF1F7; color: #10263F;
  font-size: 13px; font-weight: 800; border-radius: 999px; padding: 5px 14px;
}
.tw-featured .tw-save { background: rgba(240,162,46,.16); color: #F0A22E; }
