/* REDD Academy - home page (index.html). Shared tokens live in layout.css. */
svg.lucide{width:1.5rem;height:1.5rem}

/* ---------- Section scaffolding ---------- */
.sec{padding:4.5rem 0}
@media(min-width:768px){.sec{padding:6.5rem 0}}
.sec.chalk{background:var(--chalk)}
.sec.dark{background:var(--ink);color:#fff}
.sec.dark .kicker{color:#FF5A5F}
.sec-head{display:grid;gap:1.25rem;margin-bottom:2.75rem}
@media(min-width:900px){.sec-head{grid-template-columns:1.35fr 1fr;align-items:end;gap:3rem;margin-bottom:3.5rem}}
.sec-head h2{font-size:clamp(2.1rem,4.2vw,3.25rem);text-wrap:pretty}
.sec-lead{max-width:34rem;color:var(--muted);font-size:1.1rem}
.sec.dark .sec-lead{color:var(--muted-dk)}

/* ---------- Hero ---------- */
.hero{padding:3.5rem 0 4rem;border-bottom:1px solid var(--line)}
@media(min-width:900px){.hero{padding:5.5rem 0 6rem}}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
@media(min-width:900px){.hero-grid{grid-template-columns:minmax(0,7fr) minmax(0,4.5fr);gap:4rem}}
.tagline{display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.5rem;padding:.45rem .95rem .45rem .7rem;border-radius:999px;background:var(--red-tint);font-weight:600;font-size:.95rem;color:var(--ink)}
.tagline svg{width:1.1rem;height:1.1rem;color:var(--red)}
.hero h1{font-size:clamp(2.6rem,6.4vw,5.1rem);font-weight:850;line-height:1.02;letter-spacing:-.03em;max-width:13ch}
.hero-sub{margin-top:1.5rem;max-width:34rem;font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--muted)}

/* Scorecard: the hero's proof points */
.scorecard{margin:0;background:var(--ink);color:#fff;border-radius:22px;padding:.5rem 1.75rem}
@media(min-width:900px){.scorecard{padding:.75rem 2.25rem}}
.sc-item{display:grid;grid-template-columns:auto 1fr;gap:1.25rem;align-items:center;padding:1.4rem 0;border-bottom:1px solid var(--line-dk)}
.sc-item:last-child{border-bottom:0}
.sc-item dt{width:4.55em;font-size:clamp(2rem,3.4vw,2.6rem);font-weight:800;font-variation-settings:var(--wide);letter-spacing:-.02em;line-height:1}
.sc-item dd{margin:0;color:var(--muted-dk);font-size:.95rem;line-height:1.45}
.sc-item:first-child dt{color:#FF5A5F}

/* ---------- Course index ---------- */
.course-index{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.course-row{position:relative;display:grid;grid-template-columns:2.75rem minmax(0,1fr);gap:.4rem 1rem;padding:1.6rem 0;border-bottom:1px solid var(--line);transition:background .2s}
@media(min-width:900px){.course-row{grid-template-columns:3.25rem minmax(0,1.3fr) minmax(0,1fr) 8.5rem;gap:2rem;align-items:start;padding:2rem 1rem;margin:0 -1rem;border-radius:14px}}
.cr-ico{grid-row:span 3;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--chalk);color:var(--ink);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
@media(min-width:900px){.cr-ico{grid-row:auto;width:3.25rem;height:3.25rem}}
.cr-ico svg{width:1.35rem;height:1.35rem}
.cr-main h3{font-size:clamp(1.4rem,2.4vw,1.8rem);transition:color .2s}
.cr-main p{margin-top:.5rem;max-width:44ch;color:var(--muted)}
.cr-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.cr-meta{display:flex;flex-direction:column;gap:.7rem;margin-top:.6rem}
@media(min-width:900px){.cr-meta{margin-top:.35rem}}
.cr-dur{display:inline-flex;align-items:center;gap:.45rem;font-size:.9rem;font-weight:600;color:var(--ink)}
.cr-dur::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--red)}
.cr-tags{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;margin:0;padding:0}
.cr-tags li{padding:.22rem .7rem;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.85rem;font-weight:500;color:var(--ink)}
.view-link{position:relative;z-index:1;justify-self:start;margin-top:.5rem;font-weight:700;color:var(--red);white-space:nowrap}
@media(min-width:900px){.view-link{justify-self:end;margin-top:.45rem}}
.view-link.soon{display:none}
.course-row:not(.no-link):hover{background:var(--chalk)}
.course-row:not(.no-link):hover h3{color:var(--red)}
.course-row:not(.no-link):hover .cr-ico{background:var(--red);color:#fff}
.course-row:not(.no-link):hover .cr-tags li{border-color:#C9CDD3}
.course-row:focus-within{background:var(--chalk)}

/* ---------- Placements (dark) ---------- */
.stat-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line-dk)}
@media(min-width:1024px){.stat-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stat{padding:1.75rem 1.25rem 1.75rem 0;border-bottom:1px solid var(--line-dk)}
.stat:nth-child(2n){padding-left:1.25rem;border-left:1px solid var(--line-dk)}
@media(min-width:1024px){.stat{padding:2.25rem 1.75rem 0;border-bottom:0;border-left:1px solid var(--line-dk)}.stat:first-child{padding-left:0;border-left:0}.stat:nth-child(2n){padding-left:1.75rem}}
.stat-ico{color:#FF5A5F;margin-bottom:1.1rem}
.stat-num{font-size:clamp(2.1rem,4vw,3.3rem);font-weight:800;font-variation-settings:var(--wide);letter-spacing:-.025em;line-height:1}
.stat-title{margin-top:.6rem;font-weight:700;font-size:1.1rem}
.stat-note{margin-top:.3rem;color:var(--muted-dk);font-size:.92rem;line-height:1.5;max-width:22ch}

/* ---------- Partners ---------- */
.wall-title{font-size:1.3rem;margin-bottom:1.25rem}
.company-wall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:0;border-top:1px solid #CDD1D7;border-left:1px solid #CDD1D7;background:#fff;border-radius:16px;overflow:hidden}
@media(min-width:768px){.company-wall{grid-template-columns:repeat(4,minmax(0,1fr))}}
.company-wall li{display:flex;align-items:center;justify-content:center;min-height:6.5rem;padding:1rem;border-right:1px solid #CDD1D7;border-bottom:1px solid #CDD1D7;text-align:center;font-size:clamp(1.2rem,2.3vw,1.75rem);font-weight:800;font-variation-settings:var(--wide);letter-spacing:-.015em;color:var(--ink);transition:color .2s}
.company-wall li:hover{color:var(--red)}

/* ---------- About ---------- */
.about-grid{display:grid;gap:2rem}
@media(min-width:900px){.about-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:4rem}}
.about-grid h2{font-size:clamp(2.1rem,4.2vw,3.25rem)}
.about-lead{font-size:clamp(1.1rem,1.6vw,1.3rem);line-height:1.6;color:var(--ink);max-width:40rem}
.feat-grid{display:grid;gap:1.75rem 2rem;margin-top:2.5rem;padding-top:2.5rem;border-top:1px solid var(--line)}
@media(min-width:600px){.feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.feat{display:grid;grid-template-columns:2.75rem 1fr;gap:.2rem 1rem}
.feat-ico{grid-row:span 2;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center}
.feat-ico svg{width:1.25rem;height:1.25rem}
.feat h3{font-size:1.1rem;font-variation-settings:normal;letter-spacing:0;font-weight:700;line-height:1.35}
.feat p{color:var(--muted);font-size:.95rem}
