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

:root {
    --paper: #F7F3EA;
    --paper-alt: #EFE8DA;
    --card: #FBF9F3;
    --ink: #151A16;
    --dark: #102016;
    --muted: #5E665E;
    --line: #D8D2C4;
    --system-green: #0B7A55;
    --growth-green: #168A5B;
    --visibility-blue: #2F68D8;
    --customer-rust: #C95F36;
    --asset-ochre: #B98219;
    --mono-sand: #C9C1A5;
    --mono-sage: #9BAFA2;
    --mono-eucalyptus: #6F897C;
    --primary-color: var(--system-green);
    --primary-hover: #075F42;
    --secondary-color: var(--muted);
    --text-primary: var(--ink);
    --text-secondary: var(--muted);
    --text-light: #8B9288;
    --bg-primary: var(--paper);
    --bg-secondary: var(--card);
    --bg-alt: var(--paper-alt);
    --border-color: var(--line);
    --display: 'Bricolage Grotesque', Georgia, serif;
    --sans: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --shadow: 0 10px 28px rgba(21, 26, 22, 0.07);
    --shadow-lg: 0 22px 60px rgba(21, 26, 22, 0.12);
    --radius: 12px;
    --transition: all 0.24s ease;
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--paper);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    line-height: 1.1;
}

.nav-logo span {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
}

.nav-logo small {
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border-color);
}

.nav-button::after {
    display: none;
}

.nav-button-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-button-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.nav-button-secondary:hover {
    border-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0.35rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Client logo walls */
.logo-wall-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.logo-kicker {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.logo-wall-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.7;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.logo-card img {
    display: block;
    width: 100%;
    height: 38px;
    max-width: 140px;
    max-height: 38px;
    object-fit: contain;
    object-position: center;
    flex: 0 1 auto;
}

.logo-wall-note {
    max-width: 760px;
    margin: 1rem auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-img {
    width: 300px;
    height: 300px;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: var(--shadow);
    margin-right: 2rem;
    border: 3px solid var(--primary-color);
    padding: 8px;
    background: white;
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 0;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-button {
    margin-top: auto;
    align-self: flex-start;
}

/* Community Section */
.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.community-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.community-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.community-features {
    list-style: none;
    margin-bottom: 2rem;
}

.community-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.community-features i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-benefits {
    list-style: none;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.newsletter-benefits i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.newsletter-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.newsletter-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.newsletter-cta i {
    font-size: 1.2rem;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.course-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-level,
.course-duration {
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-description {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.course-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-alternative {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.community-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.community-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-hero-image {
    margin: 2rem 0;
    text-align: center;
}

.hero-article-img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content code {
    background: var(--bg-alt);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.post-content em {
    font-style: italic;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-share {
    display: flex;
    gap: 1rem;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.share-link:hover {
    color: var(--primary-color);
}

/* Visual Content Styles */
.visual-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-card.vanilla {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
}

.comparison-card.advanced {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-left: 4px solid #22c55e;
}

.comparison-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pipeline-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    flex-wrap: wrap;
    gap: 1rem;
}

.pipeline-stage {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stage-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pipeline-stage h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.pipeline-stage p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pipeline-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.rag-visualization {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    border: 2px solid var(--primary-color);
}

.rag-visualization h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.rag-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.flow-step {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 250px;
    position: relative;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.flow-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.flow-step p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.flow-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-step li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

/* RAG Visualization Card for Homepage */
.rag-visualization-card {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.rag-visualization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

.rag-pipeline-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 2;
    position: relative;
    flex-wrap: wrap;
}

.mini-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-icon {
    font-size: 1.5rem;
    display: block;
}

.mini-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.mini-arrow {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.rag-title {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Course Visualization Cards */
.course-visualization-card {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.course-visualization-card.data-science {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.course-visualization-card.sql {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.course-visualization-card.rag {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.course-visualization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.course-visualization-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.course-visualization-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.course-visualization-subtitle {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.course-notice {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #f59e0b;
}

/* Portfolio Courses Section */
.portfolio-courses-section {
    grid-column: 1 / -1;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.portfolio-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.portfolio-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-card.purchasable {
    border: 2px solid var(--primary-color);
    position: relative;
}

.course-card.purchasable::before {
    content: 'Available for Purchase';
    position: absolute;
    top: -10px;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.course-card.portfolio {
    border: 2px solid var(--border-color);
    background: white;
}

.course-card.portfolio .course-content {
    opacity: 0.8;
}

.course-card.portfolio .course-status {
    background: var(--text-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Course Preview Page Styles */
.course-preview {
    max-width: 1000px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.preview-header {
    text-align: center;
    margin-bottom: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
}

.preview-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.preview-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.course-meta-preview {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.video-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.video-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.course-description {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.course-description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.learning-objectives {
    list-style: none;
    padding: 0;
}

.learning-objectives li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.learning-objectives i {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
}

.cta-card.primary {
    border-color: var(--primary-color);
}

.cta-card.secondary {
    border-color: var(--border-color);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

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

    .course-meta-preview {
        flex-direction: column;
        gap: 1rem;
    }

    .video-container iframe {
        height: 250px;
    }
}

.code-example {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.code-example h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.code-example pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-example code {
    background: none;
    padding: 0;
    color: inherit;
}

.hybrid-search-visual {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.hybrid-search-visual h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.search-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-method {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.search-method h6 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.search-example {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.search-combiner {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.search-result {
    text-align: center;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    min-width: 150px;
}

.search-result span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.summary-visual {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    text-align: center;
}

.summary-visual h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.takeaway-card {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.takeaway-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.takeaway-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.takeaway-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

    .pipeline-diagram {
        flex-direction: column;
        text-align: center;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
    }

    .search-flow {
        flex-direction: column;
    }

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

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: var(--text-light);
}

/* AI Growth Systems shared layouts */
.ags-hero {
    padding: 6.25rem 0 3rem;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.98)),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 32%);
}

.ags-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 4rem;
    align-items: center;
}

.ags-hero-copy h1,
.page-hero h1 {
    color: var(--text-primary);
    font-size: clamp(2.2rem, 4.3vw, 3.65rem);
    line-height: 1.08;
    font-weight: 800;
    max-width: 920px;
    margin: 0 0 1.35rem;
}

.ags-hero-copy p,
.page-hero p {
    color: var(--text-secondary);
    font-size: 1.18rem;
    line-height: 1.7;
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.ags-hero-panel {
    position: relative;
    min-height: 420px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ags-hero-panel::before {
    content: '';
    position: absolute;
    inset: 1.25rem;
    border: 1px dashed #cbd5e1;
    border-radius: calc(var(--radius) - 4px);
}

.system-loop {
    position: absolute;
    inset: 0;
}

.system-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: min(44%, 210px);
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    font-weight: 700;
}

.system-node i {
    color: var(--primary-color);
}

.node-1 { top: 2rem; left: 2rem; }
.node-2 { top: 2rem; right: 2rem; }
.node-3 { bottom: 2rem; right: 2rem; }
.node-4 { bottom: 2rem; left: 2rem; }

.system-center {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.4rem;
    border-radius: 12px;
    background: var(--text-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.system-center strong {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.system-center span {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
}

.proof-strip {
    background: var(--text-primary);
    color: white;
    padding: 1.35rem 0;
}

.proof-strip p {
    max-width: 1080px;
    margin: 0 auto;
    color: #dbeafe;
    text-align: center;
    line-height: 1.7;
}

.proof-strip.proof-strip--moving {
    padding: 34px 0 30px;
    background: #EFEBE1;
    border-top: 1px solid #E2DCCE;
    border-bottom: 1px solid #E2DCCE;
    color: #454950;
}

.proof-strip--moving .container {
    max-width: 1240px;
    padding-left: 28px;
    padding-right: 28px;
}

.proof-strip.proof-strip--moving p {
    max-width: 920px;
    margin: 0 auto 26px;
    color: #454950;
    font-size: 15.5px;
    line-height: 1.6;
}

.proof-strip.proof-strip--moving p strong {
    color: #15171C;
    font-weight: 600;
}

.proof-strip--moving .marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.proof-strip--moving .marquee__track {
    display: flex;
    align-items: center;
    gap: 62px;
    width: max-content;
    animation: aiTrainingMarquee 34s linear infinite;
}

.proof-strip--moving .marquee__track img {
    filter: grayscale(1);
    opacity: .5;
    transition: .3s;
}

.proof-strip--moving .marquee__track img:hover {
    filter: none;
    opacity: 1;
}

@keyframes aiTrainingMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.page-hero {
    padding: 7rem 0 4rem;
    margin-top: 70px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.clean-page-hero .button-row {
    justify-content: center;
}

.work-with-me-page-hero > .container > h1,
.work-with-me-page-hero > .container > p {
    margin-left: auto;
    margin-right: auto;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.button-row.centered {
    justify-content: center;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-heading h2,
.ags-split h2,
.two-column-list h2,
.diagnostic-band h2 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.section-heading p,
.lede {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.7;
}

.section-kicker {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.ags-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ags-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.45rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ags-card i {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ags-card h3 {
    color: var(--text-primary);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.ags-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.ags-card a,
.ladder-item a,
.archive-column a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
}

.ags-card a:hover,
.ladder-item a:hover,
.archive-column a:hover {
    text-decoration: underline;
}

.articles-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 2rem 0 0;
    padding: 1rem 0;
    border-top: 1px solid var(--line, var(--border-color));
    border-bottom: 1px solid var(--line, var(--border-color));
}

.articles-filter__label,
.articles-card__tag {
    color: var(--system-green, var(--primary-color));
    font-family: var(--personal-mono, ui-monospace, monospace);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.articles-filter__controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.articles-filter__button {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line, var(--border-color));
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary, var(--muted));
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.articles-filter__button:hover {
    border-color: var(--system-green, var(--primary-color));
    color: var(--system-green, var(--primary-color));
    transform: translateY(-1px);
}

.articles-filter__button.is-active {
    border-color: var(--system-green, var(--primary-color));
    background: var(--system-green, var(--primary-color));
    color: #fff;
}

.articles-filter__status {
    margin: 1rem 0 1.25rem;
    color: var(--text-secondary, var(--muted));
    font-family: var(--personal-mono, ui-monospace, monospace);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.articles-card {
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.articles-card__tag {
    align-self: flex-start;
    margin: -0.3rem 0 0.85rem;
}

.articles-filter__empty {
    margin: 2rem 0 0;
    padding: 2rem;
    border: 1px dashed var(--line, var(--border-color));
    color: var(--text-secondary, var(--muted));
    text-align: center;
}

@media (max-width: 680px) {
    .articles-filter {
        align-items: flex-start;
        flex-direction: column;
    }

    .articles-filter__controls {
        justify-content: flex-start;
    }
}

.pillar-grid .ags-card:nth-child(1) { border-top: 4px solid #2563eb; }
.pillar-grid .ags-card:nth-child(2) { border-top: 4px solid #059669; }
.pillar-grid .ags-card:nth-child(3) { border-top: 4px solid #7c3aed; }
.pillar-grid .ags-card:nth-child(4) { border-top: 4px solid #d97706; }

.path-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ags-split,
.about-grid,
.two-column-list {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
}

.ags-split.reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.rich-copy p,
.bridge-copy p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.agentic-bridge {
    background: #0f172a;
    color: white;
}

.agentic-bridge h2,
.agentic-bridge .section-kicker {
    color: white;
}

.agentic-bridge .bridge-copy p {
    color: #dbeafe;
}

.agentic-bridge .btn-secondary {
    border-color: #93c5fd;
    color: white;
}

.agentic-bridge .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.offer-ladder {
    display: grid;
    gap: 1rem;
}

.ladder-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: white;
}

.ladder-item span {
    display: block;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ladder-item h3 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.ladder-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.pillar-archive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.archive-column {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.archive-column h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.archive-column p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.archive-column ul {
    list-style: none;
}

.archive-column li {
    margin-bottom: 0.55rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.muted-checks li::before {
    background: #94a3b8;
}

.outcomes-list {
    max-width: 860px;
    margin: 0 auto;
}

.outcome-row {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.outcome-row:last-child {
    border-bottom: 0;
}

.outcome-row i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.outcome-row p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.1rem;
}

.process-step {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.35rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
}

.process-step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.diagnostic-band {
    background: #e0f2fe;
    text-align: center;
}

.diagnostic-band p {
    max-width: 780px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--text-primary);
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--primary-color);
    font-size: 1.25rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.8rem;
}

.featured-article-clean {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 2rem;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    background: white;
    box-shadow: var(--shadow);
}

.featured-article-clean h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.featured-article-clean p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.featured-article-clean img,
.about-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.centered-copy {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4.5rem 2rem;
}

.final-cta-section h2 {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    font-weight: 800;
}

.final-cta-section p {
    max-width: 720px;
    margin: 0 auto 1.8rem;
    color: #dbeafe;
    font-size: 1.08rem;
    line-height: 1.7;
}

.btn-white,
.btn-outline-white {
    display: inline-block;
    margin: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-outline-white {
    color: white;
    border: 2px solid white;
}

.btn-white:hover,
.btn-outline-white:hover {
    transform: translateY(-2px);
}

.ecosystem-footer .footer-links {
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100vw;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100vw;
        right: 0;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 2rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-img {
        width: 400px;
        height: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .articles-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Image fallbacks for missing images */
.hero-img,
.about-img,
.article-img,
.course-img {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.hero-img::before,
.about-img::before,
.article-img::before,
.course-img::before {
    content: attr(alt);
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.4;
}

/* Hide text when image loads */
.hero-img[src]:not([src=""]),
.about-img[src]:not([src=""]),
.article-img[src]:not([src=""]),
.course-img[src]:not([src=""]) {
    background: none;
}

.hero-img[src]:not([src=""])::before,
.about-img[src]:not([src=""])::before,
.article-img[src]:not([src=""])::before,
.course-img[src]:not([src=""])::before {
    display: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Limited Spots Banner Styles */
.limited-spots-banner {
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.limited-spots-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.spots-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f59e0b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.spots-badge i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.spots-text {
    font-size: 1.125rem;
    color: #92400e;
    margin: 0;
    font-weight: 500;
}

.spots-text strong {
    color: #b45309;
    font-size: 1.25rem;
}

/* Enhanced What's Included Styles */
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.included-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.included-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.included-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.included-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced CTA Card Styles */
.limited-offer-badge {
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.pricing-container {
    margin-bottom: 1.5rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-regular {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-top: 0.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logo-card {
        min-height: 76px;
        padding: 0.85rem 1rem;
    }

    .logo-card img {
        height: 30px;
        max-width: 120px;
        max-height: 30px;
    }

    .limited-spots-banner {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .spots-text {
        font-size: 1rem;
    }

    .spots-text strong {
        font-size: 1.125rem;
    }

    .included-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .included-item {
        padding: 1rem;
    }

    .included-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .price-current {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0.85rem 1rem;
    }

    .nav-menu {
        gap: 0.55rem;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .nav-button-secondary {
        display: none;
    }

    .ags-hero-grid,
    .ags-split,
    .ags-split.reverse,
    .about-grid,
    .two-column-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-logo span {
        font-size: 1rem;
    }

    .nav-logo small {
        font-size: 0.68rem;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        align-items: center;
    }

    .nav-button-secondary {
        display: inline-block;
    }

    .nav-action-item {
        margin-top: 0.25rem;
    }

    .ags-hero,
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .ags-hero-copy h1,
    .page-hero h1 {
        font-size: 2.35rem;
    }

    .ags-hero-copy p,
    .page-hero p {
        font-size: 1rem;
    }

    .ags-hero-panel {
        min-height: 520px;
    }

    .system-node {
        width: calc(100% - 3rem);
        left: 1.5rem;
        right: auto;
    }

    .node-1 { top: 1.5rem; }
    .node-2 { top: 6.5rem; }
    .node-3 { bottom: 6.5rem; }
    .node-4 { bottom: 1.5rem; }

    .system-center {
        width: 210px;
    }

    .ladder-item,
    .featured-article-clean {
        grid-template-columns: 1fr;
    }

    .button-row,
    .button-row.centered {
        justify-content: center;
    }

    .final-cta-section {
        padding: 3.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .ags-card,
    .archive-column,
    .process-step,
    .featured-article-clean {
        padding: 1.15rem;
    }

    .ags-hero-copy h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .button-row .btn {
        width: 100%;
        text-align: center;
    }
}

/* AI Growth Systems global identity pass - 2026-06-28 */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--system-green);
    color: #fff;
}

.container {
    max-width: 1180px;
}

.navbar {
    background: rgba(247, 243, 234, 0.9);
    border-bottom: 1px solid rgba(216, 210, 196, 0.78);
    box-shadow: 0 8px 26px rgba(21, 26, 22, 0.06);
    backdrop-filter: saturate(140%) blur(14px);
}

.nav-container {
    max-width: 1240px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-logo a {
    display: grid;
    grid-template-columns: 38px auto;
    grid-template-rows: auto auto;
    column-gap: 0.72rem;
    align-items: center;
}

.nav-logo a::before {
    content: '';
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: url('/images/brand/logos/ai-growth-systems-mark-color.svg') center / contain no-repeat;
    box-shadow: 0 10px 24px rgba(11, 122, 85, 0.13);
}

.nav-logo span,
.nav-logo h2 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.07rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-logo small {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    gap: 0.82rem;
}

.nav-link {
    color: #31382F;
    font-weight: 600;
}

.nav-link:hover,
.footer-section a:hover,
.share-link:hover,
.community-link:hover {
    color: var(--system-green);
}

.nav-link::after {
    background-color: var(--system-green);
}

.nav-button {
    border-radius: 10px;
    border-color: rgba(21, 26, 22, 0.16);
}

.nav-button-primary,
.btn-primary,
.newsletter-cta,
.step-num,
.tag,
.search-result,
.final-cta-section,
.course-card.purchasable::before {
    background: var(--system-green);
    border-color: var(--system-green);
    color: #fff;
}

.nav-button-primary:hover,
.btn-primary:hover,
.newsletter-cta:hover,
.social-link:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.btn,
.nav-button,
.btn-white,
.btn-outline-white {
    border-radius: 10px;
    letter-spacing: 0;
}

.btn-secondary {
    color: var(--ink);
    border-color: rgba(21, 26, 22, 0.22);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.hero,
.page-hero,
.ags-hero {
    background: var(--paper);
    background-image:
        linear-gradient(rgba(21, 26, 22, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 26, 22, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
}

.page-hero,
.ags-hero {
    border-bottom: 1px solid var(--line);
}

.page-hero h1,
.ags-hero-copy h1,
.hero-title,
.section-title,
.section-heading h2,
.ags-split h2,
.two-column-list h2,
.diagnostic-band h2,
.preview-title,
.post-title,
.final-cta-section h2 {
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-hero p,
.ags-hero-copy p,
.hero-subtitle,
.section-heading p,
.lede,
.post-content,
.post-content p,
.rich-copy p,
.bridge-copy p,
.article-content p,
.course-content p,
.ags-card p,
.archive-column p,
.ladder-item p,
.process-step p,
.faq-item p {
    color: var(--muted);
}

.section {
    background: var(--paper);
}

.section-alt,
.paths,
.about,
.portfolio-courses-section,
.pipeline-diagram,
.hybrid-search-visual,
.summary-visual,
.diagnostic-band {
    background: var(--paper-alt);
}

.logo-card,
.stat,
.article-card,
.course-card,
.stat-card,
.newsletter-form,
.flow-step,
.takeaway-card,
.video-section,
.course-description,
.cta-card,
.search-method,
.ags-hero-panel,
.ags-card,
.archive-column,
.ladder-item,
.process-step,
.featured-article-clean {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.article-card,
.course-card,
.ags-card,
.archive-column,
.process-step,
.featured-article-clean,
.newsletter-form,
.video-section,
.course-description,
.cta-card {
    border-radius: 12px;
}

.article-card:hover,
.course-card:hover,
.ags-card:hover,
.archive-column:hover,
.process-step:hover,
.featured-article-clean:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.logo-kicker,
.section-kicker,
.ags-card i,
.community-features i,
.newsletter-benefits i,
.outcome-row i,
.pipeline-stage h4,
.flow-step h4,
.takeaway-card h4,
.search-method h6,
.code-example h5,
.course-price,
.price,
.price-current,
.stat h3,
.stat-number,
.back-link:hover,
.ags-card a,
.ladder-item a,
.archive-column a,
.faq-item summary::after {
    color: var(--system-green);
}

.section-kicker,
.logo-kicker,
.course-level,
.course-duration,
.ladder-item span,
.tag,
.post-meta,
.post-tags .tag {
    font-family: var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pillar-grid .ags-card:nth-child(1),
.archive-column:nth-child(1) {
    border-top: 4px solid var(--visibility-blue);
}

.pillar-grid .ags-card:nth-child(2),
.archive-column:nth-child(2) {
    border-top: 4px solid var(--customer-rust);
}

.pillar-grid .ags-card:nth-child(3),
.archive-column:nth-child(3) {
    border-top: 4px solid var(--growth-green);
}

.pillar-grid .ags-card:nth-child(4),
.archive-column:nth-child(4) {
    border-top: 4px solid var(--asset-ochre);
}

.agentic-bridge,
.proof-strip,
.final-cta-section,
.footer,
.rag-visualization-card,
.system-center {
    background: var(--dark);
    color: #F7F3EA;
}

.agentic-bridge h2,
.agentic-bridge .section-kicker,
.final-cta-section h2,
.footer-section h4,
.footer-info h3,
.system-center strong {
    color: #F7F3EA;
}

.agentic-bridge .bridge-copy p,
.proof-strip p,
.final-cta-section p,
.footer-info p,
.footer-section a,
.footer-bottom,
.system-center span {
    color: #C9C1A5;
}

.footer {
    border-top: 1px solid rgba(247, 243, 234, 0.08);
}

.footer-info h3 {
    font-family: var(--display);
}

.footer-info h3::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 0.58rem;
    vertical-align: -0.42rem;
    background: url('/images/brand/logos/ai-growth-systems-mark-mono.svg') center / contain no-repeat;
}

.social-link {
    background: transparent;
    border: 1px solid rgba(247, 243, 234, 0.16);
    color: #F7F3EA;
    border-radius: 10px;
}

.footer-bottom {
    border-top-color: rgba(247, 243, 234, 0.1);
}

.blog-post {
    background: var(--paper);
}

.post-content h2,
.post-content h3,
.post-content strong,
.article-content h3,
.course-content h3,
.ags-card h3,
.archive-column h3,
.ladder-item h3,
.process-step h3,
.faq-item summary,
.preview-header h1,
.cta-card h3 {
    color: var(--ink);
}

.post-content code,
.course-level,
.course-duration {
    background: var(--paper-alt);
    color: var(--ink);
}

.code-example {
    background: var(--paper-alt);
    border-left-color: var(--system-green);
}

.code-example pre {
    background: #111D16;
    color: #F7F3EA;
}

.comparison-card.vanilla {
    background: #F7E8E0;
    border-left-color: var(--customer-rust);
}

.comparison-card.advanced {
    background: #E4EFE8;
    border-left-color: var(--system-green);
}

.rag-visualization {
    background: var(--paper-alt);
    border-color: var(--system-green);
}

.rag-visualization-card::before,
.course-visualization-card::before {
    background: linear-gradient(45deg, rgba(247, 243, 234, 0.08), rgba(247, 243, 234, 0.02));
}

.course-visualization-card.data-science {
    background: linear-gradient(135deg, var(--visibility-blue), var(--system-green));
}

.course-visualization-card.sql {
    background: linear-gradient(135deg, var(--system-green), var(--growth-green));
}

.course-visualization-card.rag {
    background: linear-gradient(135deg, var(--customer-rust), var(--asset-ochre));
}

.course-notice,
.limited-offer-badge {
    background: rgba(201, 95, 54, 0.12);
    border-color: rgba(201, 95, 54, 0.34);
    color: var(--customer-rust);
}

.limited-spots-banner {
    background: rgba(185, 130, 25, 0.12);
    border-color: rgba(185, 130, 25, 0.32);
}

.included-item,
.comparison-card,
.flow-step,
.takeaway-card {
    background: var(--card);
    border: 1px solid var(--line);
}

.btn-white {
    background: var(--card);
    color: var(--dark);
}

.btn-outline-white {
    color: #F7F3EA;
    border-color: rgba(247, 243, 234, 0.45);
}

.btn-white:hover,
.btn-outline-white:hover {
    background: #F7F3EA;
    color: var(--dark);
}

@media (max-width: 768px) {
    .nav-logo a {
        grid-template-columns: 34px auto;
    }

    .nav-logo a::before {
        width: 32px;
        height: 32px;
    }

    .nav-menu {
        background: var(--paper);
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(21, 26, 22, 0.12);
    }
}

/* AI Growth Systems legacy page override layer - 2026-06-28 */
.page-hero,
.article-header {
    background: var(--paper) !important;
    background-image:
        linear-gradient(rgba(21, 26, 22, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 26, 22, 0.035) 1px, transparent 1px) !important;
    background-size: 46px 46px !important;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line) !important;
}

.page-hero h1,
.article-title,
.preview-title {
    color: var(--ink) !important;
    font-family: var(--display) !important;
    letter-spacing: -0.02em !important;
}

.page-hero p,
.article-meta,
.breadcrumb,
.proof-stat,
.price-chip {
    color: var(--muted) !important;
    opacity: 1 !important;
}

.proof-stat strong {
    color: var(--ink) !important;
}

.hero-badge {
    background: rgba(11, 122, 85, 0.11) !important;
    border-color: rgba(11, 122, 85, 0.28) !important;
    color: var(--system-green) !important;
    font-family: var(--mono) !important;
    letter-spacing: 0.12em !important;
}

.article-content,
.format-card,
.audience-card,
.contact-form-box,
.hero-price-box,
.for-who-card,
.instructor-card,
.team-access-box,
.toc-box,
.author-box,
.curriculum-section .module,
.included-item,
.search-method,
.takeaway-card,
.flow-step,
.video-section,
.course-description,
.cta-card,
.admin-card,
.dashboard-card,
.subscriber-table {
    background: var(--card) !important;
    border-color: var(--line) !important;
    box-shadow: var(--shadow) !important;
    color: var(--ink) !important;
}

.format-card,
.curriculum-section .module,
.for-who-card,
.audience-card,
.hero-price-box,
.article-content,
.toc-box,
.author-box,
.instructor-card,
.team-access-box {
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
}

.format-card,
.step-box,
.code-example {
    border-left-color: var(--system-green) !important;
    border-top-color: var(--system-green) !important;
}

.module-header,
.included-icon,
.step-box,
.team-access-box,
.toc-box,
.author-box,
.course-level,
.course-duration {
    background: var(--paper-alt) !important;
}

.article-content h2,
.article-content h3,
.format-card h3,
.audience-card h4,
.contact-form-box h3,
.hero-price-box,
.hero-price-box h3,
.for-who-card h4,
.team-access-box h3,
.author-box-text h4,
.module-header,
.included-content h3,
.toc-box h4 {
    color: var(--ink) !important;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content li,
.format-card p,
.format-card ul li,
.audience-card p,
.contact-form-box p,
.hero-price-box ul li,
.hero-price-box .price-note,
.for-who-card p,
.included-content p,
.team-access-box p,
.author-box-text p,
.module-lesson,
.step-box p {
    color: var(--muted) !important;
}

.hero-price-box .price-tag,
.format-card .price-line,
.module-lesson i,
.format-card ul li i,
.outcome-row i,
.breadcrumb a,
.toc-box ol li a,
.related-links a,
.back-link,
.step-box .step-label {
    color: var(--system-green) !important;
}

.inline-cta-box,
.cta-section,
.final-cta-section,
.comparison-table th,
.search-result {
    background: var(--dark) !important;
    color: #F7F3EA !important;
}

.inline-cta-box h3,
.inline-cta-box h4,
.cta-section h3,
.final-cta-section h2,
.inline-cta-box p,
.cta-section p,
.final-cta-section p {
    color: #F7F3EA !important;
}

.inline-cta-box .btn,
.cta-section .btn,
.btn-white {
    background: var(--card) !important;
    border-color: var(--card) !important;
    color: var(--dark) !important;
}

.btn-outline-white {
    background: transparent !important;
    border-color: rgba(247, 243, 234, 0.55) !important;
    color: #F7F3EA !important;
}

.export-btn[onclick="addTestSubscriber()"] {
    background: var(--asset-ochre) !important;
}


.page-hero .btn-secondary,
.page-hero .hero-cta-stack .btn-secondary,
.page-hero .button-row .btn-secondary {
    color: var(--ink) !important;
    border-color: rgba(21, 26, 22, 0.22) !important;
    background: rgba(251, 249, 243, 0.42) !important;
}

.page-hero .btn-secondary:hover,
.page-hero .hero-cta-stack .btn-secondary:hover,
.page-hero .button-row .btn-secondary:hover {
    color: #fff !important;
    border-color: var(--ink) !important;
    background: var(--ink) !important;
}

/* AI Training support path - 2026-07-11 */
.page-hero.training-hero {
    padding: 6.5rem 0 5.5rem;
    text-align: left;
}

.training-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
    gap: 4.5rem;
    align-items: center;
}

.training-hero__copy {
    min-width: 0;
}

.training-hero__copy h1,
.training-hero__copy p {
    margin-left: 0;
    margin-right: 0;
}

.training-hero__copy p {
    max-width: 680px;
}

.training-hero__media {
    justify-self: end;
    margin: 0;
}

.training-decision {
    max-width: 980px;
    margin: 0 auto 4.5rem;
}

.training-decision__root {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 2.6rem;
    padding: 0.9rem 1.35rem;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 800;
    text-align: center;
}

.training-decision__root::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 2.6rem;
    background: var(--line);
}

.training-decision__branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.training-decision__branches::before {
    content: "";
    position: absolute;
    top: -1.3rem;
    right: 25%;
    left: 25%;
    height: 1px;
    background: var(--line);
}

.training-decision__branch {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    min-height: 170px;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.training-decision__branch::before {
    content: "";
    position: absolute;
    top: -1.3rem;
    left: 50%;
    width: 1px;
    height: 1.3rem;
    background: var(--line);
}

.training-decision__branch:hover {
    transform: translateY(-4px);
    border-color: var(--system-green);
    box-shadow: var(--shadow-lg);
}

.training-decision__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--system-green);
    background: rgba(21, 121, 90, 0.1);
    border-radius: 50%;
}

.training-decision__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.training-decision__content strong {
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.25;
}

.training-decision__content small {
    display: block;
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.training-decision__content em {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--system-green);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 800;
}

@media (max-width: 820px) {
    .page-hero.training-hero {
        padding: 5.5rem 0 4rem;
    }

    .training-hero__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .training-hero__media {
        justify-self: start;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .training-decision__root {
        width: 100%;
    }

    .training-decision__branches {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .training-decision__branches::before,
    .training-decision__branch::before {
        display: none;
    }

    .training-decision__root::after {
        height: 1rem;
    }

    .training-decision__branch:first-child {
        margin-top: 1rem;
    }
}
