/* ═══════════════════════════════════════════════════════════════
   Layout & interactions modelled on ferdy.com (structure only),
   in our own brand: navy / blue / amber, Cairo, RTL.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --lav: #eef1ff;            /* light section background (Ferdy's lavender role) */
  --deep: #0a1150;           /* dark tutorials section */
  --ink2: #0d1433;           /* darkest section (picks) */
  --card-deep: #172061;      /* cards on dark */
  --accent-ink: #c26d05;     /* amber that is readable on light backgrounds */
  --violet: #5b45d6;
  --f-radius: 32px;
}
body { background: var(--lav); }
.f-h2 { font-size: clamp(38px, 5.2vw, 72px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-top: 10px; }
.f-h2 em { font-style: normal; color: var(--accent-ink); }
.eyebrow { color: var(--accent-ink); font-size: 18px; }
.eyebrow::before { display: none; }
.u-link { font-weight: 800; color: var(--navy-800); border-bottom: 2px solid currentColor; padding-bottom: 4px; white-space: nowrap; }
.u-link.light { color: #fff; }
.btn .arrow.play { transform: none !important; font-size: 13px; }
.btn-sm { padding-block: 6px; font-size: 16px; }
.btn-sm .arrow { width: 32px; height: 32px; font-size: 15px; }

/* ── Deal bar ── */
.dealbar { position: relative; z-index: 60; }
.dealbar .wrap { gap: 12px 16px; }
.db-ends { color: rgba(255,255,255,.7); font-size: 14px; }
.db-ad { font-size: 11px; font-weight: 800; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 0 6px; color: rgba(255,255,255,.7); }
.db-close { background: none; border: 0; color: rgba(255,255,255,.8); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.db-close:hover { color: #fff; }
.dealbar.db-hidden { display: none; }

/* ── Header: transparent over the hero, solid on scroll ── */
.f-header { background: transparent; backdrop-filter: none; transition: background .25s, box-shadow .25s; }
.f-header.over-hero { background: var(--navy-800); }
.f-header.scrolled { background: rgba(11, 26, 92, .9); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
body:not(:has(.f-hero)) .f-header { background: var(--navy-800); }
.f-header .wrap { height: 84px; gap: 18px; }
.f-nav { margin-inline-start: auto; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.f-nav > a, .nav-drop > a { padding: 8px 16px; border-radius: 999px; opacity: 1; color: rgba(255,255,255,.88); font-size: 15.5px; display: inline-flex; align-items: center; gap: 6px; }
.f-nav > a:hover, .nav-drop > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.f-nav a[aria-current="page"] { background: #fff; color: var(--navy-800) !important; }
.caret { font-size: 11px; opacity: .7; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; translate: 50% 0; width: 300px;
  background: #fff; color: var(--ink); border-radius: 22px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(7,18,69,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; display: grid; gap: 4px;
}
[dir="ltr"] .drop-panel { translate: -50% 0; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { padding: 10px 12px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.drop-panel a:hover { background: var(--lav); }
.drop-feature { display: flex; gap: 12px; align-items: center; background: var(--lav); }
.drop-feature small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.df-logo { width: 42px; height: 42px; border-radius: 12px; background: #673de6; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px; flex: none; }
.header-actions { margin-inline-start: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.icon-btn svg, .fq-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.icon-btn:hover { background: rgba(255,255,255,.2); }

/* ── Hero ── */
.f-hero { background:
    radial-gradient(700px 420px at 12% 100%, rgba(236, 72, 153, .28), transparent 60%),
    radial-gradient(900px 520px at 75% 0%, #2a5fd6 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-800), #12287a);
  padding-block: 70px 0; }
.f-hero .wrap { align-items: center; }
.f-hero .hero-copy { padding-bottom: 60px; }
.f-hero .hero-ctas { gap: 12px; }
.f-photo { max-width: 480px; margin-inline-start: auto; padding-bottom: 70px; }
.f-photo .portrait-card { border-radius: var(--f-radius); background: #fff; padding-top: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.f-photo .portrait-card img { width: 90%; }
.newest-bar { position: absolute; inset-inline: 14px; bottom: 14px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(10, 17, 80, .9); color: #fff; backdrop-filter: blur(8px); }
.newest-bar small { display: block; color: var(--amber); font-weight: 800; font-size: 13px; }
.newest-bar b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.45; }
.nb-play { width: 44px; height: 44px; border-radius: 50%; background: #ff4d1f; display: grid; place-items: center; flex: none; font-size: 14px; }
.f-photo .float-subs { inset-block-start: 4px; inset-inline-start: -40px; }
.f-photo .float-rate { inset-block-start: auto; bottom: 150px; inset-inline-end: -36px; gap: 10px; }
.float-rate .big { font-size: 28px; color: var(--navy-800); }
.float-rate small { color: var(--muted); font-weight: 600; }
.scroll-hint { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; padding-bottom: 18px; width: max-content; margin: -40px auto 0; z-index: 2; }
.scroll-hint span { width: 2px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ── 2. Start learning: sticky morphing card ── */
.f-story { padding-block: 130px 150px; }
.f-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.st-sticky { position: sticky; top: 120px; }
.st-card { position: relative; height: 560px; border-radius: var(--f-radius); overflow: hidden; color: #fff;
  background: radial-gradient(500px 300px at 80% 0%, rgba(124, 92, 255, .55), transparent 70%), linear-gradient(170deg, #2a3fc9, #0a1150 70%);
  box-shadow: 0 40px 80px -40px rgba(10,17,80,.7); }
.st-bars { position: absolute; top: 22px; inset-inline: 24px; display: flex; gap: 8px; z-index: 3; }
.st-bars i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); transition: background .3s; }
.st-card[data-stage="1"] .st-bars i:nth-child(1),
.st-card[data-stage="2"] .st-bars i:nth-child(-n+2),
.st-card[data-stage="3"] .st-bars i { background: var(--amber); }
.st-stage { position: absolute; inset: 64px 28px 170px; display: grid; place-items: center; opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .45s, transform .45s; }
.st-card[data-stage="1"] .s1, .st-card[data-stage="2"] .s2, .st-card[data-stage="3"] .s3 { opacity: 1; transform: none; }
.st-labels { position: absolute; bottom: 28px; inset-inline: 28px; height: 130px; }
.st-label { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; opacity: 0; transition: opacity .4s; }
.st-card[data-stage="1"] .st-label.s1, .st-card[data-stage="2"] .st-label.s2, .st-card[data-stage="3"] .st-label.s3 { opacity: 1; }
.st-label strong { font-size: clamp(48px, 5vw, 76px); font-weight: 900; line-height: 1; }
.st-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.st-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d1f; }
/* mockups */
.mock-browser { width: 100%; max-width: 360px; background: #f5f6ff; color: var(--navy-800); border-radius: 14px; padding: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.mb-top { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.mb-top i { width: 9px; height: 9px; border-radius: 50%; background: #cbd2f0; }
.mb-top i:first-child { background: #ff5f57; }
.mb-top span { flex: 1; background: #fff; border-radius: 999px; font-size: 12px; padding: 2px 10px; color: var(--muted); }
.mb-tape { height: 10px; background: repeating-linear-gradient(-45deg, #ffb547 0 10px, #0d1433 10px 20px); border-radius: 4px; margin-bottom: 10px; }
.mb-h { display: block; font-weight: 900; font-size: 16px; margin-bottom: 10px; }
.mb-row { display: flex; gap: 10px; }
.mb-img { width: 90px; height: 90px; border-radius: 8px; background: linear-gradient(135deg, #7c5cff, #2a5fd6); flex: none; }
.mb-lines { flex: 1; display: grid; gap: 8px; align-content: start; }
.mb-lines i { height: 8px; border-radius: 4px; background: #cbd2f0; }
.mb-lines i:nth-child(2) { width: 75%; }
.mb-count { margin-top: 12px; font-weight: 800; font-size: 13px; }
.mb-count code { background: #0d1433; color: #7dff9a; padding: 2px 8px; border-radius: 4px; letter-spacing: .1em; }
.mock-chat { width: 100%; max-width: 360px; display: grid; gap: 12px; }
.mc-msg { padding: 12px 16px; border-radius: 18px; font-weight: 600; font-size: 15px; line-height: 1.7; }
.mc-msg.me { background: #fff; color: var(--navy-800); justify-self: start; border-end-start-radius: 4px; max-width: 85%; }
.mc-msg.ai { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); justify-self: end; border-end-end-radius: 4px; max-width: 90%; }
.mc-msg.ai b { display: block; color: var(--amber); font-size: 13px; }
.mc-code { display: grid; gap: 6px; margin-top: 10px; background: #0a0f3d; padding: 10px; border-radius: 10px; }
.mc-code i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #7dff9a, #5fb6ff); }
.mock-yt { width: 100%; max-width: 360px; background: #0d1433; border-radius: 16px; padding: 12px; }
.my-video { aspect-ratio: 16/9; border-radius: 10px; background: linear-gradient(135deg, #7c5cff, #2a5fd6); display: grid; place-items: center; }
.my-video span { width: 54px; height: 38px; background: #ff0033; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.my-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.my-lines { flex: 1; display: grid; gap: 6px; }
.my-lines i { height: 7px; background: rgba(255,255,255,.25); border-radius: 4px; }
.my-lines i:last-child { width: 60%; }
.my-sub { background: #fff; color: #0d1433; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; }
.mock-yt small { display: block; margin-top: 8px; color: rgba(255,255,255,.6); font-weight: 700; }
/* steps */
.st-steps { list-style: none; padding: 0; margin: 40px 0 34px; display: grid; gap: 38px; }
.st-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; opacity: .32; transition: opacity .35s; }
.st-step.on { opacity: 1; }
.st-step .n { color: var(--accent-ink); font-size: 24px; font-weight: 700; }
.st-step h3 { font-size: 26px; margin-bottom: 8px; }
.st-step p { color: #2b3354; font-size: 18px; }
.st-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ── 3. Newest tutorials: pinned sideways scroll ── */
.f-tuts { background: var(--deep); color: #fff; position: relative; }
.tuts-pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-block: 110px 50px; overflow: hidden; }
.tuts-head .eyebrow { color: rgba(255,255,255,.85); }
.tuts-head .f-h2 em { color: var(--amber); }
.tuts-viewport { overflow: visible; }
.tuts-track { display: flex; gap: 24px; padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.tut-card { flex: none; width: 440px; background: var(--card-deep); border-radius: var(--f-radius); padding: 14px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.06); }
.tc-thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #0a0f3d; }
.tc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tut-card:hover .tc-thumb img { transform: scale(1.04); }
.tc-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: #ff4d1f; display: grid; place-items: center; font-size: 18px; box-shadow: 0 10px 30px -6px rgba(255,77,31,.7); }
.tc-dur { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(10,15,61,.85); padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.tc-body { padding: 20px 14px 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tc-body h3 { font-size: 21px; line-height: 1.5; }
.tc-body p { color: rgba(255,255,255,.7); font-size: 15.5px; }
.tc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; font-weight: 700; color: rgba(255,255,255,.75); }
.tut-end { background: linear-gradient(160deg, #6d5cf5, #3b2fb0); align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 30px; }
.tut-end h3 { font-size: 34px; line-height: 1.35; }
.tut-end h3 em { font-style: normal; color: var(--amber); }
.tut-end p { color: rgba(255,255,255,.85); }
.tuts-progress { height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.tuts-progress i { display: block; height: 100%; width: 10%; background: #ff4d1f; border-radius: 4px; }

/* ── 4. The story so far: stacked chapter cards ── */
.f-timeline { padding-block: 130px 120px; }
.tl-grid { display: grid; grid-template-columns: 150px 1fr; gap: 40px; margin-top: 50px; align-items: start; }
.tl-rail { position: sticky; top: 140px; list-style: none; margin: 0; padding: 0; display: grid; gap: 70px; --p: 0%; }
.tl-rail::before, .tl-rail::after { content: ""; position: absolute; inset-inline-start: 11px; top: 12px; width: 2px; bottom: 12px; background: #cfd6f3; }
.tl-rail::after { background: #ff4d1f; bottom: auto; height: var(--p); transition: height .3s; }
.tl-rail li { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--muted); font-size: 16px; }
.tl-rail i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfd6f3; background: var(--lav); flex: none; transition: .3s; }
.tl-rail li.on { color: var(--ink); }
.tl-rail li.on i { background: #ff4d1f; border-color: #ff4d1f; box-shadow: 0 0 0 5px rgba(255,77,31,.15); }
.tl-stack { display: grid; gap: 0; }
.tl-card { position: sticky; top: calc(120px + var(--i) * 26px); min-height: 480px; border-radius: var(--f-radius); padding: 56px; margin-bottom: 26vh; display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(10,17,80,.6); }
.tl-card:last-child { margin-bottom: 0; }
.tl-card.c1 { background: #fff; color: var(--ink); }
.tl-card.c2 { background: var(--blue-600); color: #fff; }
.tl-card.c3 { background: #ff6a2b; color: #fff; }
.tl-card.c4 { background: var(--ink2); color: #fff; }
.tl-text { position: relative; z-index: 2; display: grid; gap: 14px; align-content: start; }
.tl-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.tl-mini { width: 50px; height: 3px; border-radius: 3px; background: currentColor; opacity: .25; position: relative; }
.tl-mini i { position: absolute; inset-block: 0; inset-inline-start: 0; background: #ff4d1f; border-radius: 3px; }
.tl-card.c3 .tl-mini i { background: #fff; }
.tl-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tl-big strong { font-size: clamp(42px, 4.6vw, 68px); font-weight: 900; line-height: 1.1; color: var(--blue-600); }
.tl-card:not(.c1) .tl-big strong { color: rgba(255,255,255,.95); }
.tl-big span { font-weight: 800; font-size: 20px; color: #ff4d1f; }
.tl-card:not(.c1) .tl-big span { color: rgba(255,255,255,.85); }
.tl-text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.tl-text p { font-size: 18px; opacity: .9; max-width: 520px; }
.tl-water { position: absolute; bottom: -70px; inset-inline-end: -10px; font-size: clamp(120px, 18vw, 260px); font-weight: 900; line-height: 1; opacity: .06; white-space: nowrap; pointer-events: none; }
.tl-art { position: relative; z-index: 2; height: 240px; }
.art-monitor { position: absolute; inset: 20px 30px 60px; background: #0d1433; border-radius: 14px; padding: 16px; display: grid; gap: 10px; align-content: start; border: 8px solid #e8ebfa; }
.art-monitor i { height: 8px; border-radius: 4px; background: #7dff9a; width: 70%; }
.art-monitor i:nth-child(2) { width: 50%; } .art-monitor i:nth-child(3) { width: 85%; }
.art-disk { position: absolute; bottom: 10px; inset-inline-start: 10px; width: 64px; height: 64px; border-radius: 8px; background: #2a3fc9; box-shadow: inset 0 -26px 0 0 #fff, inset 0 0 0 10px #2a3fc9; }
.art-cam { position: absolute; inset: 10px 20px 80px; background: #0d1a6b; border-radius: 26px; }
.art-cam .lens { position: absolute; inset-block-start: 30px; inset-inline-start: 30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 8%, #7c5cff 9% 50%, #1b1f5e 51%); border: 6px solid #aab4ff; }
.art-cam b { position: absolute; top: 18px; inset-inline-end: 22px; font-size: 13px; letter-spacing: .1em; }
.art-cam i { position: absolute; bottom: 24px; inset-inline-end: 24px; width: 80px; height: 6px; border-radius: 3px; background: #ff4d1f; }
.art-film { position: absolute; bottom: 10px; inset-inline: 40px; display: flex; gap: 6px; padding: 8px; border: 3px solid #fff; border-radius: 10px; }
.art-film i { flex: 1; height: 22px; border-radius: 4px; background: rgba(255,255,255,.85); }
.art-chat { position: absolute; inset: 30px 20px 50px; background: #fff; border-radius: 22px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.art-chat i { height: 10px; border-radius: 5px; background: #ffd5c2; }
.art-chat i:nth-child(2) { width: 70%; background: #ff6a2b; } .art-chat i:nth-child(3) { width: 85%; }
.art-spark { position: absolute; bottom: 0; inset-inline-start: 20px; font-size: 64px; color: #fff; }
.art-heart { position: absolute; top: 0; inset-inline-start: 50%; font-size: 54px; color: #ff4d1f; }
.art-bars { position: absolute; inset: 60px 20px 20px; display: flex; gap: 10px; align-items: flex-end; justify-content: center; }
.art-bars i { width: 46px; border-radius: 24px 24px 6px 6px; background: var(--blue-600); }
.art-bars i:nth-child(1) { height: 75%; } .art-bars i:nth-child(2) { height: 85%; background: var(--violet); }
.art-bars i:nth-child(3) { height: 55%; background: #ff4d1f; } .art-bars i:nth-child(4) { height: 45%; background: #eef1ff; }

/* ── 5. Top picks ── */
.f-picks { background: var(--ink2); color: #fff; padding-block: 120px 110px; }
.f-picks .eyebrow { color: var(--amber); }
.f-picks .f-h2 em { color: var(--amber); }
.pk-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.pk-head p { color: rgba(255,255,255,.75); font-size: 18px; }
.pk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.pk-tabs button { position: relative; overflow: hidden; text-align: start; font: inherit; font-weight: 800; font-size: 17px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 16px 20px; cursor: pointer; }
.pk-tabs button span { color: rgba(255,255,255,.45); margin-inline-end: 6px; }
.pk-tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.09); }
.pk-tabs button[aria-selected="true"] span { color: var(--amber); }
.pk-tabs button i { position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; width: 0; background: #ff4d1f; }
.pk-tabs button[aria-selected="true"] i { width: 100%; }
.pk-tabs.auto button[aria-selected="true"] i { animation: pkfill 7s linear forwards; }
@keyframes pkfill { from { width: 0; } to { width: 100%; } }
.pk-slides { position: relative; }
.pk-slide { display: none; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--f-radius); padding: 26px; }
.pk-slide.on { display: grid; animation: pkin .45s ease; }
@keyframes pkin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pk-art { position: relative; aspect-ratio: 1; max-height: 340px; border-radius: 24px; background: linear-gradient(160deg, #6d5cf5, #2a3fc9); display: grid; place-content: center; gap: 14px; padding: 40px; }
.pk-art .srv { display: block; width: 200px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.9); }
.pk-badge { position: absolute; bottom: 30px; inset-inline-start: calc(50% - 30px); width: 60px; height: 60px; border-radius: 50%; background: #ff4d1f; display: grid; place-items: center; font-size: 26px; font-weight: 900; }
.pk-spark { font-size: 90px; text-align: center; line-height: 1; }
.pk-art .ln { display: block; width: 200px; height: 14px; border-radius: 7px; background: rgba(255,255,255,.85); }
.pk-art .ln.s { width: 140px; }
.pk-wp { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; border: 8px solid #fff; display: grid; place-items: center; font-size: 60px; font-weight: 900; font-family: Georgia, serif; }
.pk-art .blk { display: block; width: 200px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.85); }
.pk-art .blk.s { width: 150px; background: #ffb547; }
.pk-eyebrow { color: var(--amber); font-weight: 800; }
.pk-copy h3 { font-size: clamp(34px, 4vw, 52px); margin: 8px 0 12px; }
.pk-copy p { color: rgba(255,255,255,.78); font-size: 18px; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pk-chips span { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 700; font-size: 14px; }
.pk-code { margin: 0 0 18px; font-weight: 700; }
.pk-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.pk-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.pk-count { color: rgba(255,255,255,.6); font-weight: 700; }
.pk-count b { color: #fff; font-size: 24px; }
.pk-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font-size: 18px; cursor: pointer; margin-inline-start: 8px; }
.pk-nav:hover { background: rgba(255,255,255,.1); }

/* ── 6. Courses box sits on lavender ── */
#courses { padding-block: 110px; }

/* ── 7. FAQ ── */
.f-faq { padding-block: 110px 140px; background: radial-gradient(600px 400px at 90% 10%, rgba(124,92,255,.12), transparent 60%), var(--lav); }
.fq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.fq-side { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.fq-lead { color: #2b3354; font-size: 18px; }
.fq-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; background: #fff; border-radius: 999px; padding: 6px 8px 6px 18px; padding-inline: 18px 8px; box-shadow: 0 10px 30px -20px rgba(10,17,80,.4); }
.fq-search svg { color: var(--muted); flex: none; }
.fq-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: none; min-width: 0; }
.fq-count { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.fq-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fq-chips button { font: inherit; font-weight: 700; font-size: 15px; padding: 7px 16px; border-radius: 999px; border: 1.5px solid #d6dcef; background: #fff; cursor: pointer; }
.fq-chips button.on { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.fq-list { display: grid; gap: 14px; }
.fq-item { background: #fff; border-radius: 24px; border: 1.5px solid transparent; padding: 6px 26px; transition: border-color .2s; }
.fq-item[open] { border-color: var(--navy-800); }
.fq-item[hidden] { display: none; }
.fq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding-block: 18px; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item .q { color: #ff4d1f; font-weight: 800; font-size: 18px; }
.fq-q { flex: 1; font-weight: 800; font-size: 20px; line-height: 1.5; }
.fq-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #d6dcef; position: relative; flex: none; transition: .2s; }
.fq-btn::before, .fq-btn::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 2px; background: currentColor; border-radius: 2px; }
.fq-btn::after { transform: rotate(90deg); transition: transform .2s; }
.fq-item[open] .fq-btn { background: #ff4d1f; border-color: #ff4d1f; color: #fff; }
.fq-item[open] .fq-btn::after { transform: rotate(0); }
.fq-a { padding: 0 0 22px; padding-inline-start: 46px; display: grid; gap: 14px; justify-items: start; }
.fq-a p { color: #2b3354; font-size: 17px; }
.fq-none { color: var(--muted); text-align: center; padding: 20px; }

/* ── 8. Final CTA ── */
.f-cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding-block: 130px 190px;
  background: radial-gradient(800px 500px at 50% 40%, #3d5be0 0%, transparent 70%), linear-gradient(180deg, #1e3cb8, var(--navy-800)); }
.f-cta h2 { font-size: clamp(48px, 9vw, 130px); font-weight: 900; line-height: 1.12; }
.f-cta h2 em { font-style: normal; color: #cdd6ff; }
.f-cta p { max-width: 560px; margin: 24px auto 34px; color: rgba(255,255,255,.85); font-size: 19px; }
.f-cta .hero-ctas { justify-content: center; }
.cta-marquee { position: absolute; bottom: -30px; inset-inline: 0; overflow: hidden; pointer-events: none; }
.cta-marquee div { display: flex; gap: 80px; width: max-content; animation: scroll 40s linear infinite; }
[dir="rtl"] .cta-marquee div { animation-name: scroll-rtl; }
.cta-marquee span { font-size: clamp(70px, 10vw, 150px); font-weight: 900; color: rgba(255,255,255,.06); white-space: nowrap; }

/* ── Footer ── */
.f-footer { background: radial-gradient(700px 400px at 90% 100%, rgba(124,92,255,.35), transparent 60%), linear-gradient(180deg, var(--navy-800), #0f1f86); color: rgba(255,255,255,.75); }
.f-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-block: 80px 20px !important; }
.f-footer .socials { margin-top: 18px; }
.f-footer .socials a { background: #ff4d1f; }
.f-wordmark { position: relative; font-size: clamp(44px, 9.4vw, 150px); font-weight: 900; color: #fff; line-height: 1.15; text-align: center; padding-block: 30px 10px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.f-wordmark i { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: #ff4d1f; margin-inline-start: .06em; }
.f-bottom { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px 30px !important; }
.f-bottom .legal { display: flex; gap: 20px; }
.f-bottom .legal a:hover, .to-top:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.to-top span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ff4d1f; display: grid; place-items: center; color: #fff; }

/* ═══════════ Inner pages ═══════════ */
/* Page hero */
.f-phero { color: #fff; position: relative; overflow: hidden; padding-block: 70px 90px;
  background: radial-gradient(700px 420px at 10% 100%, rgba(236,72,153,.22), transparent 60%), radial-gradient(800px 500px at 80% 0%, #2a5fd6, transparent 60%), linear-gradient(180deg, var(--navy-800), #12287a); }
.f-phero .wrap { display: grid; gap: 40px; align-items: center; }
.f-phero.has-side .wrap { grid-template-columns: 1.1fr .9fr; }
.f-phero.center { text-align: center; }
.f-phero.center .ph-copy { margin-inline: auto; max-width: 820px; display: grid; justify-items: center; }
.f-phero .eyebrow { color: var(--amber); }
.f-phero h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 900; line-height: 1.12; margin-top: 10px; }
.f-phero h1 em { font-style: normal; color: #cdd6ff; }
.f-phero .hero-lead { margin-top: 22px; max-width: 620px; }
.f-phero.center .hero-lead { margin-inline: auto; }
.f-phero .hero-ctas { margin-top: 28px; }
.f-phero.center .hero-ctas { justify-content: center; }
.f-phero .crumbs { opacity: .75; }
.ph-pill { display: inline-block; margin-top: 22px; padding: 8px 20px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 800; }
.hero-search { margin-top: 28px; max-width: 520px; }
.hero-search .fq-count { background: var(--navy-800); }
.ph-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 700; }
.ph-popular a { padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.ph-popular a:hover { background: rgba(255,255,255,.2); }
.thumb-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-4deg); }
.thumb-collage img { border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.thumb-collage img:nth-child(3n+2) { transform: translateY(18px); }
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 420px; margin-inline-start: auto; }
.lw { aspect-ratio: 1; border-radius: 26px; display: grid; place-items: center; font-size: 42px; font-weight: 900; background: #fff; color: var(--navy-800); box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.lw.h { background: #673de6; color: #fff; } .lw.wp { background: #21759b; color: #fff; font-family: Georgia, serif; }
.lw.cl { background: #d97757; color: #fff; } .lw.yt { background: #ff0033; color: #fff; font-size: 30px; }
.tag-soft { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--lav); color: var(--blue-600); font-weight: 800; font-size: 13px; }

/* About: ribbons */
.ribbons { position: relative; height: 170px; overflow: hidden; background: var(--lav); }
.ribbon { position: absolute; inset-inline: -5%; top: 50%; padding-block: 14px; white-space: nowrap; }
.ribbon div { display: flex; gap: 26px; width: max-content; animation: scroll 50s linear infinite; font-weight: 900; font-size: 24px; }
[dir="rtl"] .ribbon div { animation-name: scroll-rtl; }
.ribbon.r1 { background: var(--blue-600); color: #fff; transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.ribbon.r2 { background: var(--amber); color: var(--navy-900); transform: translateY(-50%) rotate(3deg); }
.ribbon.r2 div { animation-direction: reverse; }
.ribbon i { font-style: normal; opacity: .6; }
/* About: bio */
.ab-bio { padding-top: 90px; }
.bio-photo { position: relative; border-radius: var(--f-radius); overflow: hidden; background: linear-gradient(180deg, #e9efff, #fff); padding-top: 30px; box-shadow: 0 40px 80px -40px rgba(10,17,80,.5); }
.bio-photo img { width: 88%; margin-inline: auto; }
.bio-label { position: absolute; bottom: 0; inset-inline: 0; padding: 80px 26px 24px; background: linear-gradient(transparent, rgba(10,17,80,.85)); color: #fff; display: grid; gap: 8px; }
.bio-label strong { font-size: clamp(48px, 5vw, 72px); font-weight: 900; line-height: 1; }
/* About: stats bento */
.ab-stats { padding-block: 40px 120px; }
.pk-head.light p { color: #2b3354; }
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bn { background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 6px; align-content: end; min-height: 170px; box-shadow: 0 20px 40px -30px rgba(10,17,80,.4); }
.bn strong { font-size: clamp(40px, 4.4vw, 64px); font-weight: 900; color: var(--navy-800); line-height: 1.05; }
.bn span { color: var(--muted); font-weight: 700; }
.bn-big { grid-row: span 2; background: linear-gradient(160deg, var(--blue-600), var(--navy-800)); color: #fff; align-content: space-between; }
.bn-big strong { color: #fff; font-size: clamp(64px, 8vw, 120px); }
.bn-big span { color: rgba(255,255,255,.8); }
.bn-top { display: flex; justify-content: space-between; align-items: center; }
.bn-ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: #ff0033 !important; display: grid; place-items: center; font-size: 20px; }
.bn-tag { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 2px 14px; font-size: 14px; }
.bn-amber { background: var(--amber); }
.bn-amber strong, .bn-amber span { color: var(--navy-900); }
/* About: free cards */
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.free-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: 30px; display: grid; gap: 12px; align-content: start; min-height: 260px; transition: background .2s, transform .2s; }
.free-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.fc-n { color: var(--amber); font-weight: 800; font-size: 20px; }
.free-card h3 { font-size: 26px; }
.free-card p { color: rgba(255,255,255,.75); }
.free-card .u-link { margin-top: auto; justify-self: start; }
/* About: split with interactive mock */
.ab-split { padding-block: 120px; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sp-grid .fq-chips { margin: 22px 0 26px; }
.sp-mock { background: #fff; border-radius: 24px; padding: 14px; box-shadow: 0 40px 80px -40px rgba(10,17,80,.5); }
.sp-mock .mb-top span { background: var(--lav); }
.sp-body { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 160px 90px 70px; gap: 10px; margin-top: 10px; }
.sp-hero { grid-column: 1; background: var(--blue-600); border-radius: 14px; padding: 26px; display: grid; gap: 12px; align-content: center; transition: background .35s; }
.sp-hero i { height: 14px; width: 70%; border-radius: 7px; background: #fff; }
.sp-hero i.btnish { width: 34%; height: 18px; background: #ff4d1f; }
.sp-side { background: linear-gradient(160deg, #7c5cff, #ff4d1f); border-radius: 14px; transition: background .35s; }
.sp-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-cards i { background: var(--lav); border-radius: 12px; }
.sp-foot { grid-column: 1 / -1; background: var(--ink2); border-radius: 12px; }
.sp-mock[data-type="1"] .sp-hero { background: #ff6a2b; } .sp-mock[data-type="1"] .sp-side { background: linear-gradient(160deg, #ffb547, #ff4d1f); }
.sp-mock[data-type="2"] .sp-hero { background: var(--violet); } .sp-mock[data-type="2"] .sp-side { background: linear-gradient(160deg, #2a5fd6, #12287a); }
.sp-mock[data-type="3"] .sp-hero { background: #0f9d76; } .sp-mock[data-type="3"] .sp-side { background: linear-gradient(160deg, #7dd3b0, #0f9d76); }
.sp-mock[data-type="4"] .sp-hero { background: var(--ink2); } .sp-mock[data-type="4"] .sp-side { background: linear-gradient(160deg, #d97757, #7c5cff); }

/* Tutorials library */
.f-lib { background: var(--deep); color: #fff; padding-block: 110px; }
.f-lib .eyebrow, .f-lib .f-h2 em { color: var(--amber); }
.f-lib .pk-head p { color: rgba(255,255,255,.75); }
.lib-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.lib-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lib-chips button { font: inherit; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.lib-chips button small { color: var(--amber); font-weight: 800; margin-inline-start: 4px; }
.lib-chips button.on { background: #fff; color: var(--navy-800); }
.lib-search { display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; min-width: 260px; }
.lib-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; color: var(--muted); }
.lib-search input { border: 0; outline: 0; font: inherit; flex: 1; min-width: 0; background: none; }
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lib-grid .tut-card { width: auto; }
.lib-featured { grid-column: span 2; display: grid !important; grid-template-columns: 1.2fr 1fr; align-items: stretch; }
.lib-featured .tc-thumb { aspect-ratio: auto; height: 100%; min-height: 280px; }
.lib-featured .tc-body h3 { font-size: 28px; }
.tc-new { position: absolute; top: 12px; inset-inline-start: 12px; background: #ff4d1f; padding: 3px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.lib-item[hidden] { display: none !important; }
.f-lib .fq-none { color: rgba(255,255,255,.7); }
/* Pick a topic */
.f-topics { padding-block: 110px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-tile { background: #fff; border-radius: 24px; padding: 20px; display: grid; gap: 40px; box-shadow: 0 20px 40px -32px rgba(10,17,80,.4); transition: transform .2s; }
.topic-tile:hover { transform: translateY(-4px); }
.tt-top { display: flex; justify-content: space-between; align-items: center; }
.tt-n { color: #ff4d1f; font-weight: 800; }
.tt-go { width: 36px; height: 36px; border-radius: 50%; background: var(--lav); display: grid; place-items: center; font-weight: 800; }
.tt-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.tt-bottom b { display: block; font-size: 22px; }
.tt-bottom small { color: var(--muted); font-weight: 700; }
.tt-bottom img { width: 96px; border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; }
/* Tools list */
.tool-list { display: grid; gap: 14px; }
.tool-row { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 24px; padding: 18px 22px; box-shadow: 0 20px 40px -32px rgba(10,17,80,.4); }
.tool-row .lw { width: 72px; height: 72px; font-size: 28px; border-radius: 18px; flex: none; }
.tr-body { flex: 1; display: grid; gap: 4px; }
.tr-body small { color: var(--accent-ink); font-weight: 800; }
.tr-body b { font-size: 22px; }
.tr-body span { color: var(--muted); }
/* Review */
.rv-logo { background: #fff; border-radius: 34px; padding: 16px; max-width: 380px; margin-inline-start: auto; aspect-ratio: 1; display: grid; }
.rv-logo { background: linear-gradient(#fff, #fff) padding-box; }
.rv-logo span { display: none; }
.rv-logo b { border-radius: 24px; background: #673de6; color: #fff; display: grid; place-items: center; font-size: 34px; letter-spacing: .08em; font-weight: 900; }
.rv-tags { margin-top: 18px; }
.rv-tags span { padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: 14px; }
.f-phero .u-link.light { align-self: center; }
.rv-body { padding-block: 80px 100px; }
.rv-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.rv-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.rv-facts { background: #fff; border-radius: 24px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 20px 40px -30px rgba(10,17,80,.4); }
.rv-facts h3 { font-size: 18px; }
.rv-facts dl { margin: 0; display: grid; gap: 10px; }
.rv-facts dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; font-size: 15px; }
.rv-facts dt { color: var(--muted); }
.rv-facts dd { margin: 0; font-weight: 800; }
.rv-facts dd a { color: var(--blue-600); text-decoration: underline; }
.rv-facts .btn { justify-content: space-between; }
.rv-aff { font-size: 13px; color: var(--muted); margin: 0; }
.rv-aff a { color: var(--blue-600); font-weight: 800; }
.rv-toc b { display: block; margin-bottom: 8px; }
.rv-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rv-toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: 15px; color: #2b3354; }
.rv-toc a span { color: #ff4d1f; font-weight: 800; }
.rv-toc a:hover, .rv-toc a.on { background: #fff; color: var(--navy-800); }
.rv-article h2 { scroll-margin-top: 110px; }
.rv-article .tut-intro { font-size: 19px; }
/* Knowledge & prompts */
.kb-section, .pr-section { padding-top: 90px; }
.kb-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 380px; margin-inline-start: auto; }
.kb-art span { aspect-ratio: 1; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 34px; font-weight: 900; }
.kb-art span.hl { background: var(--amber); color: var(--navy-900); }
.term-en { color: var(--muted); font-weight: 700; font-size: 14px; margin-inline-start: 6px; }
.pr-art { margin-inline-start: auto; }
.pr-item { padding: 22px 26px; display: grid; gap: 14px; }
.pr-head { display: flex; gap: 16px; align-items: flex-start; }
.pr-titles { flex: 1; }
.pr-titles h3 { font-size: 20px; }
.pr-titles p { color: var(--muted); margin-top: 4px; }
.pr-body { margin: 0; white-space: pre-wrap; word-break: break-word; background: var(--lav); border-radius: 16px; padding: 16px 18px; font: inherit; font-size: 15.5px; line-height: 1.9; color: #2b3354; max-height: 260px; overflow: auto; }
.pr-foot { display: flex; gap: 16px; align-items: center; }
.pr-foot .btn.done { background: #127a3d; }
/* CTA on inner pages */
.f-cta.small { padding-block: 100px 150px; }
.f-cta.small h2 { font-size: clamp(42px, 7vw, 96px); }

@media (max-width: 1080px) {
  .f-phero.has-side .wrap, .sp-grid, .rv-grid { grid-template-columns: 1fr; }
  .ph-side { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bn-big { grid-column: 1 / -1; grid-row: auto; }
  .free-grid { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: 1fr 1fr; }
  .lib-featured { grid-column: 1 / -1; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .rv-aside { position: static; }
}
@media (max-width: 640px) {
  .f-phero { padding-block: 50px 60px; }
  .ribbons { height: 120px; }
  .ribbon div { font-size: 18px; }
  .bento { grid-template-columns: 1fr; }
  .lib-grid, .topic-grid { grid-template-columns: 1fr; }
  .lib-featured { grid-template-columns: 1fr; }
  .lib-featured .tc-thumb { min-height: 0; aspect-ratio: 16/9; }
  .lib-search { min-width: 0; width: 100%; }
  .tool-row { padding: 14px; gap: 12px; }
  .tool-row .lw { width: 54px; height: 54px; }
  .pr-head { flex-wrap: wrap; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .f-nav { display: none; }
  .f-nav.open { display: flex; position: absolute; top: 84px; inset-inline: 12px; flex-direction: column; border-radius: 22px; background: var(--navy-800); padding: 14px; }
  .drop-panel { position: static; translate: none !important; width: auto; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 6px; }
  .nav-drop:focus-within .drop-panel, .nav-drop:hover .drop-panel { display: grid; }
  .f-story-grid, .pk-head, .pk-slide.on, .fq-grid { grid-template-columns: 1fr; }
  .st-sticky, .fq-side { position: static; }
  .st-card { height: 460px; }
  .st-steps .st-step { opacity: 1; }
  .tl-grid { grid-template-columns: 1fr; }
  .tl-rail { display: none; }
  .tl-card { grid-template-columns: 1fr; padding: 36px 28px; min-height: 0; margin-bottom: 18px; position: relative; top: auto; }
  .tl-art { display: none; }
  .f-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  /* tutorials become a native swipe row */
  .tuts-pin { position: static; min-height: 0; padding-block: 80px 40px; }
  .tuts-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tuts-viewport::-webkit-scrollbar { display: none; }
  .tuts-track { transform: none !important; }
  .tut-card { scroll-snap-align: start; width: min(82vw, 400px); }
  .f-photo { margin-inline: auto; }
}
@media (max-width: 640px) {
  .f-header .wrap { height: 68px; }
  .f-nav.open { top: 68px; }
  .head-cta { display: none; }
  .f-photo .float-subs { inset-inline-start: -6px; }
  .f-photo .float-rate { inset-inline-end: -6px; bottom: 120px; }
  .newest-bar b { font-size: 13.5px; }
  .f-story, .f-timeline { padding-block: 80px; }
  .st-card { height: 420px; }
  .st-step h3 { font-size: 22px; }
  .pk-tabs { grid-template-columns: 1fr; }
  .pk-tabs button { padding: 12px 16px; }
  .pk-art { max-height: 220px; aspect-ratio: auto; height: 220px; }
  .fq-item { padding: 4px 16px; }
  .fq-q { font-size: 17px; }
  .fq-a { padding-inline-start: 0; }
  .f-cta { padding-block: 90px 130px; }
  .f-footer .footer-grid { grid-template-columns: 1fr; }
  .db-ends, .db-ad { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-marquee div, .scroll-hint span { animation: none; }
  .pk-tabs.auto button[aria-selected="true"] i { animation: none; width: 100%; }
}

/* hero screenshot (review, courses): replace the placeholder from the dashboard */
.ph-shot { margin: 0; margin-inline-start: auto; max-width: 520px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); border: 6px solid rgba(255,255,255,.14); }
.ph-shot img { display: block; width: 100%; height: auto; }

/* Never scroll sideways, even on 320px phones. `clip` (not hidden) keeps position:sticky working. */
html, body { overflow-x: clip; }
.f-timeline, .f-footer, .f-lib, .kb-section { overflow-x: clip; }

/* ── Crash course presale (/courses/crash-course) ── */
.cc-hero h1 { font-size: clamp(38px, 5.4vw, 72px); }
.cc-hero .hero-lead strong { color: var(--amber); }
.cc-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-facts li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 15px; }
.cc-facts b { color: var(--amber); }
.cc-offer { background: #fff; color: var(--ink); border-radius: var(--f-radius); padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); display: grid; gap: 14px; }
.cc-badge { justify-self: start; background: var(--amber); color: var(--navy-900); font-weight: 900; font-size: 14px; padding: 5px 14px; border-radius: 999px; }
.cc-badge.done { background: #e3e8f4; color: var(--muted); }
.cc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cc-price strong { font-size: 64px; line-height: 1; font-weight: 900; color: var(--navy-800); }
.cc-price span { font-weight: 800; color: var(--muted); }
.cc-price del { color: var(--muted); font-weight: 700; margin-inline-start: 6px; }
.cc-save { color: #127a3d; font-weight: 800; margin: 0; }
.cc-seats small { display: block; margin-top: 8px; color: var(--muted); font-weight: 700; font-size: 14px; }
.cc-bar { height: 10px; border-radius: 999px; background: #eef1ff; overflow: hidden; }
.cc-bar i { display: block; height: 100%; width: var(--p, 0%); min-width: 6%; background: linear-gradient(90deg, var(--amber), #ff7a1f); border-radius: inherit; }
.cc-offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.cc-offer-note { margin: 0; color: var(--muted); }
.cc-offer-btn { justify-content: center; }

.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.cc-card { background: #fff; border-radius: var(--f-radius); padding: 40px; height: 100%; }
.cc-card h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.cc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cc-card li { display: flex; gap: 12px; font-weight: 600; line-height: 1.7; }
.cc-card.yes li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6f6ec; color: #127a3d; font-weight: 900; }
.cc-card.no li::before { content: "✕"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fde8e8; color: #b42318; font-weight: 900; }
.cc-build { margin-top: 26px; padding-top: 22px; border-top: 1px dashed #d6dcf0; }
.cc-build h3 { font-size: 22px; margin-bottom: 8px; }
.cc-build p { color: var(--muted); margin: 0; line-height: 1.8; }

.cc-why { padding-top: 0; }
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.cc-grid article { background: #fff; border-radius: 26px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.cc-grid h3 { font-size: 20px; }
.cc-grid p { color: var(--muted); margin: 0; line-height: 1.7; }
.cc-ico { font-size: 30px; }

.cc-curriculum { background: var(--deep); color: #fff; }
.cc-curriculum .eyebrow { color: var(--amber); }
.cc-curriculum .f-h2 em { color: var(--amber); }
.cc-modules { display: grid; gap: 12px; margin-top: 36px; }
.cc-mod { background: var(--card-deep); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 0 22px; }
.cc-mod[open] { border-color: rgba(255,181,71,.5); }
.cc-mod summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 18px; }
.cc-mod summary::-webkit-details-marker { display: none; }
.cc-mod .n { color: var(--amber); font-size: 15px; min-width: 28px; }
.cc-mod .t { flex: 1; }
.cc-mod .d { font-size: 14px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.cc-mod ul { margin: 0 0 18px; padding-inline-start: 46px; display: grid; gap: 8px; color: rgba(255,255,255,.82); line-height: 1.7; }
.cc-bonus { margin-top: 28px; border-radius: 24px; padding: 28px; background: linear-gradient(135deg, rgba(255,181,71,.18), rgba(255,181,71,.05)); border: 1px solid rgba(255,181,71,.35); }
.cc-bonus h3 { font-size: 22px; margin-bottom: 10px; }
.cc-bonus ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }

.cc-about-box { background: #fff; border-radius: var(--f-radius); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.cc-about-box img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--amber); }
.cc-about-box h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 10px; }
.cc-about-box p { color: var(--muted); line-height: 1.8; margin: 0 0 14px; }

.cc-book { padding-top: 0; }
.cc-steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 22px; display: grid; gap: 16px; }
.cc-steps li { counter-increment: s; position: relative; padding-inline-start: 56px; line-height: 1.8; }
.cc-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--amber); display: grid; place-items: center; font-weight: 900; }
.cc-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cc-pay span { background: #fff; border-radius: 12px; padding: 6px 12px; font-weight: 700; font-size: 15px; }
.cc-pay code { font-weight: 900; color: var(--navy-800); }
.cc-abroad { background: #fff; border-radius: 16px; padding: 14px 18px; margin: 0 0 22px; }
.cc-guarantee { background: var(--navy-800); color: #fff; border-radius: var(--f-radius); padding: 44px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.cc-shield { font-size: 52px; }
.cc-guarantee h3 { font-size: 30px; color: var(--amber); }
.cc-guarantee p { margin: 0; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 380px; }

@media (max-width: 1080px) {
  .cc-hero .ph-side { display: block; max-width: 520px; }
  .cc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cc-two, .cc-grid { grid-template-columns: 1fr; }
  .cc-card, .cc-about-box, .cc-guarantee { padding: 26px; }
  .cc-about-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cc-price strong { font-size: 52px; }
  .cc-mod summary { font-size: 16px; gap: 10px; }
  .cc-mod ul { padding-inline-start: 22px; }
}
.cc-promo { display: grid; gap: 10px; background: #fff; border: 2px solid var(--amber); border-radius: var(--f-radius); padding: 28px 32px; margin-bottom: 28px; color: var(--ink); transition: transform .2s; }
.cc-promo:hover { transform: translateY(-3px); }
.cc-promo strong { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; }
.cc-promo .u-link { justify-self: start; }
/* crash course: portrait + bonuses + perks */
.cc-side { position: relative; display: grid; justify-items: center; }
.cc-portrait { width: min(380px, 80%); height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.cc-side .cc-offer { margin-top: -120px; position: relative; width: 100%; max-width: 460px; }
.cc-bonuses .f-h2 em, .cc-perks .f-h2 em { color: var(--accent-ink); }
.cc-bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.cc-bonus-card { background: #fff; border-radius: 26px; padding: 28px; display: grid; gap: 10px; align-content: start; border: 2px solid transparent; }
.cc-bonus-card:hover { border-color: var(--amber); }
.cc-bonus-card h3 { font-size: 20px; }
.cc-bonus-card p { color: var(--muted); margin: 0; line-height: 1.7; }
.cc-worth { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--muted); }
.cc-worth del { color: #b42318; }
.cc-worth b { color: #127a3d; }
.cc-stack { margin-top: 28px; background: var(--navy-800); color: #fff; border-radius: 24px; padding: 24px 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.cc-stack div { display: grid; gap: 4px; }
.cc-stack span { color: rgba(255,255,255,.7); font-weight: 700; }
.cc-stack del { font-size: 26px; font-weight: 800; color: rgba(255,255,255,.55); }
.cc-stack strong { font-size: 34px; color: var(--amber); }
.cc-perks { padding-top: 0; }
.cc-perks-lead { color: var(--muted); max-width: 680px; font-size: 18px; margin-top: 14px; line-height: 1.8; }
@media (max-width: 1080px) { .cc-bonus-grid { grid-template-columns: 1fr 1fr; } .cc-portrait { width: min(300px, 70%); } .cc-side .cc-offer { margin-top: -90px; } }
@media (max-width: 760px) { .cc-bonus-grid { grid-template-columns: 1fr; } .cc-stack { padding: 22px; } }
/* crash course: result promise, fast bonus, double guarantee */
.cc-guar-line { margin-top: 14px; font-weight: 800; color: var(--amber); }
.cc-result { padding-bottom: 0; }
.cc-result .f-h2 em { color: var(--accent-ink); }
.cc-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.cc-outcomes > div { background: #fff; border-radius: 26px; padding: 28px; border-top: 5px solid var(--amber); display: grid; gap: 8px; align-content: start; }
.cc-outcomes b { color: var(--accent-ink); font-size: 15px; }
.cc-outcomes h3 { font-size: 21px; }
.cc-outcomes p { margin: 0; color: var(--muted); line-height: 1.7; }
.cc-fast { margin-top: 20px; background: linear-gradient(135deg, #fff6e5, #fff); border: 2px dashed var(--amber); border-radius: 26px; padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.cc-fast h3 { font-size: 21px; margin: 8px 0 4px; }
.cc-fast p { margin: 0; color: var(--muted); line-height: 1.7; }
.cc-guarantee { text-align: start; justify-items: stretch; }
.cc-guarantee .cc-shield, .cc-guarantee h3 { text-align: center; }
.cc-g-item { background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px 18px; }
.cc-g-item b { color: var(--amber); }
.cc-g-item p { margin: 6px 0 0; max-width: none; }
.cc-g-note { text-align: center; font-weight: 800; color: #fff !important; }
@media (max-width: 1080px) { .cc-outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cc-outcomes { grid-template-columns: 1fr; } .cc-fast { grid-template-columns: 1fr; } }
/* crash course: countdown */
.cc-why .cc-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cc-count { background: var(--navy-800); color: #fff; border-radius: 18px; padding: 12px 14px; }
.cc-count p { margin: 0 0 8px; font-weight: 800; font-size: 14px; color: var(--amber); text-align: center; }
.cc-count > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; direction: ltr; }
.cc-count span { background: rgba(255,255,255,.08); border-radius: 12px; padding: 6px 4px; text-align: center; display: grid; }
.cc-count b { font-size: 26px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cc-count small { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 700; }
.cc-count.ended { opacity: .5; }
.f-cta .cc-count { max-width: 420px; margin: 0 auto 22px; background: rgba(255,255,255,.08); }
/* crash course: dashboard teaser */
.cc-teaser { background: var(--ink2); color: #fff; }
.cc-teaser .eyebrow, .cc-teaser .f-h2 em { color: var(--amber); }
.cc-teaser .cc-perks-lead { color: rgba(255,255,255,.78); }
.cc-teaser .cc-perks-lead strong { color: var(--amber); }
.cc-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.cc-shots figure { margin: 0; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cc-shots img { width: 100%; height: auto; display: block; border-radius: 12px; }
.cc-shots figcaption { color: var(--ink); font-weight: 800; font-size: 15px; padding: 10px 6px 4px; }
@media (max-width: 760px) { .cc-shots { grid-template-columns: 1fr; } }
/* crash course: locked surprise */
.cc-mystery { position: relative; margin-top: 36px; border-radius: 24px; overflow: hidden; max-width: 900px; margin-inline: auto; aspect-ratio: 1568 / 744; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cc-mystery img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(14px) saturate(1.2); transform: scale(1.1); }
.cc-mystery-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; background: radial-gradient(circle at center, rgba(10,17,80,.35), rgba(10,17,80,.8)); }
.cc-gift { font-size: clamp(64px, 9vw, 110px); line-height: 1; animation: cc-bob 2.4s ease-in-out infinite; }
.cc-mystery-cover strong { font-size: clamp(24px, 3vw, 36px); color: #fff; }
.cc-mystery-cover small { color: var(--amber); font-weight: 800; font-size: 16px; }
@keyframes cc-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .cc-gift { animation: none; } }
/* crash course: 3 courses + packages */
.cc-upsell { display: block; background: #fff6e5; border: 1px dashed var(--amber); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; color: var(--ink); }
.cc-upsell b { color: var(--accent-ink); }
.cc-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: start; }
.cc-course { background: var(--card-deep); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 26px; display: grid; gap: 10px; }
.cc-cn { justify-self: start; background: var(--amber); color: var(--navy-900); font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.cc-course h3 { font-size: 21px; }
.cc-course p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.7; }
.cc-course small { color: var(--amber); font-weight: 800; }
.cc-course figure { margin: 4px 0 0; background: #fff; border-radius: 14px; padding: 6px; }
.cc-course figure img { width: 100%; height: auto; display: block; border-radius: 10px; }
.cc-course figcaption { color: var(--ink); font-weight: 800; font-size: 13px; padding: 6px 4px 2px; }
.cc-packages .f-h2 em { color: var(--accent-ink); }
.cc-packages .cc-count { max-width: 420px; margin: 24px 0 0; }
.cc-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; align-items: stretch; }
.cc-tier { position: relative; background: #fff; border-radius: var(--f-radius); padding: 32px 28px; display: grid; gap: 16px; align-content: start; border: 2px solid transparent; }
.cc-tier.featured { border-color: var(--amber); box-shadow: 0 30px 60px -30px rgba(194,109,5,.5); transform: translateY(-8px); }
.cc-ribbon { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--amber); color: var(--navy-900); font-weight: 900; font-size: 14px; padding: 5px 14px; border-radius: 999px; }
.cc-tier h3 { font-size: 22px; }
.cc-tier-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cc-tier-price strong { font-size: 52px; font-weight: 900; line-height: 1; color: var(--navy-800); }
.cc-tier-price span { font-weight: 800; color: var(--muted); }
.cc-tier-price del { color: var(--muted); font-weight: 700; }
.cc-tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cc-tier li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.cc-tier li::before { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.cc-tier li.yes::before { content: "✓"; background: #e6f6ec; color: #127a3d; }
.cc-tier li.no { color: #a7aec6; text-decoration: line-through; }
.cc-tier li.no::before { content: "✕"; background: #f1f3f9; color: #a7aec6; }
.cc-tier .btn { justify-content: center; margin-top: auto; }
.cc-tier-note { margin-top: 22px; color: var(--muted); font-weight: 700; text-align: center; }
@media (max-width: 1080px) { .cc-courses, .cc-tiers { grid-template-columns: 1fr; max-width: 560px; } .cc-tier.featured { transform: none; } }
/* crash course: staged price, lesson, proof, transparency, terms */
.cc-after-lbl { display: block; width: 100%; font-size: 12px; font-weight: 700; color: var(--muted); }
.cc-stage-note { margin-top: 16px; background: #fff; border-inline-start: 4px solid var(--amber); border-radius: 12px; padding: 12px 16px; font-weight: 600; line-height: 1.8; }
.cc-lesson { padding-bottom: 0; }
.cc-lesson .f-h2 em { color: var(--accent-ink); }
.cc-video { margin-top: 28px; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); max-width: 960px; }
.cc-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.cc-proof { padding-bottom: 0; }
.cc-proof .f-h2 em { color: var(--accent-ink); }
.cc-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.cc-proof-grid figure { margin: 0; background: #fff; border-radius: 22px; overflow: hidden; display: grid; }
.cc-proof-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cc-proof-grid figcaption { padding: 14px 16px 18px; display: grid; gap: 6px; }
.cc-proof-grid figcaption b { font-size: 17px; }
.cc-proof-grid figcaption span { color: var(--muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-transparent { margin-top: 26px; background: #fff; border-radius: 22px; padding: 24px 28px; border: 1px solid #dfe4f3; }
.cc-transparent h3 { font-size: 20px; margin-bottom: 10px; }
.cc-transparent ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; line-height: 1.8; }
.cc-terms { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: 14px; color: rgba(255,255,255,.8); }
.cc-terms b { color: #fff; }
@media (max-width: 1080px) { .cc-proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cc-proof-grid { grid-template-columns: 1fr; } }
/* crash course: CTAs + mobile sticky bar */
.cc-soft-cta { margin: 26px 0 0; text-align: center; }
.cc-soft-cta a { font-weight: 800; font-size: 18px; color: var(--accent-ink); border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.cc-curriculum .cc-soft-cta a, .cc-teaser .cc-soft-cta a { color: var(--amber); }
.cc-mid-cta { grid-column: 1 / -1; text-align: center; margin-top: 8px; }
.cc-ask { grid-column: 1 / -1; text-align: center; margin: 10px 0 0; font-weight: 700; font-size: 18px; }
.cc-ask a { color: #127a3d; font-weight: 900; border-bottom: 2px solid currentColor; }
.cc-sticky { display: none; }
@media (max-width: 760px) {
  .cc-sticky { display: flex; position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy-800); color: #fff; border-radius: 18px; padding: 10px 12px 10px 16px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .3s ease; }
  .cc-sticky.on { transform: none; }
  .cc-sticky b { display: block; font-size: 17px; }
  .cc-sticky small { color: var(--amber); font-weight: 700; font-size: 12px; }
  .cc-sticky .btn { padding: 10px 18px; font-size: 15px; }
}
/* crash course: booking form + stronger CTAs */
.cc-form-sec { padding-top: 0; }
.cc-form-box { background: #fff; border-radius: var(--f-radius); padding: 40px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; border: 3px solid var(--amber); box-shadow: 0 40px 80px -40px rgba(194,109,5,.45); }
.cc-form-head p { color: var(--muted); line-height: 1.9; margin: 12px 0 18px; }
.cc-form-head .f-h2 em { color: var(--accent-ink); }
.cc-form { display: grid; gap: 18px; }
.cc-pkgs { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-pkgs legend { font-weight: 800; margin-bottom: 8px; }
.cc-pkg { position: relative; cursor: pointer; }
.cc-pkg input { position: absolute; opacity: 0; }
.cc-pkg span { display: grid; gap: 4px; border: 2px solid #dfe4f3; border-radius: 16px; padding: 12px; text-align: center; transition: .2s; }
.cc-pkg small { color: var(--muted); font-weight: 800; }
.cc-pkg input:checked + span { border-color: var(--amber); background: #fff6e5; box-shadow: 0 0 0 3px rgba(255,181,71,.25); }
.cc-pkg input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.cc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.cc-fields label.full { grid-column: 1 / -1; }
.cc-fields input, .cc-fields select { font: inherit; border: 1.5px solid #d5dbee; border-radius: 12px; padding: 12px 14px; background: #f8f9fe; }
.cc-fields input:focus, .cc-fields select:focus { outline: none; border-color: var(--blue-600); background: #fff; }
.cc-fields input[type=file] { padding: 10px; background: #fff; border-style: dashed; }
.cc-submit { justify-content: center; font-size: 19px; padding-block: 16px; }
.cc-form-fine { margin: 0; color: var(--muted); font-size: 13.5px; }
.cc-form-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.cc-form-msg.error { background: #fde8e8; color: #b42318; }
.cc-form-msg.ok { background: #e6f6ec; color: #127a3d; }
.cc-done { background: #fff; border-radius: var(--f-radius); padding: 48px 32px; text-align: center; display: grid; gap: 10px; justify-items: center; border: 3px solid #127a3d; }
.cc-done > span { font-size: 56px; }
.cc-done h2 { font-size: clamp(26px, 3vw, 38px); }
.cc-done p { margin: 0; font-size: 18px; color: var(--muted); }
.cc-done p b { color: var(--navy-800); font-size: 24px; }
/* CTAs: make them unmistakable */
.cc-soft-cta a { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--navy-900) !important; border: 0; border-radius: 999px; padding: 14px 28px; font-size: 18px; box-shadow: 0 14px 30px -12px rgba(255,140,0,.6); transition: transform .2s; }
.cc-soft-cta a:hover { transform: translateY(-2px); }
.cc-hero .hero-ctas .btn-amber, .f-cta .btn-amber, .cc-mid-cta .btn { font-size: 19px; padding: 16px 30px; box-shadow: 0 16px 36px -12px rgba(255,140,0,.7); animation: cc-pulse 2.8s ease-in-out infinite; }
.cc-tier .btn { font-size: 17px; padding-block: 15px; }
@keyframes cc-pulse { 0%, 100% { box-shadow: 0 16px 36px -12px rgba(255,140,0,.7), 0 0 0 0 rgba(255,181,71,.5); } 50% { box-shadow: 0 16px 36px -12px rgba(255,140,0,.7), 0 0 0 10px rgba(255,181,71,0); } }
@media (prefers-reduced-motion: reduce) { .cc-hero .hero-ctas .btn-amber, .f-cta .btn-amber, .cc-mid-cta .btn { animation: none; } }
@media (max-width: 900px) { .cc-form-box { grid-template-columns: 1fr; padding: 26px; } }
@media (max-width: 560px) { .cc-fields, .cc-pkgs { grid-template-columns: 1fr; } }
.cc-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
