/* brand-restore-20261125
   Restore gift-card cyan/black box (deploy 6af3d25 era), black pitch-band
   dividers, and homepage product-line cards. Loaded after product-cards. */

/* Gift card box — exact 2026-11-10 tai-gc-home treatment */
html body .tai-gc-home,
html body section.tai-gc-home{
  display:block;width:100%;margin:0;padding:28px 16px 32px;
  background:#fff!important;color:#111418!important;
  overflow-x:hidden;box-sizing:border-box
}
html body .tai-gc-home .tai-gc-box{
  max-width:640px;margin:0 auto;background:#fff!important;color:#111418!important;
  text-align:center;padding:28px 24px;border:3px solid #02CEFC!important;border-radius:8px;
  box-shadow:0 0 0 8px #0e0f15,0 0 16px 8px rgba(2,206,252,.15),inset 0 0 12px rgba(2,206,252,.15)
}
html body .tai-gc-home img{
  width:170px;max-width:100%;height:auto;object-fit:contain;border-radius:12px;
  margin:0 auto 16px;display:block;border:1px solid #d7dbe2;
  box-shadow:0 2px 8px rgba(16,24,40,.12);background:#fff
}
html body .tai-gc-home h2,
html body section.tai-gc-home h2{
  margin:0 0 8px;text-align:center;color:#0e0f15!important;background:transparent!important;
  font-size:clamp(1.25rem,2.6vw,1.6rem);line-height:1.25;font-weight:800
}
html body .tai-gc-home p,
html body section.tai-gc-home p{
  margin:0 0 18px;color:#4b5563!important;background:transparent!important;
  font-size:.95rem;line-height:1.5;text-wrap:balance
}
html body .tai-gc-home .tai-gc-btn{
  display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;
  min-height:48px;margin:0 auto;padding:12px 24px;border-radius:12px;
  background:#02CEFC!important;color:#05060c!important;font-weight:800;font-size:1.05rem;
  line-height:1.2;text-decoration:none!important;border:1px solid #00a9d1;
  box-shadow:0 0 22px rgba(2,206,252,.45),0 6px 16px rgba(0,113,143,.18)
}
html body .tai-gc-home .tai-gc-btn:hover,
html body .tai-gc-home .tai-gc-btn:focus-visible{background:#3fdcff!important;color:#05060c!important}
html body .tai-gc-home .tai-gc-btn:focus-visible{outline:2px solid #0e0f15;outline-offset:3px}
@media(max-width:600px){
  html body .tai-gc-home,html body section.tai-gc-home{padding:20px 14px 26px}
  html body .tai-gc-home .tai-gc-box{padding:22px 14px;box-shadow:0 0 0 8px #0e0f15,0 0 14px 8px rgba(2,206,252,.15),inset 0 0 10px rgba(2,206,252,.15)}
  html body .tai-gc-home img{width:150px}
}

/* Reinforce black sale/pitch divider bands so later CSS cannot flatten them */
html body .hband,html body .sband,html body .fband{
  display:block;box-sizing:border-box;padding:18px 20px;
  background:#05060c!important;text-align:center;width:100%;
}
html body .hband p,html body .sband p,html body .fband p{
  margin:0 auto!important;max-width:1200px;color:#fff!important;font-weight:700;
  font-size:clamp(.98rem,1.6vw,1.12rem);line-height:1.4;letter-spacing:.01em;text-wrap:balance;text-align:center
}
html body .hband span,html body .sband span,html body .fband span{color:#02CEFC!important}
html body .hband a,html body .sband a,html body .fband a{color:#02CEFC!important;text-decoration:underline;text-underline-offset:2px}

/* Homepage product-line sections */
html body .line-sec{padding:36px 0 28px}
html body .line-sec .sec-h{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin:0 0 18px}
html body .line-sec .sec-h h2{margin:0 0 6px;font-size:clamp(1.35rem,2.6vw,1.85rem);letter-spacing:-.02em;color:#04121a}
html body .line-sec .sec-h p{margin:0;color:#425466;max-width:46rem;font-size:1rem;line-height:1.5}
html body .line-sec .sec-h a.sec-link{font-weight:800;color:#00718f;text-decoration:none;white-space:nowrap}
html body .line-sec .sec-h a.sec-link:hover{text-decoration:underline}
html body .line-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;list-style:none;margin:0;padding:0
}
html body .line-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .line-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
html body .line-card{
  background:#fff;border:1px solid #d7dbe2;border-radius:14px;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.05);
  display:flex;flex-direction:column;min-height:100%;overflow:hidden;padding:0 0 14px
}
html body .kits-hero-sec .line-card{
  border:2px solid rgba(0,113,143,.28)
}
html body .line-card .im{
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:1/1;background:#f4f7fb;margin:0;padding:10px;border-bottom:1px solid #eef2f6
}
html body .line-card .im img{
  width:100%;height:100%;object-fit:contain;object-position:center;display:block
}
html body .line-card h3{margin:12px 14px 6px;font-size:1.05rem;letter-spacing:-.02em;color:#04121a;line-height:1.3}
html body .line-card p.ds{margin:0 14px 8px;color:#425466;font-size:.92rem;line-height:1.45;flex:1 1 auto}
html body .line-card p.pr{margin:0 14px 10px;font-weight:700;font-size:.95rem;color:#04121a}
html body .line-card p.pr small{font-weight:600;color:#425466}
html body .line-card p.pr s{color:#6b7280;font-weight:600;margin-right:.25em}
html body .line-card a.go,
html body .line-card a.go.buy{
  margin:0 14px;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 14px;border-radius:10px;font-weight:800;text-decoration:none
}
html body .line-card a.go.buy{
  background:#02CEFC!important;color:#04121a!important;-webkit-text-fill-color:#04121a!important;
  border:0
}
html body .line-card a.go.buy:hover{background:#00b5de!important}
html body .line-cta{margin:20px 0 0;text-align:center}
html body .line-cta a.btn-main,
html body .kits-hero-sec a.btn-main{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;
  border-radius:12px;background:#02CEFC!important;color:#04121a!important;font-weight:800;
  text-decoration:none!important;border:1px solid #00a9d1
}

/* Kits as homepage hero */
html body .kits-hero{
  padding:28px 0 10px
}
html body .kits-hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:28px;align-items:center}
html body .kits-hero .hero-art{
  background:#04121a;border:3px solid #02CEFC;border-radius:16px;padding:16px;
  box-shadow:0 0 0 6px #04121a,0 12px 32px rgba(4,18,26,.2)
}
html body .kits-hero .hero-art img{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px;background:#04121a}
html body .kits-hero-sec{padding-top:12px}

/* Kit cover images on /kits/ cards */
html body .kcard > .im,
html body article.kcard > .im{
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:1/1;background:#f4f7fb;border:1px solid #e6eaef;border-radius:12px;
  margin:0 0 12px;padding:8px;overflow:hidden
}
html body .kcard > .im img,
html body article.kcard > .im img{
  width:100%;height:100%;object-fit:contain;object-position:center;display:block
}

@media(max-width:900px){
  html body .line-grid,
  html body .line-grid.cols-3,
  html body .line-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .kits-hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  html body .kits-hero .hero-art{max-width:420px;margin:0 auto}
}
@media(max-width:640px){
  html body .line-grid,
  html body .line-grid.cols-2,
  html body .line-grid.cols-3,
  html body .line-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .line-card h3{font-size:.92rem;margin:10px 10px 4px}
  html body .line-card p.ds{font-size:.8rem;margin:0 10px 6px}
  html body .line-card p.pr,html body .line-card a.go,html body .line-card a.go.buy{margin-left:10px;margin-right:10px}
  html body .line-card a.go.buy{width:calc(100% - 20px);align-self:stretch;text-align:center}
  html body .kcard > .im,html body article.kcard > .im{margin-bottom:8px;padding:6px}
}


html{overflow-x:hidden}

/* Unified card foot, sample link, equal-height buttons — 2026-11-25 5:44 */
@media(min-width:900px){
html body .line-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:899px){
  html body .line-grid,
  html body .line-grid.cols-2,
  html body .line-grid.cols-3,
  html body .line-grid.cols-4{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
}
html body .line-card,
html body article.kcard,
html body .kcard{
  display:flex;flex-direction:column;height:100%;min-height:100%;
}
html body .line-card h3,
html body article.kcard h3,
html body .kcard h3{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;min-height:2.6em;
}
html body .line-card p.ds,
html body article.kcard p.ds,
html body .kcard p.ds{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;min-height:2.7em;flex:1 1 auto;
}
html body .line-card .foot{
  margin-top:auto;display:flex;flex-direction:column;gap:0;padding:0;
}
html body .line-card p.pr{margin:0 14px 10px}
html body .line-card a.go.buy{
  align-self:stretch;width:calc(100% - 28px);text-align:center;box-sizing:border-box
}
html body .line-card a.sample,
html body article.kcard a.sample,
html body .kcard a.sample{
  display:block;margin:8px 14px 0;padding:0;background:none!important;border:0!important;
  color:#1a3344;font-weight:500;font-size:.92rem;text-decoration:underline;text-align:center;
  min-height:0;box-shadow:none;width:auto;align-self:stretch
}
html body .line-card a.sample:hover,
html body article.kcard a.sample:hover{text-decoration:underline;color:#00718f}
@media(max-width:640px){
  html body .line-card a.sample{margin-left:10px;margin-right:10px;font-size:.82rem}
  html body .line-card p.pr{margin-left:10px;margin-right:10px}
  html body .line-card .foot a.go.buy{width:calc(100% - 20px);margin-left:10px;margin-right:10px}
}
/* Last odd card in a 2-col grid (13 kits, 27 packs on a phone) */
@media(max-width:899px){
  html body .line-grid > :last-child:nth-child(odd),
  html body .kit-full > :last-child:nth-child(odd){
    grid-column:1 / -1;width:100%;justify-self:stretch
  }
}
@media(min-width:900px){
  html body .kit-full > :last-child:nth-child(odd){
    grid-column:1 / -1;justify-self:center;width:calc((100% - 16px) / 2);max-width:100%
  }
}
/* All-Trades banner with cover */
html body .kit-agency{
  display:flex;gap:16px;align-items:center;flex-wrap:wrap
}
html body .kit-agency > .im{
  flex:0 0 120px;width:120px;aspect-ratio:1/1;background:#04121a;border:2px solid #02CEFC;
  border-radius:12px;padding:6px;display:flex;align-items:center;justify-content:center;overflow:hidden
}
html body .kit-agency > .im img{width:100%;height:100%;object-fit:contain;display:block}
html body .kit-agency .kit-agency-body{flex:1 1 240px;min-width:0}
/* Hub cards (books, business, teachers): same ratio, equal height, pin the action */
html body li.card,
html body .pack{
  display:flex;flex-direction:column;height:100%;min-height:100%
}
html body li.card > .im,
html body li.card a.im,
html body .pack .pimg{
  aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
  background:#f4f7fb;overflow:hidden
}
html body li.card > .im img,
html body li.card a.im img,
html body .pack .pimg img{
  width:100%;height:100%;object-fit:contain;object-position:center
}
html body li.card .ds,
html body .pack .desc{flex:1 1 auto}
html body li.card .go,
html body .pack .btn,
html body .pack a.btn-primary{margin-top:auto}

/* Kit card two-buy row — 2026-11-25 6:06 AM */
html body .line-card .buy-row,
html body article.kcard .buy-row,
html body .kcard .buy-row{
  display:flex;flex-direction:column;gap:8px;
  margin:0 14px 0;width:calc(100% - 28px);box-sizing:border-box
}
html body .line-card .buy-row a.go.buy,
html body article.kcard .buy-row a.go.buy,
html body .kcard .buy-row a.go.buy{
  margin:0;width:100%;max-width:100%;align-self:stretch;
  box-sizing:border-box;text-align:center;white-space:nowrap;
  min-height:44px;padding:0 10px;font-size:.88rem;line-height:1.2;
  overflow:hidden;text-overflow:ellipsis
}
html body .line-card .buy-row a.go.buy.buy-bundle,
html body article.kcard .buy-row a.go.buy.buy-bundle,
html body .kcard .buy-row a.go.buy.buy-bundle{
  background:#fff!important;color:#04121a!important;-webkit-text-fill-color:#04121a!important;
  border:2px solid #02CEFC
}
html body .line-card .buy-row a.go.buy.buy-bundle:hover,
html body article.kcard .buy-row a.go.buy.buy-bundle:hover{
  background:#eefbfe!important
}
@media(max-width:640px){
  html body .line-card .buy-row,
  html body article.kcard .buy-row,
  html body .kcard .buy-row{margin:0 10px;width:calc(100% - 20px)}
  html body .line-card .buy-row a.go.buy,
  html body article.kcard .buy-row a.go.buy,
  html body .kcard .buy-row a.go.buy{font-size:.78rem;min-height:42px;padding:0 8px}
}

/* New to AI start-here strip — 2026-11-25 6:11 AM */
html body .start-strip{
  background:#04121a;border-top:1px solid #02CEFC;border-bottom:1px solid #02CEFC
}
html body .start-strip a{
  display:block;text-align:center;padding:10px 16px;
  color:#02CEFC;font-weight:800;text-decoration:none;letter-spacing:-.01em;
  font-size:1rem
}
html body .start-strip a:hover{color:#fff;text-decoration:underline}
html body .line-cta a.sec-link.learn-class{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  margin-left:14px;font-weight:800;color:#00718f;text-decoration:none;white-space:nowrap
}
html body .line-cta a.sec-link.learn-class:hover{text-decoration:underline}
