/* =============================================================
   Quant Guild — Home Page Conversion Layer
   -------------------------------------------------------------
   A consolidated, conversion-focused rebuild of the mid-page
   feature sections (Courses, Masterclasses, Lessons, Games,
   Interviews, Bazaar). Dark space-glass aesthetic to sit
   cohesively over the hero space animation and the retained
   testimonials / adaptive-practice sections.

   Prefix: .hs-  (home sections)
   ============================================================= */

/* ---- Section shell -------------------------------------------------- */
.hs-section {
    background-color: transparent !important;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.hs-section--tight {
    padding-top: 1rem;
}

.hs-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* ---- Section heading ------------------------------------------------ */
.hs-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.hs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.15rem;
    margin-bottom: 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-kicker i {
    color: #FFD700;
    font-size: 0.85rem;
}

.hs-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    font-weight: 800;
}

.hs-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 760px;
}

/* ---- Feature grid --------------------------------------------------- */
.hs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.9rem 1.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.hs-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--hs-accent, #4FC3F7);
    opacity: 0.85;
}

.hs-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.hs-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hs-card__medallion {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hs-card__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.hs-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.hs-chip i { color: #4FC3F7; }

.hs-chip--gold {
    background: rgba(250, 204, 21, 0.14);
    border-color: rgba(250, 204, 21, 0.4);
    color: #ffe082;
}

.hs-chip--gold i { color: #FFD700; }

.hs-chip--free {
    background: rgba(76, 175, 80, 0.16);
    border-color: rgba(76, 175, 80, 0.45);
    color: #a5e8ab;
}

.hs-chip--free i { color: #4CAF50; }

.hs-card__title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    letter-spacing: -0.01em;
}

.hs-card__desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.hs-card__points {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    flex: 1;
}

.hs-card__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: left;
}

.hs-card__points li i {
    color: #4CAF50;
    font-size: 0.85rem;
    margin-top: 0.22rem;
    flex-shrink: 0;
}

.hs-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}

.hs-card__cta:hover {
    color: #fff;
    background: linear-gradient(135deg, #004aad, #0068d8);
    border-color: rgba(0, 104, 216, 0.6);
    box-shadow: 0 10px 24px rgba(0, 74, 173, 0.4);
    gap: 0.85rem;
}

.hs-card__cta i { font-size: 0.8rem; transition: transform 0.25s ease; }
.hs-card__cta:hover i { transform: translateX(2px); }

/* Topic accent gradients (medallion + top rule) */
.hs-card--courses      { --hs-accent: #00a0ff; }
.hs-card--courses      .hs-card__medallion { background: linear-gradient(135deg, #004aad, #00a0ff); }
.hs-card--masterclass  { --hs-accent: #a855f7; }
.hs-card--masterclass  .hs-card__medallion { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.hs-card--lessons      { --hs-accent: #FF6B6B; }
.hs-card--lessons      .hs-card__medallion { background: linear-gradient(135deg, #FF6B6B, #FF4757); }
.hs-card--games        { --hs-accent: #26de81; }
.hs-card--games        .hs-card__medallion { background: linear-gradient(135deg, #4ECDC4, #26de81); }
.hs-card--interviews   { --hs-accent: #45B7D1; }
.hs-card--interviews   .hs-card__medallion { background: linear-gradient(135deg, #45B7D1, #3742fa); }
.hs-card--bazaar       { --hs-accent: #f59e0b; }
.hs-card--bazaar       .hs-card__medallion { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* ---- Try-it-free proof section ------------------------------------- */
.hs-preview {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hs-panel {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hs-panel__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.hs-panel__label i { color: #FFD700; }

.hs-panel__note {
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin: 0 0 1.4rem;
}

.hs-video {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-teasers {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hs-teaser {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.4rem;
}

.hs-teaser__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.hs-teaser__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.hs-teaser__title {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    text-align: left;
}

.hs-teaser__meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    margin: 0;
    text-align: left;
}

.hs-teaser__q {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.hs-teaser__q .hs-q-label {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
    color: #fff;
    padding: 0.25rem 0.7rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hs-teaser__q .hs-q-text { font-size: 0.92rem; margin-bottom: 0.4rem; }

.hs-freeflag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.35);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    color: #a5e8ab;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hs-freeflag i { color: #4CAF50; }

.hs-teaser__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #004aad, #0068d8);
    border: 1px solid rgba(0, 104, 216, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hs-teaser__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 74, 173, 0.42);
}

/* ---- Final conversion CTA ------------------------------------------ */
.hs-final {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3.25rem 2rem;
    border-radius: 26px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    background:
        radial-gradient(circle at 20% 15%, rgba(96, 165, 250, 0.28), transparent 40%),
        radial-gradient(circle at 82% 0%, rgba(59, 130, 246, 0.3), transparent 42%),
        linear-gradient(135deg, rgba(0, 63, 150, 0.55) 0%, rgba(0, 104, 216, 0.45) 55%, rgba(0, 73, 159, 0.55) 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hs-final::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hs-final > * { position: relative; z-index: 1; }

.hs-final__title {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.8rem;
    line-height: 1.15;
}

.hs-final__sub {
    color: rgba(239, 246, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 1.75rem;
}

.hs-final__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.25rem;
    margin: 0 auto 2.1rem;
}

.hs-stat { text-align: center; }

.hs-stat__num {
    display: block;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hs-stat__label {
    display: block;
    color: rgba(239, 246, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

.hs-final__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    color: #004aad;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.hs-btn-primary:hover {
    transform: translateY(-3px);
    background: #FFD700;
    color: #3a2c00;
    box-shadow: 0 16px 38px rgba(255, 215, 0, 0.35);
}

.hs-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.32);
    transition: background 0.25s ease, transform 0.25s ease;
}

.hs-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hs-final__trust {
    display: block;
    margin-top: 1.3rem;
    color: rgba(239, 246, 255, 0.75);
    font-size: 0.88rem;
}

.hs-final__trust i { color: #4CAF50; margin-right: 0.35rem; }

/* ====================================================================
   JOURNEY TIMELINE — "Your Path to a Quant Career"
   A narrative, outcome-driven vertical roadmap (replaces the flat grid).
   ==================================================================== */
.hs-journey {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* vertical connector line running through the number nodes */
.hs-journey::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 24px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, rgba(79, 195, 247, 0.7) 0%, rgba(167, 139, 250, 0.5) 50%, rgba(250, 204, 21, 0.6) 100%);
    z-index: 0;
}

.hs-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
}

.hs-step:last-child { padding-bottom: 0; }

.hs-step__rail {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hs-step__node {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    background: linear-gradient(135deg, #004aad, #00a0ff);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.hs-step__num {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #0f2f6b;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.hs-step__card {
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--hs-accent, #4FC3F7);
    border-radius: 18px;
    padding: 1.5rem 1.7rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hs-step__card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.hs-step__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--hs-accent, #4FC3F7);
    margin-bottom: 0.35rem;
}

.hs-step__title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.hs-step__desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 0 0 1.1rem;
}

.hs-step__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.hs-step__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.hs-step__cta:hover {
    color: #fff;
    background: linear-gradient(135deg, #004aad, #0068d8);
    border-color: rgba(0, 104, 216, 0.6);
    gap: 0.8rem;
}

.hs-step__cta i { font-size: 0.78rem; }

/* per-stage accent + node gradient */
.hs-step--lessons     { --hs-accent: #ff8f8f; }
.hs-step--lessons     .hs-step__node { background: linear-gradient(135deg, #FF6B6B, #FF4757); }
.hs-step--courses     { --hs-accent: #4FC3F7; }
.hs-step--courses     .hs-step__node { background: linear-gradient(135deg, #004aad, #00a0ff); }
.hs-step--masterclass { --hs-accent: #c4a5f7; }
.hs-step--masterclass .hs-step__node { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.hs-step--edge        { --hs-accent: #5fe0c0; }
.hs-step--edge        .hs-step__node { background: linear-gradient(135deg, #4ECDC4, #26de81); }
.hs-step--interviews  { --hs-accent: #5bc4dd; }
.hs-step--interviews  .hs-step__node { background: linear-gradient(135deg, #45B7D1, #3742fa); }
.hs-step--bazaar      { --hs-accent: #fbbf24; }
.hs-step--bazaar      .hs-step__node { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Goal / outcome milestone at the end of the journey */
.hs-step--goal .hs-step__node {
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #3a2c00;
}

.hs-goal-card {
    text-align: left;
    background:
        radial-gradient(circle at 90% 0%, rgba(250, 204, 21, 0.18), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-left: 3px solid #facc15;
    border-radius: 18px;
    padding: 1.6rem 1.7rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.hs-goal-card .hs-step__kicker { color: #facc15; }

.hs-goal-card blockquote {
    margin: 0.9rem 0 1.2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(250, 204, 21, 0.5);
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hs-goal-card .hs-step__cta {
    background: #fff;
    color: #004aad;
    border-color: #fff;
    font-weight: 800;
}

.hs-goal-card .hs-step__cta:hover {
    background: #FFD700;
    color: #3a2c00;
    border-color: #FFD700;
}

/* ====================================================================
   VALUE STACK — "One membership. Everything included."
   ==================================================================== */
.hs-stack {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto 1.75rem;
}

.hs-stack__included {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hs-stack__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.hs-stack__title i { color: #FFD700; }

.hs-stack__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.1rem;
}

.hs-stack__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: left;
}

.hs-stack__list li i {
    color: #4CAF50;
    font-size: 0.82rem;
    margin-top: 0.22rem;
    flex-shrink: 0;
}

.hs-stack__media {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hs-stack__media .hs-panel__label { font-size: 1.1rem; }

/* ---- Scroll reveal -------------------------------------------------- */
.hs-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.hs-reveal.hs-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 1024px) {
    .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-preview { grid-template-columns: 1fr; }
    .hs-stack { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hs-section { padding: 2.75rem 1rem; }
    .hs-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .hs-head { margin-bottom: 2.25rem; }
    .hs-sub { font-size: 1.02rem; }
    .hs-card { padding: 1.6rem 1.4rem; }
    .hs-final { padding: 2.5rem 1.35rem; }
    .hs-final__stats { gap: 1.5rem; }
    .hs-btn-primary, .hs-btn-ghost { width: 100%; justify-content: center; }

    /* Journey timeline — tighten rail on mobile */
    .hs-step { grid-template-columns: 48px 1fr; gap: 1rem; padding-bottom: 1.35rem; }
    .hs-step__node { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 14px; }
    .hs-step__num { min-width: 20px; height: 20px; font-size: 0.7rem; }
    .hs-journey::before { left: 23px; }
    .hs-step__card, .hs-goal-card { padding: 1.25rem 1.2rem; }
    .hs-step__title { font-size: 1.15rem; }
    .hs-stack__included, .hs-stack__media { padding: 1.5rem; }
    .hs-stack__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hs-card, .hs-reveal, .hs-card__cta, .hs-btn-primary, .hs-btn-ghost, .hs-teaser__cta {
        transition: none;
    }
    .hs-reveal { opacity: 1; transform: none; }
}
