/* ============================================
   Forela - Juliana Design V2
   Clinical Intelligence Page
   ============================================ */

/* -----------------------------------------
   Custom Fonts
   ----------------------------------------- */
@font-face {
    font-family: 'Canela';
    src: url('../fonts/Canela-Light-Web.woff2') format('woff2'),
         url('../fonts/Canela-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FH Oscar Pro';
    src: url('../fonts/FHOscarPro-Light.woff2') format('woff2'),
         url('../fonts/FHOscarPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* -----------------------------------------
   CSS Custom Properties
   ----------------------------------------- */
:root {
    /* Colors – Figma variables (Page 2) */
    --j-color-ember: #eb7f5a;           /* PL500 Ember – CTAs, accent */
    --j-color-ember-hover: #d9714d;
    --j-color-pd100: #f7efe7;           /* Background */
    --j-color-pd200: #efe1d4;           /* 2-col right, light sections */
    --j-color-pd300: #e3d1be;           /* 2-col left, warmer beige */
    --j-color-white: #ffffff;
    --j-color-white-50: #ffffff80;
    --j-color-dark: #1a1a1a;
    --j-color-text: #2c2825;
    --j-color-text-secondary: #5a5652;
    --j-color-text-muted: #8a8580;
    --j-color-border: #e5ddd5;
    --j-color-stone: #8b7355;
    --j-color-tan: #e8dfd4;
    /* Legacy aliases */
    --j-color-coral: var(--j-color-ember);
    --j-color-coral-hover: var(--j-color-ember-hover);
    --j-color-background: var(--j-color-pd100);
    --j-color-two-col-left: var(--j-color-pd300);
    --j-color-two-col-right: var(--j-color-pd200);
    
    /* Typography */
    --j-font-heading: 'Canela', Georgia, 'Times New Roman', serif;
    --j-font-body: 'FH Oscar Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --j-space-xs: 0.25rem;
    --j-space-sm: 0.5rem;
    --j-space-md: 1rem;
    --j-space-lg: 1.5rem;
    --j-space-xl: 2rem;
    --j-space-2xl: 3rem;
    --j-space-3xl: 4rem;
    --j-space-4xl: 6rem;
    --j-space-5xl: 8rem;
    
    /* Layout – Page 2 design 1920px */
    --j-page-max: 1920px;
    --j-container-max: 1200px;
    --j-container-padding: 0.5rem;
    
    /* Border Radius */
    --j-radius-sm: 4px;
    --j-radius-md: 8px;
    --j-radius-lg: 16px;
    --j-radius-full: 9999px;
    
    /* Transitions */
    --j-transition: 200ms ease;
    --j-transition-slow: 400ms ease;
    
    /* Global Typography (page-wide) */
    --j-font-size-title: 30px;
    --j-font-size-subtitle: 22px;
    --j-font-size-body: 14px;
}

/* -----------------------------------------
   Reset & Base
   ----------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

body.juliana-page {
    font-family: var(--j-font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--j-color-text);
    background-color: var(--j-color-background);
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

strong {
    font-weight: 500;
}

/* -----------------------------------------
   Layout – Page 2 design 1920px
   ----------------------------------------- */
.j-page {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.j-container {
    width: 100%;
    max-width: var(--j-container-max);
    margin: 0 auto;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
}

/* -----------------------------------------
   Header
   ----------------------------------------- */
.j-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

/* Sub-page header: solid background, dark nav (for about, contact, privacy, terms) */
.j-header--sub {
    position: relative;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.j-header--sub .j-nav__link {
    color: var(--j-color-text);
}

.j-header--sub .j-nav-toggle__bar,
.j-header--sub .j-nav-toggle__bar::before,
.j-header--sub .j-nav-toggle__bar::after {
    background-color: var(--j-color-text);
}

/* Sub-page: first section doesn't need header overlay padding */
.j-page--sub .brand-split-section--hero .brand-split-content {
    padding-top: var(--spacing-16);
}

.j-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.j-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.j-logo img {
    height: 48px;
    width: auto;
}

.j-header__spacer {
    width: 140px;
    flex-shrink: 0;
}

.j-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--j-space-xl);
    flex: 1;
}

.j-nav__link {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #FFFFFF;
    transition: opacity var(--j-transition);
}

.j-nav__link:hover {
    opacity: 0.9;
}

.j-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--j-space-sm);
}

.j-nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    position: relative;
    transition: background-color var(--j-transition);
}

.j-nav-toggle__bar::before,
.j-nav-toggle__bar::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    left: 0;
    transition: transform var(--j-transition);
}

.j-nav-toggle__bar::before { top: -7px; }
.j-nav-toggle__bar::after { bottom: -7px; }

/* -----------------------------------------
   Hero Section
   ----------------------------------------- */
.j-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: 20vh;
    padding-bottom: var(--j-space-3xl);
    overflow: hidden;
}

.j-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.j-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.j-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.2) 50%,
        rgba(26, 26, 26, 0.1) 100%
    );
    z-index: 1;
}

.j-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
}

@media (min-width: 1025px) {
    .j-header__spacer {
        width: 0;
    }

    /* Content alignment: header, Why/How, Where we start - match What becomes possible (j-possible__inner) */
    .j-header__inner,
    .j-hero__content {
        padding-left: var(--j-container-padding);
        padding-right: var(--j-container-padding);
        max-width: var(--j-container-max);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Why/How: revert to original spacing (80px 96px) - no alignment overrides */

    .j-container {
        padding-left: var(--j-container-padding);
        padding-right: var(--j-container-padding);
    }

    /* Pills: all 3 in a row on desktop */
    .j-partners__metrics {
        flex-wrap: nowrap;
    }

    /* Cohorts track: align first circle with content (same as j-container) */
    .j-cohorts__track {
        padding-left: max(var(--j-container-padding), calc((100vw - var(--j-container-max)) / 2 + var(--j-container-padding)));
    }
}

/* Hero text section - aligned with logo (same left edge) */
.j-hero__text {
    text-align: left;
    margin-bottom: var(--j-space-3xl);
}

/* Hero buttons - separated from text content */
.j-hero__actions {
    margin-top: var(--j-space-2xl);
}

.j-hero__title {
    font-family: var(--j-font-heading);
    font-size: 32px;
    font-weight: 300;
    line-height: 1.15;
    color: #FFFFFF;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: var(--j-space-xl);
    max-width: 75%;
}

.j-hero__subtitle {
    font-family: var(--j-font-body);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    color: #FFFFFF;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0;
    max-width: 75%;
}

/* Hero CTA section - buttons centered on page, separated from text */
.j-hero__actions {
    margin-top: var(--j-space-2xl);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* -----------------------------------------
   Buttons (no outline/stroke site-wide)
   ----------------------------------------- */
button,
.j-btn,
[role="button"] {
    outline: none;
}

button:focus,
.j-btn:focus,
[role="button"]:focus {
    outline: none;
}

.j-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--j-font-body);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1;
    border: none;
    outline: none;
    border-radius: var(--j-radius-md);
    cursor: pointer;
    transition: all var(--j-transition);
    white-space: nowrap;
    text-align: center;
}

.j-btn:focus {
    outline: none;
}

.j-btn--glass {
    min-width: 450px;
    padding: 1.125rem 2.5rem;
    font-size: 18px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.j-btn--glass:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.j-btn--primary {
    background-color: var(--j-color-coral);
    color: var(--j-color-white);
    padding-left: 5.5rem;
    padding-right: 5.5rem;
}

.j-btn--primary:hover {
    background-color: var(--j-color-coral-hover);
}

/* -----------------------------------------
   Why/How Section (2-column-text container)
   Design: 1920×721px, Web page 2 / Feedback
   ----------------------------------------- */
.j-why-how {
    padding: 0;
    background-color: transparent;
    width: 100%;
}

.j-why-how__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 550px;
}

.j-why-how__col {
    padding: 80px 96px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.j-why-how__col--left {
    background-color: var(--j-color-two-col-left);
}

.j-why-how__col--right {
    background-color: #EFE1D4;
}

.j-why-how__col-inner {
    max-width: 480px;
    width: 100%;
}

.j-why-how__title {
    font-family: var(--j-font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-lg);
}

.j-why-how__text {
    font-size: 0.9375rem;
    color: var(--j-color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--j-space-md);
}

.j-why-how__text--bold {
    font-weight: 500;
    color: var(--j-color-text);
}

.j-why-how__lines {
    margin: var(--j-space-md) 0 var(--j-space-lg);
}

.j-why-how__line {
    font-size: 0.9375rem;
    color: var(--j-color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--j-space-sm);
}

.j-why-how__line:last-child {
    margin-bottom: 0;
}

.j-why-how__list {
    margin: var(--j-space-md) 0 var(--j-space-lg);
    padding-left: 0;
}

.j-why-how__list li {
    font-size: 0.9375rem;
    color: var(--j-color-text-secondary);
    margin-bottom: var(--j-space-sm);
    padding-left: var(--j-space-xl);
    position: relative;
    line-height: 1.6;
}

.j-why-how__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: var(--j-color-ember);
    border-radius: 50%;
}

.j-why-how__list--orange li::before {
    background-color: var(--j-color-ember);
}

/* -----------------------------------------
   Quote Section (Page 2: same bg as 2-col right)
   ----------------------------------------- */
.j-quote {
    padding: 58px 300px;
    background-color: #F7EFE7;
}

.j-quote__inner {
    max-width: 1170px;
    margin: 0 auto;
}

.j-quote__text {
    font-family: var(--j-font-heading);
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    line-height: 1.5;
    color: #2D2729;
    text-align: center;
}

.j-quote__highlight {
    color: #724941;
    font-style: italic;
}

/* -----------------------------------------
   What Becomes Possible Section (Page 2: For Women + image)
   ----------------------------------------- */
.j-possible {
    padding: 96px 0 24px 0;
    background-color: #F7EFE7;
}

.j-possible__inner {
    max-width: var(--j-container-max);
    margin: 0 auto;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
}

.j-possible__header {
    margin-bottom: var(--j-space-xl);
}

.j-possible__title {
    font-family: var(--j-font-heading);
    font-size: 34px;
    font-weight: 400;
    line-height: 0.75;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-md);
}

.j-possible__subtitle {
    font-family: var(--j-font-heading);
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    color: var(--j-color-text);
    margin-bottom: 0;
}

.j-possible__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
}

.j-possible__section-title {
    font-family: var(--j-font-heading);
    font-size: 36px;
    font-weight: 300;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-md);
}

.j-possible__text {
    font-family: var(--j-font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--j-color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--j-space-md);
}

.j-possible__label {
    font-family: var(--j-font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-sm);
}

.j-possible__list {
    margin-bottom: var(--j-space-lg);
    padding-left: var(--j-space-md);
}

.j-possible__list li {
    font-family: var(--j-font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--j-color-text-secondary);
    margin-bottom: var(--j-space-sm);
    padding-left: var(--j-space-lg);
    position: relative;
    line-height: 1.6;
}

.j-possible__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: var(--j-color-coral);
    border-radius: 50%;
}

.j-possible__note {
    font-family: var(--j-font-body);
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    color: var(--j-color-text-muted);
    margin-bottom: var(--j-space-xl);
    line-height: 1.6;
}

/* -----------------------------------------
   For Clinicians | For Health Systems (Page 2)
   ----------------------------------------- */
.j-clinicians {
    padding: 24px 0 48px 0;
    background-color: #F7EFE7;
}

.j-clinicians__inner {
    max-width: var(--j-container-max);
    margin: 0 auto;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
}

.j-clinicians__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    position: relative;
}

.j-clinicians__col {
    display: flex;
    flex-direction: column;
}

.j-clinicians__col .j-btn--primary {
    margin-top: auto;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    text-align: center;
}

/* Vertical divider between columns on desktop */
.j-clinicians__grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(44, 40, 37, 0.15);
    transform: translateX(-50%);
}

.j-clinicians__title {
    font-family: var(--j-font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-md);
}

.j-clinicians__text {
    font-size: 0.9375rem;
    color: var(--j-color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--j-space-md);
}

.j-clinicians__label {
    font-size: 0.9375rem;
    color: var(--j-color-text);
    font-weight: 400;
    margin-bottom: var(--j-space-sm);
}

.j-clinicians__list {
    margin-bottom: var(--j-space-lg);
    padding-left: var(--j-space-md);
}

.j-clinicians__list li {
    font-size: 0.9375rem;
    color: var(--j-color-text-secondary);
    margin-bottom: var(--j-space-sm);
    padding-left: var(--j-space-lg);
    position: relative;
    line-height: 1.6;
}

.j-clinicians__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: var(--j-color-coral);
    border-radius: 50%;
}

.j-clinicians__note {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--j-color-text-muted);
    margin-bottom: var(--j-space-xl);
    line-height: 1.6;
}

/* -----------------------------------------
   Where We Start Section
   ----------------------------------------- */
.j-start {
    padding: 48px 0 96px 0;
    background-color: #E3D1BE;
}

.j-start__header {
    margin-bottom: var(--j-space-md);
}

.j-start__title {
    font-family: var(--j-font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-md);
}

.j-start__subtitle {
    font-family: var(--j-font-heading);
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-lg);
}

.j-start__intro {
    font-family: var(--j-font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--j-color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--j-space-xl);
    max-width: 900px;
}

.j-partners {
    margin-top: var(--j-space-2xl);
    margin-bottom: var(--j-space-xl);
}

.j-partners__label {
    font-family: var(--j-font-heading);
    font-size: 36px;
    font-weight: 300;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-md);
}

.j-partners__copy {
    font-family: var(--j-font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--j-color-text);
    line-height: 1.6;
    margin-bottom: var(--j-space-xl);
}

.j-partners__metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--j-space-xl);
    width: 100%;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
    box-sizing: border-box;
}

.j-partners__metric {
    flex: 0 0 320px;
    width: 320px;
    min-height: 120px;
    max-height: 120px;
    padding: 26px 20px;
    background-color: #635850;
    border-radius: var(--j-radius-lg);
    text-align: center;
    box-sizing: border-box;
}

.j-partners__metric--status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.j-partners__metric--status .j-partners__value {
    display: none;
}

.j-partners__metric--status .j-partners__unit {
    font-size: 20px;
}

.j-partners__value {
    display: block;
    font-family: var(--j-font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--j-color-white);
    margin-bottom: 4px;
    line-height: 1.2;
}

.j-partners__unit {
    font-family: var(--j-font-heading);
    font-size: 18px;
    font-weight: 300;
    color: var(--j-color-white);
    line-height: 1.3;
}

.j-start__footer {
    font-size: 0.875rem;
    color: var(--j-color-text-secondary);
    line-height: 1.7;
    margin-top: var(--j-space-3xl);
    max-width: 900px;
}

/* -----------------------------------------
   Cohorts - Horizontal Scroll
   ----------------------------------------- */
.j-cohorts {
    margin-bottom: var(--j-space-lg);
    margin-top: var(--j-space-xl);
}

.j-cohorts__label {
    font-family: var(--j-font-heading);
    font-size: 36px;
    font-weight: 300;
    color: var(--j-color-text);
    margin-bottom: var(--j-space-lg);
}

/* Scroll wrapper - full width, fade overlay */
.j-cohorts__scroll-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.j-cohorts__scroll-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 40px;
    width: 100px;
    background: linear-gradient(to right, #E3D1BE 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* Scroll container - full viewport width, native scrollbar hidden */
.j-cohorts__scroll {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    overflow-y: hidden;
    padding: 0;
    min-height: 469px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.j-cohorts__scroll::-webkit-scrollbar {
    display: none;
}

.j-cohorts__track {
    display: flex;
    align-items: center;
    gap: 0;
    padding: var(--j-space-xl) 0;
    padding-left: max(var(--j-container-padding), calc((100vw - var(--j-container-max)) / 2 + var(--j-container-padding)));
    padding-right: max(var(--j-container-padding), calc((100vw - var(--j-container-max)) / 2 + var(--j-container-padding)));
    width: max-content;
    min-height: 469px;
}

/* Custom scrollbar - compact, centered */
.j-cohorts__custom-scrollbar {
    display: flex;
    justify-content: center;
    padding: var(--j-space-md) 0 0;
}

.j-cohorts__scrollbar-track {
    width: 420px;
    max-width: 90%;
    height: 8px;
    background: #E3D1BE;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.j-cohorts__scrollbar-thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    min-width: 48px;
    background: var(--j-color-stone);
    border-radius: 4px;
    cursor: grab;
    transition: background 0.15s ease;
}

.j-cohorts__scrollbar-thumb:active {
    cursor: grabbing;
}

.j-cohorts__scrollbar-thumb:hover {
    filter: brightness(0.9);
}

/* Non-highlighted: 300x300, overlap. Highlighted: 350x350, separate, on top. */
.j-cohort-card {
    flex-shrink: 0;
    align-self: center;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    overflow: hidden;
    background-color: transparent;
    border: 2px solid var(--j-color-stone);
}

.j-cohort-card:not(.j-cohort-card--highlighted) {
    min-width: 300px;
    min-height: 300px;
    width: 300px;
    height: 300px;
    margin-right: -26px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--j-color-stone);
}

.j-cohort-card:nth-child(2) { z-index: 6; }
.j-cohort-card:nth-child(3) { z-index: 5; }
.j-cohort-card:nth-child(4) { z-index: 4; }
.j-cohort-card:nth-child(5) { z-index: 3; }
.j-cohort-card:nth-child(6) { z-index: 2; }

.j-cohort-card.j-cohort-card--highlighted {
    min-width: 425px;
    min-height: 425px;
    width: 425px;
    height: 425px;
    margin-right: -12px;
    z-index: 10;
}

/* Text box: 200px wide in 300px circle = 50px ring each side. Overlap stays in ring, 60px between text areas. */
.j-cohort-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
}

.j-cohort-card:not(.j-cohort-card--highlighted) .j-cohort-card__content {
    width: 200px;
    height: 200px;
}

.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__content {
    width: 270px;
    height: 220px;
}

/* Inactive: dark text on transparent */
.j-cohort-card .j-cohort-card__title,
.j-cohort-card .j-cohort-card__conditions,
.j-cohort-card .j-cohort-card__desc {
    color: var(--j-color-text);
}

/* Highlighted: filled dark, white text, on top */
.j-cohort-card.j-cohort-card--highlighted {
    background-color: #635850;
    border-color: #635850;
}

.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__title,
.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__conditions,
.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__desc {
    color: #FFF;
}

.j-cohort-card__bullets {
    list-style: none;
    margin: var(--j-space-sm) 0 0;
    padding: 0;
    text-align: left;
    font-size: 0.65rem;
    line-height: 1.4;
    color: var(--j-color-text-secondary);
    width: 100%;
}

.j-cohort-card__bullets li {
    margin-bottom: 0.25rem;
}

.j-cohort-card__badge {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--j-color-coral);
    background-color: rgba(235, 127, 90, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: var(--j-radius-sm);
    margin-bottom: var(--j-space-sm);
}

.j-cohort-card__title {
    font-family: "FH Oscar Pro", var(--j-font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    transition: color var(--j-transition);
}

.j-cohort-card__conditions {
    font-family: "FH Oscar Pro", var(--j-font-body);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    transition: color var(--j-transition);
}

.j-cohort-card__desc {
    font-family: "FH Oscar Pro", var(--j-font-body);
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.3;
    transition: color var(--j-transition);
}

.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__title { font-size: 18px; }
.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__conditions { font-size: 14px; }
.j-cohort-card.j-cohort-card--highlighted .j-cohort-card__desc { font-size: 12px; }

/* -----------------------------------------
   Request Early Access CTA (Page 2)
   ----------------------------------------- */
.j-cta {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.j-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.j-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.j-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.5) 0%,
        rgba(26, 26, 26, 0.3) 50%,
        rgba(26, 26, 26, 0.2) 100%
    );
    z-index: 1;
}

.j-cta__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--j-container-max);
    margin: 0 auto;
    padding: 96px var(--j-container-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.j-cta__title {
    font-family: var(--j-font-heading);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--j-color-white);
    margin-bottom: var(--j-space-md);
}

.j-cta__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: var(--j-space-xl);
}

.j-cta__actions {
    display: flex;
    align-items: center;
    justify-content: left;
}

.j-cta__btn {
    min-width: 450px;
    padding: 1.125rem 2.5rem;
    font-size: 18px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    justify-content: center;
}

.j-cta__btn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

/* -----------------------------------------
   Footer (Page 2: solid orange)
   ----------------------------------------- */
.j-footer {
    background-color: var(--j-color-ember);
    padding: 64px 0;
}

.j-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--j-container-max);
    margin: 0 auto;
    padding-left: var(--j-container-padding);
    padding-right: var(--j-container-padding);
}

.j-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--j-space-lg);
}

.j-footer__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.j-footer__logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.j-footer__social {
    display: flex;
    gap: var(--j-space-md);
}

.j-footer__signup {
    margin-top: 0.8em;
}

.j-footer__signup-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.j-footer__signup-form {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

.j-footer__signup-input {
    flex: 1;
    background: none;
    border: none;
    padding: 0.5rem 0;
    font-family: var(--j-font-body);
    font-size: 0.9375rem;
    color: #FFFFFF;
}

.j-footer__signup-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.j-footer__signup-input:focus {
    outline: none;
}

.j-footer__signup-submit {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.j-footer__signup-submit:hover {
    opacity: 0.9;
}

.j-footer__signup-submit:focus {
    outline: none;
}

.j-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--j-color-white);
    transition: opacity var(--j-transition);
}

.j-footer__social a:hover {
    opacity: 0.8;
}

.j-footer__social svg {
    width: 20px;
    height: 20px;
    display: block;
}

.j-footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--j-space-lg);
    text-align: left;
}

.j-footer__nav-link {
    font-family: var(--j-font-body);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--j-color-white);
    opacity: 0.95;
    transition: opacity var(--j-transition);
}

.j-footer__nav-link:hover {
    opacity: 1;
}

/* -----------------------------------------
   Global Typography (page-wide overrides)
   ----------------------------------------- */
/* All section titles: 30px (hero 56px, why-how 48px - see their own rules) */
.j-possible__section-title,
.j-clinicians__title,
.j-cta__title,
.j-cohorts__label,
.j-partners__label {
    font-size: var(--j-font-size-title);
}

/* Major section titles: What becomes possible & Where We Start */
.j-possible__title,
.j-start__title {
    font-size: 34px;
}

/* Section subtitles: 22px (hero subtitle uses 28px) */
.j-possible__subtitle,
.j-start__subtitle {
    font-size: var(--j-font-size-subtitle);
}

/* All body/paragraph text: 14px (j-quote__text matches hero title: 32px) */
.j-why-how__text,
.j-why-how__text--bold,
.j-why-how__line,
.j-possible__text,
.j-possible__label,
.j-possible__note,
.j-possible__list li,
.j-clinicians__text,
.j-clinicians__label,
.j-clinicians__list li,
.j-start__intro,
.j-start__footer,
.j-partners__copy,
.j-cta__text {
    font-size: var(--j-font-size-body);
}

/* -----------------------------------------
   Responsive Design
   ----------------------------------------- */
@media (max-width: 1024px) {
    .j-why-how__grid {
        min-height: auto;
    }
    
    .j-why-how__col {
        padding: 64px 48px;
    }
    
    .j-clinicians__grid {
        gap: var(--j-space-2xl);
    }
    
    .j-possible__grid {
        gap: var(--j-space-2xl);
    }

    .j-possible__title,
    .j-start__title {
        font-size: 28px;
    }
    
    .j-cohort-card:not(.j-cohort-card--highlighted) {
        width: 300px;
        height: 300px;
        min-width: 300px;
        min-height: 300px;
        margin-right: -26px;
    }
    
    .j-cohort-card.j-cohort-card--highlighted {
        width: 350px;
        height: 350px;
        min-width: 350px;
        min-height: 350px;
    }
    
    .j-cohorts__track {
        min-height: 390px;
    }
}

@media (max-width: 1024px) {
    .j-quote {
        padding: 58px var(--j-container-padding);
    }
    
    .j-quote__text {
        font-size: 26px;
    }
    
    .j-hero__title {
        font-size: 22px;
    }
    
    .j-hero__subtitle {
        font-size: 20px;
    }
    
    .j-hero__actions .j-btn--glass {
        font-size: 16px;
        padding: 0.9375rem 1.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --j-container-padding: 1.25rem;
    }
    
    /* Header Mobile */
    .j-header__inner {
        height: 64px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .j-header__spacer {
        display: none;
    }
    
    .j-logo img {
        height: 40px;
    }
    
    .j-nav-toggle {
        display: block;
        z-index: 201;
    }
    
    .j-nav {
        flex: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--j-color-ember);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem var(--j-space-xl);
        gap: var(--j-space-lg);
        transition: right 800ms ease;
        z-index: 200;
    }
    
    .j-nav.is-active {
        right: 0;
    }
    
    .j-nav__link {
        font-size: 1rem;
        color: #FFFFFF;
    }
    
    /* Hero Mobile */
    .j-hero {
        min-height: 70vh;
        padding-top: 18vh;
        padding-bottom: var(--j-space-3xl);
    }
    
    .j-hero__text {
        text-align: left;
        margin-bottom: var(--j-space-xl);
    }
    
    .j-hero__title {
        font-size: 22px;
        max-width: 100%;
        margin-left: 0;
    }
    
    .j-hero__subtitle {
        font-size: 18px;
        max-width: 100%;
        margin-left: 0;
    }
    
    .j-hero__actions {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .j-hero__actions .j-btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 16px;
    }
    
    /* Why/How Mobile */
    .j-why-how {
        padding: 0;
    }
    
    .j-why-how__grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    
    .j-why-how__col {
        padding: 48px var(--j-container-padding);
    }
    
    .j-why-how__col-inner {
        max-width: 100%;
        width: 100%;
    }
    
    .j-hero__text {
        width: 100%;
    }
    
    /* Quote Mobile */
    .j-quote {
        padding: var(--j-space-2xl) var(--j-container-padding);
    }
    
    .j-quote__text {
        font-size: 27px;
    }
    
    /* Possible Mobile - full width */
    .j-possible {
        padding: var(--j-space-3xl) 0 var(--j-space-2xl) 0;
    }
    
    .j-possible__inner {
        width: 100%;
        max-width: 100%;
    }
    
    .j-possible__grid {
        grid-template-columns: 1fr;
        gap: var(--j-space-xl);
        width: 100%;
    }
    
    .j-possible__content {
        order: 2;
    }
    
    .j-possible__image {
        order: 1;
        margin-bottom: 0;
    }
    
    /* Clinicians Mobile - full width */
    .j-clinicians {
        padding: var(--j-space-2xl) 0 var(--j-space-2xl) 0;
    }
    
    .j-clinicians__grid {
        grid-template-columns: 1fr;
        gap: var(--j-space-2xl);
        width: 100%;
    }
    
    .j-clinicians__grid::before {
        display: none;
    }
    
    /* Where We Start Mobile */
    .j-start {
        padding: var(--j-space-2xl) 0 var(--j-space-3xl) 0;
    }
    
    /* Cohorts Mobile */
    .j-cohorts__track {
        min-height: 390px;
        padding: var(--j-space-lg) var(--j-container-padding);
    }
    
    .j-cohort-card:not(.j-cohort-card--highlighted) {
        width: 300px;
        height: 300px;
        min-width: 300px;
        min-height: 300px;
        margin-right: -26px;
    }
    
    .j-cohort-card.j-cohort-card--highlighted {
        width: 350px;
        height: 350px;
        min-width: 350px;
        min-height: 350px;
    }
    
    .j-partners__label {
        font-size: 28px;
    }
    
    .j-partners__copy {
        font-size: 16px;
    }
    
    .j-partners__metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .j-partners__metric {
        flex: 0 0 auto;
        width: 320px;
        max-width: 100%;
        min-height: auto;
        max-height: none;
    }
    
    .j-partners__value,
    .j-partners__unit {
        font-size: 28px;
    }
    
    .j-cta {
        min-height: 280px;
    }
    
    .j-cta__inner {
        padding: var(--j-space-3xl) var(--j-container-padding);
    }
    
    .j-cta__title {
        font-size: 1.5rem;
    }
    
    .j-cta__text {
        font-size: 0.9375rem;
    }
    
    .j-cta__actions {
        width: 100%;
    }
    
    .j-cta__btn {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }
    
    /* Footer Mobile - left justified */
    .j-footer {
        padding: var(--j-space-2xl) 0;
    }
    
    .j-footer__inner {
        flex-direction: column;
        gap: var(--j-space-xl);
        align-items: flex-start;
        text-align: left;
    }
    
    .j-footer__brand {
        align-items: flex-start;
    }
    
    .j-footer__nav {
        text-align: left;
    }
    
    .j-footer__signup {
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .j-hero__title {
        font-size: 22px;
        max-width: 100%;
    }
    
    .j-quote__text {
        font-size: 22px;
    }
    
    .j-hero__subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    
    .j-hero__actions .j-btn {
        font-size: 15px;
        padding: 0.875rem 1.25rem;
    }
    
    .j-why-how__title {
        font-size: 32px;
    }
    
    .j-possible__title,
    .j-start__title {
        font-size: 22px;
    }
    
    .j-possible__subtitle {
        font-size: 24px;
    }
    
    .j-possible__section-title {
        font-size: 28px;
    }
    
    .j-cohorts__label {
        font-size: 28px;
    }
    
    .j-partners__label {
        font-size: 24px;
    }
    
    .j-partners__copy {
        font-size: 16px;
    }
    
    .j-partners__value,
    .j-partners__unit {
        font-size: 24px;
    }
    
    .j-start__subtitle {
        font-size: 24px;
    }
    
    .j-start__intro {
        font-size: 16px;
    }
    
    .j-cohorts {
        margin-top: 40px;
    }
    
    .j-cohorts__track {
        min-height: 390px;
        padding: var(--j-space-md) var(--j-container-padding);
    }
    
    .j-cohort-card:not(.j-cohort-card--highlighted) {
        width: 300px;
        height: 300px;
        min-width: 300px;
        min-height: 300px;
        margin-right: -26px;
    }
    
    .j-cohort-card.j-cohort-card--highlighted {
        width: 350px;
        height: 350px;
        min-width: 350px;
        min-height: 350px;
    }
}
