/* BrickNav homepage: app-inspired, without changing sitewide CSS */
.bn-home { --bn-accent:#009086; --bn-border:#dddddd; max-width:1120px; margin:0 auto; padding:30px 18px 48px; color:#242a2a; }
.bn-home * { box-sizing:border-box; }
.bn-home__intro { text-align:center; margin:0 auto 32px; max-width:680px; }
.bn-home__intro h1 { font-size:clamp(1.75rem,4vw,2.65rem); line-height:1.15; margin:0 0 12px; color:#172323; }
.bn-home__intro p { margin:0; font-size:1.05rem; line-height:1.5; color:#5a6464; }
.bn-home__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.bn-home__tile { display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; min-width:0; padding:24px 16px 22px; border:1px solid var(--bn-border); border-radius:18px; background:#fff; color:inherit; text-decoration:none; box-shadow:0 3px 14px rgba(0,0,0,.045); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.bn-home__tile:hover { transform:translateY(-3px); border-color:var(--bn-accent); box-shadow:0 7px 18px rgba(0,144,134,.12); }
.bn-home__tile:focus-visible, .bn-home__app-link:focus-visible { outline:3px solid var(--bn-accent); outline-offset:4px; }
.bn-home__icon { display:grid; place-items:center; width:94px; height:94px; border-radius:20px; background:#f0f8f7; overflow:hidden; }
.bn-home__icon img { max-width:86%; max-height:86%; width:auto; height:auto; object-fit:contain; }
.bn-home__title { color:var(--bn-accent); font-weight:800; font-size:1.45rem; line-height:1.2; }
.bn-home__detail { color:#5b6666; font-size:.93rem; line-height:1.45; }
.bn-home__app { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:40px auto 0; padding:23px 28px; background:#f0f8f7; border:1px solid #d8ece9; border-radius:18px; }
.bn-home__app h2 { margin:0 0 6px; font-size:1.25rem; color:#223333; }
.bn-home__app p { margin:0; color:#506060; line-height:1.45; }
.bn-home__app-link { flex-shrink:0; padding:12px 18px; background:var(--bn-accent); color:#fff!important; text-decoration:none; font-weight:700; border-radius:10px; }
.bn-home__app-link:hover { background:#00776f; }
@media(max-width:900px) { .bn-home__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:530px) { .bn-home { padding:20px 12px 36px; } .bn-home__intro { margin-bottom:22px; } .bn-home__grid { gap:10px; } .bn-home__tile { border-radius:14px; padding:18px 9px; gap:8px; } .bn-home__icon { width:68px; height:68px; border-radius:14px; } .bn-home__title { font-size:1.18rem; } .bn-home__detail { font-size:.79rem; } .bn-home__app { flex-direction:column; text-align:center; align-items:stretch; padding:18px; margin-top:26px; } }
@media(prefers-reduced-motion:reduce) { .bn-home__tile { transition:none; } }
