/* SafeCircle homepage design */
.home { --mint: #e3efe5; }
.home .hero2 { display: grid; gap: 2rem; padding: 0.5rem 0 2.5rem; align-items: center; }
.home .hero2 .copy h1 { max-width: 14ch; }
.home .stat-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.home .chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 0.95rem;
}
.home .chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); display: inline-block; }
.home .chip i.sun { background: var(--sun); }
.home .chip i.red { background: var(--danger); }

.home .art { position: relative; isolation: isolate; max-width: 520px; margin-inline: auto; width: 100%; }
.home .art::before {
  content: ""; position: absolute; z-index: -1; inset: 8% -4% -4% 10%;
  background: var(--sun); border-radius: 46% 54% 40% 60% / 50% 42% 58% 50%;
  transform: rotate(-6deg);
}
.home .art::after {
  content: ""; position: absolute; z-index: -1; inset: -3% 12% 14% -5%;
  background: var(--mint); border-radius: 60% 40% 55% 45%;
}
.home .art img {
  display: block; width: 100%; height: auto; border-radius: 1.8rem;
  box-shadow: 0 30px 50px -28px rgba(20, 48, 42, 0.6);
}
.home .float {
  position: absolute; background: var(--surface); border-radius: 1rem; padding: 0.6rem 0.85rem;
  box-shadow: var(--shadow); font-weight: 800; font-size: 0.92rem; line-height: 1.25;
}
.home .float small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.home .float.a { left: -0.4rem; bottom: 16%; }
.home .float.b { right: -0.2rem; top: 10%; background: var(--ink); color: #fff; }
.home .float.b small { color: #bcd4c8; }

.home .strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 0.5rem 0 3rem;
  background: var(--ink); color: #fff; border-radius: 1.6rem; padding: 1.2rem;
}
.home .strip div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; font-weight: 700; padding: 0.4rem; }
.home .strip svg { width: 34px; height: 34px; stroke: var(--sun); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home .strip span { font-weight: 500; font-size: 0.88rem; color: #bcd4c8; }

.home .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.home .head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.home .head p { color: var(--muted); max-width: 34rem; margin-top: 0.4rem; }
.home .live { padding: 0.5rem; }
.home .live .map { height: 360px; }
.home .tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 0.8rem 0.5rem 0.4rem; text-align: center; }
.home .tiles3 b { display: block; font-size: 1.7rem; font-family: var(--display); }
.home .tiles3 span { color: var(--muted); font-size: 0.9rem; }

.home .features { display: grid; gap: 1rem; margin-top: 1rem; }
.home .fcard { padding: 1.3rem; position: relative; overflow: hidden; }
.home .fcard .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); margin-bottom: 0.8rem;
}
.home .fcard .ico svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home .fcard.hot .ico { background: #fbe3df; }
.home .fcard.hot .ico svg { stroke: var(--danger); }
.home .fcard.gold .ico { background: #fff1c2; }
.home .fcard.gold .ico svg { stroke: var(--warn); }
.home .fcard h3 { font-size: 1.15rem; }
.home .fcard p { color: var(--muted); margin-top: 0.35rem; font-size: 1rem; }

.home .cta {
  margin: 1rem 0 3rem; padding: 2rem 1.4rem; border-radius: 1.8rem; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--ink)); color: #fff;
}
.home .cta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 20ch; margin-inline: auto; }
.home .cta p { color: #cfe5da; margin-top: 0.6rem; }
.home .cta .row { justify-content: center; }

.home .share { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 3rem; padding: 1.2rem; }
.home .share img { width: 100%; max-width: 300px; height: auto; border-radius: 1.2rem; margin-inline: auto; display: block; box-shadow: var(--shadow); }

@media (min-width: 800px) {
  .home .hero2 { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .home .strip { grid-template-columns: repeat(4, 1fr); padding: 1.4rem; }
  .home .features { grid-template-columns: repeat(3, 1fr); }
  .home .share { grid-template-columns: 300px 1fr; padding: 1.6rem 2rem; }
  .home .live .map { height: 460px; }
}
