
/* =========================================
   TEENS FOR HIRE
   Main Stylesheet
========================================= */

/* 1. VARIABLES */

:root {
    --navy: #172B3A;
    --cream: #F7F6F2;
    --orange: #D77A43;

    --white: #FFFFFF;
    --text: #263541;
    --muted: #68747D;
    --border: #E2E3DF;

    --font-heading: "Manrope", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --container: 1160px;

    --section-space: 100px;
}


/* 2. RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}


/* 3. TYPOGRAPHY */

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(42px, 5.5vw, 64px);
    letter-spacing: -2.5px;
}

h2 {
    font-size: clamp(30px, 3.5vw, 43px);
    letter-spacing: -1.4px;
}

h3 {
    font-size: 21px;
    letter-spacing: -0.5px;
}

p {
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--orange);
    margin-bottom: 19px;
}


/* 4. BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 24px;

    background: var(--orange);
    color: var(--white);

    border: 1px solid var(--orange);
    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    background: #BA6231;
    border-color: #BA6231;
}

.text-link {
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}

.text-link span {
    color: var(--orange);
    margin-left: 5px;
}


/* 5. NAVIGATION */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
}

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

    width: 36px;
    height: 36px;

    background: var(--navy);
    color: var(--white);

    font-size: 12px;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links > a:not(.nav-cta) {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.nav-links > a:not(.nav-cta):hover {
    color: var(--orange);
}

.nav-cta {
    background: var(--navy);
    color: var(--white);

    padding: 11px 19px;
    font-size: 13px;
    font-weight: 700;

    border-radius: 4px;
}

.nav-cta:hover {
    background: #29465A;
}

.menu-toggle {
    display: none;
}


/* 6. HERO */

.hero {
    padding-top: 90px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 75px;
}

.hero-content {
    max-width: 490px;
}

.hero-description {
    margin-top: 25px;
    max-width: 440px;
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 22px;
    font-size: 12px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.image-caption {
    display: flex;
    align-items: center;
    gap: 10px;

    position: absolute;
    bottom: 0;
    left: 0;

    background: var(--white);
    padding: 17px 21px;

    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.caption-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
}


/* 7. INTRODUCTION */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
}

.intro-grid h2 {
    max-width: 470px;
}

.intro-copy {
    padding-top: 35px;
}

.intro-copy p + p {
    margin-top: 18px;
}


/* 8. PROBLEMS */

.section-heading {
    max-width: 600px;
    margin-bottom: 50px;
}

.problem-list {
    border-top: 1px solid var(--border);
}

.problem-item {
    display: grid;
    grid-template-columns: 90px 1fr;

    padding: 32px 0;
    border-bottom: 1px solid var(--border);

    gap: 20px;
}

.item-number {
    font-family: var(--font-heading);
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
}

.problem-item h3 {
    margin-bottom: 10px;
}

.problem-item p {
    max-width: 650px;
}


/* 9. SOLUTION */

.solution-section {
    background: var(--navy);
    color: var(--white);
}

.solution-section h2,
.solution-section h3 {
    color: var(--white);
}

.solution-header {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}

.solution-header p {
    color: #C2CDD3;
    max-width: 440px;
    padding-bottom: 5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #506170;
    border-bottom: 1px solid #506170;
}

.step {
    padding: 32px 30px 36px 0;
}

.step + .step {
    border-left: 1px solid #506170;
    padding-left: 30px;
}

.step-number {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
}

.step h3 {
    margin: 22px 0 13px;
}

.step p {
    color: #C2CDD3;
    font-size: 14px;
}

.development-note {
    font-size: 12px;
    color: #C2CDD3;
    margin-top: 25px;
}


/* 10. AUDIENCE */

.audience-section {
    background: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.audience-card {
    background: var(--cream);
}

.audience-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.audience-content {
    padding: 32px;
}

.audience-content h3 {
    font-size: 25px;
    max-width: 370px;
    margin-bottom: 25px;
}

.audience-content ul {
    list-style: none;
}

.audience-content li {
    padding: 11px 0;
    border-top: 1px solid var(--border);

    font-size: 14px;
    color: var(--text);
}

.audience-content li::before {
    content: "—";
    color: var(--orange);
    font-weight: 700;
    margin-right: 12px;
}


/* 11. SIGNUP */

.signup-section {
    background: var(--cream);
}

.signup-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
    align-items: start;
}

.signup-intro {
    position: sticky;
    top: 120px;
}

.signup-intro > p {
    max-width: 400px;
    margin-top: 22px;
}

.signup-contact {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

.signup-contact a {
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
}

.form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 38px;
}

.form-field {
    margin-bottom: 23px;
}

.form-field label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 9px;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;

    background: var(--white);
    border: 1px solid #D9DEDF;
    border-radius: 3px;

    padding: 14px 15px;

    color: var(--text);
    font-size: 14px;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--navy);
    outline: 2px solid rgba(23, 43, 58, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #A0A9AD;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 25px 0 8px;
}

.consent-field input {
    margin-top: 5px;
    accent-color: var(--navy);
}

.consent-field label {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    cursor: pointer;
}

.field-error {
    display: block;
    color: #B13B32;
    font-size: 12px;
    margin-top: 6px;
    min-height: 0;
}

.field-error:empty {
    display: none;
}

.form-field .invalid {
    border-color: #B13B32;
}

.submit-button {
    width: 100%;
    margin-top: 20px;
}

.form-disclaimer {
    font-size: 11px;
    margin-top: 16px;
    text-align: left;
}

.success-message {
    padding: 20px 0;
}

.success-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    background: var(--navy);
    color: var(--white);

    margin-bottom: 25px;
    font-weight: 700;
}

.success-message h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.success-message p {
    margin-bottom: 25px;
}


/* 12. FAQ */

.faq-section {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 100px;
    align-items: start;
}

.faq-intro p {
    margin-top: 22px;
    max-width: 330px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: none;
    border: none;

    padding: 23px 0;

    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-align: left;

    cursor: pointer;
}

.faq-icon {
    color: var(--orange);
    font-size: 23px;
    font-weight: 400;
    padding-left: 20px;
}

.faq-answer {
    padding: 0 30px 23px 0;
}

.faq-answer p {
    font-size: 14px;
}


/* 13. FINAL CTA */

.final-cta {
    background: #ECEBE5;
}

.final-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.final-cta h2 {
    max-width: 550px;
}

.final-cta p {
    margin-top: 15px;
}


/* 14. FOOTER */

.site-footer {
    background: var(--navy);
    padding-top: 70px;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 45px;
    padding-bottom: 60px;
}

.footer-logo {
    color: var(--white);
}

.footer-logo .brand-mark {
    background: var(--white);
    color: var(--navy);
}

.footer-brand p {
    max-width: 270px;
    margin-top: 20px;
    font-size: 13px;
    color: #C2CDD3;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 13px;
    margin-bottom: 9px;
}

.footer-column a {
    color: #C2CDD3;
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid #506170;
    padding: 24px 0;

    font-size: 11px;
    color: #C2CDD3;
}


/* 15. RESPONSIVE */

@media (max-width: 900px) {

    :root {
        --section-space: 75px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-image {
        height: 380px;
    }

    .intro-grid,
    .signup-grid,
    .faq-grid {
        gap: 55px;
    }

    .solution-header {
        gap: 35px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 650px) {

    :root {
        --section-space: 65px;
    }

    .container {
        width: calc(100% - 36px);
    }

    h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    h2 {
        font-size: 32px;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        width: 42px;
        height: 42px;

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

        cursor: pointer;
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        background: var(--navy);
        margin-inline: auto;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        padding: 25px 18px;

        background: var(--cream);
        border-bottom: 1px solid var(--border);

        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        text-align: center;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-grid,
    .intro-grid,
    .signup-grid,
    .faq-grid,
    .solution-header {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-actions {
        gap: 20px;
    }

    .intro-grid {
        gap: 15px;
    }

    .intro-copy {
        padding-top: 0;
    }

    .problem-item {
        grid-template-columns: 42px 1fr;
        gap: 10px;
    }

    .solution-header {
        gap: 20px;
        margin-bottom: 40px;
    }

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

    .step {
        padding: 25px 0;
    }

    .step + .step {
        border-left: none;
        border-top: 1px solid #506170;
        padding-left: 0;
    }

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

    .audience-card img {
        height: 230px;
    }

    .audience-content {
        padding: 25px;
    }

    .signup-intro {
        position: static;
    }

    .signup-contact {
        margin-top: 30px;
    }

    .form-wrapper {
        padding: 23px 18px;
    }

    .faq-grid {
        gap: 35px;
    }

    .final-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}
/* Hidden spam detection field */

.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf-turnstile {
    margin-top: 20px;
    margin-bottom: 10px;
}