/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Brand */
    --brand-primary: #5cab66ff; /* medium-jungle */
    --bg-main: #e6fafcff; /* azure-mist */
    --bg-muted: #e1ecedff; /* azure-mist-2 */

    /* Text */
    --text-main: #1a1a1aff; /* carbon-black */
    --text-dim: #6e6e6eff; /* dim-grey */
    --error: #e05b5bff; /* lobster-pink */

    /* Questionnaire category accents */
    --sand-beige: #d8cba2ff; /* earth */
    --soft-orange: #f4a24cff; /* fire */
    --light-teal: #86c4c3ff; /* sky */
    --soft-blue: #6fa0d6ff; /* water */
    --pastel-green: #b7e4acff; /* air */

    /* Layout */
    --max-width: 1100px;
}


/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: "Red Hat Text", system-ui, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    margin: 0;
}

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

a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}


/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3 {
    font-family: "Red Hat Display", system-ui, Roboto, Helvetica, Arial, sans-serif;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.small {
    font-size: 0.9rem;
    color: var(--text-dim);
}


/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.container p {
    max-width: 720px;
}

.section p {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.section + .section {
    margin-top: 0;
}

.section:not(.hero) .container {
    padding-top: 0.5rem;
}


/* ============================================
   HEADER
   ============================================ */

   /* HARD LOCK NAV BACKGROUND */
.site-header,
.site-header * {
    background-color: transparent;
}

.site-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--bg-muted);
    /* padding: 0.25rem 0; */
    position: sticky;
    top: 0;
    z-index: 100;
}


.site-header,
.site-header .nav {
    background: var(--bg-main);
}

.site-header .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

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

.logo {
    font-family: "Red Hat Display", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}


/* ============================================
   NAV ACTIVE LINK
   ============================================ */
.nav-links a {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a.active {
    background-color: var(--brand-primary); /* #5cab66ff */
    color: var(--bg-main); /* #e6fafcff */
    font-weight: 500;
    text-decoration: none;
}

.nav-links a.active:hover {
    text-decoration: none;
}

.nav-links a:not(.active):hover {
    background-color: var(--bg-muted);
}

.site-header,
.site-header .nav {
    background: var(--bg-main);
}



/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--bg-main);
    margin-top: 0.5rem;
}

.hero .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section.hero:not(:has(.hero-grid)) {
    padding-top: 0;
    padding-bottom: 0;
}

.section.hero:not(:has(.hero-grid)) .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-grid {
    display: grid;
    gap: 2rem;
}

.hero-visual {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


/* ============================================
   PAGE INTRO SECTION
   ============================================ */
.page-intro {
    padding-top: 0;
    padding-bottom: 0;
}

.page-intro .container {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.page-intro h1 {
    margin-top: 0;
}

.page-intro .small {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.page-intro + .section .container {
    padding-top: 1rem;
}

.page-intro + .section h2:first-of-type,
.page-intro + .section h3:first-of-type {
    margin-top: 0;
}


/* ============================================
   BUTTONS
   ============================================ */
.primary-btn {
    /* margin-top: 0.5rem; */
    padding: 0.75rem 1.5rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: not-allowed;
    opacity: 0.7;
}

.primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}


/* ============================================
   FORMS
   ============================================ */
.notify-form {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.notify-form input {
    flex: 1;
    min-width: 220px;
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
    border: 1px solid var(--bg-muted);
    font-size: 0.95rem;
}

.notify-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.notify-form button {
    cursor: pointer;
}

#notifyStatus {
    width: 100%;
}


/* ============================================
   CHIPS / BADGES
   ============================================ */
.chip {
    border-radius: 999px;
    font-size: 1rem;
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    background: var(--bg-muted);
}

.chip.earth {
    background: var(--sand-beige);
}

.chip.fire {
    background: var(--soft-orange);
}

.chip.sky {
    background: var(--light-teal);
}

.chip.water {
    background: var(--soft-blue);
}

.chip.air {
    background: var(--pastel-green);
}


/* ============================================
   STEPS
   ============================================ */
.steps {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.step {
    padding: 1rem;
    background: var(--bg-muted);
    border-left: 5px solid transparent;
    border-radius: 6px;
}

.step span {
    font-size: 1.2rem;
}

.step.earth {
    border-color: var(--sand-beige);
}

.step.fire {
    border-color: var(--soft-orange);
}

.step.sky {
    border-color: var(--light-teal);
}

.step.air {
    border-color: var(--pastel-green);
}


/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
    display: grid;
    gap: 2rem;
    padding: 1.5rem 0;
}

.container.two-col {
    padding-left: 1.5rem;
}

/* Ensure both headings in a two-column layout start at the same height */
.two-col h2 {
    margin-top: 0 !important;
}

/* ============================================
   LISTS
   ============================================ */
.list {
    padding-left: 1.2rem;
}

.list li {
    margin-bottom: 0.5rem;
}

.list.muted li {
    color: var(--text-dim);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-muted);
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
#backToTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--brand-primary);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    opacity: 0.9;
}


/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (min-width: 768px) {
    .section {
        margin-bottom: 1.0rem;
    }

    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .section {
        margin-bottom: 2.5rem;
    }

    .container {
        padding: 1.5rem 1.25rem;
    }

    .nav {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .nav .logo {
        width: 100%;
        text-align: center;
    }

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

    .site-header .primary-btn {
        width: 100%;
    }
}
/*uncomment this line to make the app links coming soon buttonn transparent*/
/* .site-header,
.site-header * {
    background-color: transparent;
}

.site-header,
.site-header .nav {
    background: var(--bg-main);
} */
