/* ═══════════════════════════════════════════════════════════════════
   GTN – Get To Node — page-specific styles only.
   Base styles (header, nav, .hero, .butt, .about-box, .specialization-box,
   contact card, footer) come from ../css/screen.css.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shared text ───────────────────────────────────────────────────── */
.ls-sub {
    font-size: 1.938rem;
    line-height: 2.907rem;
    margin-top: 64px;
    max-width: 80%;
    text-align: center;
}

.ls-sub--left {
    text-align: left;
    max-width: 100%;
    width: 100%;
}

.about-box p.ls-sub {
    width: auto;
}

/* ── Hero: let it grow with its content so it never runs into the next title ── */
#first-view {
    height: auto;
    min-height: 100vh;
}

.hero {
    padding-top: 64px;
    padding-bottom: 128px;
}

/* ── Hero: tagline and Discover / Connect / Organize ────────────────── */
.hero p.ls-tagline {
    font-size: 2.907rem;
    line-height: 3.6rem;
    font-weight: 500;
    margin-top: 0;
}

.ls-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 40px 0 16px;
    padding: 0;
}

.ls-pillars li {
    font-size: 1.454rem;
    font-weight: 500;
    padding: 10px 28px;
    border: 3.2px solid #FFFFFF;
    border-radius: 999px;
}

/* ── Floating "Become an early bird" button ────────────────────────── */
.ls-float {
    position: fixed;
    right: 48px;
    bottom: 48px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    font-size: 1.454rem;
    font-weight: 500;
    color: #000000 !important;
    background-color: #FFFFFF;
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.12);
    animation: ls-float 3.2s ease-in-out infinite;
    transition: opacity 0.35s ease, visibility 0.35s ease, background-color 0.15s ease;
}

.ls-float:hover {
    background-color: #CCCCCC;
}

.ls-float:focus-visible {
    outline: 3.2px solid #FFFFFF;
    outline-offset: 6px;
}

.ls-float.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes ls-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .ls-float { animation: none; }
}

/* ── What is GTN: text + illustration ──────────────────────────────── */
.ls-what {
    flex-wrap: nowrap;
    align-items: center;
    gap: 96px;
}

.ls-what__text {
    flex: 1;
}

.ls-what__text p {
    width: 100%;
}

.ls-what__text p + p {
    margin-top: 32px;
}

.ls-mock {
    flex: none;
    width: 380px;
    max-width: 100%;
    margin: 0;
}

.ls-mock figcaption {
    font-size: 1rem;
    margin-top: 16px;
    text-align: center;
}

/* ── Feature grid ──────────────────────────────────────────────────── */
.ls-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px 96px;
    margin-top: 96px;
    width: 100%;
}

.ls-grid__item h3 {
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.ls-grid__item p {
    font-size: 1.454rem;
    line-height: 2.175rem;
}

/* ── Steps ─────────────────────────────────────────────────────────── */
.ls-how {
    align-items: flex-start;
}

.ls-steps {
    margin-top: 64px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ls-step {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ls-step__num {
    font-size: 1.454rem;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 64px;
}

.ls-step h3 {
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-box .ls-step p {
    width: 100%;
}

/* ── Branches ──────────────────────────────────────────────────────── */
.ls-branches {
    width: 100%;
    gap: 64px;
}

.ls-branch {
    flex: 1;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    padding: 64px;
}

.ls-branch:first-child {
    border-color: #FFFFFF;
}

.ls-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border: 1.6px solid currentColor;
    border-radius: 999px;
    margin-bottom: 32px;
}

.ls-branch h3 {
    margin-bottom: 24px;
}

.ls-branch > p {
    font-size: 1.454rem;
    line-height: 2.175rem;
}

.specialization-frame .ls-branch ul {
    margin-top: 32px;
    padding-left: 1.2em;
}

.specialization-frame .ls-branch ul li {
    font-size: 1.454rem;
    line-height: 2.4rem;
}

/* ── Technology ────────────────────────────────────────────────────── */
.ls-tech {
    align-items: flex-start;
}

.ls-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 96px;
    width: 100%;
}

.ls-tech-card {
    border-top: 3.2px solid #FFFFFF;
    padding-top: 32px;
}

.ls-tech-card__num {
    display: block;
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.ls-tech-card h3 {
    font-size: 1.454rem;
    font-weight: 700;
}

.about-box .ls-tech-card p {
    width: 100%;
    font-size: 1.25rem;
    line-height: 2rem;
}

.about-box .ls-tech-card p.ls-tech-card__role {
    font-size: 1.454rem;
    font-weight: 500;
    opacity: 1;
    margin: 8px 0 24px;
}

.ls-privacy {
    margin-top: 96px;
    width: 100%;
    padding: 64px;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
}

.ls-privacy h3 {
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.ls-privacy ul {
    padding-left: 1.2em;
}

.ls-privacy li {
    font-size: 1.454rem;
    line-height: 2.4rem;
}

/* ── Early-access form ─────────────────────────────────────────────── */
.ls-signup {
    display: flex;
    justify-content: center;
    padding: 192px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ls-signup__inner {
    max-width: 1000px;
    width: 100%;
}

.ls-signup__inner h2 {
    font-size: 2.907rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.ls-signup__inner > p {
    font-size: 1.938rem;
    line-height: 2.907rem;
    margin-bottom: 64px;
}

.ls-row {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ls-field {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ls-field > label,
.ls-choice legend {
    font-size: 1.25rem;
    font-weight: 500;
}

.ls-field input[type="text"],
.ls-field input[type="email"],
.ls-field select {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.454rem;
    background-color: #000000;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #FFFFFF;
    padding: 16px 24px;
    outline: none;
    width: 100%;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ls-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ls-field input:focus,
.ls-field select:focus {
    border-color: #FFFFFF;
}

.ls-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
    cursor: pointer;
}

.ls-field select option {
    background: #111111;
    color: #FFFFFF;
}

.ls-field.is-invalid input {
    border-color: #FF6B6B;
}

/* Branch choice as pill buttons */
.ls-choice {
    border: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 0;
}

.ls-choice legend {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
}

.ls-choice > label {
    cursor: pointer;
    opacity: 1;
}

.ls-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ls-choice span {
    display: inline-block;
    font-size: 1.454rem;
    padding: 12px 28px;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    transition: all 0.15s ease;
}

.ls-choice label:hover span {
    border-color: rgba(255, 255, 255, 0.6);
}

.ls-choice input:checked + span {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #000000;
    font-weight: 500;
}

.ls-choice input:focus-visible + span {
    outline: 3.2px solid #FFFFFF;
    outline-offset: 4px;
}

.ls-consent {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 16px;
    font-size: 1.1rem;
    line-height: 1.6;
    cursor: pointer;
}

.ls-consent input {
    width: 22px;
    height: 22px;
    margin: 3px 0 0;
    flex: none;
    accent-color: #FFFFFF;
}

.ls-consent a {
    text-decoration: underline !important;
}

.ls-consent.is-invalid {
    color: #FF6B6B;
    opacity: 1;
}

.ls-actions {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.ls-actions .butt {
    margin-top: 0;
}

.ls-note {
    font-size: 1rem;
}

.ls-msg {
    font-size: 1.25rem;
    margin-top: 24px;
}

.ls-msg:empty {
    display: none;
}

.ls-msg.is-error {
    color: #FF6B6B;
}

.ls-success {
    font-size: 1.938rem;
    line-height: 2.907rem;
    padding: 48px;
    border: 3.2px solid #FFFFFF;
    border-radius: 32px;
}

.ls-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Button inside .butt (same as the COS form) */
.butt > button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 57.6px;
    margin: -7px -32px 0;
    padding: 0 32px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.938rem;
    font-weight: 500;
    line-height: 1.938rem;
    color: #000000;
    cursor: pointer;
}

.butt > button:disabled {
    opacity: 0.5;
    cursor: progress;
}

.butt > button:focus-visible {
    outline: 3.2px solid #FFFFFF;
    outline-offset: 6px;
}

[hidden] {
    display: none !important;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 100em) {
    .ls-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 80em) {
    .ls-tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 64em) {
    .ls-sub {
        max-width: 100%;
        text-align: left;
    }

    .ls-what {
        flex-direction: column;
        gap: 64px;
    }

    .ls-mock {
        width: 320px;
    }

    .ls-grid,
    .ls-tech-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 64px;
    }

    .ls-step {
        flex-direction: column;
        gap: 16px;
    }

    .ls-branches {
        padding: 0;
    }

    .ls-branch,
    .ls-privacy {
        padding: 32px;
    }

    .ls-signup {
        padding: 64px 32px;
    }

    .hero {
        padding-top: 0;
        padding-bottom: 64px;
    }

    .hero p.ls-tagline {
        font-size: 1.938rem;
        line-height: 2.6rem;
    }

    .ls-pillars {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .ls-pillars li {
        font-size: 1rem;
        padding: 6px 14px;
        border-width: 2px;
    }

    .ls-float {
        right: 50%;
        bottom: 24px;
        transform: translateX(50%);
        animation: none;
        padding: 14px 28px;
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .ls-row {
        flex-direction: column;
        gap: 24px;
    }

    .ls-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}
