/**
 * Tuetur Pre-Launch — light, premium HSE SaaS (managed from landing_pages.content.prelaunch).
 */
.prelaunch-page {
    --pl-bg: #ffffff;
    --pl-bg-soft: #f4f9f9;
    --pl-surface: #ffffff;
    --pl-text: #0f1f2e;
    --pl-text-muted: #4a5c6d;
    --pl-teal: #006666;
    --pl-teal-hover: #005252;
    --pl-teal-soft: rgba(0, 102, 102, 0.08);
    --pl-orange: #c45c1a;
    --pl-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --pl-shell-width: min(1500px, calc(100% - clamp(3rem, 8vw, 6rem)));

    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--pl-font);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--pl-text);
    background: var(--pl-bg);
    -webkit-font-smoothing: antialiased;
}

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

.prelaunch {
    display: flex;
    flex-direction: column;
    width: var(--pl-shell-width);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Header */
.prelaunch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: clamp(1.125rem, 2.2vh, 1.625rem);
    flex-shrink: 0;
}

.prelaunch-brand-block {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.prelaunch-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--pl-text);
    flex-shrink: 0;
}

.prelaunch-brand__wordmark {
    font-size: clamp(1.1875rem, 1.1vw + 0.75rem, 1.4375rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prelaunch-brand__logo {
    max-height: clamp(2rem, 2.5vw, 2.375rem);
    width: auto;
    max-width: 10rem;
    object-fit: contain;
}

.prelaunch-brand__strapline {
    margin: 0 0 0 clamp(1rem, 1.5vw, 1.375rem);
    padding-left: clamp(1rem, 1.5vw, 1.375rem);
    border-left: 1px solid rgba(15, 31, 46, 0.14);
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
    font-size: clamp(0.6875rem, 0.45vw + 0.5rem, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--pl-text-muted);
    line-height: 1.35;
}

.prelaunch-header__actions {
    display: flex;
    align-items: center;
    gap: clamp(0.875rem, 1.5vw, 1.25rem);
    flex-shrink: 0;
}

.prelaunch-header__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #ffffff;
    background: var(--pl-teal);
    padding: 0.625rem 1.375rem;
    border-radius: 9px;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 102, 102, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.prelaunch-header__link:hover {
    color: #ffffff;
    background: var(--pl-teal-hover);
    box-shadow: 0 4px 14px rgba(0, 102, 102, 0.22);
}

.prelaunch-header__link:focus-visible {
    outline: 2px solid var(--pl-teal);
    outline-offset: 3px;
}

.prelaunch-header .locale-switcher--landing {
    margin: 0;
}

.prelaunch-header .locale-switcher-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 6.25rem;
    padding: 0.5rem 2rem 0.5rem 0.875rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pl-text);
    background-color: var(--pl-surface);
    border: 1px solid rgba(15, 31, 46, 0.14);
    border-radius: 9px;
    cursor: pointer;
    line-height: 1.25;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%234a5c6d' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    background-size: 9px 6px;
    transition: border-color 0.2s ease;
}

.prelaunch-header .locale-switcher-select:hover,
.prelaunch-header .locale-switcher-select:focus {
    border-color: rgba(0, 102, 102, 0.35);
    outline: none;
}

html[dir="rtl"] .prelaunch-header .locale-switcher-select {
    padding: 0.5rem 0.875rem 0.5rem 2rem;
    background-position: left 0.625rem center;
}

/* Main / hero grid */
.prelaunch-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: clamp(0.75rem, 2.5vh, 1.25rem) clamp(1.5rem, 4vh, 2.5rem);
}

@media (min-width: 768px) {
    .prelaunch-main {
        padding-top: clamp(0.5rem, 1.5vh, 1rem);
        padding-bottom: clamp(1.25rem, 3vh, 2rem);
    }
}

@media (min-width: 1280px) {
    .prelaunch-main {
        padding-top: 0.25rem;
    }
}

.prelaunch-main__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.75rem);
    align-items: center;
}

@media (min-width: 768px) {
    .prelaunch-main__grid {
        grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
        gap: clamp(1rem, 2vw, 1.75rem);
        align-items: start;
    }
}

.prelaunch-copy {
    max-width: none;
}

@media (min-width: 768px) {
    .prelaunch-copy {
        padding-inline-end: clamp(0.5rem, 2vw, 1.5rem);
    }
}

.prelaunch-eyebrow {
    margin: 0 0 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pl-teal);
}

.prelaunch-headline {
    margin: 0 0 1.25rem;
    font-size: clamp(2.125rem, 2.05vw + 1.75rem, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.024em;
    color: var(--pl-text);
    max-width: none;
}

.prelaunch-headline__prefix,
.prelaunch-headline__suffix {
    display: inline;
}

.prelaunch-headline__highlight {
    display: inline;
    color: var(--pl-teal);
}

.prelaunch-lead {
    margin: 0 0 1.375rem;
    max-width: 40rem;
    font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
    line-height: 1.68;
    color: var(--pl-text-muted);
}

/* Hero CTA row */
.prelaunch-cta {
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.prelaunch-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #ffffff;
    background: var(--pl-teal);
    padding: 0.6875rem 1.5rem;
    border-radius: 9px;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 102, 102, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.prelaunch-cta__button:hover {
    color: #ffffff;
    background: var(--pl-teal-hover);
    box-shadow: 0 4px 14px rgba(0, 102, 102, 0.22);
}

.prelaunch-cta__text {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--pl-text);
}

.prelaunch-cta__support {
    margin: 0;
    max-width: 26rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--pl-text-muted);
}

/* Benefit row */
.prelaunch-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem clamp(1rem, 2.5vw, 2rem);
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.prelaunch-benefit {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pl-teal);
    letter-spacing: 0.01em;
}

.prelaunch-benefit__check {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--pl-teal);
    opacity: 0.85;
}

.prelaunch-closing {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pl-text-muted);
}

.prelaunch-closing::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2px;
    margin-inline-end: 0.75rem;
    vertical-align: middle;
    background: var(--pl-teal);
    opacity: 0.9;
}

/* Hero visual */
.prelaunch-visual {
    position: relative;
    min-height: clamp(18rem, 52vh, 32rem);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    padding: clamp(0.25rem, 1.5vw, 0.75rem) 0;
}

@media (min-width: 768px) {
    .prelaunch-visual {
        min-height: clamp(22rem, 58vh, 36rem);
        justify-content: flex-end;
        padding-inline-start: clamp(0.5rem, 2vw, 1.25rem);
    }
}

.prelaunch-visual::before {
    content: "";
    position: absolute;
    inset: 5% 0 5% 10%;
    background: radial-gradient(ellipse 85% 75% at 55% 45%, var(--pl-teal-soft) 0%, transparent 72%);
    z-index: 0;
    pointer-events: none;
}

.prelaunch-visual__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    max-height: min(86vh, 48rem);
    object-fit: contain;
    object-position: center right;
}

@media (min-width: 768px) {
    .prelaunch-visual__img {
        width: min(100%, 52vw);
        max-height: min(82vh, 46rem);
    }
}

/* Lower value strip */
.prelaunch-values {
    margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
    padding-top: clamp(1.25rem, 2.5vh, 1.75rem);
    border-top: 1px solid rgba(15, 31, 46, 0.1);
    width: 100%;
}

.prelaunch-values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 768px) {
    .prelaunch-values__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
}

.prelaunch-value {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.875rem 1rem;
    align-items: start;
}

.prelaunch-value__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--pl-teal);
    flex-shrink: 0;
}

.prelaunch-value__icon-svg {
    width: 1.375rem;
    height: 1.375rem;
}

.prelaunch-value__title {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--pl-text);
    line-height: 1.3;
}

.prelaunch-value__description {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--pl-text-muted);
}

.prelaunch-visual--empty .prelaunch-visual__placeholder {
    position: relative;
    z-index: 1;
    width: min(100%, 28rem);
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 35% 30%, rgba(0, 102, 102, 0.06) 0%, transparent 58%),
        linear-gradient(160deg, #ffffff 0%, var(--pl-bg-soft) 100%);
    border: 1px solid rgba(0, 102, 102, 0.06);
    box-shadow: 0 20px 40px rgba(15, 31, 46, 0.04);
}

/* Footer */
.prelaunch-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
    padding-block: 1.125rem 1.375rem;
    border-top: 1px solid rgba(15, 31, 46, 0.1);
    flex-shrink: 0;
    width: 100%;
}

.prelaunch-footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--pl-text-muted);
}

.prelaunch-footer__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem clamp(1rem, 2.5vw, 2rem);
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pl-text-muted);
}

@media (max-width: 767.98px) {
    .prelaunch {
        width: calc(100% - clamp(1.5rem, 6vw, 2.5rem));
    }

    .prelaunch-header {
        flex-direction: column;
        align-items: stretch;
    }

    .prelaunch-brand-block {
        flex-wrap: wrap;
    }

    .prelaunch-brand__strapline {
        margin-left: 0;
        margin-top: 0.75rem;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(15, 31, 46, 0.1);
        padding-top: 0.75rem;
        width: 100%;
    }

    .prelaunch-header__actions {
        justify-content: space-between;
    }

    .prelaunch-main__grid {
        grid-template-columns: 1fr;
    }

    .prelaunch-visual {
        order: 2;
        min-height: 12rem;
    }

    .prelaunch-copy {
        order: 1;
    }

    .prelaunch-headline {
        font-size: clamp(1.875rem, 7.5vw, 2.375rem);
        max-width: none;
        line-height: 1.12;
    }

    .prelaunch-lead {
        max-width: none;
    }

    .prelaunch-footer__items {
        justify-content: flex-start;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prelaunch-header__link,
    .prelaunch-header .locale-switcher-select,
    .prelaunch-cta__button {
        transition: none;
    }
}
