:root {
  --navy: #142850;
  --navy-2: #1e3a6e;
  --ink: #0d1b36;
  --accent: #e8b12e;
  --mint: #2ec4a6;
  --bg: #f4f6fb;
  --text: #1c2333;
  --muted: #6b7385;
  --white: #fff;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 5vw, 64px); background: var(--ink); color: #fff; }
.nav-brand { text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.nav-brand b { font-weight: 900; color: var(--accent); }
.pill-dot { width: 14px; height: 26px; border-radius: 999px; background: linear-gradient(180deg, var(--accent) 50%, var(--mint) 50%); display: inline-block; transform: rotate(35deg); }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #27477f 0%, var(--ink) 55%); color: #fff; padding: clamp(56px, 10vw, 120px) clamp(20px, 5vw, 64px) clamp(70px, 10vw, 130px); position: relative; overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-text { max-width: 720px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ffd97a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #c7d0e3; max-width: 620px; margin-bottom: 32px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta { font-size: 13px; color: #94a0ba; font-weight: 600; }
.btn { display: inline-block; border: none; border-radius: 12px; padding: 15px 28px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: none; transition: transform .1s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { filter: brightness(1.06); }

.pills { position: relative; width: 360px; height: 380px; pointer-events: none; justify-self: end; }
.pill { position: absolute; width: 74px; height: 150px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 34px; background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, rgba(232,177,46,.85) 50%); box-shadow: 0 18px 40px rgba(0,0,0,.35); animation: float 6s ease-in-out infinite; }
.pill.p1 { left: 10px; top: 30px; transform: rotate(-28deg); background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, #e8b12e 50%); }
.pill.p2 { left: 130px; top: 0; transform: rotate(18deg); background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, #2ec4a6 50%); animation-delay: -1.5s; }
.pill.p3 { left: 250px; top: 60px; transform: rotate(-12deg); background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, #e45c5c 50%); animation-delay: -3s; }
.pill.p4 { left: 60px; top: 200px; transform: rotate(32deg); background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, #5b8def 50%); animation-delay: -2.2s; }
.pill.p5 { left: 200px; top: 220px; transform: rotate(-40deg); background: linear-gradient(180deg, rgba(255,255,255,.12) 50%, #c0392b 50%); animation-delay: -4s; }
@keyframes float { 0%,100% { margin-top: 0; } 50% { margin-top: -14px; } }
@media (max-width: 900px) { .pills { display: none; } .hero-inner { grid-template-columns: 1fr; } }

/* Sections */
.courses, .how { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -.02em; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 6px; }

/* Course cards */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.course-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border-radius: var(--radius); padding: 24px; text-decoration: none; border: 1.5px solid transparent; box-shadow: 0 2px 10px rgba(20,40,80,.05); transition: transform .15s, border-color .15s, box-shadow .15s; position: relative; }
.course-card:hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: 0 14px 34px rgba(20,40,80,.12); }
.course-card.soon { opacity: .6; cursor: default; }
.course-card.soon:hover { transform: none; border-color: transparent; box-shadow: 0 2px 10px rgba(20,40,80,.05); }
.cc-top { display: flex; align-items: center; justify-content: space-between; }
.cc-flag { font-size: 36px; line-height: 1; }
.cc-for { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 5px 10px; border-radius: 999px; }
.course-card h3 { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.course-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.cc-go { color: var(--navy); }
.course-card:hover .cc-go { color: var(--accent); }
.course-skeleton { height: 210px; border-radius: var(--radius); background: linear-gradient(90deg, #e9edf5, #f4f6fb, #e9edf5); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.err { color: #c0392b; }

/* How */
.how { padding-top: 0; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.how-card { background: var(--white); border-radius: var(--radius); padding: 24px; }
.how-ico { font-size: 30px; margin-bottom: 10px; }
.how-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.how-card p { font-size: 14px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: #94a0ba; padding: 28px clamp(20px, 5vw, 64px); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--accent); text-decoration: none; }
.foot-note { max-width: 520px; }
