/* B · Tech homepage, matched to the Figma Make motion and color stops. */
.home {
    --home-cyan: oklch(86.5% .127 207.078);
    --home-cyan-light: oklch(91.7% .08 205.041);
    --home-blue: oklch(62.3% .214 259.815);
    --home-button: linear-gradient(to right in oklab, oklch(78.9% .154 211.53), oklch(54.6% .245 262.881));
    --home-ease: cubic-bezier(.2, .7, .2, 1);
    --gutter: 20px;
    --section: 72px;
    -webkit-font-smoothing: antialiased;
}

.home .gradient {
    background-image: linear-gradient(to right in oklab, var(--home-cyan), oklch(74.6% .16 232.661), var(--home-blue));
}

.home .site-header {
    transition: background-color 500ms, border-color 500ms, backdrop-filter 500ms;
}

.home .site-header:not(.is-scrolled, .is-open) { background: transparent; border-color: transparent; }
.home .site-header:is(.is-scrolled, .is-open) {
    background: oklch(13% .028 261.692 / 75%);
    border-color: rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.home .button-primary {
    color: white;
    border: 0;
    background: var(--home-button);
    box-shadow: 0 0 40px -8px rgb(56 189 248 / 80%);
}
.home .button:hover { transform: none; }
.home .header-quote {
    min-height: 40px;
    padding-inline: 20px;
    font: 600 13px/1.5 var(--display);
    box-shadow: 0 0 24px -4px rgb(56 189 248 / 70%);
}
.home :is(.header-quote, .footer-panel .button):hover { filter: brightness(1.1); }

@media (min-width: 861px) {
    .home .site-navigation ul {
        border-radius: 12px;
        background: rgb(255 255 255 / 4%);
        border-color: rgb(255 255 255 / 10%);
    }
    .home .site-navigation a {
        padding: 8px 20px;
        color: rgb(255 255 255 / 60%);
        font: 500 13px/1.5 var(--display);
        letter-spacing: .025em;
        transition: color 150ms, background-color 150ms;
    }
    .home .site-navigation a:hover { color: white; background: rgb(255 255 255 / 5%); }
    .home .site-navigation a[aria-current] { color: white; background: rgb(255 255 255 / 10%); }
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: max(680px, 100svh);
    overflow: hidden;
    background: var(--bg);
    color: white;
    line-height: 1.5;
}
.hero-photo, .hero-shade, .hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-photo { z-index: -4; object-fit: cover; }
.hero-video { z-index: -3; opacity: 0; transition: opacity 1s; }
.hero-video.is-ready { opacity: 1; }
.hero-shade {
    z-index: -2;
    background: radial-gradient(ellipse at 20% 80%, rgb(37 99 235 / 35%), transparent 55%),
        linear-gradient(100deg, rgb(3 7 18 / 92%), rgb(3 7 18 / 60%) 45%, rgb(3 7 18 / 25%));
}
.hero-grid, .home .products-section::before {
    background-image: linear-gradient(rgb(255 255 255 / 4.5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4.5%) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero-grid {
    z-index: -1;
    opacity: .6;
    mask-image: linear-gradient(black 20%, transparent 90%);
}
.hero-scan {
    display: none;
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 128px;
    pointer-events: none;
    background: linear-gradient(to bottom in oklab, transparent, oklch(86.5% .127 207.078 / 7%), transparent);
}
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 64px 96px; }
.hero-copy { max-width: 768px; min-width: 0; }
.status-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid oklch(86.5% .127 207.078 / 30%);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--home-cyan-light);
    background: oklch(86.5% .127 207.078 / 10%);
    backdrop-filter: blur(12px);
    font: 400 11px/1.5 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.status-note i, .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.status-note i { background: var(--home-cyan); box-shadow: 0 0 8px #67e8f9; }
.hero h1 { margin: 28px 0; font: 600 clamp(36px, 12vw, 44px)/1.02 var(--display); letter-spacing: -.04em; }
.hero-copy > p { max-width: 576px; font: 400 16px/1.625 Inter, sans-serif; color: rgb(255 255 255 / 65%); }
.hero .actions { margin-top: 40px; }
.hero .button { padding: 0 28px; font: 600 14px/1.5 var(--display); }
.hero .button-primary { position: relative; overflow: hidden; }
.hero .button-primary > span { position: relative; }
.hero .button-quiet {
    color: white;
    font-weight: 500;
    border-color: rgb(255 255 255 / 20%);
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(12px);
}
.hero .button-quiet:is(:hover, :focus-visible) { background: rgb(255 255 255 / 10%); border-color: oklch(86.5% .127 207.078 / 60%); }

.hero-status {
    display: none;
    flex: 0 0 380px;
    padding: 20px;
    border-color: rgb(255 255 255 / 15%);
    border-radius: 16px;
    background: oklch(13% .028 261.692 / 55%);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / 80%);
}
.hero-status-heading, .hero-status-lines p, .hero-status dl > div { display: flex; justify-content: space-between; align-items: center; }
.hero-status-heading {
    color: rgb(255 255 255 / 50%);
    font: 400 10px/1.5 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}
.hero-status-heading > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { background: oklch(76.5% .177 163.223); box-shadow: 0 0 8px #34d399; }
.hero-status dl { display: grid; gap: 16px; margin-top: 20px; }
.hero-status dl > div {
    position: relative;
    align-items: baseline;
    padding-bottom: 12px;
    --bar: 82%;
    --bar-delay: 600ms;
}
.hero-status dl > div:nth-child(2) { --bar: 94%; --bar-delay: 750ms; }
.hero-status dl > div:nth-child(3) { --bar: 56%; --bar-delay: 900ms; }
.hero-status dl > div::before, .hero-status dl > div::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
}
.hero-status dl > div::after {
    width: var(--bar);
    background: linear-gradient(to right in oklab, var(--home-cyan), var(--home-blue));
    transform-origin: left;
}
.hero-status dt, .hero-status-lines p { font: 400 12px/16px Inter, sans-serif; color: rgb(255 255 255 / 55%); }
.hero-status dd { font: 600 18px/28px var(--display); font-variant-numeric: tabular-nums; }
.hero-status small, .hero-status-lines p > span:last-child { color: rgb(255 255 255 / 40%); font: 400 10px/1.5 var(--mono); }
.hero-status-lines { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 10%); }
.hero-status-lines > div { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 10px; }
.hero-status-lines > div span {
    height: 24px;
    border: 1px solid oklch(86.5% .127 207.078 / 40%);
    border-radius: 4px;
    background: oklch(86.5% .127 207.078 / 10%);
}
.hero-status-lines > div span:nth-child(-n+5) { border: 0; background: linear-gradient(to top in oklab, oklch(54.6% .245 262.881), var(--home-cyan)); }

.ticker {
    position: absolute;
    inset: auto 0 0;
    overflow: hidden;
    padding-block: 16px;
    border-top: 1px solid rgb(255 255 255 / 10%);
    background: oklch(13% .028 261.692 / 40%);
    backdrop-filter: blur(12px);
    color: rgb(255 255 255 / 50%);
}
.ticker-track { display: flex; width: max-content; }
.ticker-track > div, .ticker-track span { display: flex; align-items: center; }
.ticker-track span { gap: 40px; margin-right: 40px; font: 400 12px/16px var(--mono); letter-spacing: .25em; text-transform: uppercase; }
.ticker-track span::after { content: "◆"; color: var(--home-cyan); }

@media (prefers-reduced-motion: no-preference) {
    .hero > img { animation: home-pan 22s ease-in-out infinite alternate; }
    .hero-scan { display: block; animation: home-scan 7s linear infinite; }
    .hero-copy > *, .hero-status { animation: home-rise 1s var(--home-ease) both; }
    .hero h1 { animation-delay: 120ms; }
    .hero-copy > p { animation-delay: 240ms; }
    .hero .actions { animation-delay: 360ms; }
    .hero-status { animation-delay: 400ms; }
    .hero-status dl > div::after { animation: home-grow 1.6s var(--home-ease) var(--bar-delay) both; }
    .status-dot { animation: home-pulse 1.6s ease-in-out infinite; }
    .hero .button-primary::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 25%;
        background: rgb(255 255 255 / 25%);
        pointer-events: none;
        animation: home-beam 3.2s ease-in-out infinite;
    }
    .ticker-track { animation: home-marquee 45s linear infinite; }
    .hero.is-motion-paused :is(.hero-photo, .hero-scan, .status-dot, .ticker-track),
    .hero.is-motion-paused .button-primary::before { animation-play-state: paused; }
}
@keyframes home-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes home-pan { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
@keyframes home-grow { from { transform: scaleX(0); } }
@keyframes home-scan { from { transform: translateY(-100%); } to { transform: translateY(100vh); } }
@keyframes home-pulse { 50% { opacity: .25; } }
@keyframes home-marquee { to { transform: translateX(-50%); } }
@keyframes home-beam { from { transform: translateX(-100%); } to { transform: translateX(400%); } }

@media (min-width: 768px) {
    .home { --gutter: 40px; }
    .hero h1 { font-size: 80px; }
    .hero-copy > p { font-size: 18px; }
}
@media (min-width: 1280px) {
    .hero-status { display: block; }
}

.home .spot-card { --spot-surface: #030712; }
.home .spot-card:focus-visible:not(:hover) .spot-card-content { --spot-x: 50%; --spot-y: 50%; }

.home :is(.products-section, .news-section) {
    --about-cyan: var(--home-cyan);
    border-color: rgb(255 255 255 / 5%);
    background: oklch(13% .028 261.692);
}
.home .products-section::before { opacity: .7; mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 70%); }
.home .news-section { isolation: isolate; overflow: hidden; }
.home .news-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -160px;
    left: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: oklch(71.5% .143 215.221 / 10%);
    filter: blur(140px);
    pointer-events: none;
}
.home .section-heading { gap: 24px; margin-bottom: 64px; }
.home .section-heading h2 { margin-top: 24px; color: white; font: 600 36px/1.08 var(--display); letter-spacing: -.03em; }
.home .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home .product-card-tag {
    min-height: 0;
    padding: 20px 20px 0;
    font: 400 10px/1.5 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 40%);
}
.home .product-card-tag .pill {
    padding: 2px 8px;
    border: 1px solid oklch(86.5% .127 207.078 / 30%);
    border-radius: 999px;
    background: oklch(86.5% .127 207.078 / 10%);
    color: var(--home-cyan-light);
    font: inherit;
    letter-spacing: inherit;
}
.home .product-card-media.cutout {
    display: flex;
    justify-content: center;
    overflow: visible;
    padding: 40px;
    background: transparent;
}
.home .product-card-media.cutout::before, .home .product-card-media.cutout::after { border-color: rgb(255 255 255 / 7%); }
.home .product-card-media.cutout::after { width: 48%; }
.product-halo {
    position: absolute;
    z-index: -1;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: oklch(68.5% .169 237.323 / 25%);
    filter: blur(64px);
    transition: background-color 700ms var(--spot-ease);
    pointer-events: none;
}
.home .product-card-media.cutout img {
    position: relative;
    width: auto;
    height: auto;
    max-height: 100%;
    border-radius: 0;
    filter: drop-shadow(0 25px 35px rgb(0 0 0 / 70%));
}
.home .product-card-info { padding: 20px; gap: 12px; border-color: rgb(255 255 255 / 10%); }
.home .product-card-info h3 { font: 600 15px/1.5 var(--display); letter-spacing: normal; color: white; }
.home .product-card-info p { margin-top: 4px; font: 400 11px/1.5 var(--mono); color: rgb(255 255 255 / 45%); }
.home .product-card-info .icon-button {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border-color: rgb(255 255 255 / 10%);
    background: transparent;
    color: rgb(255 255 255 / 70%);
}
.home .product-card-info .icon-button svg { width: 16px; height: 16px; }
.home .product-card:focus-visible .icon-button { background: var(--home-button); border-color: transparent; color: white; }
@media (hover: hover) {
    .home .product-card:hover .product-halo { background: oklch(78.9% .154 211.53 / 40%); }
    .home .product-card:hover .icon-button { background: linear-gradient(to bottom right in oklab, oklch(78.9% .154 211.53), oklch(54.6% .245 262.881)); border-color: transparent; color: white; }
}
.home .carousel-nav { gap: 16px; }
.home .carousel-nav .icon-button { width: 44px; height: 44px; border-radius: 12px; }
.home .news-track { padding: 0; scrollbar-width: none; }
.home .news-track::-webkit-scrollbar { display: none; }
.home .news-track .news-card { flex-basis: 82%; }
.home .news-track .news-card:focus-visible { outline-offset: -2px; }
.home .news-slide-indicators { margin-top: 40px; }
.home .news-card-info h3 { letter-spacing: normal; }

@media (max-width: 767px) {
    .home .products-section .section-heading { align-items: start; flex-direction: column; }
    .home .news-section .section-heading { flex-wrap: nowrap; align-items: end; }
    .home .carousel-nav > span { display: none; }
}
@media (min-width: 640px) {
    .home .news-track .news-card { flex-basis: 46%; }
}
@media (min-width: 768px) {
    .home .section-heading h2 { font-size: 56px; }
    .home .product-card-media.cutout { padding: 48px; }
    .home .product-card-info h3 { font: 600 18px/28px var(--display); }
}
@media (min-width: 1024px) {
    .home .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home .news-track .news-card { flex-basis: calc((100% - 48px) / 4); }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
    .home :is(.product-card, .news-card):hover img { transform: none; }
}
