/* Mobile-first landing refinement; retain the existing Nibras identity. */
.landing-v3 .hero-v3 {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.landing-v3 .hero-v3-art > img { max-width: 340px; animation: none; }
.landing-v3 .hero-v3 .lead-v3 { margin-bottom: 1rem; max-width: 36rem; }
.hero-access-note {
  color: #65534b;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 36rem;
}
.hero-access-note strong { color: var(--maroon); }
.landing-v3 .hero-portals { margin-top: 1rem; gap: .75rem; }
.landing-v3 .portal-character { height: 148px; }
.landing-v3 .portal-illustrated { min-width: 0; grid-template-columns: minmax(0, 1fr) 120px; }
.hero-public-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  margin-top: .75rem;
  padding-block: .5rem;
  color: var(--maroon);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25rem;
}
/* These are body-sized text, so use a contrast-safe secondary ink. */
.landing-v3 .f-copy { color: #6b5650; }
.landing-v3 .feat-mini p { color: #6b5650; }
@media (max-width: 860px) {
  .landing-v3 .hero-v3 { grid-template-columns: minmax(0, 1fr); }
  .landing-v3 .hero-v3-art { display: none; }
}
@media (max-width: 640px) {
  .landing-v3 .hero-v3 {
    padding: calc(var(--nav-h) + 1rem) 1rem 1.5rem;
    gap: 1rem;
  }
  .landing-v3 .hero-v3 .hero-badge-v3 { margin-bottom: .75rem; }
  .landing-v3 .hero-v3 h1 { margin-bottom: .75rem; font-size: clamp(2rem, 8vw, 2.6rem); }
  .landing-v3 .hero-v3 .lead-v3 { font-size: 1rem; line-height: 1.8; }
  .landing-v3 .portal-illustrated { grid-template-columns: minmax(0, 1fr) 94px; padding-inline: 1rem; }
  .landing-v3 .portal-character { height: 124px; }
  .landing-v3 .portal-copy { gap: .35rem; }
  .landing-v3 .portal-copy strong { font-size: 1.2rem; }
  .landing-v3 .portal-copy > span { font-size: 1rem; }
  .landing-v3 .teacher-promo-wrap { padding-inline: 1rem; }
  .hero-access-note, .hero-public-link { font-size: 1rem; }
  /* The footer already exposes contact; avoid covering mobile content. */
  .landing-v3 .feedback-fab { display: none; }
}

.privacy-brief ul{margin:12px 0;padding-inline-start:22px;line-height:2}.privacy-brief li{margin-bottom:4px}.privacy-more{display:inline-block;font-weight:700;color:var(--maroon)}
/* The band had fixed side margins that overrode its centering, so on a wide screen it sat against the right edge. */
.landing-v3 .cta-skyline { width: min(1100px, calc(100% - 2 * clamp(16px, 5vw, 60px))); max-width: none; margin-inline: auto; }

/* ─── سماء الدوحة في أعلى الرئيسية ───
   The skyline sits behind the top of the page and fades into the page colour, so the hero text starts under it. */
.landing-v3 {
  position: relative;
  /* The sky is sized from the skyline, so the tallest tower always clears the fixed bar at any width. */
  --sky-w: min(100vw + 70px, 1050px);
  --sky-h: max(300px, calc(var(--nav-h) + 24px + var(--sky-w) * .301 + 56px));
}
.doha-sky {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  height: var(--sky-h);
  overflow: hidden; pointer-events: none;
  background: linear-gradient(to bottom, #F3DFA9 0%, rgba(248, 236, 210, .92) 52%, rgba(250, 245, 238, 0) 100%);
}
.doha-sky::before {
  content: ""; position: absolute; left: -70px; top: -40px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(233, 217, 168, .55) 38%, rgba(233, 217, 168, 0) 70%);
}
.doha-sky-line {
  position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%);
  width: var(--sky-w); max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.sky-bird { position: absolute; left: 0; transform: translateX(46vw); }
.sky-bird > span, .sky-bird svg { display: block; }
.sky-bird svg { stroke: var(--gold-dark); transform-origin: center bottom; }
.sky-bird-1 { top: 34%; opacity: .6; }
.sky-bird-2 { top: 43%; opacity: .45; transform: translateX(22vw); }
.sky-bird-3 { top: 28%; opacity: .35; transform: translateX(70vw); }
.landing-v3 .hero-v3 { z-index: 1; padding-top: calc(var(--sky-h) - 64px); }
@media (prefers-reduced-motion: no-preference) {
  .sky-bird { animation: sky-bird-x 38s linear infinite; }
  .sky-bird > span { animation: sky-bird-y 6s ease-in-out infinite alternate; }
  .sky-bird svg { animation: sky-bird-flap .7s ease-in-out infinite alternate; }
  .sky-bird-1 { animation-delay: -6s; }
  .sky-bird-2 { animation-duration: 46s; animation-delay: -24s; }
  .sky-bird-2 > span { animation-duration: 7s; animation-delay: -2s; }
  .sky-bird-3 { animation-duration: 54s; animation-delay: -40s; }
  .sky-bird-3 > span { animation-duration: 8s; animation-delay: -4s; }
  @media (min-width: 861px) {
    .sky-bird { animation-duration: 95s; animation-delay: -15s; }
    .sky-bird-2 { animation-duration: 115s; animation-delay: -60s; }
    .sky-bird-3 { animation-duration: 135s; animation-delay: -100s; }
  }
  @keyframes sky-bird-x { from { transform: translateX(-40px); } to { transform: translateX(calc(100vw + 40px)); } }
  @keyframes sky-bird-y { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
  @keyframes sky-bird-flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
}
