:root {
    --ink: #000000;
    --charcoal: #414042;
    --teal: #19bca8;
    --paper: #ffffff;
    --accent: #f7941e;
    --teal-soft: rgba(25, 188, 168, 0.12);
    --accent-soft: rgba(247, 148, 30, 0.12);
    --text-2xs: 0.8rem;
    --text-xs: 0.875rem;
    --text-sm: 0.95rem;
    --text-md: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.8rem;
}

@font-face {
    font-family: "MuseoModerno";
    src: url("../fonts/MuseoModerno-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MuseoModerno";
    src: url("../fonts/MuseoModerno-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-md);
    color: var(--charcoal);
    background: radial-gradient(circle at 10% 10%, var(--teal-soft), transparent 55%),
        radial-gradient(circle at 90% 80%, var(--accent-soft), transparent 50%),
        var(--paper);
    padding-top: 76px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Fraunces", "Times New Roman", serif;
    color: var(--ink);
    letter-spacing: 0.2px;
}

.type-body {
    font-size: var(--text-md);
}

.type-lede {
    font-size: var(--text-lg);
    line-height: 1.6;
}

.type-caption {
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.type-caption-muted {
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--text-xs);
    color: rgba(65, 64, 66, 0.7);
    font-weight: 300;
}

.technique-card p.type-caption-muted {
    color: rgba(65, 64, 66, 0.55) !important;
    font-weight: 300;
    font-size: var(--text-xs);
    line-height: 1.5;
}

.type-eyebrow {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}

.type-label {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.type-callout {
    font-size: var(--text-sm);
    color: rgba(65, 64, 66, 0.8);
}

.type-metric {
    font-size: var(--text-2xl);
    font-weight: 600;
}

p {
    line-height: 1.65;
}

a {
    color: var(--teal);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--accent);
}

.site-navbar {
    background: var(--paper);
    border-bottom: 1px solid rgba(65, 64, 66, 0.08);
    padding: 0.6rem 1.2rem;
    justify-content: space-between;
}

.site-navbar .navbar-collapse {
    justify-content: flex-end;
    flex-grow: 0;
}

@media (min-width: 992px) {
    .site-navbar {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
    }

    .site-navbar .navbar-brand {
        order: 1;
        margin-right: auto;
    }

    .site-navbar.navbar-expand-lg .navbar-collapse,
    .site-navbar.navbar-expand-lg .navbar-collapse.collapse,
    .site-navbar.navbar-expand-lg .navbar-collapse.show {
        display: flex !important;
        flex-basis: auto !important;
        width: auto !important;
        visibility: visible !important;
        order: 2;
        margin-left: auto;
    }

    .site-navbar .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .site-navbar.navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

.navbar-toggler {
    border: 1px solid rgba(65, 64, 66, 0.2);
    border-radius: 999px;
    padding: 0.4rem 0.6rem;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.5px;
}

.site-brand span {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-weight: 600;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(65, 64, 66, 0.2);
}

.beta-badge {
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--paper);
    background: var(--accent);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    line-height: 1;
}

.site-toggler {
    width: 28px;
    height: 2px;
    background: var(--ink);
    display: block;
    position: relative;
    background-image: none;
}

.site-toggler::before,
.site-toggler::after {
    content: "";
    position: absolute;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--ink);
}

.site-toggler::before {
    top: -7px;
}

.site-toggler::after {
    top: 7px;
}

.nav-push {
    margin-left: auto;
    gap: 0.4rem;
    align-items: center;
}

.nav-link {
    color: var(--charcoal);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.nav-item.active .nav-link,
.nav-link:hover {
    background: var(--teal-soft);
    color: var(--ink);
}

.account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(65, 64, 66, 0.2);
    background: var(--paper);
}

.account-trigger i {
    color: var(--teal);
    font-size: var(--text-lg);
}

.account-name {
    font-weight: 600;
    color: var(--ink);
}

.nav-item.dropdown .nav-link:hover .account-trigger {
    border-color: rgba(25, 188, 168, 0.6);
    background: var(--teal-soft);
}

.site-main {
    min-height: calc(100vh - 76px - 48px);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.2rem;
    border-top: 1px solid rgba(65, 64, 66, 0.08);
    background: var(--paper);
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.85em;
    color: var(--charcoal);
}

.site-footer a {
    color: var(--teal);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.2rem 3rem;
}

.training-nav {
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(65, 64, 66, 0.08);
    margin-top: -1rem;
}

.journey-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.journey-steps {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.12);
    font-size: var(--text-sm);
    text-decoration: none;
    color: var(--charcoal);
}

.journey-step.active,
.journey-step-active {
    border-color: rgba(25, 188, 168, 0.6);
    box-shadow: 0 0 0 2px rgba(25, 188, 168, 0.1);
    color: var(--ink);
    font-weight: 600;
}

.journey-step-separator {
    color: var(--charcoal);
    opacity: 0.4;
    font-size: var(--text-sm);
}

.journey-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    background: rgba(25, 188, 168, 0.1);
    font-size: 0.8em;
}

.journey-step-active .journey-step-number {
    background: var(--teal);
    color: var(--paper);
}

.journey-step:hover {
    border-color: rgba(25, 188, 168, 0.4);
    color: var(--ink);
}

.journey-step span {
    font-weight: 600;
    color: var(--ink);
}

.journey-hint {
    font-size: var(--text-sm);
    color: var(--charcoal);
    max-width: 420px;
}

.hero {
    padding: 0 0 1rem;
    display: grid;
    gap: 1.5rem;
}

.home-hero {
    padding-top: 0.75em;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 3rem);
}

.hero-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.05);
}

.home-hero-top {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.guarantee-badge {
    border-radius: 18px;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(247, 148, 30, 0.6);
    background: rgba(247, 148, 30, 0.08);
    min-width: 180px;
    text-align: center;
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    color: var(--ink);
}

.guarantee-badge span {
    display: block;
    letter-spacing: 0.2em;
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--charcoal);
}

.guarantee-badge strong {
    display: block;
    font-size: 1rem;
    margin-top: 0.35rem;
}

.home-graphic {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 1rem;
    position: relative;
}

.home-graphic::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(25, 188, 168, 0.3);
    transform: translateY(-50%);
    z-index: 0;
}

.home-step {
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.1);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    text-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    font-size: var(--text-sm);
}

.home-step span {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-size: var(--text-xs);
    color: var(--teal);
    margin-bottom: 0.4rem;
}

.landing-hero {
    padding-top: 1.8rem;
}

.landing-hero-card {
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.12), rgba(247, 148, 30, 0.12));
    border: 1px solid rgba(65, 64, 66, 0.08);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
}

.home-hero .landing-hero-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.landing-hero-copy {
    display: grid;
    gap: 1.2rem;
}

.landing-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.landing-title {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 600;
    margin: 0;
}

.landing-lede {
    font-size: var(--text-lg);
    max-width: 38rem;
    margin: 0;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.landing-cta-note {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.landing-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.home-hero .landing-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-proof-card {
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.12);
    border-radius: 16px;
    padding: 0.9rem;
    font-size: var(--text-sm);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.home-hero .landing-proof-card {
    padding: 0.7rem 0.75rem;
    font-size: var(--text-xs);
}

.landing-proof-card span {
    display: block;
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.landing-hero-panel {
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.signup-hero {
    padding-top: 1.8rem;
}

.signup-hero-card {
    align-items: stretch;
}

.signup-hero-copy {
    gap: 1rem;
}

.signup-hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.signup-hero-gallery .landing-photo-card {
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.signup-hero-gallery .landing-photo-card img {
    height: 150px;
}

.signup-hero-gallery .landing-photo-card figcaption {
    padding: 0.6rem 0.8rem 0.8rem;
}

.signup-hero-gallery .landing-photo-card p {
    font-size: var(--text-sm);
}

.signup-benefits {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.5rem;
    color: var(--charcoal);
}

.signup-benefits li {
    margin: 0;
    line-height: 1.5;
}

.signup-hero-panel {
    display: flex;
    align-items: stretch;
}

.signup-form-card {
    background: var(--paper);
    border-radius: 22px;
    padding: 1.6rem;
    border: 1px solid rgba(65, 64, 66, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 0.9rem;
    width: 100%;
}

.signup-form-card h3 {
    margin: 0;
}

.signup-form-lede {
    margin: 0;
    color: var(--charcoal);
}

.landing-scorecard {
    background: var(--ink);
    color: var(--paper);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    display: grid;
    gap: 1rem;
    width: 100%;
}

.landing-scorecard-full {
    max-width: 820px;
    margin: 0 auto;
}

.landing-scorecard-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

.landing-scorecard h3 {
    color: var(--paper);
    margin: 0;
    font-size: var(--text-xl);
}

.landing-score-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.landing-score-item {
    display: grid;
    gap: 0.4rem;
}

.landing-score-head {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}

.landing-score-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.landing-score-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--accent));
    border-radius: 999px;
}

.landing-section {
    margin-top: 2.6rem;
    padding: 2rem;
    border-radius: 26px;
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.08);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.06);
}

.landing-gallery {
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.12), rgba(247, 148, 30, 0.16));
}

.landing-section-header {
    display: grid;
    gap: 0.6rem;
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.landing-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.home-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.home-hero-gallery .landing-photo-card {
    margin: 0;
    aspect-ratio: 1 / 1;
}

.landing-photo-card {
    background: var(--paper);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(65, 64, 66, 0.12);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.landing-photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-hero-gallery .landing-photo-card img {
    height: 100%;
}


.landing-photo-card figcaption {
    padding: 0.9rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
}

.landing-photo-card p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.landing-photo-card-compact {
    background: transparent;
    border: 1px solid rgba(65, 64, 66, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
    padding: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    width: 100%;
}

.home-hero-gallery .landing-photo-card-compact {
    display: block;
    height: 0;
    padding-bottom: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
}

.landing-photo-card-compact figcaption {
    display: none;
}

.landing-photo-card-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.landing-empty {
    font-size: var(--text-md);
    color: var(--charcoal);
    padding: 0.8rem 1rem;
    background: var(--paper);
    border-radius: 14px;
    border: 1px dashed rgba(65, 64, 66, 0.18);
    max-width: 420px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--teal);
    color: var(--paper);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
}

.tech-tag:hover,
.tech-tag:focus {
    background: var(--accent);
    color: var(--paper);
}

.landing-steps {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.02), rgba(25, 188, 168, 0.08));
}

.landing-steps-graphic {
    margin: 0;
}

.landing-step {
    font-size: 1rem;
}

.landing-cta-band {
    background: linear-gradient(120deg, rgba(25, 188, 168, 0.14), rgba(247, 148, 30, 0.16));
}

.landing-cta-card {
    background: linear-gradient(120deg, #0b0b0b, #222222);
    color: var(--paper);
    border-radius: 22px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-cta-card h2 {
    color: var(--paper);
    margin-bottom: 0.4rem;
}

.landing-cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.journey-graphic {
    margin-top: 1.8rem;
    padding: 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(65, 64, 66, 0.1);
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.08), rgba(247, 148, 30, 0.06));
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 1rem;
    align-items: center;
    position: relative;
}

.journey-node {
    text-align: center;
    padding: 0.8rem 0.6rem;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid rgba(65, 64, 66, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    display: grid;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

.journey-icon {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: var(--text-2xs);
    color: var(--ink);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(25, 188, 168, 0.4);
    background: rgba(25, 188, 168, 0.12);
}

.journey-node span {
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.journey-graphic::before,
.journey-graphic::after {
    content: "";
    position: absolute;
    top: 50%;
}

.journey-graphic::before {
    left: 20%;
    right: 20%;
    height: 2px;
    background: rgba(65, 64, 66, 0.25);
    transform: translateY(-50%);
}

.journey-graphic::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(65, 64, 66, 0.25);
    border-right: 2px solid rgba(65, 64, 66, 0.25);
    transform: translateY(-50%) rotate(45deg);
    right: 20%;
}

.journey-callout {
    grid-column: 1 / -1;
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(65, 64, 66, 0.8);
    position: relative;
    z-index: 1;
}

.technique-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.technique-card {
    background: var(--paper);
    border-radius: 18px;
    border: 1px solid rgba(65, 64, 66, 0.1);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 240px 1fr 160px;
    gap: 1.5rem;
    align-items: start;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.04);
    position: relative;
}

.technique-card-unpublished {
    opacity: 0.65;
    filter: grayscale(0.2);
}

.technique-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(65, 64, 66, 0.08);
}

.technique-meta {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.technique-progress-tab {
    position: absolute;
    top: -12px;
    right: 16px;
    background: #0f4c5c;
    color: #ffffff;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}

.technique-progress-tab-under-development {
    background: #414042;
}

.technique-card-in-progress {
    border: 3px solid #0f4c5c;
    box-shadow: 0 20px 40px rgba(15, 76, 92, 0.2);
}

.technique-card-recommended {
    border: 3px solid #f7941e;
    box-shadow: 0 20px 40px rgba(247, 148, 30, 0.2);
}

.technique-card-highlight {
    border: 3px solid var(--accent);
    box-shadow: 0 20px 40px rgba(247, 148, 30, 0.2);
}

.technique-card-highlight::after {
    content: none;
}

.technique-highlight-callout {
    position: absolute;
    left: 16px;
    top: -20px;
    display: flex;
    align-items: flex-start;
    z-index: 2;
}

.technique-highlight-text {
    background: var(--accent);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.technique-highlight-arrow {
    display: none;
}

.technique-recommended-tab {
    position: absolute;
    top: -12px;
    right: 16px;
    background: #f7941e;
    color: #ffffff;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}

.technique-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: nowrap;
    margin-top: 0.4rem;
}

.technique-actions-sequence {
    gap: 0.5rem;
}

.technique-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.55rem;
    position: relative;
    border-radius: 999px 24px 24px 999px;
}

.technique-step-label {
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: inherit;
    margin-left: -2px;
}

.technique-step-title {
    font-weight: 600;
    font-size: var(--text-xs);
    white-space: nowrap;
}

.technique-card .technique-actions .technique-action-button {
    background: var(--ink) !important;
    color: var(--paper) !important;
    border: 1px solid var(--ink) !important;
}

.technique-card .technique-actions .technique-action-disabled {
    background: rgba(65, 64, 66, 0.25) !important;
    color: rgba(65, 64, 66, 0.7) !important;
    border: 1px solid rgba(65, 64, 66, 0.2) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.technique-card .technique-actions .technique-action-button:hover,
.technique-card .technique-actions .technique-action-button:focus {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
}


.training-management-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.training-management-actions .training-management-button {
    background: var(--ink) !important;
    color: var(--paper) !important;
    border: 1px solid var(--ink) !important;
    width: 100%;
    font-size: var(--text-xs);
    padding: 0.45rem 0.6rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.training-management-actions .training-management-button:hover,
.training-management-actions .training-management-button:focus {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
}

.training-management-status {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.training-management-status-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.training-management-status-controls .form-select {
    flex: 1;
}

.training-management-visibility {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coming-soon-trigger {
    position: relative;
}

.coming-soon-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    color: #ffffff;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}

.coming-soon-active .coming-soon-tooltip {
    opacity: 1;
}

.home-cta {
    justify-content: center;
    margin-top: 1.6rem;
    padding-top: 0.4rem;
}

.btn-hero {
    font-size: var(--text-xl);
    padding: 0.8rem 1.8rem;
}

.btn-brand {
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--teal);
    color: var(--paper);
}

.btn-brand-teal {
    background: var(--teal);
    color: var(--paper);
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    text-align: center;
}

.btn-brand-teal:hover,
.btn-brand-teal:focus {
    background: var(--ink);
    color: var(--paper);
}

.btn-outline-brand {
    border: 1px solid rgba(65, 64, 66, 0.35);
    color: var(--charcoal);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    border-color: var(--teal);
    color: var(--ink);
    background: var(--teal-soft);
}

.understanding-meter {
    text-align: right;
    font-weight: 600;
}

.metric-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.understanding-score {
    font-size: var(--text-2xl);
    color: var(--ink);
}

.understanding-label {
    font-size: var(--text-sm);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(65, 64, 66, 0.7);
}

.mastery-score {
    font-size: var(--text-2xl);
    color: var(--ink);
}

.mastery-label {
    font-size: var(--text-sm);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(65, 64, 66, 0.7);
}

.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    border: none;
    color: inherit;
    font-size: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: help;
}

.info-tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    color: #ffffff;
    padding: 0.4rem 0.7rem;
    border-radius: 12px;
    font-size: var(--text-sm);
    text-transform: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
    z-index: 10;
}

.info-tip:hover {
    text-decoration: underline dashed rgba(65, 64, 66, 0.5);
    text-underline-offset: 3px;
}

.info-tip:hover::after {
    opacity: 1;
}

.info-tip--wrap::after {
    white-space: normal;
    max-width: 300px;
    min-width: 200px;
    text-align: left;
    font-size: 0.85rem;
}

.info-tip--right::after {
    left: auto;
    right: 0;
    transform: none;
}


.carousel {
    height: 60vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.carousel-inner,
.carousel-item {
    height: 60vh;
}

.carousel-item {
    background: #14110f;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.journey-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.journey-back:hover {
    color: var(--brand);
}

.journey-back-icon {
    font-size: var(--text-lg);
}

.training-page {
    margin-left: -0.6rem;
}

#quiz-panel {
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(65, 64, 66, 0.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
}

#quiz-question {
    background: rgba(25, 188, 168, 0.12);
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    color: var(--ink);
    font-size: var(--text-md);
    font-weight: 600;
    padding: 0.85rem 1rem;
}

.learn-preview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.learn-preview img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(65, 64, 66, 0.12);
}

.learn-primary-example {
    margin: 0.75rem 0 1.5rem;
    padding: 0.75rem;
}

.learn-primary-example img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(65, 64, 66, 0.12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.learn-primary-example figcaption {
    margin-top: 0.85rem;
    padding: 0.65rem 0.9rem;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--charcoal);
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.6;
}

.learn-concept h3 {
    margin-top: 2.25rem;
    scroll-margin-top: 110px;
}

.learn-concept h3:first-of-type {
    margin-top: 1.25rem;
}

.learn-concept .rich-content {
    margin-top: 0.75rem;
}

.learn-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 2rem;
    align-items: start;
}

.learn-content {
    min-width: 0;
}

.edit-technique-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1.5rem;
    align-items: start;
}

.edit-technique-content {
    min-width: 0;
    width: 94%;
    justify-self: start;
}

.learn-toc {
    position: sticky;
    top: 96px;
    align-self: start;
}

.learn-toc-details {
    border-radius: 16px;
    border: 1px solid rgba(65, 64, 66, 0.12);
    background: rgba(65, 64, 66, 0.04);
    padding: 0.75rem 0.9rem;
}

.learn-toc-title {
    font-family: "MuseoModerno", "Trebuchet MS", sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.learn-toc-title::-webkit-details-marker {
    display: none;
}

.learn-toc-body {
    margin-top: 0.75rem;
}

.learn-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.learn-toc-link {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-sm);
    color: var(--charcoal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.learn-toc-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(25, 188, 168, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.learn-toc-link:hover,
.learn-toc-link:focus {
    color: var(--brand);
}

.learn-toc-link:hover::before,
.learn-toc-link:focus::before,
.learn-toc-link.is-active::before {
    background: var(--brand);
    transform: scale(1.1);
}

.learn-toc-link.is-active {
    color: var(--brand);
}

@media (max-width: 991px) {
    .learn-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .edit-technique-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .edit-technique-content {
        width: 100%;
    }

    .learn-toc {
        position: static;
        order: -1;
    }

    .learn-toc-details {
        background: rgba(25, 188, 168, 0.08);
    }
}

.teaching-examples {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.counter-example-section {
    margin-top: 2.5rem;
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid rgba(247, 148, 30, 0.35);
    background: linear-gradient(135deg, rgba(247, 148, 30, 0.08), rgba(65, 64, 66, 0.05));
}

.counter-example-section h3 {
    color: var(--ink);
    margin-top: 0;
}

.counter-example-section .teaching-examples {
    margin-top: 1rem;
}

.teaching-example-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.teaching-example-row.has-before {
    grid-template-columns: minmax(0, 1fr);
}

.teaching-example-row.has-before .teaching-example-image {
    order: 1;
}

.teaching-example-row.has-before .teaching-example-text {
    order: 2;
}

.teaching-example-row.is-flipped .teaching-example-image {
    order: 2;
}

.teaching-example-row.is-flipped .teaching-example-text {
    order: 1;
}

.teaching-example-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(65, 64, 66, 0.12);
}

.teaching-example-image-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.teaching-example-cue {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.teaching-examples-editor .teaching-example-grid {
    display: grid;
    gap: 1.25rem;
}

.teaching-example-card {
    border-radius: 18px;
    border: 1px solid rgba(65, 64, 66, 0.12);
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.7);
}

.teaching-example-upload {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.teaching-example-preview {
    width: 280px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(65, 64, 66, 0.2);
    box-shadow: 0 10px 18px rgba(65, 64, 66, 0.12);
}

.photo-preview-link.is-disabled {
    pointer-events: none;
}

.photo-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.photo-modal-backdrop.is-visible {
    display: flex;
}

.photo-modal-image {
    max-width: 95vw;
    max-height: 92vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border-radius: 6px;
    background: #000;
}

.photo-modal-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #ffffff;
    border: none;
    color: #000000;
    font-size: var(--text-lg);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    z-index: 1060;
}

.photo-modal-close:focus {
    outline: 2px solid #f7941e;
    outline-offset: 2px;
}

body.photo-modal-open {
    overflow: hidden;
}

.unsaved-changes-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1060;
}

.unsaved-changes-backdrop.is-visible {
    display: flex;
}

.unsaved-changes-dialog {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    color: #000000;
}

.unsaved-changes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

body.unsaved-changes-open {
    overflow: hidden;
}

.teaching-example-card-header {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

@media (max-width: 992px) {
    .teaching-example-row {
        grid-template-columns: 1fr;
    }

    .teaching-example-row.is-flipped .teaching-example-image,
    .teaching-example-row.is-flipped .teaching-example-text {
        order: initial;
    }

    .teaching-example-row.has-before {
        grid-template-columns: 1fr;
    }

    .teaching-example-image-stack {
        grid-template-columns: 1fr;
    }
}

#quiz-options button {
    white-space: normal;
    word-break: break-word;
    width: 100%;
}

form label,
.form-label,
.form-check-label {
    font-family: "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.technique-tag-label {
    font-family: "Fraunces", "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

form label,
.form-label {
    display: inline-block;
    margin-bottom: 0.35rem;
}

.form-control {
    border-radius: 12px;
    border: 1px solid rgba(65, 64, 66, 0.2);
}

.concept-editor-box {
    background: #e9f8f6;
    color: var(--charcoal);
    font-family: "Fraunces", "Times New Roman", serif;
}

.concept-editor-box:not(.tox-tinymce) {
    padding: 0.85rem;
}

.concept-editor-box.body,
body.concept-editor-box {
    padding: 0.85rem;
}

.concept-editor-box:not(body) {
    border: 1px solid rgba(25, 188, 168, 0.35);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(25, 188, 168, 0.08);
}

.curation-guidance {
    border-radius: 18px;
    border: 1px solid rgba(247, 148, 30, 0.5);
    background: linear-gradient(135deg, rgba(247, 148, 30, 0.12), rgba(25, 188, 168, 0.12));
    padding: 1.25rem;
    box-shadow: 0 16px 30px rgba(65, 64, 66, 0.08);
}

.curation-guidance h4 {
    font-family: "MuseoModerno", "Fraunces", "Times New Roman", serif;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-weight: 600;
}

.curation-guidance p {
    color: var(--charcoal);
}

.curation-guidance-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 1.5rem;
}

.curation-guidance-list li {
    margin: 0;
    line-height: 1.4;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.auth-google {
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.google-mark {
    width: 20px;
    height: 20px;
    display: inline-flex;
}

.google-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.auth-divider {
    position: relative;
    text-align: center;
    font-size: var(--text-sm);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(65, 64, 66, 0.6);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(65, 64, 66, 0.15);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.form-hint {
    margin-top: 0.75rem;
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.card {
    border-radius: 18px;
    border: 1px solid rgba(65, 64, 66, 0.08);
}

@media (max-width: 992px) {
    .technique-card {
        grid-template-columns: 1fr;
    }

    .technique-actions {
        flex-wrap: wrap;
    }

    .technique-step {
        width: 100%;
        justify-content: space-between;
    }

    .technique-highlight-callout {
        left: 12px;
        top: -18px;
    }

    .technique-card-highlight::after {
        inset: -8px;
    }

    .understanding-meter {
        text-align: left;
    }

    .journey-graphic {
        grid-template-columns: 1fr;
    }

    .journey-graphic::before,
    .journey-graphic::after {
        display: none;
    }

    .home-hero-top {
        flex-direction: column;
    }

    .home-graphic {
        grid-template-columns: 1fr;
    }

.home-graphic::before {
    display: none;
}

    .landing-hero-card {
        grid-template-columns: 1fr;
        padding: 1.6rem;
    }

    .landing-hero-panel {
        justify-content: flex-start;
    }

    .home-hero-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-hero-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-form-card {
        padding: 1.4rem;
    }

    .landing-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-beta-link {
    margin-top: 0.8rem;
    font-size: var(--text-sm);
}

.beta-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.beta-cta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.beta-welcome {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.beta-welcome-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    border: 2px solid var(--teal);
    border-radius: 16px;
    background-color: #f0fffe;
}

.beta-welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.beta-welcome-header h2 {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.beta-welcome-dismiss {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--grey);
    cursor: pointer;
    padding: 0 0.2rem;
}

.beta-welcome-dismiss:hover {
    color: var(--ink);
}

.beta-welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.2rem 0;
}

.beta-welcome-step {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.beta-welcome-step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--teal);
    color: #fff;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--text-sm);
}

.beta-welcome-step .type-label {
    display: block;
    margin-bottom: 0.15rem;
}

.beta-welcome-step .type-body {
    margin: 0;
    font-size: var(--text-sm);
}

.beta-welcome-notes {
    margin-top: 1.2rem;
    padding: 0.8rem 1rem;
    background-color: #fff8f0;
    border-radius: 8px;
    border: 1px solid #f7941e;
}

.beta-welcome-notes .type-body {
    margin: 0;
    font-size: var(--text-sm);
}

.beta-welcome-actions {
    margin-top: 1.2rem;
    text-align: center;
}

.voice-discovery-callout {
    margin-bottom: 1.5rem;
}

.voice-discovery-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 16px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.voice-discovery-text p {
    margin: 0;
}

@media (max-width: 640px) {
    .voice-discovery-card {
        flex-direction: column;
        text-align: center;
    }
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
}

.summary-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(65, 64, 66, 0.7);
}

.summary-value {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--ink);
}

.tox,
.tox .tox-button,
.tox .tox-toolbar__group,
.tox .tox-label,
.tox .tox-textfield,
.tox .tox-selectfield select,
.tox .tox-collection__item,
.tox .tox-dialog {
    font-family: "Fraunces", "Times New Roman", serif;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-editor-header {
    background: #f5fffd;
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }

    .journey-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card {
        padding: 1.2rem;
    }

    .landing-section {
        padding: 1.4rem;
    }

    .landing-photo-card img {
        height: 200px;
    }

    .landing-title {
        font-size: clamp(2.2rem, 8vw, 3.1rem);
    }

    .home-hero-gallery {
        grid-template-columns: 1fr;
    }

    .home-hero-gallery .landing-photo-card img {
        height: 100%;
    }

    .signup-hero-gallery {
        grid-template-columns: 1fr;
    }

    .signup-hero-gallery .landing-photo-card img {
        height: 200px;
    }
}

.feedback-survey {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1100;
}

.feedback-survey-tab {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #19bca8;
    color: #ffffff;
    font-family: "MuseoModerno", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 0.8rem 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.feedback-survey-attention {
    animation: feedback-bounce 1.4s ease-in-out 2;
}

@keyframes feedback-bounce {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    40% {
        transform: translateY(-50%) translateX(-12px);
    }
    70% {
        transform: translateY(-50%) translateX(0);
    }
}

.feedback-survey-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1090;
}

.feedback-survey-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100dvh;
    max-height: 100vh;
    width: min(420px, 90vw);
    background: #ffffff;
    box-shadow: -24px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 2rem;
}

.feedback-survey-panel.is-open {
    transform: translateX(0);
}

.feedback-survey-card {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 22px;
    padding: 2rem 1.8rem;
    background: linear-gradient(140deg, rgba(25, 188, 168, 0.12), rgba(247, 148, 30, 0.1));
    margin: 1.5rem;
}

.feedback-survey-header h3 {
    font-family: "Fraunces", serif;
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.feedback-survey-label {
    font-family: "MuseoModerno", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
    color: #414042;
}

.feedback-survey-intro {
    color: #414042;
}

.feedback-survey-question {
    margin: 1.4rem 0;
}

.feedback-survey-question-text {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.feedback-survey-scale,
.feedback-survey-binary {
    display: grid;
    gap: 0.6rem;
}

.feedback-survey-scale {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feedback-survey-binary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-survey-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "MuseoModerno", sans-serif;
    cursor: pointer;
}

.feedback-survey-option input {
    position: absolute;
    opacity: 0;
}

.feedback-survey-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #414042;
    border-radius: 999px;
    padding: 0.55rem 0;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    pointer-events: none;
}

.feedback-survey-option:hover span,
.feedback-survey-option input:checked + span {
    background: #19bca8;
    border-color: #19bca8;
    color: #ffffff;
    transform: translateY(-2px);
}

.feedback-survey-hint {
    font-size: 0.85rem;
    color: #414042;
    margin-top: 0.4rem;
}

.feedback-survey-question textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0.75rem;
    font-family: "Fraunces", serif;
}

.feedback-survey-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.feedback-survey-status {
    color: #414042;
    font-size: 0.9rem;
}

.feedback-survey-thanks {
    margin-top: 1rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .feedback-survey-card {
        padding: 1.4rem;
    }

    .feedback-survey-scale {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.start-visible {
}

.start-blurred {
    filter: blur(5px);
    user-select: none;
    cursor: pointer;
}

.start-ready-nudge {
    text-align: center;
    font-family: Fraunces, serif;
    color: #999;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.start-ready-nudge a {
    color: #19bca8;
}

.start-bottom-cta {
    text-align: center;
    padding: 30px;
    background-color: #fff8f0;
    border: 2px solid #f7941e;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.start-technique-card {
    transition: border-color 0.2s ease;
}

.start-technique-card:hover {
    border-color: rgba(25, 188, 168, 0.4);
}

/* ── Start Results Hero ── */

.start-hero-split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.start-hero-left {
    animation: startFadeRise 0.6s ease-out 0.3s both;
}

.start-hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.start-hero-photo {
    display: block;
    max-width: 100%;
    max-height: 600px;
    width: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: startPhotoReveal 0.7s ease-out both;
}

.start-pull-quote {
    margin: 0 0 24px;
    text-align: left;
    padding-top: 0;
    position: relative;
    animation: startFadeRise 0.6s ease-out 0.5s both;
}

.start-pull-quote::before {
    content: "\201C";
    display: block;
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 3.5em;
    line-height: 0.6;
    font-weight: 700;
    color: var(--teal);
    opacity: 0.35;
    margin-bottom: 8px;
}

.start-pull-quote-eyebrow {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs, 0.75em);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
    margin-bottom: 10px;
}

.start-pull-quote-text {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: clamp(0.95em, 1.6vw, 1.15em);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 0;
}

.start-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    animation: startFadeRise 0.5s ease-out 0.3s both;
}

.start-tags-label {
    font-family: "Fraunces", serif;
    font-size: 0.95em;
    color: var(--charcoal);
    width: 100%;
    margin-bottom: 4px;
}

.start-tag {
    display: inline-block;
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--teal);
    background: rgba(25, 188, 168, 0.1);
    padding: 6px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(25, 188, 168, 0.3);
    letter-spacing: 0.02em;
}

.start-feedback-section {
    margin-top: 12px;
}

.start-feedback-intro {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1em;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 24px;
}

.start-card {
    background: var(--paper);
    border-radius: 16px;
    border: 1px solid rgba(65, 64, 66, 0.08);
    border-left: 4px solid var(--teal);
    padding: 24px 24px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.start-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.start-card-name {
    font-family: "MuseoModerno", sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
}

.start-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.start-card-panel {
    padding: 14px;
    border-radius: 10px;
}

.start-card-panel-teal {
    background: rgba(25, 188, 168, 0.06);
    border: 1px solid rgba(25, 188, 168, 0.12);
}

.start-card-panel-accent {
    background: rgba(247, 148, 30, 0.06);
    border: 1px solid rgba(247, 148, 30, 0.12);
}

.start-card-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.start-card-panel-teal .start-card-label {
    color: var(--teal);
}

.start-card-panel-accent .start-card-label {
    color: var(--accent);
}

.start-card-text {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 0.95em;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 0;
}

.start-card-link {
    display: inline-block;
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
}

.start-card-link:hover {
    color: var(--accent);
}

@keyframes startFadeRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes startPhotoReveal {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.start-reveal {
    animation: startFadeRise 0.45s ease-out both;
    animation-delay: calc(0.8s + (var(--reveal-order, 1) * 0.12s));
}

.start-signup-cta {
    animation: startFadeRise 0.5s ease-out 0.7s both;
}

@media (max-width: 900px) {
    .start-hero-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .start-hero-left {
        order: 2;
        text-align: center;
    }
    .start-hero-right {
        order: 1;
    }
    .start-pull-quote {
        text-align: center;
    }
    .start-pull-quote::before {
        margin: 0 auto;
        margin-bottom: 8px;
    }
    .start-tags {
        justify-content: center;
    }
    .start-tags-label {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .start-hero-photo {
        max-height: 475px;
    }
    .start-pull-quote-text {
        font-size: 1.05em;
    }
    .start-tag {
        font-size: 0.9em;
        padding: 6px 16px;
    }
}

@media (max-width: 640px) {
    .start-card-grid {
        grid-template-columns: 1fr;
    }
    .start-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .start-pull-quote-text {
        font-size: 0.95em;
    }
    .start-tag {
        font-size: 0.85em;
        padding: 5px 14px;
    }
}

/* ── Voice Discovery Bridge (start → voice transition) ── */

.voice-bridge {
    margin-top: 30px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(25,188,168,0.1) 0%, rgba(25,188,168,0.03) 60%, rgba(247,148,30,0.06) 100%);
    border-radius: 16px;
    border: 2px solid rgba(25,188,168,0.3);
    position: relative;
    overflow: hidden;
}

.voice-bridge::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(25,188,168,0.08), transparent 70%);
    pointer-events: none;
}

.voice-bridge-content {
    position: relative;
}

.voice-bridge-eyebrow {
    font-family: MuseoModerno, sans-serif;
    font-size: 0.85em;
    color: #19bca8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: bold;
}

.voice-bridge-heading {
    font-family: MuseoModerno, sans-serif;
    color: #414042;
    font-size: 1.4em;
    margin-bottom: 14px;
    line-height: 1.3;
}

.voice-bridge-body {
    font-family: Fraunces, serif;
    color: #414042;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1.02em;
}

.voice-bridge-body em {
    font-style: italic;
    color: #19bca8;
}

.voice-bridge-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    border: 1px solid rgba(25,188,168,0.12);
}

.voice-bridge-slot {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.voice-bridge-slot-filled {
    border: 2px solid #19bca8;
}

.voice-bridge-slot-filled img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.voice-bridge-slot-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(25,188,168,0.9);
    color: white;
    font-family: MuseoModerno, sans-serif;
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
}

.voice-bridge-slot-empty {
    border: 2px dashed rgba(25,188,168,0.35);
    background: rgba(25,188,168,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-bridge-slot-plus {
    font-family: MuseoModerno, sans-serif;
    font-size: 24px;
    color: rgba(25,188,168,0.5);
    font-weight: 300;
}

.voice-bridge-arrow {
    font-size: 20px;
    color: #19bca8;
    flex-shrink: 0;
    margin: 0 4px;
}

.voice-bridge-outcome {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.voice-bridge-outcome-label {
    font-family: MuseoModerno, sans-serif;
    font-size: 0.85em;
    font-weight: bold;
    color: #414042;
    margin-bottom: 2px;
}

.voice-bridge-outcome-items {
    font-family: Fraunces, serif;
    font-size: 0.8em;
    color: #666;
    line-height: 1.4;
}

.voice-bridge-reassurance {
    font-family: Fraunces, serif;
    font-size: 0.9em;
    color: #19bca8;
    margin-bottom: 16px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .voice-bridge {
        padding: 24px 20px;
    }
    .voice-bridge-heading {
        font-size: 1.2em;
    }
    .voice-bridge-preview {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }
    .voice-bridge-slot {
        width: 64px;
        height: 64px;
    }
    .voice-bridge-arrow {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .voice-bridge-preview {
        gap: 8px;
    }
    .voice-bridge-slot {
        width: 56px;
        height: 56px;
    }
    .voice-bridge-outcome-items {
        font-size: 0.75em;
    }
}

/* ── End Start Results Hero ── */

.help-hero {
    background: linear-gradient(120deg, rgba(25, 188, 168, 0.18), rgba(0, 0, 0, 0));
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.help-form-section {
    padding-bottom: 4rem;
}

.help-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.help-card-header h3 {
    font-family: "Fraunces", serif;
    margin-bottom: 0.4rem;
}

.help-form label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: block;
}

.help-form input,
.help-form select,
.help-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0.75rem;
    font-family: "Fraunces", serif;
    margin-bottom: 1rem;
    background: #ffffff;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.help-note {
    margin: 0;
    font-size: 0.9rem;
    color: #414042;
}

@media (max-width: 640px) {
    .help-card {
        padding: 1.5rem;
    }

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

/* ── Discovery signup modal ──────────────────────────────────────── */

#discoverySignupModal .form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(25, 188, 168, 0.25);
}

#discoverySignupModal .form-label {
    font-family: "Fraunces", serif;
    color: var(--charcoal);
}

#discoverySignupModal .btn-brand {
    font-size: 1rem;
}

/* ── Voice page (My Voice / Discovery Results) ─────────────────── */

/* ── Voice Identity Tags ── */

.voice-welcome {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.1em;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.voice-identity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.voice-identity-tag {
    font-family: "MuseoModerno", sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-block;
    letter-spacing: 0.02em;
}

.voice-identity-tag-strong,
.voice-identity-tag-developing,
.voice-identity-tag-emerging {
    background-color: var(--ink);
    color: var(--paper);
}

/* ── Voice Hero Box ── */

.voice-hero {
    padding: 30px;
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.08), rgba(247, 148, 30, 0.04));
    border-radius: 16px;
    border: 2px solid var(--teal);
    margin-bottom: 30px;
}

.voice-hero-photos {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.voice-hero-photo-link {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.voice-hero-photo-link img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: opacity 0.15s ease;
}

.voice-hero-photo-link:hover img {
    opacity: 0.85;
}

.voice-thesis {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.55em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 16px;
}

.voice-body {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.05em;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 0;
}

.voice-highlight {
    background-color: rgba(25, 188, 168, 0.14);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
}

a.voice-highlight {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

a.voice-highlight:hover {
    background-color: rgba(25, 188, 168, 0.28);
}

.voice-hero-summary {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-lg);
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Voice Portrait (enriched format) ── */

.voice-portrait-text {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.2em;
    color: var(--charcoal);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ── Recurring Threads ── */

.voice-threads {
    margin-bottom: 30px;
}

.voice-threads-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 16px;
}

.voice-thread {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(25, 188, 168, 0.04);
    border-left: 3px solid var(--teal);
    border-radius: 0 10px 10px 0;
    margin-bottom: 12px;
}

.voice-thread-content {
    flex: 1;
}

.voice-thread-name {
    font-family: "Fraunces", "Times New Roman", serif;
    font-weight: 600;
    font-size: 1.05em;
    color: var(--ink);
    margin-bottom: 4px;
}

.voice-thread-observation {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 0.95em;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 0;
}

.voice-thread-photos {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.voice-thread-photos img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(25, 188, 168, 0.25);
}

/* ── Meaning Connection ── */

.voice-meaning-connection {
    font-family: "Fraunces", "Times New Roman", serif;
    font-style: italic;
    font-size: 1.02em;
    color: var(--teal);
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: rgba(25, 188, 168, 0.06);
    border-radius: 8px;
}

/* ── Journey Toggle ── */

.voice-journey-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 8px;
    border-top: 1px solid rgba(65, 64, 66, 0.08);
}

.voice-journey-toggle-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
}

.voice-journey-toggle-arrow {
    color: #999;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.voice-journey-toggle-open .voice-journey-toggle-arrow {
    transform: rotate(180deg);
}

/* ── Validation Traits ── */

.voice-traits {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(25, 188, 168, 0.2);
}

.voice-traits-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 12px;
}

.voice-trait {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.voice-trait-marker {
    color: var(--teal);
    font-size: 1.1em;
    flex-shrink: 0;
}

.voice-trait-text {
    font-family: "Fraunces", "Times New Roman", serif;
    font-style: italic;
    color: var(--charcoal);
    font-size: 0.95em;
    line-height: 1.5;
}

/* ── Stats Row ── */

.voice-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(25, 188, 168, 0.2);
    flex-wrap: wrap;
}

.voice-stat {
    text-align: center;
}

.voice-stat-value {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.voice-stat-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal);
}

.voice-photos {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 30px;
}

.voice-photos img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(65, 64, 66, 0.12);
    flex-shrink: 0;
}

.voice-photo-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 30px;
}

.voice-photo-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 1;
}

.voice-photo-hero {
    grid-column: span 2;
    grid-row: span 2;
}

.voice-photo-hero.voice-photo-hero {
    aspect-ratio: auto;
}

.voice-card {
    padding: 20px;
    border: 2px solid rgba(65, 64, 66, 0.12);
    border-radius: 14px;
    margin-bottom: 20px;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    scroll-margin-top: 24px;
}

.voice-card-thumb {
    margin: -20px -20px 16px -20px;
    max-height: 140px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.voice-card-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.voice-card-next {
    border-color: var(--accent);
    box-shadow: 0 16px 32px rgba(247, 148, 30, 0.15);
}

.voice-card-next-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--accent);
    color: var(--paper);
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.voice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.voice-card-header h5 {
    font-family: "MuseoModerno", sans-serif;
    color: var(--teal);
    margin-bottom: 0;
}

.voice-badge-strong {
    background-color: rgba(25, 188, 168, 0.15);
    color: var(--teal);
}

.voice-badge-developing {
    background-color: rgba(247, 148, 30, 0.15);
    color: var(--accent);
}

.voice-badge-emerging {
    background-color: rgba(65, 64, 66, 0.1);
    color: #999;
}

.voice-badge {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.voice-feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.voice-feedback-well {
    padding: 12px;
    border-radius: 10px;
}

.voice-feedback-well-teal {
    background-color: rgba(25, 188, 168, 0.08);
}

.voice-feedback-well-orange {
    background-color: rgba(247, 148, 30, 0.08);
}

.voice-feedback-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    margin-bottom: 6px;
}

.voice-feedback-label-teal {
    color: var(--teal);
}

.voice-feedback-label-orange {
    color: var(--accent);
}

.voice-feedback-text {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-sm);
    color: var(--charcoal);
    margin-bottom: 0;
}

.voice-card-photos {
    margin-bottom: 12px;
}

.voice-card-photos-label {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 6px;
}

.voice-card-photos-strip {
    display: flex;
    gap: 8px;
}

.voice-card-photos-strip img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--teal);
}

.voice-journey {
    display: none;
    gap: 0;
    margin-top: 8px;
    border: 1px solid rgba(65, 64, 66, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.voice-journey.voice-journey-open {
    display: flex;
}

.voice-journey-step {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    border-right: 1px solid rgba(65, 64, 66, 0.08);
}

.voice-journey-step:last-child {
    border-right: none;
}

.voice-step-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    flex-shrink: 0;
}

.voice-step-done .voice-step-indicator {
    background: var(--teal);
    color: var(--paper);
}

.voice-step-active .voice-step-indicator {
    background: var(--ink);
    color: var(--paper);
}

.voice-step-pending .voice-step-indicator {
    background: rgba(65, 64, 66, 0.15);
    color: rgba(65, 64, 66, 0.5);
}

.voice-step-title {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.voice-step-done .voice-step-title {
    color: var(--teal);
}

.voice-step-active .voice-step-title {
    color: var(--ink);
}

.voice-step-pending .voice-step-title {
    color: rgba(65, 64, 66, 0.45);
}

.voice-step-subtitle {
    font-size: var(--text-2xs);
    color: var(--charcoal);
}

.voice-step-pending .voice-step-subtitle {
    color: rgba(65, 64, 66, 0.4);
}

.voice-step-cta {
    display: inline-block;
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-2xs);
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    text-decoration: none;
    margin-top: 4px;
}

.voice-step-done .voice-step-cta {
    background: rgba(25, 188, 168, 0.12);
    color: var(--teal);
}

.voice-step-done .voice-step-cta:hover {
    background: rgba(25, 188, 168, 0.2);
}

.voice-step-active .voice-step-cta {
    background: var(--ink);
    color: var(--paper);
}

.voice-step-active .voice-step-cta:hover {
    background: var(--teal);
    color: var(--paper);
}

.voice-step-metric {
    font-size: var(--text-2xs);
    color: var(--charcoal);
}

.voice-next-card {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.12), rgba(247, 148, 30, 0.12));
    border: 1px solid rgba(65, 64, 66, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.voice-next-text {
    flex: 1;
}

.voice-next-eyebrow {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 4px;
}

.voice-next-headline {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: var(--text-xl);
    color: var(--ink);
    margin-bottom: 4px;
}

.voice-next-desc {
    font-size: var(--text-sm);
    color: var(--charcoal);
    margin-bottom: 0;
}

.voice-explore-divider {
    margin: 40px 0 20px;
    text-align: center;
    position: relative;
}

.voice-explore-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(65, 64, 66, 0.15);
}

.voice-explore-divider span {
    position: relative;
    background: var(--paper);
    padding: 0 16px;
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Reusable dividers ─────────────────────────────── */

.divider-teal {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.divider-teal::before {
    content: "";
    width: 60px;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

.divider-subtle {
    border: none;
    border-top: 1px solid rgba(65, 64, 66, 0.12);
    margin: 2rem 0;
}

.divider-dot {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 1.5rem 0;
}

.divider-dot::before,
.divider-dot::after,
.divider-dot span {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.4;
}

.voice-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.voice-explore-card {
    border: 1px solid rgba(65, 64, 66, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: var(--paper);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.voice-explore-card:hover {
    border-color: rgba(25, 188, 168, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

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

.voice-explore-card-body {
    padding: 10px 12px;
}

.voice-explore-card-name {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.voice-explore-card-score {
    font-size: var(--text-2xs);
    color: var(--charcoal);
}

.voice-upload-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.voice-upload-main {
    min-width: 0;
}

.voice-upload-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.voice-upload-panel-photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.voice-upload-panel-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.voice-upload-panel-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: var(--paper);
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-2xs);
    font-weight: 600;
}

.voice-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .voice-journey {
        flex-direction: column;
    }

    .voice-journey-step {
        border-right: none;
        border-bottom: 1px solid rgba(65, 64, 66, 0.08);
        flex-direction: row;
        text-align: left;
        gap: 10px;
    }

    .voice-journey-step:last-child {
        border-bottom: none;
    }

    .voice-feedback-grid {
        grid-template-columns: 1fr;
    }

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

    .voice-next-card {
        flex-direction: column;
        text-align: center;
    }

    .voice-hero-stats {
        justify-content: center;
    }

    .voice-identity-tags {
        justify-content: center;
    }

    .voice-identity-tag {
        font-size: 1em;
        padding: 8px 18px;
    }

    .voice-thesis {
        font-size: 1.3em;
    }

    .voice-hero {
        padding: 20px;
    }

    .voice-hero-photos {
        gap: 5px;
        margin-bottom: 16px;
    }

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

    .voice-upload-hero {
        grid-template-columns: 1fr;
    }

    .voice-upload-panel {
        display: none;
    }

    .voice-thread {
        flex-direction: column;
    }

    .voice-thread-photos {
        margin-top: 8px;
    }

    .voice-portrait-text {
        font-size: 1.05em;
    }
}


/* === Login Hero (photo + form side-by-side) === */

.login-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding-top: 1.5rem;
}

.login-hero-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.login-hero-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .login-hero {
        grid-template-columns: 1fr;
    }

    .login-hero-photo img {
        height: 240px;
    }
}


/* === 404 Not Found Hero === */

.not-found-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding-top: 1.5rem;
}

.not-found-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.not-found-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.not-found-copy {
    display: grid;
    gap: 1rem;
}

.not-found-headline {
    font-family: MuseoModerno, sans-serif;
    color: var(--charcoal, #414042);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0;
}

.not-found-body {
    font-family: Fraunces, serif;
    color: var(--charcoal, #414042);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .not-found-hero {
        grid-template-columns: 1fr;
    }

    .not-found-photo img {
        height: 220px;
    }
}


/* === Mastery Dashboard Card Photo === */

.mastery-card-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.mastery-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Affinity Discovery Flow ────────────────────────────────────────────── */

.choose-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .choose-path-grid {
        grid-template-columns: 1fr;
    }
}

.choose-path-card {
    padding: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.choose-path-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 16px rgba(25, 188, 168, 0.15);
}

.choose-path-card-disabled {
    opacity: 0.6;
}

.choose-path-card-disabled:hover {
    border-color: #e0e0e0;
    box-shadow: none;
}

.affinity-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(25, 188, 168, 0.15);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.affinity-progress-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.affinity-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.affinity-image-card {
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.affinity-image-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 188, 168, 0.2);
}

.affinity-image-card:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.affinity-image-card.selected {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(247, 148, 30, 0.3);
}

.affinity-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.affinity-narrative {
    padding: 20px;
    background-color: #f0fffe;
    border-radius: 12px;
    border: 2px solid var(--teal);
    font-family: Fraunces, serif;
    font-size: 1.05em;
    color: var(--charcoal);
    line-height: 1.7;
    white-space: pre-line;
}

.affinity-verification {
    padding: 20px;
    background: rgba(25, 188, 168, 0.05);
    border-radius: 12px;
    margin-top: 25px;
}

.affinity-refinement-counter {
    font-family: Fraunces, serif;
    font-size: var(--text-xs);
    color: var(--charcoal);
    margin-top: 8px;
    opacity: 0.6;
}

/* ── Google OAuth hero button ── */

.auth-google-hero {
    font-size: var(--text-lg);
    padding: 0.9rem 1.8rem;
    width: 100%;
    justify-content: center;
    background: var(--teal);
    color: var(--paper);
    border-radius: 999px;
    font-family: "MuseoModerno", sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s;
}

.auth-google-hero:hover {
    background: #15a695;
    color: var(--paper);
}

.auth-google-hero .google-mark {
    width: 24px;
    height: 24px;
}

.auth-email-link {
    font-family: Fraunces, serif;
    font-size: var(--text-sm);
    color: var(--teal);
    text-align: center;
    display: block;
}

.auth-email-link:hover {
    color: var(--accent);
}

/* ── Social proof / testimonials ── */

.landing-testimonials {
    background: var(--ink);
    padding: 3.5rem 1.5rem;
    margin: 2.6rem -1.5rem 0;
}

.landing-testimonials .landing-section-header {
    color: var(--paper);
}

.landing-testimonials .landing-section-header h2 {
    color: var(--paper);
}

.landing-testimonials .landing-eyebrow {
    color: var(--teal);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 1.5rem;
    border-left: 3px solid var(--teal);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 12px 12px 0;
}

.testimonial-quote {
    font-family: Fraunces, serif;
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.testimonial-attribution {
    font-family: "MuseoModerno", sans-serif;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
}


/* ── Inline signup modal ── */

.start-signup-modal .modal-content {
    border-radius: 12px;
    border: 2px solid #f7941e;
    background-color: #fff8f0;
    padding: 30px;
}

.start-signup-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.start-modal-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    color: #999;
    font-family: Fraunces, serif;
    font-size: 0.88em;
}

.start-modal-divider::before,
.start-modal-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.start-modal-divider span {
    padding: 0 12px;
}

.start-signup-modal .modal-body .form-control {
    margin-bottom: 0.75rem;
}

.start-signup-modal .signup-error {
    color: #c0392b;
    font-family: Fraunces, serif;
    font-size: var(--text-xs);
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

/* ── Password toggle ── */

.password-toggle-wrapper {
    position: relative;
}

.password-toggle-wrapper .form-control {
    padding-right: 2.5rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0.2rem;
    font-size: var(--text-md);
    opacity: 0.6;
}

.password-toggle-btn:hover {
    opacity: 1;
}

/* ── My Journey dashboard ── */

.journey-wrapper {
    padding: 24px 0 60px;
}

.journey-header {
    text-align: center;
    margin-bottom: 24px;
}

.journey-title {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-2xl);
    color: var(--ink);
    margin-bottom: 8px;
}

.journey-subtitle {
    font-family: Fraunces, serif;
    color: var(--charcoal);
    font-size: var(--text-lg);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.journey-cards {
    display: flex;
    gap: 28px;
    align-items: stretch;
}

.journey-card {
    flex: 1;
    min-width: 0;
    background: var(--paper);
    border: 2px solid rgba(65, 64, 66, 0.18);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.journey-card-cta {
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.06), rgba(247, 148, 30, 0.04));
    border-color: rgba(25, 188, 168, 0.3);
}

/* Photo area at top of card */
.journey-card-photo {
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}

.journey-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2x2 photo grid for voice/mastery cards */
.journey-card-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    overflow: hidden;
}

.journey-card-photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Body area below photo */
.journey-card-body {
    padding: 12px 16px 14px;
}

.journey-card-eyebrow {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 6px;
}

.journey-card-purpose {
    font-family: Fraunces, serif;
    font-size: var(--text-2xs);
    color: var(--charcoal);
    opacity: 0.7;
    line-height: 1.4;
    margin-bottom: 8px;
}

.journey-card-summary {
    font-family: Fraunces, serif;
    font-size: var(--text-xs);
    color: var(--charcoal);
    line-height: 1.4;
    margin-bottom: 8px;
}

.journey-card-cta-text {
    font-family: Fraunces, serif;
    font-size: var(--text-xs);
    color: var(--charcoal);
    line-height: 1.4;
    margin-bottom: 8px;
}

.journey-card-action {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-xs);
    display: inline-block;
    border-radius: 8px;
    padding: 0.35rem 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.journey-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.journey-card-tag {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-2xs);
    background: var(--teal-soft);
    color: var(--teal);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Mastery technique list */
.journey-card-mastery-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.journey-mastery-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    background: rgba(25, 188, 168, 0.04);
    border-radius: 10px;
}

.journey-mastery-name {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-xs);
    color: var(--charcoal);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.journey-mastery-score {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-sm);
    color: var(--teal);
    font-weight: 600;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Arrow connector between CTA cards */
.journey-arrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.journey-arrow::before {
    content: '';
    height: 2px;
    width: 28px;
    background: var(--teal);
    display: block;
}

.journey-arrow::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(-45deg);
    display: block;
    margin-left: -4px;
}

/* Mastery CTA steps */
.journey-mastery-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.journey-mastery-step {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(25, 188, 168, 0.12);
}

.journey-step-label {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-xs);
    color: var(--ink);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.journey-step-desc {
    font-family: Fraunces, serif;
    font-size: var(--text-2xs);
    color: var(--charcoal);
    display: block;
    line-height: 1.4;
    margin-bottom: 4px;
}

.journey-step-link {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-2xs);
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.journey-step-link:hover {
    text-decoration: underline;
}

/* Technique catalog on journey page */
.journey-techniques {
    margin-top: 48px;
}

.journey-section-title {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-xl);
    color: var(--ink);
    margin-bottom: 8px;
}

.journey-section-subtitle {
    font-family: Fraunces, serif;
    color: var(--charcoal);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .journey-cards {
        flex-direction: column;
        gap: 24px;
    }

    .journey-arrow {
        flex-direction: column;
        width: 40px;
        height: 40px;
        margin: -8px auto;
        align-self: auto;
    }

    .journey-arrow::before {
        width: 2px;
        height: 28px;
    }

    .journey-arrow::after {
        transform: rotate(45deg);
        margin-left: 0;
        margin-top: -4px;
    }
}

@media (max-width: 576px) {
    .journey-wrapper {
        padding: 24px 0 40px;
    }

    .journey-card-body {
        padding: 20px;
    }
}

/* ── Technique card: found in your photo ── */

.technique-card-from-start {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(247, 148, 30, 0.2);
}

/* ── Training landing page ── */

.training-landing {
    text-align: center;
}

.training-landing-title {
    margin-top: 32px;
    margin-bottom: 8px;
}

.training-landing-description {
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ── Card stack ── */

.card-stack-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.card-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
}

.card-stack-item {
    position: absolute;
    width: 70%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-stack-item:nth-child(1) { left: 0; transform: rotate(-4deg); z-index: 1; }
.card-stack-item:nth-child(2) { left: 10%; transform: rotate(-1.5deg); z-index: 2; }
.card-stack-item:nth-child(3) { left: 20%; transform: rotate(1.5deg); z-index: 3; }
.card-stack-item:nth-child(4) { left: 30%; transform: rotate(3deg); z-index: 4; }

.card-stack-start {
    position: relative;
    z-index: 10;
    margin-top: -28px;
    font-family: MuseoModerno, sans-serif;
    font-size: 1.1rem;
    padding: 12px 32px;
}

/* ── Landing page stats ── */

.training-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 640px;
    margin: 0 auto 40px;
}

.training-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.training-stat-value {
    font-family: MuseoModerno, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink, #414042);
}

.training-stat-label {
    font-size: var(--text-xs);
    color: var(--charcoal);
    opacity: 0.7;
}

.training-stat-primary .training-stat-value {
    font-size: 2rem;
    color: var(--teal);
}

.training-mastery-cta {
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(25, 188, 168, 0.1), rgba(247, 148, 30, 0.08));
    border-radius: 16px;
    border: 1px solid rgba(25, 188, 168, 0.2);
    text-align: center;
}

.training-mastery-cta h4 {
    font-family: MuseoModerno, sans-serif;
    color: var(--ink, #414042);
    margin-bottom: 8px;
}

.training-mastery-cta p {
    margin-bottom: 16px;
}

.training-mastery-cta .btn-brand-teal {
    font-family: MuseoModerno, sans-serif;
}

@media (max-width: 575.98px) {
    .training-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card-stack {
        max-width: 340px;
    }
}

/* ── Training overlay ── */

.training-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: #000;
    display: flex;
    flex-direction: column;
}

body.training-overlay-open {
    overflow: hidden;
}

.training-overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.training-overlay-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Overlay progress bar ── */

.training-overlay-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.training-overlay-progress-label {
    font-family: MuseoModerno, sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.training-overlay-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.training-overlay-progress-fill {
    height: 100%;
    background: var(--teal);
    transition: width 0.4s ease;
    max-width: 100%;
    border-radius: 2px;
}

.training-overlay-progress-detail {
    font-family: MuseoModerno, sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* ── Overlay content areas ── */

.training-overlay-content {
    flex: 1;
    min-height: 0;
    display: flex;
}

/* ── Carousel in overlay ── */

.training-overlay-carousel {
    flex: 1;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.training-overlay-carousel .carousel-inner,
.training-overlay-carousel .carousel-item {
    height: 100%;
}

/* ── Quiz split layout ── */

.training-overlay-quiz {
    flex: 1;
    display: flex;
    flex-direction: row;
    min-height: 0;
}

.training-overlay-quiz-photo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-width: 0;
}

.training-overlay-quiz-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.training-overlay-quiz-panel {
    width: 400px;
    max-width: 40vw;
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .training-overlay-quiz {
        flex-direction: column;
    }

    .training-overlay-quiz-photo {
        flex: none;
        height: 40vh;
    }

    .training-overlay-quiz-panel {
        width: 100%;
        max-width: none;
        flex: 1;
        min-height: 0;
    }
}

/* ── Completion in overlay ── */

.training-overlay-completion {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.training-overlay-completion .completion-card-inner {
    max-width: 520px;
    text-align: center;
}

.training-overlay-completion .completion-card-heading {
    color: var(--teal);
}

.training-overlay-completion .completion-card-text,
.training-overlay-completion .type-body {
    color: rgba(255, 255, 255, 0.85);
}

.training-overlay-completion .completion-recommendation {
    background: rgba(255, 255, 255, 0.1);
}

.training-overlay-completion .completion-recommendation-reason {
    color: rgba(255, 255, 255, 0.6);
}

.training-overlay-completion .completion-adjust-link {
    color: rgba(255, 255, 255, 0.5);
}

.training-overlay-completion .completion-adjust-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.training-overlay-completion .targets-editor {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.training-overlay-completion .targets-editor-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ── Completion card (shared inner styles) ── */

.completion-card-inner {
    max-width: 520px;
    margin: 0 auto;
}

.completion-card-heading {
    font-family: MuseoModerno, sans-serif;
    color: var(--teal);
    margin-bottom: 12px;
}

.completion-card-text {
    margin-bottom: 20px;
}

.completion-recommendation {
    margin: 20px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
}

.completion-recommendation-btn {
    display: inline-block;
    margin: 8px 0;
}

.completion-recommendation-reason {
    font-size: var(--text-xs);
    color: var(--charcoal);
    opacity: 0.7;
    margin-top: 4px;
    margin-bottom: 0;
}

.completion-adjust-link {
    font-size: var(--text-xs);
    color: var(--charcoal);
    opacity: 0.6;
    text-decoration: underline;
}

.completion-adjust-link:hover {
    opacity: 1;
}

/* ── Targets editor ── */

.targets-editor {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(65, 64, 66, 0.1);
}

.targets-editor-fields {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 12px;
}

.targets-editor-label {
    font-family: MuseoModerno, sans-serif;
    font-size: var(--text-xs);
    text-align: left;
}

.targets-editor-input {
    width: 80px;
    margin-top: 4px;
}

.targets-editor-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

