/* Silvair — native Azoogi layout, partner lockup, spec table */

.sv-main {
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
}

.sv-num {
    display: block;
    font-size: var(--fs-kicker);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 8px;
}

/* —— Hero —— */
.sv-hero {
    position: relative;
    min-height: var(--hero-min);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #111;
    width: 100%;
}

.sv-hero-media {
    position: absolute;
    inset: 0;
}

.sv-hero-media img,
.sv-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: contrast(1.25) brightness(0.68) saturate(1.05);
    animation: svSlowZoom 22s ease-out forwards;
}

.sv-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 46%, rgba(0, 0, 0, .32) 100%),
        rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

@keyframes svSlowZoom {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.1);
    }
}

.sv-hero-copy {
    position: relative;
    z-index: 1;
    padding: var(--hero-pad-y-top) var(--hero-pad-x) var(--hero-pad-y-bottom);
    width: 100%;
}

.sv-hero-copy > * {
    max-width: var(--site-max, 1400px);
}

.sv-lockup {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(16px, 2.4vw, 28px);
    margin: 0 0 20px;
}

.sv-lockup-silvair {
    display: block;
    width: clamp(120px, 26vw, 180px);
    height: auto;
    color: #fff;
}

.sv-title {
    margin: 0 0 16px;
    max-width: 24ch;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.sv-title span {
    font-family: var(--font-outline);
}

.sv-lead {
    max-width: 720px;
    margin: 0 0 16px;
    padding: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: 1.65;
}

.sv-intro {
    max-width: 900px;
    margin: 16px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--fs-lead);
    line-height: 1.7;
}

.sv-band {
    padding: var(--section-y) 0;
}

.sv-band--alt {
    background: var(--card-bg);
}

.sv-section-head {
    margin-bottom: clamp(22px, 3vw, 32px);
}

.sv-section-head h2 {
    margin: 0 0 12px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-h2-section);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.sv-section-head p {
    margin: 0;
    max-width: 70ch;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--muted);
}

.sv-caps,
.sv-pillars,
.sv-flow,
.sv-support,
.sv-stats,
.sv-apps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.sv-caps {
    grid-template-columns: 1fr 1fr;
}

.sv-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sv-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1.4vw, 16px);
}

.sv-support {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-apps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sv-caps li,
.sv-pillars li,
.sv-flow li,
.sv-support li,
.sv-stat,
.sv-app {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.sv-caps h3,
.sv-pillars h3,
.sv-flow h3,
.sv-support h3,
.sv-app h3 {
    margin: 0;
    font-size: var(--fs-card-title-sm);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.sv-caps p,
.sv-pillars p,
.sv-flow p,
.sv-support p,
.sv-app p,
.sv-stat span {
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--muted);
}

.sv-stat {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 28px) clamp(8px, 1.6vw, 20px);
}

.sv-stat b {
    font-size: var(--fs-h2-section);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--accent);
}

.sv-stat span {
    max-width: 18ch;
    font-size: var(--fs-body);
}

.sv-app {
    padding: 0;
    overflow: hidden;
    gap: 0;
}

.sv-app figure {
    margin: 0;
    overflow: hidden;
    background: var(--card-bg);
}

.sv-app img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.sv-app:hover img {
    transform: scale(1.04);
}

.sv-app-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.sv-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.sv-feature--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.sv-lineup-heading {
    margin: 0 0 16px;
    font-family: var(--font-sans);
    font-size: var(--fs-h2-section);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.sv-feature-copy .sv-lineup-heading {
    margin-bottom: 14px;
}

.sv-feature-copy .kicker {
    margin-bottom: 10px;
}

.sv-feature-copy p {
    margin: 0;
    max-width: 46ch;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--muted);
}

.sv-points {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.sv-points li {
    display: grid;
    gap: 2px;
}

.sv-points b {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--ink);
}

.sv-points span {
    font-size: var(--fs-body);
    line-height: 1.5;
    color: var(--muted);
}

.sv-feature-img figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.sv-feature-img img {
    width: 100%;
    height: auto;
    min-height: 340px;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.sv-feature-img--contain figure {
    background: var(--card-bg);
    border: 1px solid var(--line);
}

.sv-feature-img--contain img {
    min-height: 0;
    object-fit: contain;
}

.sv-feature-img:hover img {
    transform: scale(1.04);
}

.sv-hardware .sv-lineup-heading {
    margin-bottom: 16px;
}

.sv-table-wrap {
    overflow-x: auto;
}

.sv-page .spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 4px;
}

.sv-page .spec-table th,
.sv-page .spec-table td {
    padding: 10px 12px 10px 0;
    font-size: var(--fs-kicker);
    text-align: left;
    vertical-align: top;
}

.sv-page .spec-table thead th {
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.sv-page .spec-table tbody tr {
    border-bottom: 1px solid var(--line);
}

.sv-page .spec-table th:first-child,
.sv-page .spec-table td:first-child {
    width: 15%;
}

.sv-page .spec-table td:first-child {
    font-weight: 500;
    color: var(--ink);
}

.sv-page .spec-table th:nth-child(2),
.sv-page .spec-table td:nth-child(2) {
    width: 25%;
}

.sv-page .spec-table td:nth-child(2) {
    color: var(--ink);
}

.sv-page .spec-table th:last-child,
.sv-page .spec-table td:last-child {
    width: 60%;
}

.sv-page .spec-table td:last-child {
    color: var(--muted);
}

.sv-product {
    display: inline;
    color: var(--ink);
    border-bottom: 1px dotted var(--accent);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .sv-product {
        cursor: none;
    }
}

.sv-product:hover,
.sv-product.is-previewing {
    color: var(--accent);
}

.sv-cursor-preview {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 400;
    width: min(260px, 46vw);
    pointer-events: none;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.sv-cursor-preview[hidden] {
    display: none;
}

.sv-cursor-preview img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--card-bg);
}

.sv-cta {
    padding: var(--section-y) 0 calc(var(--section-y) + 16px);
    border-radius: 4px;
    text-align: center;
}

.sv-cta h2 {
    margin: 0 0 12px;
    font-family: var(--font-sans);
    font-size: var(--fs-h2-section);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.sv-cta p {
    margin: 0 auto 24px;
    max-width: 640px;
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--muted);
}

.sv-cta .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .sv-apps,
    .sv-flow {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .sv-caps,
    .sv-pillars,
    .sv-support,
    .sv-feature,
    .sv-feature--reverse {
        grid-template-columns: 1fr;
    }

    .sv-feature-img img {
        min-height: 240px;
    }

    .sv-stats {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        width: min(100%, 34rem);
        margin-inline: auto;
        gap: 0;
        background: var(--bg-2);
        border: 1px solid var(--line);
        border-radius: 4px;
        overflow: hidden;
    }

    .sv-stat {
        flex: 1 1 0;
        min-width: 0;
        padding: 14px 12px;
        background: transparent;
        border: 0;
        border-radius: 0;
        border-inline-end: 1px solid var(--line);
        gap: 6px;
    }

    .sv-stat:last-child {
        border-inline-end: 0;
    }

    .sv-stat span {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .sv-stats {
        flex-direction: column;
        width: min(100%, 22rem);
    }

    .sv-stat {
        flex: none;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        padding: 10px 14px;
        text-align: left;
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    .sv-stat:last-child {
        border-bottom: 0;
    }

    .sv-stat b {
        flex: 0 0 3.75rem;
        font-size: var(--fs-h3);
        text-align: right;
    }

    .sv-stat span {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .sv-lockup {
        gap: 12px;
        margin-bottom: 22px;
    }

    .sv-title {
        max-width: none;
    }

    .sv-cta .btn.primary {
        width: 100%;
        padding-inline: 16px;
    }

    .sv-apps,
    .sv-flow {
        grid-template-columns: 1fr;
    }

    .sv-page .spec-table th,
    .sv-page .spec-table td {
        font-size: var(--fs-kicker);
        padding: 8px 10px 8px 0;
    }
}
