/* Home page (C-Home / C-Mobile-Home). Agent (a). Tokens only; hub tiles/cards live in hubs.css. */
body.home .page-main__body { padding: 0; }
.home-wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Hero ---------- */
.hero { background: var(--sign-yellow); border-bottom: var(--bd-structural); }
.hero__inner { padding-block: 64px 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 999 1 560px; min-width: 0; }
.hero__kicker { margin: 0 0 16px; font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero h1 { margin-bottom: 28px; font-size: clamp(52px, 7vw, 104px); letter-spacing: -0.005em; }
.hero-search { display: flex; flex-wrap: wrap; max-width: 680px; }
.hero-search label { display: block; width: 100%; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.hero-search input { flex: 999 1 320px; min-width: 0; height: 68px; border: var(--bd-structural); padding: 0 20px; font: inherit; font-size: 20px; background: var(--white); border-radius: 0; }
.hero-search button { flex: 1 1 140px; height: 68px; border: var(--bd-structural); background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; border-radius: 0; }
.hero-search button:hover { background: var(--ink-hover); }
.hero__label { margin: 24px 0 10px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.quick-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quick-links a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 10px; background: var(--white); border: var(--bd-card); text-decoration: none; font-weight: 700; }
.quick-links a:hover { background: var(--ink); color: var(--white); }
.quick-links svg { width: 26px; height: 26px; flex: none; }
.hero__art { flex: 1 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 420px; }
.hero__art-main { grid-column: 1 / span 2; background: var(--white); border: var(--bd-structural); padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__art-main svg { width: 180px; height: 180px; }
.hero__art-label { width: 100%; background: var(--sign-red); color: var(--white); text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 34px; text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 0; }
.hero__art-tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: var(--bd-structural); }
.hero__art-tile--blue { background: var(--sign-blue); } .hero__art-tile--green { background: var(--sign-green); }
.hero__art-tile svg { width: 96px; height: 96px; }
.hazard-stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--sign-yellow) 14px 28px); border-top: var(--bd-structural); }

/* ---------- Generic home blocks ---------- */
.home-ad { display: flex; justify-content: center; padding-block: 32px; }
.home-ad .ad { width: 100%; }
.home-block { padding-block: 24px 56px; }
.home-block h2 { font-size: clamp(38px, 4.4vw, 56px); line-height: 0.95; }

/* ---------- Templates + posters panels ---------- */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; padding-bottom: 64px; }
.panel { border: var(--bd-structural); padding: 32px; background: var(--white); }
.panel h2 { font-size: 48px; line-height: 0.95; margin-bottom: 8px; }
.panel p { margin: 0 0 24px; }
.panel .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel .link-list li { border-top-color: var(--ink); }
.panel .link-list a { min-height: 48px; }
.panel__more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; font-weight: 700; }
.panel--ink { background: var(--ink); color: var(--white); }
.panel--ink .link-list li { border-top-color: #444444; }
.panel--ink a { color: var(--white); }
.panel--ink .panel__more { color: var(--sign-yellow); }
.panel--ink .link-list__meta { color: var(--muted-on-ink); }
.panel__soon { font-size: 15px; }

/* ---------- Popular downloads ---------- */
.popular { background: var(--white); border-block: var(--bd-structural); }
.popular__inner { padding-block: 56px 64px; }
.popular h2 { margin-bottom: 28px; }
.popular .pcard-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.popular__more { margin-top: 24px; }

/* ---------- Household feature ---------- */
.feature { margin-block: 64px; background: var(--sign-blue); color: var(--white); border: var(--bd-structural); display: flex; flex-wrap: wrap; }
.feature__text { flex: 999 1 520px; min-width: 0; padding: 40px; }
.feature__badge { margin: 0 0 12px; display: inline-block; background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 10px; }
.feature h2 { font-size: clamp(40px, 5vw, 56px); line-height: 0.92; margin-bottom: 16px; }
.feature p { margin: 0 0 28px; max-width: 520px; font-size: 18px; }
.feature__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.feature__chips a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; background: var(--white); color: var(--ink); border: var(--bd-card); text-decoration: none; font-weight: 700; }
.feature__chips a:hover { background: var(--ink); color: var(--white); }
.feature__cta { margin-top: 20px; }
.feature .btn { background: var(--sign-yellow); color: var(--ink); border-color: var(--ink); }
.feature .btn:hover { background: var(--white); color: var(--ink); }
.feature__art { flex: 1 1 320px; min-width: 0; background: var(--white); border-left: var(--bd-structural); display: flex; align-items: center; justify-content: center; padding: 32px; color: var(--ink); }
.feature__art svg { width: 280px; height: auto; max-width: 100%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: var(--white); }
.trust__inner { padding-block: 48px; }
.trust h2 { font-size: 40px; margin-bottom: 28px; color: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.trust li { display: flex; gap: 16px; align-items: flex-start; }
.trust svg { flex: none; width: 44px; height: 44px; }
.trust strong { display: block; font-size: 18px; }
.trust span { color: var(--muted-on-ink); font-size: 15px; }
.home-ad--foot { padding-block: 56px 16px; }

/* ---------- Phone ---------- */
@media (max-width: 599px) {
  .hero__inner { padding-block: 32px 28px; gap: 0; }
  .hero__kicker { font-size: 16px; margin-bottom: 10px; }
  .hero h1 { font-size: 52px; margin-bottom: 20px; }
  .hero-search { flex-direction: column; }
  .hero-search input { flex: none; height: 56px; font-size: 18px; padding: 0 16px; border-bottom: 0; }
  .hero-search button { flex: none; height: 56px; font-size: 22px; }
  .hero__label { font-size: 14px; margin-top: 20px; }
  .quick-links { gap: 8px; }
  .quick-links a { min-height: 44px; padding: 0 12px 0 8px; gap: 8px; font-size: 15px; border-width: 3px; }
  .quick-links svg { width: 24px; height: 24px; }
  .hero__art { display: none; }
  .hazard-stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--sign-yellow) 12px 24px); }
  .home-ad { padding-block: 24px; }
  .home-block { padding-block: 8px 40px; }
  .home-block h2 { font-size: 36px; }
  .panels { padding-bottom: 40px; }
  .panel { padding: 24px 20px; }
  .panel h2 { font-size: 36px; line-height: 1; }
  .panel p { margin-bottom: 14px; font-size: 15px; }
  .popular .pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular__inner { padding-block: 32px 36px; }
  .popular h2 { font-size: 36px; margin-bottom: 18px; }
  .feature { margin-block: 40px; }
  .feature__text { padding: 24px 20px; }
  .feature p { font-size: 16px; margin-bottom: 18px; }
  .feature__chips { grid-template-columns: 1fr; gap: 8px; }
  .feature__chips a { min-height: 48px; padding: 0 14px; }
  .feature__art { display: none; }
  .trust__inner { padding-block: 32px; }
  .trust h2 { font-size: 32px; margin-bottom: 20px; }
  .trust ul { grid-template-columns: 1fr; gap: 16px; }
  .trust svg { width: 36px; height: 36px; }
}

/* household chips shown as plain labels while the section has no pages */
.feature__chip { display: flex; align-items: center; min-height: 52px; padding: 0 16px; background: var(--white); color: var(--ink); border: var(--bd-card); font-weight: 700; }
