:root {
  --navy: #0b1d3f;
  --navy-2: #0f2a57;
  --ink: #0d1b33;
  --muted: #55627a;
  --line: #e6e9f0;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --gold: #f2b233;
  --gold-2: #e09a12;
  --radius: 18px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Lexend', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; }
.gold { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 500; font-size: 17px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s; white-space: nowrap; }
.btn-gold { background: linear-gradient(180deg, #e3a21f, #c98a0b); color: #fff; font-weight: 600; text-shadow: 0 1px 1px rgba(0,0,0,.18); box-shadow: 0 10px 30px -10px rgba(242,178,51,.7); }
.btn-gold:hover { background: linear-gradient(180deg, #edae2a, #d29312); transform: translateY(-2px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn .arrow { font-size: 20px; line-height: 1; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 10px 20px; font-size: 15px; color: #fff; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(242,178,51,.22), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(40,90,180,.35), transparent 60%), var(--navy); color: #fff; padding: 88px 0 96px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero .lead { color: rgba(255,255,255,.75); }
.hero .eyebrow { color: var(--gold); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 22px; }
.hero-note { font-size: 14px; color: rgba(255,255,255,.6); }
.hero-img { border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1400px) rotateY(-6deg); }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { transform: none; }
}

/* Facts strip */
.facts { background: var(--navy-2); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-size: 24px; font-weight: 600; color: var(--gold); }
.fact span { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3) { border-left: 0; } .fact { border-top: 1px solid rgba(255,255,255,.08); } }

/* Sections */
section { padding: 96px 0; }
section.soft { background: var(--soft); }
.head { max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { section { padding: 64px 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(11,29,63,.35); }
.card .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,178,51,.15); color: var(--gold-2); font-weight: 600; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Course card */
.course { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(11,29,63,.4); }
.course img { width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.course .body { padding: 36px; display: flex; flex-direction: column; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: rgba(242,178,51,.16); color: var(--gold-2); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.course ul { list-style: none; padding: 0; margin: 4px 0 24px; }
.course li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.course li::before { content: ''; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(-45deg); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.price { font-size: 34px; font-weight: 700; }
.price small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
@media (max-width: 900px) { .course { grid-template-columns: 1fr; } .course .body { padding: 26px; } }

/* Check list */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; list-style: none; padding: 0; margin: 0; }
.checks li { padding: 18px 20px 18px 56px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.checks li::before { content: ''; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-2); }
.checks li::after { content: ''; position: absolute; left: 26px; top: 27px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.checks b { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Days */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; }
.day b { display: block; font-size: 22px; color: var(--navy); }
.day span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .days { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-2); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { background: radial-gradient(800px 400px at 50% 0%, rgba(242,178,51,.2), transparent 70%), var(--navy); color: #fff; text-align: center; }
.final .lead { color: rgba(255,255,255,.75); margin: 0 auto 30px; }

/* Footer */
footer { background: #071530; color: rgba(255,255,255,.6); padding: 48px 0 110px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .brand { color: #fff; font-weight: 600; font-size: 16px; }

/* Sticky mobile buy bar */
.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; background: rgba(11,29,63,.96); color: #fff; border-radius: 999px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); }
.buybar b { font-size: 18px; }
.buybar small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.buybar .btn { padding: 12px 20px; font-size: 15px; }
@media (max-width: 760px) { .buybar { display: flex; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }

/* Curriculum */
.curr { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.curr li { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.curr li:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(11,29,63,.35); }
.curr img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.curr div { padding: 14px 16px 18px; }
.curr span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.curr b { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; margin-top: 4px; }
@media (max-width: 1000px) { .curr { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .curr { grid-template-columns: repeat(2, 1fr); gap: 12px; } .curr b { font-size: 14px; } .curr div { padding: 10px 12px 14px; } }


/* Course catalog */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.ccard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(11,29,63,.45); }
.ccard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ccard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard .by { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.ccard h3 { font-size: 20px; margin-bottom: 8px; }
.ccard p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.ccard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ccard .meta span { font-size: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); }
.ccard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.ccard-foot b { font-size: 22px; }
.ccard-foot .go { color: var(--navy); font-weight: 500; }
.ccard.soon { background: var(--soft); border-style: dashed; justify-content: center; }
.ccard.soon .ccard-body { justify-content: center; }
@media (max-width: 1000px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }

/* Hub hero visual (brand, not a single course) */
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hv-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,178,51,.35), transparent 65%); filter: blur(10px); }
.hv-card { position: relative; width: min(380px, 100%); padding: 34px 30px; border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hv-card img { width: 120px; height: 120px; margin: 0 auto 22px; padding: 14px; border-radius: 28px; background: #fff; }
.hv-steps div { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.9); font-size: 16px; }
.hv-steps span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold-2); color: #fff; font-weight: 600; font-size: 14px; }
.hv-chip { position: absolute; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.hv-chip.c1 { top: 8%; left: 2%; }
.hv-chip.c2 { top: 46%; right: -2%; animation-delay: -2s; }
.hv-chip.c3 { bottom: -2%; right: 10%; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .hero-visual { min-height: 380px; } .hv-chip.c2 { right: 0; } }
@media (prefers-reduced-motion: reduce) { .hv-chip { animation: none; } }


/* Card thumbnail + status badge */
.ccard .thumb { position: relative; }
.status { position: absolute; bottom: 10px; right: 10px; font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(11,29,63,.85); color: #fff; backdrop-filter: blur(6px); }
.status.live { background: #16a34a; }
.status.live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ccard.soon { background: #fff; border-style: solid; justify-content: flex-start; }
.ccard.soon .ccard-body { justify-content: flex-start; }
.ccard.soon img { filter: saturate(.9); }
.ccard-foot .tbd { font-size: 15px; font-weight: 500; color: var(--muted); }
.curr p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .curr p { font-size: 13px; } }

/* Coming soon: quiet row below live courses */
.soon-row { margin-top: 40px; }
.soon-label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.soon-item { opacity: .55; filter: grayscale(.5); }
.soon-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.soon-item span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }

/* Curriculum as day-wise rows (.curr.rows); remove "rows" class to go back to the grid */
.curr.rows { grid-template-columns: 1fr; gap: 12px; max-width: 900px; margin: 0 auto; }
.curr.rows li { display: grid; grid-template-columns: 220px 1fr; align-items: center; }
.curr.rows img { height: 100%; }
.curr.rows div { padding: 16px 22px; }
.curr.rows b { font-size: 18px; }
.curr.rows p { font-size: 15px; }
@media (max-width: 760px) {
  .curr.rows li { grid-template-columns: 120px 1fr; }
  .curr.rows div { padding: 10px 14px; }
  .curr.rows b { font-size: 15px; }
  .curr.rows p { font-size: 13px; }
}

/* Mobile cleanup: one CTA in hero, no duplicate Join in nav, bottom bar only after the hero */
@media (max-width: 760px) {
  .nav-links .btn { display: none; }
  .hero-ctas .btn-ghost { display: none; }
  .hero-ctas { margin: 24px 0 14px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  h1 { font-size: 32px; }
  .hero .lead { font-size: 16px; }
}
.buybar { transform: translateY(160%); transition: transform .35s ease; }
.buybar.show { transform: none; }

/* Show the whole banner in offer cards (no cropping); navy fills any gap and blends with the banner */
.course > img { object-fit: contain; background: #0b1d3f; }

/* Creator course hero: small intro so the Join button leads; thumbnail above the heading on phones/tablets */
.hero .lead.hero-sub { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.6); max-width: 500px; }
@media (max-width: 900px) { .hero-img.hero-img-top { order: -1; } }
@media (max-width: 760px) { .hero .lead.hero-sub { font-size: 13.5px; } }

/* "For you" section: navy, glass cards, gold icons, outcome line */
.foryou { background: radial-gradient(900px 420px at 50% -10%, rgba(242,178,51,.18), transparent 70%), var(--navy); color: #fff; }
.foryou .head h2 { color: #fff; }
.fy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fy-card { position: relative; padding: 30px 26px 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; transition: transform .2s, border-color .2s, background .2s; }
.fy-card:hover { transform: translateY(-4px); border-color: rgba(242,178,51,.5); background: rgba(255,255,255,.08); }
.fy-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #e3a21f, #c98a0b); box-shadow: 0 12px 24px -10px rgba(242,178,51,.7); margin-bottom: 20px; }
.fy-card h3 { font-size: 21px; margin-bottom: 8px; }
.fy-card p { color: rgba(255,255,255,.72); margin: 0 0 20px; }
.fy-after { margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.18); font-size: 14px; color: rgba(255,255,255,.85); }
.fy-after b { color: var(--gold); font-weight: 600; }
@media (max-width: 900px) { .fy-grid { grid-template-columns: 1fr; } }
