/* home.css - the home page and the privacy page of englishcadence.com.
   Builds on style.css (the shared look), so both files are needed.
   November 12, 2026 (v19): the course's redesign. The welcome block is the dark panel (the page's one
   summary); "What I work on" and the lesson details sit on the page, divided by hairlines; no cards. */

/* ---- Home: the welcome block, the dark panel ---- */
.home main { padding-top: 24px; }
.hero.welcome { margin-top: 0; padding: 26px 20px 24px; }
.hero.welcome .eyebrow { margin-bottom: 12px; }
.hero.welcome h1 { font-size: 32px; line-height: 1.08; max-width: 17em; margin: 0; }
.hero.welcome .lead { margin-top: 16px; font-size: 16px; max-width: 34em; }
.hero.welcome .cta { margin-top: 22px; }
.hero.welcome .aside { margin: 12px 0 0; font-size: 14px; color: var(--panel-muted); }
.btn.big { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.btn.big svg { transition: transform calc(var(--t) * 0.75) var(--ease); }
.btn.big:hover svg { transform: translateX(2px); }
@media (max-width: 439px) { .hero.welcome .cta .btn { width: 100%; padding: 12px 16px; font-size: 15px; } }
@media (min-width: 640px) {
  .home main { padding-top: 34px; }
  .hero.welcome { padding: 32px 30px 28px; }
  .hero.welcome h1 { font-size: 40px; }
  .hero.welcome .lead { font-size: 17px; }
}
@media (min-width: 1000px) { .hero.welcome { padding: 40px 40px 34px; } .hero.welcome h1 { font-size: 46px; } }

/* sections jump below the header edge, not under it */
section[id] { scroll-margin-top: 16px; }

/* ---- What I work on: four items, a hairline above each, the icon bare beside the title ---- */
.areas { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0 28px; border-bottom: 1px solid var(--line); }
.areas .card { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.areas .icotile { margin-top: 3px; color: var(--muted); }
.areas h3 { margin: 0 0 4px; font-size: 20px; font-weight: 400; }
.areas p { margin: 0; font-size: 15px; color: var(--body); }
.after { margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .areas { grid-template-columns: 1fr 1fr; } }

/* ---- How lessons work ---- */
#lessons .card { margin-top: 20px; }

/* ---- Contact: the form sits on the page ---- */
.formcard { margin-top: 20px; }
.formcard form { margin: 0; }
.formcard .aside { margin: 16px 0 0; }
@media (min-width: 640px) { .formcard form { max-width: 34rem; } }

/* ---- Privacy page: the course's privacy page (titles and hairline lists, no cards) ---- */
.doc .hero { padding-bottom: 0; }
.doc main > section:not(.hero) { padding-top: 40px; }
.doc main > section:not(.hero) > :last-child { margin-bottom: 0; }
.doc main > section:not(.hero) h2 { margin-bottom: 14px; }
.doc .plain { margin-bottom: 1.25rem; }
