html {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #0c0c0c;
}

*,
::after,
::before {
    box-sizing: inherit;
}

:root {
    --ov-black: #0c0c0c;
    --ov-dark: #181818;
    --ov-card: #1f1f1f;
    --ov-border: #333;
    --ov-blue: #3070eb;
    --ov-blue-hover: #2058c4;
    --ov-muted: #b3b3b3;
    --width-main: min(1130px, calc(100% - 20px));
    --fs-htitle: min(max(3.41vw, 20px), 32px);
    --fs-p-400: min(max(1.73vw, 13px), 15px);
}

body {
    width: min(1400px, 100%);
    margin: 0 auto;
    line-height: 1.6;
    background: var(--ov-black);
}

img {
    max-width: 100%;
}

/* Header */

.ov-page-header {
    width: 100%;
    margin-block-end: 40px;
}

.ov-page-header__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--ov-black);
    border-bottom: 1px solid var(--ov-border);
}

.ov-page-header__logo {
    display: block;
    width: 170px;
    height: auto;
}

.ov-page-header__lang {
    display: flex;
    gap: 4px;
}

.ov-page-header__lang a {
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.7;
}

.ov-page-header__lang a:hover,
.ov-page-header__lang a.active {
    opacity: 1;
}

.ov-page-header__lang a.active {
    background: var(--ov-blue);
}

.ov-page-header__banner {
    position: relative;
    width: 100%;
}

.ov-page-header__banner--img {
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 840;
    object-fit: cover;
}

.ov-page-header__tagline {
    position: absolute;
    left: clamp(16px, 5vw, 64px);
    top: 12%;
    margin: 0;
    color: #fff;
    font-size: min(max(5vw, 22px), 64px);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.05;
    text-shadow: 0 2px 18px rgb(0 0 0 / 55%);
}

/* Description */

.ov-page-description {
    width: var(--width-main);
    margin: 0 auto 45px;
    font-size: var(--fs-p-400);
    color: #e6e6e6;
}

.ov-page-description p {
    margin: 0 0 10px;
}

/* Product search */

.techHelp {
    width: 100%;
    padding: 30px 0 10px;
    background: var(--ov-dark);
}

.techHelp__header {
    width: var(--width-main);
    margin-inline: auto;
    text-align: center;
}

.techHelp__headerTitle {
    margin-bottom: 0;
    font-size: var(--fs-htitle);
    line-height: 1.25;
}

.techHelp__headerSubTitle {
    color: var(--ov-muted);
    font-size: min(max(2.06vw, 14px), 17px);
}

.searchForm {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-inline: 10px;
    margin-bottom: 45px;
}

@media screen and (max-width: 560px) {
    .searchForm {
        flex-direction: column;
        align-items: stretch;
    }
}

.searchForm__category,
.searchForm__products {
    padding: 8px 10px;
    min-width: 200px;
    max-width: 100%;
    border: 1px solid var(--ov-border);
    border-radius: 6px;
    background: var(--ov-black);
    color: #fff;
    font: inherit;
    font-size: 14px;
}

.searchForm__products {
    width: min(360px, 100%);
}

.searchForm__products[disabled] {
    opacity: 0.5;
}

.productSelect {
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 560px) {
    .productSelect {
        flex-direction: column;
    }

    .searchForm__category,
    .searchForm__products {
        width: 100%;
    }
}

.searchButton {
    padding: 8px 22px;
    background: var(--ov-blue);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.searchButton[disabled] {
    opacity: 0.5;
    cursor: default;
}

.searchButton:not([disabled]):hover {
    background: var(--ov-blue-hover);
}

.productInfo {
    width: var(--width-main);
    margin-inline: auto;
    margin-bottom: 30px;
}

.productInfo:empty {
    display: none;
}

.productInfo__product {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 25px;
    background: var(--ov-card);
    border: 1px solid var(--ov-border);
    border-radius: 12px;
}

.productInfo__imgWrapper {
    flex: 0 0 min(380px, 40%);
}

.productInfo__productImg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

@media (width < 640px) {
    .productInfo__product {
        flex-direction: column;
        padding: 15px;
    }

    .productInfo__imgWrapper {
        flex-basis: auto;
        width: min(300px, 100%);
        margin-inline: auto;
    }
}

.productInfo__bodyWrapper {
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--fs-p-400);
}

.productInfo__title {
    margin-top: 0;
    font-size: min(max(2.54vw, 17px), 22px);
    line-height: 1.3;
}

.productInfo__description {
    color: #e6e6e6;
}

.productInfo__subtitle {
    margin: 22px 0 10px;
    color: var(--ov-blue);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.productInfo__specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin: 0;
}

.productInfo__specs div {
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--ov-black);
}

.productInfo__specs dt {
    color: var(--ov-muted);
    font-size: 12px;
}

.productInfo__specs dd {
    margin: 0;
    font-weight: 700;
}

.productInfo__contents {
    margin: 0;
    padding-left: 0;
    list-style: none;
    columns: 2 220px;
    column-gap: 20px;
}

.productInfo__contents li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
    break-inside: avoid;
}

.productInfo__contents li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--ov-blue);
    transform: skewX(-15deg);
}

.productInfo__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.productInfo__listItem {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ov-border);
}

.productInfo__linkTitle {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.productInfo__linkDesc {
    margin: 0;
    color: var(--ov-muted);
    font-size: 13px;
}

.productInfo__download {
    align-self: center;
}

.productInfo__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--ov-blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}

.productInfo__link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.productInfo__link:hover {
    background: var(--ov-blue-hover);
}

.productInfo__noDownloads {
    margin-top: 22px;
    color: var(--ov-muted);
    font-size: 13px;
}

/* Contact */

.contactMethods {
    width: calc(100% - 20px);
    margin: min(max(3.006vw, 25px), 45px) auto 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactMethods__header {
    font-weight: 400;
    text-align: center;
    font-size: var(--fs-htitle);
    line-height: 1.3;
}

.contactMethods__list {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    width: min(676px, calc(100% - 20px));
    padding-left: 0;
    margin: min(5vw, 25px) 0 10px;
}

.contactMethods__listItem {
    flex: 1;
}

.contactMethods__listLink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.contactMethods__listLink:hover {
    opacity: 0.8;
}

.contactMethods__icon {
    display: grid;
    place-items: center;
    width: min(max(13.39vw, 54px), 70px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ov-blue);
}

.contactMethods__icon svg {
    width: 45%;
    fill: #fff;
}

.contactMethods__listItemTitle {
    font-size: var(--fs-p-400);
    font-weight: 600;
}

.contactMethods__hours {
    margin: 0;
    color: var(--ov-muted);
    font-size: 13px;
    text-align: center;
}

/* Footer */

.ov-page-footer {
    padding: 22px 15px;
    background: var(--ov-dark);
    border-top: 1px solid var(--ov-border);
    text-align: center;
}

.ov-page-footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 35px;
}

.ov-page-footer__link {
    color: #fff;
    text-decoration: none;
    transition: color 350ms ease-in-out;
}

.ov-page-footer__link:hover {
    color: var(--ov-blue);
}

.ov-page-footer__company {
    margin: 14px 0 0;
    color: var(--ov-muted);
    font-size: 12px;
}

/* Subpages (legal documents) */

.ov-page-document {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto 50px;
    color: #e6e6e6;
    font-size: 14px;
}

.ov-page-document h1 {
    color: #fff;
    font-size: var(--fs-htitle);
    text-align: center;
    line-height: 1.25;
}

.ov-page-document h2,
.ov-page-document h3,
.ov-page-document h4 {
    color: #fff;
    line-height: 1.3;
}

.ov-page-document a {
    color: #6d9bf2;
}

.ov-page-document table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.ov-page-document td,
.ov-page-document th {
    padding: 6px 8px;
    border: 1px solid var(--ov-border);
    vertical-align: top;
}

.ov-page-backLink {
    display: inline-block;
    margin: 20px 0 10px;
    color: #6d9bf2;
    font-weight: 600;
}

.ov-page-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: var(--ov-blue);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}
