/*
| Pre-launch page.
|
| Self-contained on purpose: the page does not load wireframe.css, so the site's
| dark-mode palette cannot reach it. The mockup is a light, sunlit composition and
| the photograph only works on white.
|
| @see resources/views/pages/coming-soon.blade.php
*/

.gl-launch-root {
    --launch-bg: #ffffff;
    --launch-ink: #0b1628;
    --launch-muted: #5b6474;
    --launch-soft: #8a919d;
    --launch-line: rgba(11, 22, 40, 0.10);
    --launch-gold: #b8894a;
    --launch-gold-light: #d8b377;
    --launch-gold-deep: #9c6f33;
    --launch-gold-soft: #faf5ec;
    --launch-danger: #b3261e;
    --launch-success: #2e6b3f;
    --launch-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

    color-scheme: light;
    background: var(--launch-bg);
    -webkit-text-size-adjust: 100%;
}

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

.gl-launch {
    margin: 0;
    min-height: 100vh;
    font-family: var(--launch-sans);
    color: var(--launch-ink);
    background:
        radial-gradient(120% 60% at 50% 0%, #fdfbf7 0%, rgba(255, 255, 255, 0) 60%),
        var(--launch-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.gl-launch svg {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gl-launch a {
    color: inherit;
}

.gl-launch :focus-visible {
    outline: 2px solid var(--launch-gold-deep);
    outline-offset: 3px;
}

.gl-launch-sr-only,
.gl-launch-hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gl-launch-gold {
    display: block;
    background: linear-gradient(100deg, var(--launch-gold-deep) 0%, var(--launch-gold-light) 45%, var(--launch-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ─── Language links ─────────────────────────────────────────────────── */

.gl-launch-langs {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.gl-launch-langs ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 4px;
    list-style: none;
    border: 1px solid var(--launch-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
}

.gl-launch-langs a {
    display: block;
    min-width: 40px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    color: var(--launch-muted);
}

.gl-launch-langs a:hover {
    color: var(--launch-ink);
    background: var(--launch-gold-soft);
}

.gl-launch-langs a[aria-current="true"] {
    color: #ffffff;
    background: linear-gradient(145deg, var(--launch-gold-light), var(--launch-gold-deep));
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.gl-launch-hero {
    position: relative;
    text-align: center;
}

.gl-launch-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(40px, 7vw, 72px) 16px 0;
}

.gl-launch-brand {
    margin: 0 0 clamp(28px, 5vw, 44px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gl-launch-brand__name {
    font-size: clamp(3rem, 9vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(180deg, var(--launch-gold-light) 0%, var(--launch-gold) 55%, var(--launch-gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gl-launch-brand__tagline {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--launch-ink);
}

.gl-launch-hero__title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: balance;
}

.gl-launch-hero__lede {
    max-width: 680px;
    margin: 20px auto 0;
    text-wrap: pretty;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    color: var(--launch-muted);
}

/* ─── Email field (the mockup's "Ask anything") ───────────────────────── */

.gl-launch-notify {
    max-width: 760px;
    margin: clamp(28px, 5vw, 40px) auto 0;
    scroll-margin-top: 24px;
}

.gl-launch-notify__form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 22px;
    background: #ffffff;
    border: 1px solid var(--launch-line);
    border-radius: 999px;
    box-shadow: 0 18px 40px -24px rgba(11, 22, 40, 0.28), 0 2px 6px rgba(11, 22, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gl-launch-notify__form:focus-within {
    border-color: var(--launch-gold-light);
    box-shadow: 0 18px 40px -24px rgba(156, 111, 51, 0.45), 0 0 0 4px rgba(216, 179, 119, 0.18);
}

.gl-launch-notify__form > svg {
    color: var(--launch-gold);
}

.gl-launch-notify__input {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1.02rem;
    color: var(--launch-ink);
}

.gl-launch-notify__input::placeholder {
    color: var(--launch-soft);
}

.gl-launch-notify__input:focus {
    outline: none;
}

.gl-launch-notify__submit {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, var(--launch-gold-light), var(--launch-gold-deep));
    box-shadow: 0 8px 18px -8px rgba(156, 111, 51, 0.7);
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.gl-launch-notify__submit:hover {
    filter: brightness(1.06);
    transform: translateX(2px);
}

.gl-launch-notify__error {
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: var(--launch-danger);
}

.gl-launch-notify__note {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: var(--launch-soft);
}

.gl-launch-notify__success {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 16px 24px;
    border: 1px solid rgba(46, 107, 63, 0.2);
    border-radius: 999px;
    background: #f1f8f3;
    color: var(--launch-success);
    font-weight: 500;
}

/* ─── What is coming ──────────────────────────────────────────────────── */

.gl-launch-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 820px;
    margin: 24px auto 0;
    padding: 0;
    list-style: none;
}

.gl-launch-pills li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px 13px 18px;
    border: 1px solid var(--launch-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.gl-launch-pills svg {
    width: 1.5em;
    height: 1.5em;
    color: var(--launch-gold);
}

/* ─── Countdown ───────────────────────────────────────────────────────── */

.gl-launch-countdown {
    margin: clamp(36px, 6vw, 52px) auto 0;
}

.gl-launch-countdown__label {
    margin: 0 0 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.gl-launch-countdown__units {
    display: inline-flex;
    font-variant-numeric: tabular-nums;
}

.gl-launch-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: clamp(76px, 16vw, 124px);
    padding: 0 clamp(8px, 2vw, 16px);
}

.gl-launch-countdown__unit + .gl-launch-countdown__unit {
    border-left: 1px solid var(--launch-line);
}

.gl-launch-countdown__value {
    font-size: clamp(2.1rem, 6vw, 2.6rem);
    font-weight: 600;
    line-height: 1;
    color: var(--launch-gold);
}

.gl-launch-countdown__name {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ─── Photograph ──────────────────────────────────────────────────────── */

.gl-launch-hero__visual {
    position: relative;
    margin-top: clamp(-150px, -9vw, -24px);
    overflow: hidden;
}

.gl-launch-hero__visual img {
    display: block;
    width: 100%;
    min-height: 260px;
    max-height: 560px;
    object-fit: cover;
    object-position: center 60%;
}

/* White fade into the page above and below, so the photograph has no hard edge. */
.gl-launch-hero__visual::before,
.gl-launch-hero__visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.gl-launch-hero__visual::before {
    top: 0;
    height: 38%;
    background: linear-gradient(180deg, var(--launch-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.gl-launch-hero__visual::after {
    bottom: 0;
    height: 22%;
    background: linear-gradient(0deg, var(--launch-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

/* ─── About ────────────────────────────────────────────────────────────── */

.gl-launch-about {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) 16px 0;
    text-align: center;
}

.gl-launch-about__lead {
    margin: 0;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--launch-ink);
    text-wrap: balance;
}

.gl-launch-about__text {
    margin: 18px 0 0;
    font-size: clamp(0.98rem, 2vw, 1.06rem);
    line-height: 1.7;
    color: var(--launch-muted);
    text-wrap: pretty;
}

/* ─── Audiences ───────────────────────────────────────────────────────── */

.gl-launch-audiences {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 48px) 16px 0;
    text-align: center;
}

.gl-launch-audiences__title {
    margin: 0;
    font-size: clamp(1.5rem, 3.6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gl-launch-audiences__title .gl-launch-gold {
    display: inline;
}

/* The number of company types comes from the admin, so rows are counted in
   CSS: four across on desktop, and no divider at the start of a row. */
.gl-launch-audiences__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 40px;
    margin: clamp(28px, 4vw, 44px) 0 0;
    padding: 0;
    list-style: none;
}

.gl-launch-audience {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 14px;
}

.gl-launch-audience + .gl-launch-audience {
    border-left: 1px solid var(--launch-line);
}

.gl-launch-audience:nth-child(4n + 1) {
    border-left: 0;
}

.gl-launch-audience__icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--launch-gold-soft);
    color: var(--launch-gold);
    box-shadow: inset 0 0 0 1px rgba(184, 137, 74, 0.12);
}

.gl-launch-audience__icon svg {
    width: 30px;
    height: 30px;
}

.gl-launch-audience__title {
    margin: 16px 0 6px;
    font-size: 0.98rem;
    font-weight: 600;
}

.gl-launch-audience__text {
    margin: 0;
    max-width: 22ch;
    font-size: 0.84rem;
    color: var(--launch-muted);
}

/* ─── FAQ ──────────────────────────────────────────────────────────────── */

.gl-launch-faq {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(56px, 8vw, 88px) 16px 0;
}

.gl-launch-faq__title {
    margin: 0 0 clamp(24px, 4vw, 36px);
    font-size: clamp(1.5rem, 3.6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    text-align: center;
}

.gl-launch-faq__list {
    border-top: 1px solid var(--launch-line);
}

.gl-launch-faq__item {
    border-bottom: 1px solid var(--launch-line);
}

.gl-launch-faq__item summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 4px;
    list-style: none;
    cursor: pointer;
}

.gl-launch-faq__item summary::-webkit-details-marker {
    display: none;
}

.gl-launch-faq__number {
    flex: none;
    min-width: 2ch;
    font-size: 0.85rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--launch-gold);
}

.gl-launch-faq__question {
    flex: 1;
    margin: 0;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.4;
}

.gl-launch-faq__item summary > svg {
    color: var(--launch-soft);
    transition: transform 0.2s ease;
}

.gl-launch-faq__item[open] summary > svg {
    transform: rotate(180deg);
    color: var(--launch-gold);
}

.gl-launch-faq__item summary:hover .gl-launch-faq__question {
    color: var(--launch-gold-deep);
}

.gl-launch-faq__answer {
    margin: 0;
    padding: 0 40px 22px calc(2ch + 22px);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--launch-muted);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

.gl-launch-footer {
    padding: clamp(40px, 6vw, 64px) 16px 40px;
    text-align: center;
}

.gl-launch-footer__rule {
    display: block;
    width: 52px;
    height: 2px;
    margin: 0 auto 22px;
    background: var(--launch-gold);
}

.gl-launch-footer p {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--launch-muted);
}

/* ─── Smaller screens ─────────────────────────────────────────────────── */

@media (max-width: 860px) {
    .gl-launch-audiences__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 32px;
    }

    .gl-launch-audience:nth-child(4n + 1) {
        border-left: 1px solid var(--launch-line);
    }

    .gl-launch-audience:nth-child(3n + 1) {
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .gl-launch-pills {
        gap: 10px;
    }

    .gl-launch-pills li {
        padding: 10px 16px 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 520px) {
    .gl-launch-hero__inner {
        padding-top: 76px;
    }

    .gl-launch-notify__form {
        padding-left: 16px;
    }

    .gl-launch-notify__form > svg {
        display: none;
    }

    .gl-launch-notify__input {
        font-size: 0.92rem;
    }

    .gl-launch-countdown__unit {
        min-width: 0;
        padding: 0 10px;
    }

    .gl-launch-countdown__name {
        letter-spacing: 0.12em;
    }

    .gl-launch-brand__tagline {
        letter-spacing: 0.24em;
    }

    .gl-launch-audiences__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-launch-audience:nth-child(3n + 1),
    .gl-launch-audience:nth-child(4n + 1) {
        border-left: 1px solid var(--launch-line);
    }

    .gl-launch-audience:nth-child(2n + 1) {
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .gl-launch-faq__item summary {
        gap: 12px;
        padding: 18px 0;
    }

    .gl-launch-faq__answer {
        padding: 0 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gl-launch-faq__item summary > svg,
    .gl-launch-notify__form,
    .gl-launch-notify__submit {
        transition: none;
    }
}
