/* Mock-up additions: homepage + Teacher Packs shop (same palette/fonts as style.css) */
html{scroll-behavior:smooth}
.topnav{background:var(--navy);border-bottom:4px solid var(--red);position:sticky;top:0;z-index:5}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.45rem 0}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--gold-bright);font-family:var(--display);font-size:1.15rem;letter-spacing:.02em}
.brand:hover{color:var(--gold-bright)}
.brand img{width:40px;height:auto;background:var(--cream);border-radius:50%;padding:2px}
.topnav ul{list-style:none;display:flex;gap:1.1rem;margin:0;padding:0}
.topnav a{color:var(--cream);font-weight:800;text-decoration:none;font-size:.98rem}
.topnav ul a:hover{color:var(--gold-bright)}
@media (max-width:520px){.brand span{display:none}.topnav ul{gap:.85rem}.topnav a{font-size:.92rem}}

.hero{padding:2rem 0 2.6rem}
.hero-in{display:flex;flex-direction:column;align-items:center}
.cta-row{display:flex;flex-wrap:wrap;gap:.9rem 1.2rem;justify-content:center;align-items:center}
.cta-row.left{justify-content:flex-start}
.btn-ghost{background:var(--cream-2)}
.btn-ghost:hover{background:#fff}
.hero h1{max-width:17ch}
@media (min-width:900px){
  .hero-in{flex-direction:row;gap:2.5rem;text-align:left}
  .hero .logo{width:280px;margin:0;flex:none}
  .hero h1{margin-left:0}
  .hero .sub{margin-left:0}
  .hero .cta-row{justify-content:flex-start}
}

/* free highlight */
.free-sec{padding:3rem 0 1rem}
.free-card{display:grid;gap:0;background:var(--cream-2);border:4px solid var(--navy);border-radius:20px;box-shadow:8px 9px 0 var(--navy);overflow:hidden}
.free-card img{width:100%;height:auto;aspect-ratio:16/9;display:block}
.free-txt{padding:1.4rem 1.4rem 1.6rem}
.free-txt h2{text-align:left;margin:.6rem 0 .6rem;font-size:clamp(1.7rem,5.5vw,2.3rem)}
.free-txt p{margin:0 0 1.2rem}
.ribbon{display:inline-block;background:var(--red);color:var(--cream-2);border:3px solid var(--navy);border-radius:999px;padding:.15rem .9rem;font-family:var(--display);font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 3px 0 var(--navy)}
@media (min-width:860px){.free-card{grid-template-columns:1.1fr 1fr;align-items:center}.free-card picture{border-right:4px solid var(--navy);align-self:stretch;display:flex;align-items:center;background:var(--navy)}.free-txt{padding:1.8rem 2rem}}

/* packs grid */
.packs{padding:2.6rem 0 1rem}
.lede{text-align:center;max-width:44rem;margin:-.6rem auto 1.8rem;color:var(--navy);font-weight:600}
.pack-grid{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:640px){.pack-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.pack-grid{grid-template-columns:repeat(3,1fr)}}
.pack{display:flex;flex-direction:column;background:var(--cream-2);border:4px solid var(--navy);border-radius:18px;box-shadow:6px 7px 0 var(--navy);overflow:hidden}
.pack img{width:100%;aspect-ratio:16/9;object-fit:cover;border-bottom:4px solid var(--navy)}
.pack-body{display:flex;flex-direction:column;flex:1;padding:1rem 1.15rem 1.2rem}
.meta{margin:0 0 .35rem;display:flex;flex-wrap:wrap;gap:.4rem;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.meta span{border:2px solid var(--navy);border-radius:999px;padding:.02rem .55rem}
.meta .yr{background:var(--navy);color:var(--gold-bright)}
.meta .code{background:var(--cream);color:var(--navy)}
.pack h3{margin:0 0 .3rem;font-family:var(--display);font-weight:400;font-size:1.25rem;line-height:1.2;color:var(--red)}
.blurb{margin:0 0 .8rem;font-size:.98rem;flex:1}
.pack-foot{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.85rem}
.price{font-family:var(--display);font-size:1.45rem;color:var(--navy)}
.price s{font-family:var(--body);font-weight:700;font-size:.95rem;color:#7a7a86;margin-left:.25rem}
.price.free{color:var(--red)}
.save{background:var(--red);color:var(--cream-2);border:3px solid var(--navy);border-radius:999px;padding:.05rem .7rem;font-weight:800;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.watch{font-weight:800;text-decoration:none;white-space:nowrap}
.watch:hover{text-decoration:underline}
.btn-buy{justify-content:center;font-size:1.05rem;padding:.6rem 1rem;border-width:3px;box-shadow:0 4px 0 var(--navy)}
.pack.is-free{border-color:var(--red);box-shadow:6px 7px 0 var(--red)}
.pack.is-free .btn-buy{background:var(--red);color:var(--cream-2)}
.pack.bundle{background:#fff7e0}
.pack.bundle .btn-buy{background:var(--navy);color:var(--gold-bright)}
@media (min-width:1000px){.pack.bundle{grid-column:1/-1;flex-direction:row;align-items:stretch}.pack.bundle picture{flex:0 0 52%;display:flex;align-items:center;background:var(--navy);border-right:4px solid var(--navy)}.pack.bundle img{border-bottom:0}.pack.bundle .pack-body{flex:1;padding:1.6rem 1.8rem;justify-content:center}.pack.bundle .blurb{flex:0}.pack.bundle h3{font-size:1.6rem}}
@media (min-width:640px) and (max-width:999px){.pack.bundle{grid-column:1/-1}}

/* licence */
.licence{padding:2.8rem 0 .5rem}
.lic-grid{list-style:none;margin:0;padding:0;display:grid;gap:1.2rem;grid-template-columns:1fr}
@media (min-width:760px){.lic-grid{grid-template-columns:repeat(3,1fr)}}
.lic{background:var(--cream-2);border:4px solid var(--navy);border-radius:16px;padding:1.1rem 1.15rem;box-shadow:5px 6px 0 var(--navy)}
.lic h3{margin:0 0 .35rem;font-family:var(--display);font-weight:400;font-size:1.15rem;line-height:1.2}
.lic p{margin:0;font-size:.98rem}
.lic.yes h3{color:#2f6b2a}.lic.no h3{color:var(--red)}.lic.ask h3{color:var(--navy)}
footer a{color:var(--gold-bright)}
footer .small{font-size:.85rem;opacity:.9}
