/* Phase 3 homepage/navigation refinement. Scoped to the homepage only. */
.home-v3 .home-header{display:flex;align-items:center;justify-content:space-between;gap:24px}
.home-v3 .home-nav{display:flex;align-items:center;gap:22px}
.home-v3 .home-nav a{color:#4d5c52;font-size:.88rem;font-weight:700;text-decoration:none}
.home-v3 .home-nav a:hover{color:#26342c}
.home-v3 .home-nav a:focus-visible{outline:3px solid currentColor;outline-offset:5px;border-radius:4px}
.home-v3 .home-hero{margin-bottom:56px}
.home-v3 .home-hero-actions{margin-top:28px}
.home-v3 .home-trust-strip{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:26px;padding-top:20px;border-top:1px solid #d8e1da;color:#66736a;font-size:.8rem;font-weight:600}
.home-v3 .home-trust-strip span{display:inline-flex;align-items:center}
.home-v3 .home-trust-strip span::before{content:"✓";margin-right:6px;color:#526b59}
.home-v3 .home-section{scroll-margin-top:24px}
.home-v3 #categories{margin-top:56px}
.home-v3 #guides{padding-top:8px}

/* Mobile-first polish: keep the homepage calm, compact and easy to tap. */
@media (max-width:720px){
  .home-v3 .home-header{align-items:flex-start;flex-direction:column;gap:10px;padding-block:14px}
  .home-v3 .home-nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;padding:0}
  .home-v3 .home-nav a{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 6px;border:1px solid #e1e6e2;border-radius:10px;background:#fff;font-size:.82rem;line-height:1.25;text-align:center}
  .home-v3 .home-nav a:focus-visible{outline-offset:2px}
  .home-v3 .home-hero{margin-bottom:44px;padding:36px 24px;border-radius:20px}
  .home-v3 .home-hero h1{font-size:clamp(2.15rem,11vw,3rem);line-height:1.16}
  .home-v3 .home-lead{margin-top:20px;font-size:1rem;line-height:1.8}
  .home-v3 .home-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px}
  .home-v3 .home-primary-link,.home-v3 .home-secondary-link{width:100%;min-height:48px;padding-inline:16px;box-sizing:border-box}
  .home-v3 .home-trust-strip{display:grid;gap:8px;margin-top:20px;padding-top:16px;font-size:.78rem;line-height:1.5}
  .home-v3 .home-section{margin-block:48px}
  .home-v3 .section-heading{margin-bottom:20px}
  .home-v3 .section-heading h2{font-size:1.55rem;line-height:1.4}
  .home-v3 .category-grid{grid-template-columns:1fr;gap:10px}
  .home-v3 .category-card{min-height:0;padding:18px;border-radius:14px}
  .home-v3 .category-number{margin-bottom:10px}
  .home-v3 .category-card__icon{float:right;margin:0 0 8px 14px}
  .home-v3 .category-card__icon img{width:46px;height:46px}
  .home-v3 .category-card h3{font-size:1.05rem}
  .home-v3 .category-card p{font-size:.88rem;line-height:1.65}
  .home-v3 .category-card__action{display:block;clear:both;margin-top:12px;font-size:.86rem;font-weight:700}
  .home-v3 .article-grid{grid-template-columns:1fr;gap:12px}
  .home-v3 .article-card{padding:20px 18px;border-radius:14px;box-shadow:none}
  .home-v3 .article-card h3{font-size:1.08rem;line-height:1.55}
  .home-v3 .article-card p{font-size:.9rem;line-height:1.7}
  .home-v3 .article-card__link{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;border:1px solid #d8dfda;border-radius:10px;text-align:center}
  .home-v3 .home-principles{margin-block:48px;padding:24px 18px;border-radius:18px}
  .home-v3 .site-notice{margin-top:48px;padding:22px 18px;gap:12px;border-radius:14px}
}

@media (max-width:390px){
  .home-v3 .home-header{width:min(100% - 20px,1100px)}
  .home-v3 .home-nav a{font-size:.78rem;padding-inline:4px}
  .home-v3 .home-hero{padding:30px 18px}
  .home-v3 .home-hero h1{font-size:2.15rem}
  .home-v3 .home-primary-link,.home-v3 .home-secondary-link{min-height:46px}
  .home-v3 .article-card{padding:18px 16px}
}
