/* Talibak public site. Brand: navy #10204A, gold #C9A227, cream #F7F4EC. Cairo (headings) + Tajawal (body). */
@font-face {
  font-family: Cairo;
  src: url(fonts/Cairo_700Bold.ttf);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Cairo;
  src: url(fonts/Cairo_600SemiBold.ttf);
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(fonts/Tajawal_400Regular.ttf);
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(fonts/Tajawal_500Medium.ttf);
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(fonts/Tajawal_700Bold.ttf);
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #10204A;
  --navy-deep: #09132E;
  --navy-mid: #182D66;
  --gold: #C9A227;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --gold-text: #7A5D05;
  --cream: #F7F4EC;
  --alt: #EFEAD8;
  --card: #FFFDF8;
  --line: #E2D7B5;
  --line-strong: #CBBBA0;
  --muted: #424D6E;

  /* Single clear fluid type scale with clamp() */
  --fs-display: clamp(2.15rem, 4.2vw + 0.75rem, 3.65rem);
  --fs-h2: clamp(1.65rem, 2.5vw + 0.65rem, 2.45rem);
  --fs-h3: clamp(1.175rem, 0.8vw + 0.92rem, 1.375rem);
  --fs-lead: clamp(1.125rem, 0.75vw + 0.9rem, 1.325rem);
  --fs-body: clamp(1rem, 0.25vw + 0.94rem, 1.075rem);
  --fs-sm: clamp(0.875rem, 0.15vw + 0.84rem, 0.95rem);

  /* Spacing & elevation */
  --space-sec: clamp(4.5rem, 8.5vw, 7.25rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 30px -10px rgba(16, 32, 74, 0.07), 0 2px 8px -2px rgba(16, 32, 74, 0.04);
  --shadow-ticket: 0 32px 64px -16px rgba(9, 19, 46, 0.36), 0 12px 24px -8px rgba(9, 19, 46, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: Tajawal, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: Cairo, system-ui, -apple-system, sans-serif;
  line-height: 1.26;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--navy);
}

html[lang="en"] h1,
html[lang="en"] h2 {
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  max-width: 20ch;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  max-width: 28ch;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

h4 {
  font-size: calc(var(--fs-h3) * 1.06);
  font-weight: 700;
}

p,
li,
dd {
  margin: 0;
  max-width: 66ch;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2.5rem);
}

.narrow {
  max-width: 48rem;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.75rem;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 100;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

/* Section header hierarchy */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Cairo, system-ui, sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold-text);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.muted,
.sub,
.note {
  color: var(--muted);
}

.sub {
  font-size: var(--fs-lead);
  line-height: 1.68;
  max-width: 58ch;
  margin-top: 0.6rem;
}

.note {
  font-size: var(--fs-sm);
  margin-top: 1.25rem;
  max-width: 64ch;
}

.note a,
.prose p a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sec-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.sec-foot .note {
  margin-top: 0;
}

/* Sticky translucent header */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 236, 0.84);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 215, 181, 0.8);
  transition: background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.top.is-scrolled {
  background: rgba(247, 244, 236, 0.94);
  box-shadow: 0 8px 24px -8px rgba(16, 32, 74, 0.08);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  margin-inline-end: auto;
  text-decoration: none;
}

.nav-sheet {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0 0.85rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--navy);
  position: relative;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav a.is-active,
.nav a[aria-current="true"] {
  background: var(--gold-soft);
  font-weight: 700;
}

.nav a.is-active::after,
.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  inset-inline: 0.95rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 1.05rem;
  text-decoration: none;
  background: var(--card);
  font-weight: 700;
  font-size: 0.94rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.menu-btn {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-icon {
  width: 1.25rem;
  height: 0.9rem;
  position: relative;
  display: inline-block;
}

.menu-icon span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}

.menu-icon span:nth-child(1) {
  top: 0;
}
.menu-icon span:nth-child(2) {
  top: 0.4rem;
}
.menu-icon span:nth-child(3) {
  top: 0.8rem;
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.sheet-cta {
  display: none;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-sheet {
    position: fixed;
    top: 4.5rem;
    inset-inline: 0;
    height: calc(100dvh - 4.5rem);
    background: var(--cream);
    padding: 1.75rem 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out), visibility 0.26s;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    z-index: 55;
  }

  body.menu-open .nav-sheet {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav a {
    font-family: Cairo, system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    min-height: 3.5rem;
    padding: 0 1.15rem;
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--line);
    justify-content: space-between;
  }

  .nav a::after {
    content: "←";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--gold-text);
    font-size: 1.1rem;
  }

  html[lang="en"] .nav a::after {
    content: "→";
  }

  .nav a.is-active,
  .nav a[aria-current="true"] {
    border-color: var(--gold);
    background: var(--gold-soft);
  }

  .sheet-cta {
    display: grid;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }
}

/* Buttons (min 44px tap targets) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  min-width: 2.75rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: Cairo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(16, 32, 74, 0.35);
}

.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* Hover states on desktop only */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    background: rgba(16, 32, 74, 0.06);
  }
  .nav a.is-active:hover {
    background: var(--gold-soft);
  }
  .lang:hover {
    border-color: var(--gold);
    background: #fff;
    transform: translateY(-1px);
  }
  .menu-btn:hover {
    border-color: var(--gold);
  }
  .btn:hover {
    background: rgba(16, 32, 74, 0.06);
    transform: translateY(-1px);
  }
  .btn.primary:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    box-shadow: 0 12px 26px -6px rgba(16, 32, 74, 0.45);
    transform: translateY(-1px);
  }
  .steps li:hover,
  .cards li:hover,
  .numbers dl > div:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
  }
  summary:hover {
    color: var(--gold-text);
  }
  .foot nav a:hover,
  .foot a:hover {
    color: #fff;
    text-decoration-color: var(--gold);
  }
}

/* Sections */
section {
  padding: var(--space-sec) 0;
  position: relative;
}

.band {
  background: var(--card);
  border-block: 1px solid var(--line);
}

/* Hero & Signature Membership Ticket */
.hero {
  padding: clamp(2.75rem, 6vw, 5.25rem) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 20% 25%, rgba(201, 162, 39, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 82% 70%, rgba(16, 32, 74, 0.06) 0%, transparent 52%),
    var(--cream);
  overflow: hidden;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(16, 32, 74, 0.04);
}

.hero-badge i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.75;
  margin-top: 1.15rem;
  max-width: 54ch;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-trust {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 215, 181, 0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.hero-trust b {
  color: var(--navy);
  font-family: Cairo, system-ui, sans-serif;
}

/* Signature Membership Ticket */
.ticket-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ticket-stage::before {
  content: "";
  position: absolute;
  width: 105%;
  height: 105%;
  max-width: 26rem;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22) 0%, rgba(16, 32, 74, 0.04) 65%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.ticket {
  position: relative;
  z-index: 1;
  margin: 0;
  background: linear-gradient(160deg, #162B61 0%, #10204A 52%, #0A1430 100%);
  color: #fff;
  border-radius: 28px;
  padding: 1.75rem;
  max-width: 24.5rem;
  width: 100%;
  justify-self: center;
  box-shadow: var(--shadow-ticket);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.who b {
  font-family: Cairo, system-ui, sans-serif;
  font-size: 1.1rem;
  display: block;
  line-height: 1.25;
}

.who small {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #D5DFEE;
  font-size: 0.86rem;
  margin-top: 0.1rem;
}

.avatar {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #DEC05A 0%, var(--gold) 100%);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font: 700 1.45rem/1 Cairo, sans-serif;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #98ECC0;
  background: rgba(98, 198, 144, 0.14);
  border: 1px solid rgba(152, 236, 192, 0.3);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
}

.live i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #62C690;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.28;
    transform: scale(0.82);
  }
}

.ticket-offer-box {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.offer {
  margin: 0;
  color: #FFFDF8;
  font-family: Cairo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.demo-tag {
  font-size: 0.78rem;
  color: #E5C96B;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}

.tear {
  position: relative;
  margin: 1.35rem -1.75rem;
  border-top: 2px dashed rgba(201, 162, 39, 0.65);
}

.tear::before,
.tear::after {
  content: "";
  position: absolute;
  top: -0.9rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--cream);
}

.tear::before {
  inset-inline-start: -0.9rem;
}

.tear::after {
  inset-inline-end: -0.9rem;
}

.code-panel {
  background: rgba(9, 19, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.15rem 0.9rem;
  text-align: center;
}

.code {
  font: 700 clamp(2.45rem, 4.5vw, 3.3rem)/1.12 Cairo, sans-serif;
  text-align: center;
  letter-spacing: 0.09em;
  margin: 0 0 0.75rem;
  color: #fff;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.code.is-refreshing {
  opacity: 0.35;
  transform: scale(0.97);
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #E2BE46 0%, var(--gold) 100%);
  transform-origin: left;
  transition: transform 0.25s linear;
}

.secs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #D5DFEE;
  margin-top: 0.65rem;
}

.ticket figcaption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #C5D0E6;
  text-align: center;
}

/* Orchestrated Hero Entrance (transform/opacity only, 60fps, instant LCP for h1) */
@keyframes heroRise {
  0% {
    opacity: 0.01;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ticketFloatIn {
  0% {
    opacity: 0.01;
    transform: translate3d(0, 18px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-text > * {
  animation: heroRise 0.5s var(--ease-out) both;
}
.hero-text > h1 { animation-delay: 0s; }
.hero-text > .lead { animation-delay: 0.05s; }
.hero-text > .actions { animation-delay: 0.1s; }
.hero-text > .hero-trust { animation-delay: 0.15s; }

.ticket {
  animation: ticketFloatIn 0.6s var(--ease-out) 0.06s both;
}

/* Scroll reveals via IntersectionObserver */
.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Steps (How it works) */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.steps li::before {
  content: "0" counter(s);
  font: 700 2rem/1 Cairo, sans-serif;
  color: var(--gold-text);
  background: var(--gold-soft);
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
}

.steps p,
.cards p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.98rem;
}

/* Cards (Students, Merchants, Sponsors) */
.cards {
  list-style: none;
  padding: 0;
  margin: 2.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards li {
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.band .cards li {
  background: var(--cream);
}

/* Student plans */
.mini {
  margin-top: 3.5rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.plan.plus {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF3DF 100%);
  position: relative;
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.plan-badge {
  font-family: Cairo, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.plan.plus h4 {
  color: var(--gold-text);
}

.plan ul {
  padding-inline-start: 1.25rem;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.plan table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.35rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.plan th,
.plan td {
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 500;
  text-align: start;
}

.plan tr:first-child th,
.plan tr:first-child td {
  border-top: 0;
}

.plan td {
  text-align: end;
  white-space: nowrap;
}

.plan td b {
  font: 700 1.35rem/1 Cairo, sans-serif;
  color: var(--navy);
}

/* Survey Numbers */
.numbers dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 0;
}

.numbers dl > div {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.numbers dt {
  font: 700 clamp(2rem, 3.2vw, 2.65rem)/1.15 Cairo, sans-serif;
  color: var(--navy);
  text-align: start;
  margin-bottom: 0.35rem;
}

.numbers dd {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

/* Join Forms */
.forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.25rem;
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.15rem;
  scroll-margin-top: 5.5rem;
  box-shadow: var(--shadow-card);
}

.form-founding {
  border-top: 4px solid var(--navy);
}

.form-merchant {
  border-top: 4px solid var(--gold);
}

.form h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.form .sub {
  font-size: 1rem;
  margin: 0;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.96rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  min-height: 3.1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 0.95rem;
  font: 400 1rem Tajawal, sans-serif;
  background: #fff;
  color: var(--navy);
  width: 100%;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.28);
  outline: none;
}

.form .check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 400;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  cursor: pointer;
}

.form .check input {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--navy);
  cursor: pointer;
}

.form .note {
  margin: 0;
}

/* Download Apps Band */
.navy {
  background: linear-gradient(160deg, #132659 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff;
  border: 0;
}

.navy h2,
.navy h3 {
  color: #fff;
}

.navy .eyebrow {
  background: rgba(201, 162, 39, 0.2);
  color: #F3D46B;
  border-color: rgba(201, 162, 39, 0.4);
}

.navy .sub,
.navy .note {
  color: #D0DAEE;
}

.navy .sec-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.apps {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.app-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 3.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.25;
}

.store small {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

.store b {
  font: 700 1.08rem Cairo, sans-serif;
}

.store.off {
  background: rgba(9, 19, 46, 0.45);
  border: 1px dashed rgba(201, 162, 39, 0.55);
  color: #fff;
}

.store.off small {
  color: #ECCB58;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 1.35rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s var(--ease-out);
}

details[open] {
  border-color: var(--gold);
}

summary {
  cursor: pointer;
  font: 700 1.12rem/1.4 Cairo, sans-serif;
  min-height: 3.5rem;
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
  display: inline-grid;
  place-items: center;
  font: 700 1.25rem/1 Cairo, sans-serif;
  flex: none;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

details[open] summary::after {
  content: "−";
  background: var(--gold);
  color: var(--navy-deep);
}

details p {
  color: var(--muted);
  padding-bottom: 1.15rem;
  border-top: 1px solid rgba(226, 215, 181, 0.6);
  padding-top: 0.85rem;
}

/* Legal & Thanks Prose Pages */
.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.prose h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.prose p,
.prose ol {
  margin-top: 0.65rem;
  color: var(--muted);
}

.prose ol {
  padding-inline-start: 1.35rem;
  display: grid;
  gap: 0.35rem;
}

.prose .btn {
  margin-top: 2rem;
}

.draft {
  background: #FBF0D9;
  color: #7D4A00;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-weight: 700;
  display: inline-block;
}

/* Footer */
.foot {
  background: var(--navy-deep);
  color: #D5DAEA;
  padding: 3.5rem 0 2.75rem;
  border-top: 3px solid var(--gold);
}

.foot-in {
  display: grid;
  gap: 1.25rem;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.foot nav a,
.foot-mail {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.35rem;
  color: #E2E7F5;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 39, 0.5);
  font-weight: 500;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.foot .muted {
  color: #9AA6C8;
  font-size: var(--fs-sm);
}

/* Responsive Breakpoints (checked at 1920, 1280, 768, 360 px) */
@media (max-width: 960px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps,
  .cards,
  .cards.three,
  .plans,
  .forms,
  .apps {
    grid-template-columns: 1fr;
  }
  .numbers dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 1.1rem;
  }
  .hero {
    padding: 1.5rem 0 3rem;
  }
  .hero-in {
    gap: 1.6rem;
  }
  .hero-badge {
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
  }
  .lead {
    margin-top: 0.65rem;
    font-size: 1.05rem;
    line-height: 1.65;
  }
  .actions {
    margin-top: 1.15rem;
    gap: 0.6rem;
  }
  .actions .btn {
    flex: 1 1 100%;
    min-height: 2.9rem;
  }
  .hero-trust {
    display: none;
  }
  .ticket {
    padding: 1.35rem;
    border-radius: 22px;
  }
  .tear {
    margin: 1.15rem -1.35rem;
  }
  .ticket-offer-box {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .numbers dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .numbers dl > div {
    padding: 1.2rem 1rem;
  }
  .store {
    flex: 1 1 100%;
  }
  .plan {
    padding: 1.35rem;
  }
  .plan td {
    white-space: normal;
  }
}

/* Free student perks guide (/perks) */
.perks-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 18% 25%, rgba(201, 162, 39, 0.12) 0%, transparent 48%),
    var(--cream);
}
.perks-hero h1 {
  margin: 0.75rem 0 0.6rem;
}
.perks-disclaimer {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.4);
  max-width: 70ch;
}
.perks-disclaimer p {
  margin: 0;
  color: var(--navy);
}
.perks-updated {
  margin-top: 0.5rem !important;
  font-size: 0.9rem;
  color: var(--muted) !important;
  font-weight: 600;
}
.perks-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.perks-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--navy);
  font-family: Cairo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.perks-cat {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}
.perks-cat + .perks-cat {
  border-top: 1px solid var(--line);
}
.perks-cat h2 {
  margin: 0 0 1.25rem;
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.perk-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border-radius: 1.15rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(16, 32, 74, 0.2);
}
.perk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.perk-head h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
}
.perk-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-family: Cairo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
}
.perk-badge.is-free {
  background: rgba(15, 118, 110, 0.12);
  color: #0f5f58;
}
.perk-badge.is-discount {
  background: var(--gold-soft);
  color: var(--gold-text);
  border: 1px solid rgba(201, 162, 39, 0.45);
}
.perk-deadline {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-family: Cairo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.perk-benefit {
  margin: 0;
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 500;
}
.perk-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.perk-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.perk-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}
.perk-actions .btn {
  width: 100%;
  font-size: 0.95rem;
}
@media (hover: hover) and (pointer: fine) {
  .perks-jump a:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
  }
}

/* Reduced motion: disable all animations & transitions */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
  }
}
