/* GainSync 3.0 homepage. The only stylesheet of the homepage: the legacy style.css and forms.css are not loaded there
   (HomepagePresenter sets $legacyCss = false), so the shared parts of them (fonts, cookie bar, flash message,
   download checkbox) are repeated at the top of this file. */

@font-face {
    font-family: Oswald;
    src: url(fonts/Oswald-Regular.ttf);
}

@font-face {
    font-family: OswaldMedium;
    src: url(fonts/Oswald-Medium.ttf);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #111;
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea {
    font: inherit;
    color: inherit;
}

/* ---------- shared with the legacy pages ---------- */

.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: rgba(17, 17, 17, .97); border-top: 3px solid #0090FF; backdrop-filter: blur(6px); color: #fff; font-size: 15px; line-height: 1.45; }
.cookie-bar[hidden] { display: none; }
.cookie-bar-inner { max-width: 920px; margin: 0 auto; padding: 18px 16px 20px 16px; display: flex; align-items: center; gap: 32px; }
.cookie-bar-text { flex: 1; }
.cookie-bar h3 { font-family: OswaldMedium, serif; font-weight: 500; font-size: 24px; letter-spacing: .5px; margin: 0 0 6px 0; text-transform: uppercase; }
.cookie-bar h3 span { font-family: inherit; color: #0090FF; }
.cookie-bar p { margin: 0; color: #ccc; }
.cookie-bar p a { display: inline; color: #0090FF; text-decoration: underline; }
.cookie-bar-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn { font-family: OswaldMedium, serif; font-size: 20px; font-weight: 500; letter-spacing: .5px; height: 42px; min-width: 140px; padding: 0 24px 3px 24px; border-radius: 6px; cursor: pointer; }
.cookie-btn-accept { background-image: linear-gradient(180deg, #33bbff, #0090FF); color: #111; border: 1px solid #111; }
.cookie-btn-accept:hover { background-image: linear-gradient(180deg, #55c8ff, #1a9bff); }
.cookie-btn-reject { background: transparent; color: #fff; border: 1px solid #ccc; }
.cookie-btn-reject:hover { border-color: #0090FF; color: #0090FF; }

@media screen and (max-width: 700px) {
    .cookie-bar { font-size: 14px; }
    .cookie-bar-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 18px 16px; }
    .cookie-bar h3 { font-size: 22px; }
    .cookie-btn { flex: 1; min-width: 0; }
}

.flash.info {
    position: fixed;
    top: 30%;
    left: 50%;
    z-index: 120;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    padding: 18px;
    font-size: 24px;
    border-radius: 10px;
    background: #111;
    color: #0090FF;
    transition: opacity 0.5s ease-out;
}

#frm-downloadForm-agree {
    appearance: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 2px solid #0090FF;
    border-radius: 4px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

#frm-downloadForm-agree:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
    color: #0090FF;
    font-weight: 900;
    font-size: 16px;
}

.netteFormsModal, .netteFormsModal * {
    color: #333;
}

.gs .error, .gs ul.error li {
    color: #ff6b6b;
}

/* ---------- base ---------- */

.gs {
    background: #111;
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    overflow-x: clip;
}

.gs *, .gs *::before, .gs *::after {
    box-sizing: border-box;
}

.gs p {
    margin: 0;
    text-align: justify;
}

.gs p + p {
    margin-top: 12px;
}

.gs .gs-blue {
    color: #0090FF;
}

.gs-wrap {
    width: min(1040px, 100% - 32px);
    margin: 0 auto;
}

.gs h1, .gs h2, .gs h3, .gs .gs-kicker, .gs .gs-btn, .gs .gs-card-label, .gs .gs-card-value, .gs .gs-footer-name {
    font-family: OswaldMedium, Helvetica, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.gs h1, .gs h2, .gs h3 {
    margin: 0;
}

.gs .gs-h2 {
    margin: 0 0 50px;
    font-size: clamp(42px, 6vw, 56px);
    line-height: 1.05;
}

.gs .gs-h2-tight {
    margin-bottom: 28px;
}

.gs .gs-link {
    color: #0090FF;
}

.gs section[id], .gs [id="bitrate"], .gs [id="price"] {
    scroll-margin-top: 64px;
}

.gs-section {
    padding-top: 110px;
}

html.gs-no-scroll {
    overflow: hidden;
}

/* scroll reveal: only when the script runs (it adds .gs-reveal), so nothing stays hidden without it */
.gs-reveal [data-reveal] {
    transition-property: opacity, transform;
    transition-duration: .5s;
    transition-timing-function: ease-out;
}

.gs-reveal [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(20px);
}

/* ---------- buttons ---------- */

.gs .gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 22px;
    line-height: 1.45;
    color: #111;
    background-image: linear-gradient(180deg, #33bbff, #0090FF);
    border: 0;
    border-radius: 3px;
    padding: 6px 30px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.gs .gs-btn:hover {
    background-image: linear-gradient(180deg, #55c8ff, #1a9bff);
}

.gs .gs-btn-outline {
    color: #fff;
    background: none;
    border: 1px solid #fff;
    padding: 5px 40px;
}

.gs .gs-btn-outline:hover {
    background: none;
    border-color: #0090FF;
    color: #0090FF;
}

.gs a:focus-visible, .gs button:focus-visible, .gs summary:focus-visible, .gs input:focus-visible, .gs textarea:focus-visible {
    outline: 2px solid #0090FF;
    outline-offset: 2px;
}

/* ---------- navigation ---------- */

.gs-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #fff;
    background: rgba(0, 0, 0, 0);
    transition: background 1s;
}

.gs-header.is-scrolled {
    background: rgba(0, 0, 0, .88);
}

.gs-nav {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gs-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 64px;
}

.gs .gs-nav-links a {
    display: flex;
    align-items: center;
    height: 64px;
    padding-top: 5px;
    border-bottom: 5px solid transparent;
    transition: border-bottom-color .2s;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.gs .gs-nav-links a.is-active {
    border-bottom-color: #0090FF;
}

.gs .gs-nav-links a.gs-nav-logo {
    padding-top: 0;
    border-bottom: 0;
}

.gs-nav-buttons {
    display: flex;
    align-items: center;
}

.gs .gs-social {
    display: flex;
    width: 39px;
    height: 39px;
}

.gs .gs-btn-nav {
    margin-left: 10px;
    min-width: 143px;
    height: 39px;
    padding: 0 30px 3px;
    border: 1px solid #000;
    border-radius: 6px;
}

@media screen and (max-width: 958px) {
    .gs .gs-nav-links a[data-section] {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .gs .gs-btn-nav {
        min-width: 0;
        padding: 0 18px 3px;
    }
}

/* ---------- photos behind the sections ---------- */

.gs-hero, .gs-photo-block {
    position: relative;
    overflow: hidden;
}

.gs-hero {
    margin-top: -65px;
}

.gs-hero-photo, .gs-why-photo, .gs-lower-photo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    pointer-events: none;
}

.gs-hero-photo {
    top: -20px;
    height: 820px;
    width: auto;
    opacity: .3;
}

.gs-why-photo {
    width: max(100%, 1300px);
    height: auto;
    opacity: .32;
}

/* the crowd photo itself fades out at the top, bottom and sides (mask), so it works at any width */
.gs-lower-photo {
    width: max(100%, 1300px);
    height: auto;
    opacity: .55;
    filter: blur(3px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 50%, #000 62%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 50%, #000 62%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-composite: intersect;
}

.gs-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gs-fade-bottom {
    background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0) 40%);
}

.gs-fade-top-bottom {
    background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0) 80%, #111 100%);
}

.gs-fade-sides {
    background: linear-gradient(90deg, #111 0%, rgba(17, 17, 17, 0) 12%, rgba(17, 17, 17, 0) 88%, #111 100%);
}

.gs-lower-content {
    position: relative;
}

/* ---------- hero ---------- */

.gs-hero-inner {
    position: relative;
    padding: calc(65px + clamp(48px, 7vw, 96px)) 0 90px;
}

.gs-brand {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 14px);
}

.gs-brand img {
    width: clamp(72px, 14vw, 130px);
    height: clamp(72px, 14vw, 130px);
    flex: none;
}

.gs .gs-brand h1 {
    font-size: clamp(48px, 11vw, 80px);
    line-height: 1.1;
}

.gs-brand-sub {
    font-size: clamp(18px, 4.5vw, 26px);
    font-weight: 700;
    line-height: 1.2;
}

.gs .gs-hero-title {
    margin: 44px 0 0;
    font-size: clamp(30px, 4.6vw, 40px);
    line-height: 1.08;
}

.gs-hero-cols {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px 48px;
}

.gs-hero-cols > * {
    flex: 1 1 400px;
    min-width: 0;
}

.gs-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.gs .gs-note {
    margin-top: 16px;
    font-size: 14px;
    color: #ccc;
    text-align: left;
}

.gs-shot {
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
}

.gs img, .gs video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- image switchers ---------- */

.gs-switcher-frame {
    display: grid;
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    cursor: zoom-in;
}

.gs-switcher-frame .gs-slide {
    grid-area: 1 / 1;
    align-self: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease;
}

.gs-switcher-frame .gs-slide.is-active {
    opacity: 1;
}

.gs-switcher-controls {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.gs-switcher-count, .gs-lightbox-count {
    margin-right: 8px;
    font-size: 32px;
    line-height: 1;
}

.gs .gs-arrow {
    width: 48px;
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
}

.gs .gs-arrow:hover {
    border-color: #0090FF;
}

.gs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 56px 16px 20px;
}

.gs-lightbox[hidden] {
    display: none;
}

.gs .gs-lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 26px;
    color: #fff;
    line-height: 1;
}

.gs-lightbox-row {
    width: 100%;
    max-width: 1700px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gs-lightbox-frame {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    place-items: center;
}

.gs .gs-lightbox-frame img {
    grid-area: 1 / 1;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    border-radius: 6px;
    opacity: 0;
    transition: opacity .6s ease;
}

.gs .gs-lightbox-frame img.is-active {
    opacity: 1;
}

.gs-lightbox-count {
    margin-right: 0;
}

@media screen and (max-width: 600px) {
    .gs-lightbox-row .gs-arrow {
        display: none;
    }
}

/* ---------- ready in 3 steps ---------- */

.gs-how {
    padding-top: 40px;
}

.gs-steps {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.gs-step {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 24px 24px 26px;
    background: rgba(255, 255, 255, .03);
}

.gs-step-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gs-step-num {
    flex: none;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0090FF;
    border-radius: 4px;
    font-size: 24px;
    color: #0090FF;
}

.gs .gs-step h3 {
    font-size: 26px;
    line-height: 1.1;
}

.gs .gs-step p {
    margin-top: 18px;
}

.gs-step-arrow {
    flex: none;
    align-self: center;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 760px) {
    .gs-steps {
        flex-direction: column;
    }

    .gs-step-arrow {
        transform: rotate(90deg);
    }

    .gs-reveal .gs-step-arrow[data-reveal]:not(.is-in) {
        transform: rotate(90deg) translateX(20px);
    }
}

/* ---------- why gainsync ---------- */

.gs-why-block {
    margin-top: 90px;
}

.gs-why {
    position: relative;
    padding: 60px 0 40px;
}

.gs .gs-why .gs-h2 {
    margin-bottom: 56px;
}

.gs-reason {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 36px 60px;
}

.gs-reason + .gs-reason {
    margin-top: 90px;
}

.gs-reason-reverse {
    flex-direction: row-reverse;
}

.gs-reason-text {
    flex: 1 1 380px;
    min-width: 0;
}

.gs-reason-text-wide {
    flex-basis: 420px;
}

.gs-reason-media {
    flex: 1.15 1 420px;
    min-width: 0;
}

.gs-reason-media-small {
    flex: .8 1 300px;
    max-width: 360px;
}

.gs .gs-kicker {
    font-size: 16px;
    letter-spacing: 1px;
    color: #0090FF;
    text-align: left;
}

.gs .gs-reason h3 {
    margin: 6px 0 16px;
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1.08;
}

.gs .gs-video {
    width: 100%;
}

.gs .gs-illustration {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* ---------- download + price ---------- */

.gs-agree {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 28px;
}

.gs-agree-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.gs .gs-agree-box a {
    text-decoration: underline;
}

.gs-agree-note {
    font-size: 14px;
    color: #ccc;
}

.gs .gs-agree-error {
    flex: 1 1 100%;
    font-size: 14px;
    font-weight: 700;
    color: #ff4d4d;
    text-align: left;
}

.gs .gs-agree-error[hidden] {
    display: none;
}

.gs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 32px 40px;
}

.gs-card {
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 28px 30px 26px;
    display: flex;
    flex-direction: column;
}

.gs .gs-card-label {
    font-size: 24px;
}

.gs .gs-card-value {
    font-size: 64px;
    line-height: 1.05;
    color: #0090FF;
}

.gs .gs-vat {
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
}

.gs-ticks {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    flex: 1;
}

.gs-ticks li {
    display: flex;
    gap: 12px;
    padding: 5px 0;
}

.gs .gs-tick {
    flex: none;
    margin-top: 4px;
}

.gs .gs-btn-card {
    margin-top: 22px;
    width: 100%;
    font-size: 24px;
    padding: 8px 30px;
}

.gs .gs-card-note {
    margin-top: 10px;
    font-size: 13px;
    color: #ccc;
    text-align: center;
}

/* ---------- faq ---------- */

.gs-faq {
    border-top: 1px solid #fff;
}

.gs-faq details {
    border-bottom: 1px solid #fff;
}

.gs-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    font-weight: 700;
    font-size: 18px;
}

.gs-faq summary::-webkit-details-marker {
    display: none;
}

.gs .gs-faq-arrow {
    flex: none;
    transition: transform .2s;
}

.gs-faq details[open] .gs-faq-arrow {
    transform: rotate(-90deg);
}

.gs .gs-faq details p {
    margin: 0 0 18px;
}

/* ---------- contact ---------- */

.gs-contact-form {
    margin-top: 26px;
    max-width: 740px;
}

.gs-contact-form label {
    display: block;
    margin: 18px 0 6px;
    font-family: OswaldMedium, Helvetica, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ccc;
}

.gs-contact-form label:first-child {
    margin-top: 0;
}

.gs .gs-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 18px;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    border: 1px solid #555;
    border-radius: 4px;
}

.gs .gs-input:focus {
    border-color: #0090FF;
    outline: none;
}

.gs .gs-input-email {
    height: 50px;
    max-width: 420px;
}

.gs .gs-textarea {
    height: 200px;
    resize: vertical;
}

.gs .gs-contact-form .captcha-field {
    display: none;
}

.gs-contact-bottom {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gs #procaptcha-container-support {
    min-height: 74px;
}

.gs .gs-btn-send {
    height: 50px;
    font-size: 24px;
    padding: 8px 40px;
}

/* ---------- footer ---------- */

.gs-footer {
    margin-top: 90px;
    background: #0090FF;
    color: #111;
    overflow: hidden;
}

.gs-footer-inner {
    position: relative;
    min-height: 205px;
    padding: 14px 0 24px;
}

.gs-footer-logo {
    position: absolute;
    right: -60px;
    top: -145px;
}

.gs-footer-text {
    position: relative;
    max-width: min(430px, 100%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gs .gs-footer a {
    color: #111;
    text-decoration: underline;
}

.gs .gs-footer-name {
    font-size: 56px;
    line-height: 1.1;
}

.gs .gs-footer-small {
    font-size: 12px;
}

.gs .gs-footer-gap {
    margin-top: 14px;
}

.gs .gs-trademark {
    margin-top: 10px;
}

@media screen and (max-width: 700px) {
    .gs-footer-logo {
        opacity: .35;
    }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .gs-switcher-frame .gs-slide, .gs .gs-lightbox-frame img, .gs-header {
        transition: none;
    }
}
