/* Home page (templates/site/home.html). */

.h-hero { position: relative; isolation: isolate; min-height: min(860px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 64px) 0 140px; color: #fff; background: #070b13; overflow: hidden; }
.h-hero-media { position: absolute; inset: 0; z-index: -2; }
.h-hero-media img, .h-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.h-hero-media video.is-playing { opacity: 1; }
.h-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(5, 8, 15, .62) 0%, rgba(5, 8, 15, .18) 34%, rgba(5, 8, 15, .3) 62%, rgba(5, 8, 15, .86) 100%),
  radial-gradient(80% 60% at 20% 45%, rgba(5, 8, 15, .5), transparent 70%); }
.h-hero-inner { position: relative; }
.h-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 700; margin-bottom: 22px; }
.h-title { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.h-lead { margin-top: 18px; max-width: 58ch; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.h-search { margin-top: 34px; max-width: min(1180px, 100%); color: var(--ink); }
.h-quick { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

.h-numbers { position: relative; z-index: 2; margin-top: -64px; }
.h-stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); box-shadow: var(--sh-3); border-color: transparent; }
@media (max-width: 760px) { .h-stats { grid-template-columns: 1fr 1fr; } }

.h-first { padding-top: 64px; }

.h-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.h-size { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none !important; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.h-size:hover { border-color: var(--primary-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.h-size-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 8px; }
.h-size-words { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; }
.h-size-meta { font-size: .84rem; color: var(--ink-3); font-weight: 600; }
.h-size-go { position: absolute; top: 20px; right: 18px; color: var(--ink-4); transition: color .2s, transform .2s var(--ease); }
.h-size:hover .h-size-go { color: var(--primary); transform: translateX(3px); }
@media (max-width: 600px) { .h-sizes { grid-template-columns: 1fr 1fr; } .h-size { padding: 16px; } }

.h-placements { list-style: none; padding: 0; display: grid; gap: 12px; }
.h-placements li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.h-placements strong { display: block; color: #fff; font-size: .98rem; }
.h-placements li > span:last-child > span { display: block; margin-top: 2px; font-size: .88rem; color: rgba(232, 237, 245, .7); line-height: 1.5; }
.h-placement-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(159, 192, 255, .14); color: #b9d0ff; }
.h-placement-ic .s-ic { width: 19px; height: 19px; }

.h-cta { text-align: center; padding: 56px 32px; border-radius: var(--r-xl); background: var(--bg-soft); border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.h-cta::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, color-mix(in oklab, var(--primary) 14%, transparent), transparent); z-index: -1; }
.h-cta .s-lead { margin: 12px auto 0; max-width: 56ch; }
.h-cta-actions { justify-content: center; margin-top: 26px; }

@media (max-width: 860px) {
  .h-hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 110px; }
  .h-title br { display: none; }
}
