:root {
    --navy: #020d22;
    --navy2: #071731;

    --text: #07142c;
    --muted: #627694;
    --muted2: #8a9ab0;

    --cyan: #08cec9;
    --blue: #078fce;

    --border: #dce7f4;
    --border-soft: #e9eff6;

    --gradient:
        linear-gradient(
            100deg,
            #08d2c7,
            #078ed1
        );
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body {
    color: var(--text);

    background: white;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


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


button,
input {
    font: inherit;
}


/* HEADER */

.site-header {
    height: 64px;

    padding:
        0
        50px;

    display: grid;

    grid-template-columns:
        320px
        1fr
        320px;

    align-items: center;

    color: white;

    background:
        linear-gradient(
            90deg,
            #01091c,
            #03132b,
            #01091b
        );
}


.brand {
    display: flex;
    align-items: center;

    gap: 8px;
}


.brand-mark {
    color: #13d4ce;

    font-size: 50px;
    line-height: .7;
}


.brand-word {
    font-size: 21px;

    letter-spacing: .22em;
}


.brand-word span {
    color: var(--cyan);
}


.site-header nav {
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 40px;

    font-size: 12px;
}


.header-actions {
    display: flex;
    justify-content: flex-end;

    gap: 15px;
}


.login-link,
.signup-link {
    min-width: 112px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    font-size: 12px;
}


.login-link {
    border:
        1px solid
        #2e415d;
}


.signup-link {
    min-width: 140px;

    background: var(--gradient);
}


/* MAIN LAYOUT */

.registration-layout {
    min-height:
        calc(
            100vh - 142px
        );

    display: grid;

    grid-template-columns:
        52%
        48%;

    padding:
        28px
        52px
        12px;
}


/* LEFT */

.visual-panel {
    position: relative;

    min-height: 700px;

    padding:
        15px
        38px
        0
        0;

    overflow: hidden;
}


.eyebrow {
    color: #079fcf;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .16em;
}


.visual-panel h1 {
    margin:
        15px
        0
        15px;

    font-size: 59px;
    line-height: .96;

    letter-spacing: -.05em;
}


.visual-panel h1 span {
    color: transparent;

    background: var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;
}


.visual-intro {
    width: 48%;

    margin: 0;

    color: #5f7290;

    font-size: 15px;
    line-height: 1.55;
}


.network-visual {
    position: absolute;

    right: 20px;
    top: 65px;

    width: 54%;
    height: 440px;

    background:
        radial-gradient(
            circle,
            rgba(11,198,207,.10),
            transparent 62%
        );
}


.network-visual svg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.network-visual line {
    stroke: #12bfd2;
    stroke-width: 1.5;
}


.center-node {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 92px;
    height: 92px;

    transform:
        translate(-50%,-50%);

    display: grid;
    place-items: center;

    border:
        4px solid
        #09c8d1;

    border-radius: 50%;

    color: #13d7d0;

    background:
        radial-gradient(
            circle,
            #0d2842,
            #010817
        );

    font-size: 61px;

    box-shadow:
        0 10px 30px
        rgba(0,130,190,.23);
}


.person {
    position: absolute;

    width: 108px;
    height: 108px;

    padding: 3px;

    border:
        2px solid
        #18c9d4;

    border-radius: 50%;

    background: white;
}


.person img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


.person-1 {
    left: 39%;
    top: 0;
}


.person-2 {
    left: 3%;
    top: 40%;
}


.person-3 {
    right: 0;
    top: 31%;
}


.person-4 {
    left: 44%;
    bottom: 0;
}


.bubble {
    position: absolute;

    padding:
        7px
        11px;

    border:
        1px solid
        #b7dff2;

    border-radius: 6px;

    color: #49647f;

    background: white;

    font-size: 9px;

    box-shadow:
        0 3px 10px
        rgba(10,50,80,.05);
}


.bubble-1 {
    left: 8%;
    top: 24%;
}


.bubble-2 {
    right: 1%;
    top: 11%;
}


.bubble-3 {
    right: 0;
    top: 53%;
}


.bubble-4 {
    left: 0;
    bottom: 15%;
}


.social-stats {
    position: absolute;

    left: 0;
    bottom: 185px;

    display: flex;
}


.social-stats > div {
    min-width: 140px;

    padding:
        0
        25px;

    border-right:
        1px solid
        #dfe6ef;
}


.social-stats > div:first-child {
    padding-left: 0;
}


.social-stats strong {
    display: block;

    font-size: 18px;
}


.social-stats span {
    display: block;

    margin-top: 6px;

    color: #6c819e;

    font-size: 9px;
}


.testimonial {
    position: absolute;

    left: 0;
    bottom: 20px;

    width: 500px;

    min-height: 110px;

    padding:
        18px
        25px;

    display: grid;

    grid-template-columns:
        70px
        1fr;

    gap: 18px;

    align-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background: white;
}


.testimonial img {
    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 50%;
}


.testimonial p {
    margin: 0;

    color: #3f5676;

    font-size: 12px;
    line-height: 1.5;

    font-style: italic;
}


.testimonial span {
    display: block;

    margin-top: 10px;

    color: #8b9ab0;

    font-size: 10px;
}


.handwritten {
    position: absolute;

    right: 45px;
    bottom: 17px;

    color: #203f75;

    font-family:
        Georgia,
        serif;

    font-style: italic;

    font-size: 22px;
    line-height: 1.25;

    transform: rotate(-9deg);
}


.handwritten span {
    display: block;

    width: 90px;
    height: 4px;

    margin:
        8px
        0
        0
        15px;

    background: var(--cyan);

    transform: rotate(-8deg);
}


/* CARD */

.registration-card {
    min-height: 690px;

    display: grid;

    grid-template-columns:
        minmax(0,1.12fr)
        minmax(300px,.88fr);

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: white;

    box-shadow:
        0 6px 28px
        rgba(10,40,70,.035);

    overflow: hidden;
}


.form-column {
    padding:
        27px
        28px;
}


.step-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}


.step-heading h2 {
    margin:
        5px
        0
        5px;

    font-size: 39px;
    line-height: 1;
}


.step-heading p {
    margin: 0;

    max-width: 360px;

    color: #677a98;

    font-size: 12px;
    line-height: 1.45;
}


.steps {
    display: flex;
    align-items: center;

    gap: 6px;
}


.steps span {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    border:
        1px solid
        #d7e3f1;

    border-radius: 50%;

    color: #7390b3;

    font-size: 9px;
}


.steps span.active {
    border-color: #075b7f;

    color: white;

    background: #075b7f;
}


.steps i {
    width: 20px;

    border-top:
        1px dashed
        #c6d5e6;
}


.two-columns {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 14px;
}


.field {
    display: block;

    margin-bottom: 12px;
}


.field > span {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;
    font-weight: 700;
}


.field input {
    width: 100%;
    height: 43px;

    padding:
        0
        13px;

    border:
        1px solid
        #d9e4f1;

    border-radius: 7px;

    outline: 0;

    color: var(--text);

    background: white;

    font-size: 11px;
}


.field input:focus {
    border-color: #35cad8;

    box-shadow:
        0 0 0 3px
        rgba(8,205,201,.08);
}


.password-wrap {
    position: relative;
}


.password-wrap input {
    padding-right: 40px;
}


.toggle-password {
    position: absolute;

    right: 8px;
    top: 6px;

    width: 32px;
    height: 32px;

    border: 0;

    color: #6b8aa8;

    background: transparent;
}


.legal-row {
    margin-top: 3px;
}


.legal-row label {
    min-height: 24px;

    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: #687b97;

    font-size: 9.5px;
    line-height: 1.45;
}


.legal-row input {
    margin-top: 1px;

    accent-color: #088fcf;
}


.legal-row a {
    color: #078fcf;
    text-decoration: underline;
}


.field-error {
    margin:
        -6px
        0
        8px;

    color: #e84754;

    font-size: 9px;
}


.form-message {
    margin-bottom: 12px;

    padding:
        10px
        12px;

    border-radius: 7px;

    font-size: 10px;
}


.form-message.error {
    color: #b92f3c;

    border:
        1px solid
        #ffd5d8;

    background: #fff4f5;
}


.form-message.warning {
    color: #8b6414;

    border:
        1px solid
        #f7dfaa;

    background: #fff9eb;
}


.form-message.success {
    color: #10855c;

    background: #ecfaf5;
}


.create-account {
    width: 100%;
    height: 46px;

    margin-top: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    border: 0;

    border-radius: 7px;

    color: white;

    background: var(--gradient);

    font-weight: 800;

    cursor: pointer;
}


.social-divider {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 12px;

    margin:
        15px
        0;
}


.social-divider span {
    height: 1px;

    background: #e0e8f1;
}


.social-divider b {
    color: #8797ac;

    font-size: 9px;
    font-weight: 500;
}


.social-login {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 12px;
}


.social-login button {
    height: 41px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border:
        1px solid
        #d8e2ee;

    border-radius: 7px;

    background: white;

    color: #66778d;

    opacity: .72;
}


.google {
    color: #4285f4;

    font-size: 17px;
}


.apple {
    color: black;
}


/* INTERESTS */

.interests-column {
    padding:
        40px
        24px;

    border-left:
        1px solid
        var(--border-soft);

    background:
        linear-gradient(
            180deg,
            #fff,
            #fcfdff
        );
}


.interests-column h3 {
    margin: 0;

    font-size: 13px;
}


.interests-column p {
    margin:
        4px
        0
        12px;

    color: #71839e;

    font-size: 10px;
}


.interest-search {
    height: 39px;

    padding:
        0
        11px;

    display: flex;
    align-items: center;

    gap: 7px;

    border:
        1px solid
        #d9e5f1;

    border-radius: 7px;
}


.interest-search span {
    color: #6b84a4;
}


.interest-search input {
    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 10px;
}


.interest-options {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 10px;
}


.interest-chip input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.interest-chip span {
    min-height: 27px;

    padding:
        5px
        12px;

    display: inline-flex;
    align-items: center;

    border:
        1px solid
        #cee0f3;

    border-radius: 999px;

    color: #3e5980;

    background:
        linear-gradient(
            180deg,
            #f9fbff,
            #f1f6fd
        );

    font-size: 9px;

    cursor: pointer;
}


.interest-chip input:checked + span {
    border-color: #05bfc9;

    color: #047d9f;

    background:
        linear-gradient(
            100deg,
            #e5fffb,
            #e9f8ff
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(6,190,202,.15);
}


.interest-chip.hidden {
    display: none;
}


.interest-counter {
    margin-top: 10px;

    color: #71839b;

    font-size: 9px;
}


.interest-counter strong {
    color: #078cc7;
}


.goals-section {
    margin-top: 23px;
}


.goal-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8px;
}


.goal-card {
    position: relative;

    min-height: 105px;

    padding:
        12px
        12px
        10px;

    border:
        1px solid
        #dce6f2;

    border-radius: 9px;

    background: white;

    cursor: pointer;
}


.goal-card input {
    position: absolute;

    opacity: 0;
}


.goal-check {
    position: absolute;

    right: 9px;
    top: 9px;

    width: 16px;
    height: 16px;

    display: grid;
    place-items: center;

    border:
        1px solid
        #d4e0ed;

    border-radius: 4px;

    color: transparent;

    font-size: 9px;
}


.goal-card input:checked ~ .goal-check {
    border-color: #08bfc9;

    color: white;

    background: #08bfc9;
}


.goal-card:has(input:checked) {
    border-color: #14c1ce;

    background:
        linear-gradient(
            145deg,
            #fbffff,
            #f0fbff
        );
}


.goal-icon {
    display: block;

    margin-bottom: 8px;

    color: #078fd0;

    font-size: 26px;
}


.goal-card strong {
    display: block;

    font-size: 10px;
}


.goal-card small {
    display: block;

    margin-top: 4px;

    color: #7185a1;

    font-size: 8px;
    line-height: 1.35;
}


/* TRUST */

.trust-strip {
    min-height: 78px;

    margin:
        0
        52px
        12px;

    padding:
        13px
        25px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #fff,
            #fbfdff
        );
}


.trust-strip article {
    min-width: 0;

    padding:
        0
        25px;

    display: grid;

    grid-template-columns:
        45px
        1fr;

    align-items: center;

    gap: 12px;

    border-right:
        1px solid
        #e0e8f2;
}


.trust-strip article:last-child {
    border-right: 0;
}


.trust-strip article > div {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #09a8cf;

    background:
        linear-gradient(
            145deg,
            #edfaff,
            #f4fbff
        );

    font-size: 22px;
}


.trust-strip article > span {
    color: #74859e;

    font-size: 9px;
    line-height: 1.4;
}


.trust-strip strong {
    display: block;

    margin-bottom: 3px;

    color: #1b2d49;

    font-size: 10px;
}


/* SIMPLE AUTH */

.simple-auth-body {
    min-height: 100vh;

    padding: 30px;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            #edfcff,
            #f7fbff 40%,
            white 75%
        );
}


.simple-auth-card {
    width: min(430px,100%);

    padding: 35px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: white;

    box-shadow:
        0 22px 60px
        rgba(10,45,80,.08);
}


.simple-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #08bfc8;

    font-size: 43px;
}


.simple-brand span {
    color: var(--navy);

    font-size: 19px;

    letter-spacing: .18em;
}


.simple-brand b {
    color: var(--cyan);
}


.simple-auth-card h1 {
    margin:
        0
        0
        7px;

    text-align: center;
}


.simple-auth-card > p {
    margin:
        0
        0
        25px;

    text-align: center;

    color: var(--muted);

    line-height: 1.5;
}


.login-remember {
    display: flex;

    gap: 7px;

    margin-bottom: 8px;

    color: var(--muted);

    font-size: 10px;
}


.login-links {
    margin-top: 17px;

    display: flex;
    justify-content: space-between;

    color: #088ecb;

    font-size: 10px;
}


.status-card {
    text-align: center;
}


.status-icon {
    width: 62px;
    height: 62px;

    margin:
        0
        auto
        18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--gradient);

    font-size: 27px;
}


.status-icon.error {
    background:
        linear-gradient(
            100deg,
            #ff6871,
            #ee394d
        );
}


.button-anchor {
    text-decoration: none;
}


.secondary-auth-link {
    display: block;

    margin-top: 16px;

    color: #078dca;

    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 1400px) {

    .site-header {
        padding:
            0
            30px;

        grid-template-columns:
            250px
            1fr
            250px;
    }

    .registration-layout {
        padding:
            25px
            30px
            12px;
    }

    .visual-panel h1 {
        font-size: 50px;
    }

    .registration-card {
        grid-template-columns:
            1.1fr
            .9fr;
    }

    .trust-strip {
        margin-left: 30px;
        margin-right: 30px;
    }

}


@media (max-width: 1100px) {

    .site-header nav {
        display: none;
    }

    .site-header {
        grid-template-columns:
            1fr
            auto;
    }

    .registration-layout {
        grid-template-columns: 1fr;
    }

    .visual-panel {
        min-height: 690px;
    }

    .registration-card {
        margin-top: 25px;
    }

    .trust-strip {
        grid-template-columns:
            1fr
            1fr;

        gap: 15px;
    }

    .trust-strip article:nth-child(2) {
        border-right: 0;
    }

}


@media (max-width: 720px) {

    .site-header {
        padding:
            0
            15px;
    }

    .login-link {
        display: none;
    }

    .registration-layout {
        padding:
            22px
            15px;
    }

    .visual-panel {
        display: none;
    }

    .registration-card {
        grid-template-columns: 1fr;
    }

    .interests-column {
        border-left: 0;

        border-top:
            1px solid
            var(--border-soft);
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin:
            0
            15px
            15px;

        grid-template-columns: 1fr;
    }

    .trust-strip article {
        border-right: 0;
        border-bottom:
            1px solid
            #e0e8f2;

        padding:
            12px
            5px;
    }

    .trust-strip article:last-child {
        border-bottom: 0;
    }

}


@media (max-width: 420px) {

    .brand-word {
        font-size: 15px;
    }

    .brand-mark {
        font-size: 39px;
    }

    .signup-link {
        min-width: 105px;
    }

    .form-column,
    .interests-column {
        padding:
            24px
            17px;
    }

    .step-heading {
        display: block;
    }

    .steps {
        margin-top: 15px;
    }

    .goal-grid {
        grid-template-columns: 1fr;
    }

}
