/* Course-first homepage (2026-10). Sits on top of fresh.css: same tokens, same keys, no outlines. */

/* ---------- Hero additions ---------- */
.hero-eyebrow { margin-bottom: 18px; }
.hero-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -18px rgba(43, 21, 0, .45); font-weight: 600; font-size: 15px; color: #4A3319; }
.hero-facts b { font-family: var(--f-disp); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }

/* ---------- Shared section head ---------- */
.ch-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.ch-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.ch-head-center .lede { margin-left: auto; margin-right: auto; }

/* ---------- 01 Outcome: lesson 1 vs lesson 94 ---------- */
.ch-outcome .display { margin-bottom: 18px; }
.ch-outcome .lede { margin-bottom: clamp(36px, 4vw, 52px); }
.ch-chats { display: grid; grid-template-columns: 1fr auto 1.25fr; align-items: center; gap: clamp(14px, 2vw, 28px); max-width: 1160px; margin: 0 auto; }
.ch-chat { position: relative; background: var(--white); border-radius: 30px; padding: 22px 22px 24px; box-shadow: var(--soft-lg); }
.ch-day94 { box-shadow: 0 2px 4px rgba(43, 21, 0, .05), 0 40px 80px -34px rgba(232, 138, 0, .6); }
.ch-chat header { display: flex; flex-direction: column; gap: 8px; padding: 0 4px 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(43, 21, 0, .07); }
.ch-tag { align-self: flex-start; font-family: var(--f-mono); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--deep); }
.ch-tag-gold { background: var(--g-gold); color: var(--ink); box-shadow: 0 8px 16px -10px rgba(232, 138, 0, .9); }
.ch-scene { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.ch-lines { display: grid; gap: 12px; }
.cb { position: relative; max-width: 92%; padding: 13px 16px 12px; border-radius: 22px; }
.cb.them { justify-self: start; background: #F3F6F9; border-bottom-left-radius: 8px; }
.cb.you { justify-self: end; background: linear-gradient(180deg, #FFF3CF, #FFE6A3); border-bottom-right-radius: 8px; }
.cb-who { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.cb.you .cb-who { color: #A65A00; }
/* Transliteration is the headline, Arabic under it in gold, English smallest. */
.cb b { display: block; font-family: var(--f-body); font-weight: 700; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.35; color: var(--ink); }
.cb i { display: block; margin-top: 4px; font-style: normal; font-family: var(--f-ar); font-weight: 700; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: var(--amber); text-align: right; }
.cb small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.ch-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--g-sun); color: var(--white); box-shadow: 0 16px 30px -14px rgba(232, 90, 0, .8); }
.ch-arrow svg { width: 30px; height: 15px; }
.ch-outcome-cta { text-align: center; margin: clamp(36px, 4vw, 52px) 0 0; }

/* Chat lines arrive one by one when the card scrolls in (JS adds .chat-run). */
.js [data-chat] .cb { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .4s ease, transform .55s var(--spring); }
.js [data-chat].chat-run .cb { opacity: 1; transform: none; }
.js [data-chat].chat-run .cb:nth-child(2) { transition-delay: .55s; }
.js [data-chat].chat-run .cb:nth-child(3) { transition-delay: 1.1s; }
.js .ch-day94.chat-run .cb:nth-child(1) { transition-delay: .5s; }
.js .ch-day94.chat-run .cb:nth-child(2) { transition-delay: 1.15s; }

/* ---------- Laptop frame ---------- */
.laptop { --bezel: clamp(8px, 1vw, 14px); position: relative; margin: 0 auto; max-width: 1040px; width: 100%; }
.laptop-screen { position: relative; padding: var(--bezel); padding-top: calc(var(--bezel) + 6px); border-radius: clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 24px) 6px 6px; background: linear-gradient(180deg, #2A2A2E, #141416); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 50px 90px -40px rgba(10, 40, 80, .55), 0 24px 40px -24px rgba(43, 21, 0, .4); }
.laptop-screen::before { content: ""; position: absolute; top: calc(var(--bezel) / 2 - 1px); left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3A3A40; }
.laptop-screen video, .laptop-screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: #F5D9A0; }
.laptop-base { position: relative; height: clamp(12px, 1.4vw, 20px); margin: 0 -7%; border-radius: 2px 2px clamp(12px, 1.6vw, 22px) clamp(12px, 1.6vw, 22px); background: linear-gradient(180deg, #E9EBEF 0%, #C9CDD4 60%, #A7ACB5 100%); box-shadow: 0 30px 40px -24px rgba(10, 40, 80, .5); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #B8BCC4, #D5D8DE); }

/* ---------- 02 Journey ---------- */
.ch-journey { background: linear-gradient(180deg, #E4F5FF 0%, #CBEBFC 70%, #BFE6FB 100%); }
.ch-journey .ch-head { margin-left: auto; margin-right: auto; text-align: center; }
.ch-journey .lede { margin-left: auto; margin-right: auto; }
.ch-stages { list-style: none; margin: clamp(48px, 5vw, 72px) auto 0; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: stage; }
.ch-stages li { position: relative; padding: 22px 22px 24px; background: var(--white); border-radius: 26px; box-shadow: var(--soft); }
.ch-stages li::before { counter-increment: stage; content: counter(stage); position: absolute; top: -16px; right: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--g-gold); font-family: var(--f-disp); font-weight: 800; font-size: 15px; box-shadow: 0 10px 18px -10px rgba(232, 138, 0, .9); }
.ch-stages li:last-child::before { background: var(--g-sun); color: var(--white); }
.ch-stage-n { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #C26A00; }
.ch-stages h3 { margin: 0 0 8px; font-family: var(--f-disp); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; }
.ch-stages p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- 03 Suite: the one dark band, so the room glows ---------- */
.ch-suite { background: radial-gradient(120% 70% at 50% 0%, #1D6FBF 0%, #0B4D8C 45%, #08345F 100%); color: #EAF6FF; }
.ch-suite::before { content: ""; position: absolute; left: 50%; top: 42%; width: min(1100px, 90vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 201, 60, .32), rgba(255, 201, 60, 0)); pointer-events: none; }
.ch-suite .lede { color: rgba(234, 246, 255, .82); }
.laptop-dark .laptop-screen { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(255, 201, 60, .35); }
.laptop-dark .laptop-base { box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.ch-rooms { list-style: none; position: relative; margin: clamp(48px, 5vw, 72px) auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ch-rooms li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 18px 16px; border-radius: 22px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; transition: background-color .3s, transform .35s var(--spring); }
.ch-rooms li:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.ch-rooms .ico { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; }
.ch-rooms .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ch-rooms h3 { margin: 2px 0 4px; font-family: var(--f-disp); font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--white); }
.ch-rooms p { margin: 0; font-size: 14.5px; line-height: 1.45; color: rgba(234, 246, 255, .78); }

/* ---------- 04 How it works ---------- */
.ch-beats { max-width: 1180px; margin: clamp(36px, 4vw, 52px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ch-beats article { position: relative; display: flex; flex-direction: column; padding: 26px 24px 0; background: var(--white); border-radius: 30px; box-shadow: var(--soft); overflow: hidden; }
.ch-beat-n { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; background: var(--sun-1); font-family: var(--f-disp); font-weight: 800; font-size: 16px; }
.ch-beats h3 { margin: 0 0 8px; font-family: var(--f-disp); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.ch-beats p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.ch-beat-vig { margin: auto -24px 0; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 22px; background: linear-gradient(180deg, #FFF8E6, #FFEFC7); background-image: radial-gradient(rgba(232, 138, 0, .12) 1.2px, transparent 1.4px), linear-gradient(180deg, #FFF8E6, #FFEFC7); background-size: 16px 16px, auto; }
.ch-beat-vig b { font-family: var(--f-body); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.ch-beat-vig i { font-style: normal; font-family: var(--f-ar); font-weight: 700; font-size: 22px; color: var(--amber); }
.ch-beat-vig small { font-size: 13px; color: var(--ink-soft); }
.ch-wave { flex-direction: row; gap: 5px; background-image: radial-gradient(rgba(28, 143, 224, .12) 1.2px, transparent 1.4px), linear-gradient(180deg, #EAF7FF, #D5EFFE); }
.ch-wave i { display: block; width: 7px; height: 20px; border-radius: 4px; background: var(--g-sea); animation: chWave 1.4s ease-in-out infinite; }
.ch-wave i:nth-child(3n) { animation-delay: -.3s; } .ch-wave i:nth-child(3n+1) { animation-delay: -.7s; } .ch-wave i:nth-child(4n) { animation-delay: -1s; }
@keyframes chWave { 0%, 100% { height: 14px; } 50% { height: 58px; } }
.ch-mini { align-items: stretch; gap: 8px; background-image: radial-gradient(rgba(0, 167, 155, .12) 1.2px, transparent 1.4px), linear-gradient(180deg, #ECFBF6, #D3F4EA); }
.ch-mini span { max-width: 80%; padding: 9px 14px; border-radius: 18px; font-weight: 700; font-size: 15px; box-shadow: 0 8px 18px -14px rgba(0, 80, 70, .6); }
.m-them { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; }
.m-you { align-self: flex-end; background: linear-gradient(180deg, #FFF3CF, #FFE6A3); border-bottom-right-radius: 6px; }

/* ---------- 08 Plans teaser ---------- */
.ch-plans-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ch-plans .lede { margin-bottom: 22px; }
.ch-plan-list { list-style: none; margin: 0; padding: 28px; display: grid; gap: 16px; background: var(--white); border-radius: 30px; box-shadow: var(--soft-lg); }
.ch-plan-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16.5px; }

/* ---------- 09 Books (side product, kept small) ---------- */
.ch-books-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ch-books-art { position: relative; height: clamp(300px, 30vw, 380px); }
.ch-books-art .fan { left: 50%; bottom: 8%; }
.ch-books .display { font-size: clamp(30px, 3.6vw, 48px); }

/* ---------- Final art ---------- */
.ch-final-art { height: auto; display: flex; align-items: center; }
.ch-final-art img { width: 100%; border-radius: 26px; box-shadow: 0 40px 70px -34px rgba(120, 50, 0, .6), 0 0 0 8px rgba(255, 255, 255, .55); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ch-chats { grid-template-columns: 1fr; max-width: 620px; }
  .ch-arrow { justify-self: center; transform: rotate(90deg); width: 54px; height: 54px; }
  .ch-stages { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .ch-rooms { grid-template-columns: repeat(2, 1fr); }
  .ch-beats { grid-template-columns: 1fr; max-width: 560px; }
  .ch-plans-inner, .ch-books-inner { grid-template-columns: 1fr; }
  .ch-books-art { order: -1; height: 300px; }
}
@media (max-width: 760px) {
  .hero-facts { gap: 8px; margin-top: 20px; }
  .hero-facts li { padding: 7px 12px; font-size: 13.5px; }
  .hero-facts b { font-size: 16px; }
  .ch-chat { padding: 18px 16px 20px; border-radius: 26px; }
  .cb { max-width: 96%; }
  .laptop { --bezel: 6px; }
  .laptop-base { margin: 0 -4%; }
  .ch-stages { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 22px; }
  .ch-stages li { padding: 20px 14px 16px; border-radius: 22px; }
  .ch-stages h3 { font-size: 15.5px; }
  .ch-stages p { font-size: 13.5px; line-height: 1.45; }
  .ch-rooms { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ch-rooms li { flex-direction: column; gap: 10px; padding: 16px 14px; }
  .ch-rooms p { font-size: 13.5px; }
  .ch-plan-list { padding: 22px; }
  .ch-final-art { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-chat] .cb { opacity: 1; transform: none; transition: none; }
  .ch-wave i { animation: none; height: 34px; }
}

/* ---------- 01 Zero to fluent ---------- */
.ch-zero { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); background: radial-gradient(90% 60% at 50% 0%, #FFF6DA 0%, #FFFBF0 60%), var(--paper); }
.ch-zero .eyebrow { text-align: center; }
.ch-zero-title { font-size: clamp(52px, 9vw, 132px); line-height: .95; letter-spacing: -.05em; margin-bottom: 26px; }
.ch-zero .lede { max-width: 52ch; }
.ch-stats { max-width: 1100px; margin: clamp(40px, 5vw, 64px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ch-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 16px 24px; background: var(--white); border-radius: 30px; box-shadow: var(--soft); }
.ch-stats b { font-family: var(--f-disp); font-weight: 800; font-size: clamp(48px, 5.6vw, 80px); line-height: .95; letter-spacing: -.05em; background: var(--g-sun); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.ch-stats span { font-weight: 600; font-size: 15.5px; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 760px) { .ch-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } .ch-stats > div { padding: 22px 12px 18px; border-radius: 24px; } }
