/* CricVeer home page (adds to styles.css). */
.home { --brand-navy: #13294B; --brand-orange: #F26B0F; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }
.home .top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); }
.home .top nav { align-items: center; }
.nav-cta { background: var(--brand-navy); color: #fff !important; padding: 8px 14px; border-radius: 10px; }
.nav-cta:hover { background: var(--brand-orange); }

.home .hero { padding: 56px 0 64px; }
.home .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.btn.big { padding: 15px 24px; font-size: 16px; border-radius: 16px; box-shadow: 0 10px 24px rgba(21, 101, 216, 0.28); }
.btn.primary:hover { background: #0f55bd; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 14px; background: #0b1220; color: #fff; min-width: 172px; }
.store .ico { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 16px; }
.store small { font-weight: 600; font-size: 11px; color: #fdba74; }
.store.soon { opacity: 0.92; cursor: default; }
.store.light { background: #fff; color: var(--brand-navy); border: 1.5px solid var(--line); }
.store.light small { color: #c2410c; }
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ico { width: 16px; height: 16px; color: #16a34a; stroke-width: 3; }
.ticks.light { flex-direction: column; color: #dbe4ff; font-size: 15px; margin-top: 18px; }
.ticks.light .ico { color: #4ade80; }

/* Phone illustration */
.phone { justify-self: center; width: 280px; padding: 12px; border-radius: 40px; background: #0b1220; box-shadow: 0 30px 60px rgba(19, 41, 75, 0.35); transform: rotate(-3deg); }
.screen { border-radius: 30px; padding: 20px 18px; background: linear-gradient(180deg, #13294B, #0E2A66); color: #fff; }
.p-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.p-tour { font-size: 12px; color: #c7d2fe; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 6px; background: #dc2626; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 2px; padding: 4px 9px; border-radius: 8px; box-shadow: 0 0 14px rgba(220, 38, 38, 0.6); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.p-team { color: #facc15; font-weight: 800; }
.p-score { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.p-score span { color: #c7d2fe; }
.p-meta { color: #c7d2fe; font-size: 12.5px; margin: 4px 0 10px; }
.p-need { background: #facc15; color: #13294B; font-weight: 800; font-size: 13px; padding: 8px 10px; border-radius: 10px; margin-bottom: 12px; }
.p-bat { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.p-over { display: flex; align-items: center; gap: 6px; margin: 12px 0; font-size: 12px; color: #c7d2fe; }
.p-over em { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 11.5px; }
.p-over .b6 { background: #7c3aed; }
.p-over .b4 { background: #2563eb; }
.p-over .bw { background: #dc2626; }
.p-voice { display: flex; gap: 8px; align-items: flex-start; background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 10px; font-size: 12.5px; color: #e0e7ff; }
.p-voice .ico { width: 16px; height: 16px; color: #F97316; margin-top: 2px; }

/* Strip */
.strip { background: var(--brand-navy); color: #c7d2fe; font-size: 14px; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px 24px; padding: 16px 20px; }
.strip b { color: #fff; font-size: 17px; margin-right: 4px; }

/* Cards */
.card .ic, .aud .ic { color: #fff; }
.card .ic .ico, .aud .ic .ico { width: 22px; height: 22px; }
.c1 { background: #F26B0F !important; }
.c2 { background: #db2777 !important; }
.c3 { background: #2563eb !important; }
.c4 { background: #d97706 !important; }
.c5 { background: #16a34a !important; }
.c6 { background: #7c3aed !important; }
.c7 { background: #0891b2 !important; }
.c8 { background: #13294B !important; }
.c9 { background: #e11d48 !important; }
.card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(19, 41, 75, 0.1); }
.aud { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.aud .ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.aud h3 { margin: 0 0 8px; font-size: 18px; }
.aud ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.aud li { margin: 4px 0; }

/* Spotlight */
.spotlight .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tag.dark { background: rgba(249, 115, 22, 0.18); color: #fdba74; }
.tv { border-radius: 18px; border: 10px solid #0b1220; background: linear-gradient(180deg, #07142F, #0E2A66); padding: 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.tv-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; }
.tv-top b { flex: 1; font-weight: 800; }
.tv-top img { height: 18px; width: auto; background: #fff; padding: 3px 8px; border-radius: 10px; box-sizing: content-box; }
.tv-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tv-team { color: #facc15; font-weight: 800; }
.tv-score { font-size: 54px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -2px; }
.tv-meta { color: #c7d2fe; font-size: 13px; margin-top: 4px; }
.tv-flash { background: #7c3aed; color: #fff; font-weight: 800; font-style: italic; font-size: 34px; padding: 14px 18px; border-radius: 14px; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(124, 58, 237, 0.45); animation: flash 2.6s ease-in-out infinite; }
@keyframes flash { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.08); } }

/* Light band, steps on light */
.soft { background: #e9effb; }
.soft .step { background: #fff; border: 1px solid var(--line); }
.soft .step p { color: var(--muted); }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.center .langs { justify-content: center; }

/* Download */
.dl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: 28px; background: linear-gradient(120deg, #FFF3E8, #E3EEFF); border: 1px solid var(--line); }
.dl h2 { margin-bottom: 4px; }
.dl p { margin: 0; color: var(--muted); }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* FAQ */
.narrow { max-width: 760px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand-orange); }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 0 14px; color: var(--muted); }

/* Legal and grievance */
.legal { background: #fff; border-top: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.legal-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; font-size: 14.5px; }
.legal-card h3 { margin: 0 0 10px; font-size: 17px; }
.legal-card dl { margin: 0; }
.legal-card dt { font-weight: 700; color: var(--brand-navy); font-size: 13px; margin-top: 10px; }
.legal-card dt:first-child { margin-top: 0; }
.legal-card dd { margin: 2px 0 0; color: var(--muted); }
.legal-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.legal-card li { margin: 6px 0; }
.legal-card b { color: var(--ink); }
.legal-links { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.langs .more { background: transparent; border-style: dashed; color: var(--muted); font-weight: 600; }
footer .fine { flex-basis: 100%; font-size: 12.5px; color: #a5b4fc; }
footer .fine a { margin: 0; text-decoration: underline; }

@media (max-width: 820px) {
  .legal-grid { grid-template-columns: 1fr; }
  .home .hero .wrap, .spotlight .wrap { grid-template-columns: 1fr; }
  .phone { margin-top: 24px; transform: none; }
  .grid.three { grid-template-columns: 1fr; }
  .store { min-width: 0; flex: 1 1 150px; }
  .btn.big { width: 100%; justify-content: center; }
  .dl { padding: 22px; }
  .dl-btns { width: 100%; }
  .top nav a { margin-left: 10px; }
  .top nav .nav-cta { padding: 7px 10px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .home .top nav a:not(.nav-cta) { display: none; }
  .home .top img { height: 20px; }
  .home .top img.brand-mark { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .live i, .tv-flash { animation: none; }
  .card { transition: none; }
}

/* Rows the page shows only when that detail is set (see assets/grievance.js). */
[hidden] { display: none !important; }
