/* site-live-13 spacing and layout only. no color or font changes. */
:root{--polish-gap:clamp(2.5rem,6vw,4.5rem)}
.nav-links{gap:.3rem 1.1rem}
.nav-links a,
.nav-cta,
.nav-toggle-label{
  min-height:44px;
  box-sizing:border-box;
  align-items:center;
}
.nav-links a{display:inline-flex}
@media (width>=860px){
  .header-inner{flex-wrap:nowrap}
  .nav-groups{display:flex;margin-left:auto}
  .nav-links{flex-wrap:nowrap}
  /* keep Menu hidden on desktop: an earlier unscoped display:inline-flex was winning over Base.css */
  .nav-toggle-label{display:none}
  .nav-cta{display:inline-flex}
}
@media (width<=859px){
  .nav-groups,.nav-cta{display:none;width:100%}
  .nav-toggle:checked~.nav-groups{display:grid}
  .nav-toggle:checked~.nav-cta{display:inline-flex;justify-content:center}
  .nav-toggle-label{display:inline-flex}
}
main{padding-bottom:var(--polish-gap)}
.prose h2{margin-top:2.2rem}
main>.kit-signup{
  width:min(var(--max),calc(100% - 2rem));
  margin:2.5rem auto 0;
  box-sizing:border-box;
}
video,iframe{max-width:100%;height:auto}
.lesson-clip{margin:.6rem 0 1rem}
.lesson-clip p{max-width:68ch}

/* director videos: layout and aspect only */
.site-video-frame,
figure.hero-video{
  margin:1rem 0;
}
.site-video-frame video,
figure.hero-video video{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
  background:#05070c;
}
@media (max-width:859px){
  .site-video-frame.is-adaptive,
  figure.hero-video.is-adaptive{
    max-width:min(100%,420px);
    margin-left:auto;
    margin-right:auto;
  }
  .site-video-frame.is-adaptive video,
  figure.hero-video.is-adaptive video{
    aspect-ratio:9/16;
  }
}
@media (min-width:860px){
  .site-video-frame.is-adaptive video,
  figure.hero-video.is-adaptive video{
    aspect-ratio:16/9;
  }
}

/* site-live-23: logo + free vs members block */
.brand img.mark,.brand img.logo-symbol{width:34px;height:34px;object-fit:contain;display:block;flex-shrink:0}
.compare-box{margin:2rem 0 1.25rem;padding:1.25rem 1.1rem;border-radius:16px;border:1px solid var(--line,#2a3348);background:rgba(8,10,18,.45)}
.compare-box h2{margin:0 0 .7rem}
.compare-box .table-wrap{overflow-x:auto}
.compare-box table{width:100%;border-collapse:collapse}
.compare-box th,.compare-box td{text-align:left;padding:.55rem .65rem;border-top:1px solid var(--line,#2a3348);vertical-align:top;font-size:.95rem}
.compare-box caption{caption-side:bottom;padding-top:.5rem;color:var(--muted);font-size:.8rem;text-align:left}

.compare-box th,.compare-box td{white-space:normal;overflow-wrap:anywhere}

/* 2026-11-17 visual polish (staging): spacing, cards, 390px, no copy changes */
.button,a.button,.nav-cta{min-height:44px}
.lesson-grid,.book-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.lesson-card,.book{
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.lesson-card:hover,.book:hover,
.lesson-card:focus-visible,.book:focus-visible{
  transform:translateY(-3px);
  border-color:var(--green,#0c6e68);
}
@media (prefers-reduced-motion:reduce){
  .lesson-card,.book,.lesson-card:hover,.book:hover,
  .lesson-card:focus-visible,.book:focus-visible{transition:none;transform:none}
}
img,video,iframe,svg{max-width:100%}
@media (width<=859px){
  .new-here{display:flex;flex-wrap:wrap;gap:.5rem .6rem;align-items:center}
  .new-here .button{min-height:44px}
  .header-inner{gap:.55rem .75rem}
}

/* 2026-11-22 homepage pictures (staging only) */
.home-intro-row{margin:0 0 1rem}
.home-intro-pic{margin:.7rem 0 0}
.home-intro-pic img,
.learn-tile-pic img,
.home-test-fig img,
.home-band img,
.home-daily-thumbs img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  object-fit:cover;
  background:#0a1020;
}
.home-intro-pic figcaption,
.learn-tile-pic figcaption,
.home-test-fig figcaption,
.home-band figcaption,
.home-daily-thumbs figcaption{
  padding:.35rem 0 0;
  font-size:.76rem;
  line-height:1.4;
  color:var(--sv-muted,#8e9bb0);
}
.home-intro-pic .cr,
.learn-tile-pic .cr,
.home-test-fig .cr,
.home-band .cr,
.home-daily-thumbs .cr{
  display:block;
  color:var(--sv-faint,#7a879c);
  font-size:.7rem;
  margin-top:.1rem;
}
/* 2026-11-22: stacked at all widths; the homepage column is narrow, so a side-by-side grid squeezed the quote to one word per line */
.home-intro-pic{max-width:28rem}
.learn-tiles{list-style:none;padding:0;margin:.85rem 0 1rem;display:grid;gap:.75rem}
.learn-tiles li{
  display:grid;
  grid-template-areas:"pic" "text" "cred";
  gap:.5rem;
  margin:0;
  padding:.6rem;
  border:1px solid var(--line,#bed6ee2e);
  border-radius:14px;
  background:var(--panel,#0d1220cc);
}
.learn-tile-pic{display:contents}
.learn-tile-pic img{
  grid-area:pic;
  width:100%;
  height:140px;
  border-radius:10px;
  object-fit:cover;
}
.learn-tiles li > span{grid-area:text;padding:0;line-height:1.35}
.learn-tile-pic figcaption{grid-area:cred;padding:0}
@media (min-width:700px){
  .learn-tiles{grid-template-columns:1fr 1fr; gap:.75rem}
}
.home-test-fig{margin:1rem 0 1.1rem;max-width:28rem}
.home-test-fig img{object-fit:contain;background:#0a1020;border:1px solid var(--line,#bed6ee2e)}
.home-band{margin:0 0 1rem}
.home-band img{aspect-ratio:2 / 1;object-fit:cover}
.home-daily-thumbs{
  list-style:none;
  padding:0;
  margin:.85rem 0 1.1rem;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.65rem;
}
.home-daily-thumbs li{margin:0}
.home-daily-thumbs a{display:block;color:inherit;text-decoration:none}
.home-daily-thumbs a:hover img,
.home-daily-thumbs a:focus-visible img{outline:2px solid var(--green,#0c6e68);outline-offset:2px}
.home-daily-thumbs img{aspect-ratio:16 / 10;object-fit:cover;object-position:top;border:1px solid var(--line,#bed6ee2e)}
.home-daily-thumbs figcaption{padding-top:.3rem}
@media (max-width:639px){
  .home-daily-thumbs{grid-template-columns:1fr; max-width:22rem}
}

/* lead story block, home (site-live-38) */
.lead-story{margin:1rem 0 1.4rem;padding:1rem 1.1rem;border:1px solid var(--sv-line,#bed6ee33);border-radius:18px}
.lead-story h3{margin:.3rem 0 .4rem}
