:root {
    --ink: #071a35;
    --blue: #1479e8;
    --blue-light: #43b9ff;
    --sky-top: #eef9ff;
    --sky-bottom: #c7edff;
    --sun: #ffbd32;
    --green: #1fbd78;
    --paper: #ffffff;
    --muted: #526984;
    --border: #0a1f38;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,.98), transparent 30rem),
        linear-gradient(180deg, #f7fcff 0%, #d8eeff 100%);
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.page {
    min-height: 100vh;
    padding: 18px 26px;
    display: grid;
    place-items: center;
}

.shell {
    width: min(1180px, 100%);
    min-height: min(920px, calc(100vh - 36px));
    overflow: hidden;
    position: relative;
    border: 3px solid var(--border);
    border-radius: 43px;
    background: var(--paper);
    box-shadow: 0 26px 70px rgba(20, 70, 120, .15);
}

.topbar {
    height: 92px;
    padding: 16px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,.96);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.025em;
}

.brandmark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #1680ec, #0752a7);
    box-shadow: 0 8px 20px rgba(23,119,229,.25);
    transform: rotate(-6deg);
}

.brandmark img {
    display: block;
    width: 28px;
    height: 28px;
    transform: rotate(6deg);
}

.brandname {
    font-size: 1.4rem;
    line-height: .92;
}

.brandname small {
    display: block;
    margin-top: 6px;
    color: #62738a;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .22em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .85rem;
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1.5px solid #d6e4f1;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
}

.statusdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(31,189,120,.11);
}

.hero {
    min-height: 790px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 33% 97%, rgba(255,255,255,.46) 0 12%, transparent 12.4%),
        radial-gradient(ellipse at 74% 108%, rgba(255,255,255,.43) 0 23%, transparent 23.4%),
        linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}

/* Left content is deliberately wider than v2 so the headline remains exactly two lines. */
.copy {
    width: 55%;
    padding: 64px 18px 100px 56px;
    position: relative;
    z-index: 5;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #0c61b7;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .19em;
}

.kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--sun);
}

h1 {
    margin: 0;
    font-size: clamp(3.85rem, 5.45vw, 5.15rem);
    line-height: .99;
    letter-spacing: -.028em;
    font-weight: 850;
}

.headline-line {
    display: block;
    white-space: nowrap;
}

.coders {
    margin: 24px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
}

.subtitle {
    max-width: 545px;
    margin: 20px 0 26px;
    color: #3f5873;
    font-size: 1rem;
    line-height: 1.75;
}

.formcard {
    width: min(540px, 100%);
    padding: 14px 15px 13px;
    border: 1.5px solid rgba(15,94,170,.14);
    border-radius: 20px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 16px 35px rgba(38,92,145,.11);
}

.formtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 1px 11px;
}

.formicon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, #1680ec, #43b9ff);
    box-shadow: 0 5px 12px rgba(23,119,229,.16);
}

.formicon img {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.formcopy {
    display: block;
    min-width: 0;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.25;
}

.formcopy strong {
    display: block;
    margin: 0 0 2px;
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.15;
}

.formcopy span {
    display: block;
    margin: 0;
}

form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

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

input[type=email] {
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1.5px solid #cad8e6;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

input[type=email]:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(23,119,229,.11);
}

button {
    min-height: 48px;
    border: 0;
    padding: 0 18px;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #1677e5, #2498ff);
    font-weight: 900;
    box-shadow: 0 9px 18px rgba(23,119,229,.22);
}

button:hover {
    transform: translateY(-1px);
}

button:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.formnote {
    min-height: 18px;
    margin: 8px 3px 0;
    color: #65758b;
    font-size: .76rem;
    line-height: 1.25;
}

.formnote.ok {
    color: #087949;
}

.formnote.error {
    color: #a92c3c;
}

.micro {
    margin: 7px 3px 0;
    color: #637a95;
    font-size: .69rem;
    line-height: 1.45;
}

/*
 * Right illustration is positioned independently from the copy.
 * This prevents the left column from squeezing the illustration out of view.
 */
.art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 65px;
    width: 50%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.artwork {
    position: absolute;
    right: -8px;
    bottom: 0;
    width: min(590px, 100%);
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 18px rgba(40,85,120,.09));
}

.cloud {
    position: absolute;
    width: 110px;
    height: 32px;
    top: 105px;
    right: 58px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow:
        -34px 9px 0 -4px rgba(255,255,255,.92),
        35px 8px 0 -7px rgba(255,255,255,.92);
}

.cloud.c2 {
    width: 77px;
    top: 260px;
    left: 20px;
    transform: scale(.78);
    opacity: .83;
}

.plane {
    position: absolute;
    right: 45px;
    top: 190px;
    width: 118px;
    height: auto;
    z-index: 4;
    animation: float 5s ease-in-out infinite;
}

.flightpath {
    position: absolute;
    width: 300px;
    height: 145px;
    top: 210px;
    right: 100px;
    border-top: 4px dashed rgba(255,255,255,.9);
    border-radius: 50%;
    transform: rotate(-13deg);
}

@keyframes float {
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    min-height: 65px;
    padding: 14px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(248,252,255,.93);
    border-top: 1px solid rgba(15,65,110,.08);
    font-size: .78rem;
}

.features {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 850;
}

.feature i {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-style: normal;
    background: #fff;
    border: 1px solid #d8e7f4;
}

.copyright {
    color: #506b87;
    text-align: right;
}

@media (max-width: 1000px) {
    .copy {
        width: 59%;
        padding-left: 42px;
    }

    h1 {
        font-size: clamp(3.45rem, 6.1vw, 4.5rem);
    }

    .art {
        width: 48%;
    }

    .artwork {
        width: 520px;
        right: -55px;
    }
}

@media (max-width: 820px) {
    .page {
        padding: 12px;
    }

    .shell {
        min-height: calc(100vh - 24px);
        border-radius: 30px;
    }

    .topbar {
        height: 78px;
        padding: 13px 22px;
    }

    .nav .desktop {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-bottom: 65px;
    }

    .copy {
        width: 100%;
        padding: 50px 28px 24px;
        text-align: center;
    }

    .kicker {
        justify-content: center;
    }

    h1 {
        font-size: clamp(3.2rem, 10vw, 4.2rem);
    }

    .subtitle,
    .formcard {
        margin-left: auto;
        margin-right: auto;
    }

    .art {
        position: relative;
        width: 100%;
        height: 455px;
        inset: auto;
    }

    .artwork {
        right: 50%;
        transform: translateX(50%);
        width: min(560px, 96%);
    }

    .cloud {
        right: 16%;
        top: 45px;
    }

    .cloud.c2 {
        left: 14%;
        top: 170px;
    }

    .plane {
        right: 10%;
        top: 120px;
    }

    .flightpath {
        right: 17%;
        top: 142px;
    }

    .footer {
        position: relative;
        flex-direction: column;
        text-align: center;
    }

    .features {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .page {
        padding: 0;
    }

    .shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .topbar {
        padding: 11px 16px;
    }

    .brandname {
        font-size: 1.08rem;
    }

    .brandmark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .brandname small {
        font-size: .44rem;
    }

    .pill {
        padding: 8px 10px;
    }

    .copy {
        padding: 42px 18px 18px;
    }

    h1 {
        font-size: clamp(2.72rem, 13vw, 3.55rem);
        letter-spacing: -.035em;
    }

    .coders {
        font-size: 2rem;
    }

    form {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }

    .art {
        height: 375px;
    }

    .artwork {
        width: 500px;
        max-width: 108%;
    }

    .plane {
        right: 4%;
        top: 110px;
        width: 88px;
    }

    .flightpath {
        width: 220px;
        right: 10%;
        top: 132px;
    }

    .cloud {
        right: 6%;
        top: 35px;
        transform: scale(.72);
    }

    .cloud.c2 {
        display: none;
    }

    .features {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
