/* Homepage polish, 22 Nov 2026 design audit. Loaded after refined.css. */

/* 1. Beta flyer: smaller, sits after the language cards */
.beta-flyer{max-width:440px!important;margin:56px auto 0!important;padding:0 14px}
.beta-flyer img{display:block;width:100%;height:auto;border-radius:28px;box-shadow:0 10px 0 #35135c22}

/* 3. Keep card text clear of the mascots */
.language-card p{max-width:60%}
.language-card.mdw h3{max-width:64%;flex-wrap:wrap;row-gap:4px}
.language-mascot{width:48%;height:60%;right:-6%}

/* 4. One typeface: guide names and step numbers in DM Sans */
.mascot-card strong,.method-grid li>span{font-family:"DM Sans",system-ui,sans-serif;font-weight:900;letter-spacing:-.03em}

/* 6. Footer: one tidy row; the shared brand strip spans full width beneath */
footer{flex-wrap:wrap;align-items:center}
footer>#kasa-brand-footer{flex:1 0 100%;margin-top:4px;padding:18px 0 0;border-top:0}
footer>#kasa-brand-footer .p{justify-content:flex-start;border:0;padding:0;background:none;gap:24px}

/* 7. Phone: full-size, all-visible menu links */
@media(max-width:700px){
  nav{gap:4px 10px}
  nav a,nav a:nth-child(3){display:inline-flex!important;align-items:center;min-height:44px;padding:0 6px;font-size:.86rem}
  .language-card p{max-width:62%}
  footer>#kasa-brand-footer .p{justify-content:center}
}

/* Nsêsi (Kikôngo guide) — mirrors .nlumba in styles.css so cached styles.css still lays the card out */
.nsesi{grid-column:span 2;background:#72d5a6}
@media(max-width:700px){.nsesi{grid-column:span 1}}

/* Abibitumi Kasa logo: Nea Ɔnnim no sua a, ɔhu (replaces the AK letter mark) */
.brand-mark{width:48px;height:48px;background:none;box-shadow:none;border-radius:0;padding:0}
.brand-mark img{display:block;width:100%;height:100%}
