/* ============================================================
   HOME STAR COURSES — homestarcourses.com
   Brand: Star Gold #FED500 · Ink #1C1C1C · Paper #FFFFFF
   Type:  Archivo (display) · Public Sans (body)
   ============================================================ */

:root{
  --gold:#FED500;
  --gold-deep:#E3BC00;
  --ink:#1C1C1C;
  --ink-soft:#2B2B2B;
  --paper:#FFFFFF;
  --stone:#F6F4EC;
  --slate:#5D5A4E;
  --line:#E7E4D9;
  --line-dark:#3A3A36;
  --indigo:#3D39AA;
  --navy:#3A3955;
  --radius:10px;
  --wrap:1120px;
  --shadow-sm:0 2px 10px rgba(28,28,28,.08);
  --shadow:0 10px 28px rgba(28,28,28,.12);
  --shadow-lg:0 18px 44px rgba(28,28,28,.16);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

body{
  font-family:'Public Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-size:17px;line-height:1.6;color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block}
a{color:inherit}
p a,li a,.notice a{color:var(--indigo);text-decoration-color:rgba(61,57,170,.35)}
p a:hover,li a:hover,.notice a:hover{text-decoration-color:var(--indigo)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

h1,h2,h3,.display{font-family:'Archivo',system-ui,sans-serif;line-height:1.08;letter-spacing:-.01em}
h1{font-weight:800;font-size:clamp(2.1rem,5.2vw,3.6rem);text-transform:uppercase}
h2{font-weight:800;font-size:clamp(1.6rem,3.4vw,2.4rem);text-transform:uppercase}
h3{font-weight:700;font-size:1.15rem}

.eyebrow{
  font-family:'Archivo',sans-serif;font-weight:700;font-size:.78rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--slate);
  display:flex;align-items:center;gap:.6rem;margin-bottom:.9rem;
}
.eyebrow::before{content:"";width:26px;height:3px;background:var(--gold)}
.on-dark .eyebrow{color:#B9B49C}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:'Archivo',sans-serif;font-weight:700;font-size:.95rem;
  text-transform:uppercase;letter-spacing:.06em;text-decoration:none;
  padding:1rem 1.7rem;border-radius:var(--radius);border:none;
  cursor:pointer;box-shadow:var(--shadow-sm);
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-gold{background:var(--gold);color:var(--ink)}
.btn-gold:hover{background:var(--gold-deep)}
.btn-ghost{background:var(--navy);color:#fff}
.btn-ghost:hover{background:var(--indigo)}
.on-dark .btn-ghost{background:rgba(255,255,255,.14);color:#fff}
.on-dark .btn-ghost:hover{background:var(--indigo)}
.btn:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;background:var(--paper);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;height:76px}
.brand img{height:44px;width:auto}
.nav{margin-left:auto;display:flex;align-items:center;gap:1.6rem}
.nav a{
  font-family:'Archivo',sans-serif;font-weight:600;font-size:.9rem;
  text-decoration:none;letter-spacing:.03em;
}
.nav a:hover{color:var(--gold-deep)}
.nav .btn{padding:.65rem 1.1rem;font-size:.82rem}
.nav-toggle{display:none;margin-left:auto;background:var(--stone);border:none;box-shadow:var(--shadow-sm);
  border-radius:8px;padding:.5rem .7rem;font-family:'Archivo',sans-serif;font-weight:700;cursor:pointer}
@media (max-width:820px){
  .nav-toggle{display:block}
  .nav{
    display:none;position:absolute;top:76px;left:0;right:0;background:var(--paper);
    flex-direction:column;align-items:stretch;padding:1rem 24px 1.4rem;gap:1rem;
    border-bottom:1px solid var(--line);box-shadow:var(--shadow);
  }
  .nav.open{display:flex}
}

/* ---------- hero ---------- */
.hero{background:var(--ink);color:var(--paper);position:relative;overflow:hidden}
.hero .wrap{position:relative;z-index:2;padding-top:5rem;padding-bottom:5rem;max-width:820px;
  margin-left:auto;margin-right:auto;text-align:left}
.hero h1 .gold{color:var(--gold)}
.hero p.lede{font-size:1.15rem;color:#D9D6C7;max-width:34em;margin:1.2rem 0 2rem}
.hero-house{
  position:absolute;right:-140px;top:50%;transform:translateY(-50%);
  width:560px;height:560px;opacity:.14;z-index:1;pointer-events:none;
}
.hero-ctas{display:flex;flex-wrap:wrap;gap:1rem}
.trust-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:2.2rem}
.chip{
  font-family:'Archivo',sans-serif;font-weight:600;font-size:.78rem;
  letter-spacing:.08em;text-transform:uppercase;
  border:1px solid var(--line-dark);border-radius:999px;padding:.45rem 1rem;color:#CFCBB8;
}
.chip strong{color:var(--gold);font-weight:700}

/* ---------- CE math strip (signature) ---------- */
.ce-math{background:var(--navy);color:#fff}
.ce-math .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.4rem;padding:1.6rem 24px}
.ce-num{font-family:'Archivo',sans-serif;font-weight:800;font-size:2.6rem;line-height:1;color:var(--gold)}
.ce-op{font-family:'Archivo',sans-serif;font-weight:800;font-size:1.8rem}
.ce-cell{text-align:center}
.ce-cell small{display:block;font-weight:700;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;margin-top:.2rem}
.ce-note{flex-basis:100%;text-align:center;font-size:.95rem;font-weight:500;color:#D8D6E6}
.ce-note a{font-weight:700;color:var(--gold);text-decoration-color:rgba(254,213,0,.4)}
.ce-cell small{color:#B9B7CC}

/* ---------- sections ---------- */
.section{padding:4.5rem 0}
.section-stone{background:var(--stone)}
.section-dark{background:var(--ink);color:var(--paper)}
.section-head{max-width:640px;margin-bottom:2.6rem}
.section-head p{color:var(--slate);margin-top:.8rem}
.section-dark .section-head p{color:#C9C5B2}

/* ---------- bundle card ---------- */
.bundle{
  display:grid;grid-template-columns:1.2fr .8fr;gap:0;
  border-radius:var(--radius);overflow:hidden;background:var(--paper);box-shadow:var(--shadow-lg);
}
.bundle-info{padding:2.4rem}
.bundle-info h2{font-size:clamp(1.5rem,2.6vw,2rem)}
.bundle-info ul{list-style:none;margin:1.2rem 0 1.6rem}
.bundle-info li{padding-left:1.7rem;position:relative;margin-bottom:.55rem;font-size:1rem}
.bundle-info li::before{
  content:"★";color:var(--gold-deep);position:absolute;left:0;font-size:1rem;top:.1rem;
}
.bundle-price{
  background:var(--navy);color:var(--paper);padding:2.4rem;display:flex;flex-direction:column;
  justify-content:center;align-items:flex-start;gap:.4rem;
}
.price-big{font-family:'Archivo',sans-serif;font-weight:800;font-size:3.4rem;color:var(--gold);line-height:1}
.price-was{color:#A5A3BD;text-decoration:line-through;font-size:1.05rem}
.price-note{font-size:.85rem;color:#C9C7DB;margin-bottom:1rem}
@media (max-width:760px){.bundle{grid-template-columns:1fr}}

/* ---------- course grid ---------- */
.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:1.6rem}
.course-card{
  background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow-sm);
  overflow:hidden;display:flex;flex-direction:column;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease;
}
.course-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.course-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.card-body{padding:1.4rem 1.4rem 1.6rem;display:flex;flex-direction:column;flex:1;position:relative}
.card-body h3{text-transform:uppercase;letter-spacing:.02em;padding-right:74px}
.card-body p{color:var(--slate);font-size:.95rem;margin:.6rem 0 1.1rem;flex:1}
.card-meta{display:flex;align-items:center;justify-content:space-between}
.card-price{font-family:'Archivo',sans-serif;font-weight:800;font-size:1.5rem}
.card-cta{font-family:'Archivo',sans-serif;font-weight:700;font-size:.85rem;text-transform:uppercase;
  letter-spacing:.05em;color:var(--ink);border-bottom:3px solid var(--gold)}
.house-badge{position:absolute;top:-27px;right:16px;width:64px;height:66px;
  filter:drop-shadow(0 4px 8px rgba(28,28,28,.25))}
.house-badge svg{width:100%;height:100%}
.house-badge text{font-family:'Archivo',sans-serif;font-weight:800}

/* ---------- schedule ---------- */
.sched{width:100%;border-collapse:collapse;background:var(--paper);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.sched th,.sched td{padding:1rem 1.2rem;text-align:left;border-bottom:1px solid var(--line)}
.sched th{background:var(--navy);color:var(--gold);font-family:'Archivo',sans-serif;
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.sched tr:last-child td{border-bottom:none}
.sched td:first-child{font-family:'Archivo',sans-serif;font-weight:700;white-space:nowrap}
.sched .btn{padding:.5rem 1rem;font-size:.78rem}
.pill{font-family:'Archivo',sans-serif;font-weight:700;font-size:.72rem;letter-spacing:.08em;
  text-transform:uppercase;background:#EDECF5;color:var(--navy);
  border-radius:999px;padding:.3rem .8rem;white-space:nowrap}
@media (max-width:700px){
  .sched thead{display:none}
  .sched,.sched tbody,.sched tr,.sched td{display:block;width:100%}
  .sched tr{border-bottom:1px solid var(--line);padding:.6rem 0}
  .sched td{border:none;padding:.35rem 1.2rem}
}

/* ---------- testimonials ---------- */
.quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.6rem}
.quote{
  background:var(--ink-soft);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:1.8rem;display:flex;flex-direction:column;gap:1rem;
}
.stars{color:var(--gold);letter-spacing:.2em;font-size:.95rem}
.quote p{color:#E4E1D2;font-size:.98rem}
.quote footer{font-family:'Archivo',sans-serif;font-weight:700;font-size:.85rem;
  text-transform:uppercase;letter-spacing:.06em;color:var(--gold)}

/* ---------- split CTA (private classes) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.split ul{list-style:none;margin:1.2rem 0 1.8rem}
.split li{padding-left:1.7rem;position:relative;margin-bottom:.6rem}
.split li::before{content:"★";color:var(--gold-deep);position:absolute;left:0;top:.1rem}
.split-art{display:flex;justify-content:center}
.split-art svg{width:min(340px,80%)}
@media (max-width:820px){.split{grid-template-columns:1fr}.split-art{order:-1}}

/* ---------- lead capture ---------- */
.lead-box{
  border-radius:var(--radius);background:var(--navy);color:#fff;box-shadow:var(--shadow-lg);
  padding:2.6rem;display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;
}
.lead-box h2 span,.lead-box .gold{color:var(--gold)}
.lead-box h2{font-size:clamp(1.4rem,2.6vw,1.9rem)}
.lead-box p{margin-top:.6rem;font-weight:500}
.lead-form{display:flex;gap:.7rem;flex-wrap:wrap}
.lead-form input[type=email]{
  flex:1;min-width:220px;padding:1rem 1.1rem;font-size:1rem;font-family:inherit;
  border:none;border-radius:var(--radius);background:var(--paper);box-shadow:var(--shadow-sm);
}
.lead-form input:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.lead-form .btn-ghost{background:var(--gold);color:var(--ink)}
.lead-form .btn-ghost:hover{background:var(--gold-deep)}
.lead-fineprint{font-size:.8rem;margin-top:.7rem;color:#C9C7DB}
@media (max-width:760px){.lead-box{grid-template-columns:1fr}}

/* ---------- FAQ ---------- */
.faq{max-width:780px}
.faq details{border-bottom:1px solid var(--line);padding:1.1rem 0}
.faq summary{
  font-family:'Archivo',sans-serif;font-weight:700;font-size:1.05rem;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--indigo);font-weight:800;flex-shrink:0}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:.8rem;color:var(--slate)}

/* ---------- course page ---------- */
.course-hero{background:var(--ink);color:var(--paper)}
.course-hero .wrap{padding:4rem 24px;display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.course-hero img{border-radius:var(--radius);box-shadow:var(--shadow-lg)}
.course-facts{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.4rem 0 1.8rem}
.fact{border:1px solid var(--line-dark);border-radius:999px;padding:.45rem 1rem;
  font-family:'Archivo',sans-serif;font-weight:600;font-size:.8rem;letter-spacing:.06em;
  text-transform:uppercase;color:#CFCBB8}
.fact strong{color:var(--gold)}
.outcomes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem}
.outcome{background:var(--paper);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-sm);
  border-top:4px solid var(--gold)}
.outcome h3{margin-bottom:.4rem}
.outcome p{font-size:.93rem;color:var(--slate)}
@media (max-width:820px){.course-hero .wrap{grid-template-columns:1fr}}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:#C9C5B2;padding:3.5rem 0 2rem;border-top:6px solid var(--gold)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.site-footer h3{color:var(--gold);text-transform:uppercase;font-size:.85rem;letter-spacing:.14em;margin-bottom:.9rem}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:.5rem}
.site-footer a{color:#E4E1D2;text-decoration:none;font-size:.95rem}
.site-footer a:hover{color:var(--gold)}
.footer-brand img{height:40px;width:auto;margin-bottom:1rem}
.footer-brand p{font-size:.92rem;max-width:32em}
.footer-legal{border-top:1px solid var(--line-dark);padding-top:1.4rem;font-size:.82rem;
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr}}

/* misc */
.center{text-align:center}
.mt-2{margin-top:2rem}
.notice{font-size:.85rem;color:var(--slate)}

/* ---------- photo hero variants ---------- */
.hero.has-photo{background-size:cover;background-position:center 30%}
.hero.has-photo .hero-house{opacity:.10}

/* ---------- why cards ---------- */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.6rem}
.why-card{background:var(--paper);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);
  transition:transform .15s ease,box-shadow .15s ease}
.why-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.why-card img{aspect-ratio:3/2;object-fit:cover;width:100%}
.why-card div{padding:1.2rem 1.3rem 1.4rem}
.why-card h3{text-transform:uppercase;font-size:1rem;letter-spacing:.03em}
.why-card p{font-size:.92rem;color:var(--slate);margin-top:.4rem}

/* ---------- CE resource banners ---------- */
.res-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.res-card{position:relative;display:block;border-radius:var(--radius);box-shadow:var(--shadow-sm);
  overflow:hidden;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.res-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.res-card img{aspect-ratio:2/1;object-fit:cover;width:100%}
.res-card span{
  position:absolute;left:0;right:0;bottom:0;background:var(--navy);color:#fff;
  font-family:'Archivo',sans-serif;font-weight:700;font-size:.9rem;letter-spacing:.06em;
  text-transform:uppercase;padding:.8rem 1.2rem;
  display:flex;justify-content:space-between;align-items:center}
.res-card span b{color:var(--gold)}
@media (max-width:700px){.res-grid{grid-template-columns:1fr}}

/* ---------- image band (split with photo) ---------- */
.split img{border-radius:var(--radius);box-shadow:var(--shadow-lg)}

/* ---------- error page ---------- */
.error-hero{position:relative;color:var(--paper);text-align:center}
.error-hero img{width:100%;max-height:520px;object-fit:cover;display:block}
.error-hero .overlay{position:absolute;inset:0;background:rgba(28,28,28,.55);
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.2rem;padding:2rem}
