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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #ffffff;
    padding: 20px 20px 90px;
}

.page { max-width: 1100px; margin: 0 auto; }

.top-bar {
    background: #0a5fb4;
    color: #fff;
    padding: 12px 16px;
    margin: -20px -20px 12px -20px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a5fb4;
    color: #fff;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    text-align: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 14px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav a::before {
    font-size: 16px;
    opacity: 0.9;
}

.nav a[href*="index"]::before { content: "🏠"; }
.nav a[href*="adoption"]::before { content: "📈"; }
.nav a[href*="trust"]::before { content: "🛡️"; }
.nav a[href*="lunch-and-learn"]::before { content: "💡"; }
.nav a[href*="workflow"]::before { content: "⚙️"; }
.nav a[href*="mindset"]::before { content: "🧠"; }
.nav a[href*="exercises"]::before { content: "✏️"; }
.nav a[href*="examples"]::before { content: "📋"; }
.nav a[href*="slides"]::before { content: "📊"; }
.nav a[href*="faq"]::before { content: "❓"; }
.nav a[href*="glossary"]::before { content: "📖"; }

.nav a:hover { text-decoration: underline; }

.nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: 700;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0078d4;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px 15px 20px;
    }
    
    .nav {
        padding: 10px 12px;
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav a {
        margin-right: 10px;
        font-size: 13px;
        padding: 6px 10px;
        flex-shrink: 0;
        touch-action: manipulation;
    }
    
    .nav a::before {
        font-size: 14px;
    }
    
    .table-of-contents {
        padding: 14px 16px;
    }
    
    .learning-path {
        padding: 18px;
    }
    
    .path-step {
        padding-left: 45px;
    }
    
    .path-step::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .page {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .box, .highlight {
        padding: 12px 14px;
        margin: 14px 0;
    }
    
    .prompt {
        padding: 10px 12px;
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .card {
        padding: 14px;
    }
    
    /* Make footer static on mobile */
    .footer, .sticky-footer {
        position: static;
        margin-top: 32px;
        box-shadow: none;
    }
    
    /* Touch-friendly spacing */
    .button, a.button {
        padding: 12px 18px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure content boxes stack properly */
    .ideas, .session, .file-list {
        margin: 20px 0;
        padding: 14px 16px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    body {
        padding: 10px 10px 20px;
    }
    
    .nav {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .nav a {
        font-size: 12px;
        padding: 5px 8px;
        margin-right: 6px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .top-bar {
        padding: 10px 12px;
        font-size: 14px;
    }
}

.header {
    border-bottom: 3px solid #0078d4;
    padding-bottom: 18px;
    margin-bottom: 26px;
}

h1 { color: #0078d4; font-size: 32px; font-weight: 700; }
h2 { 
    color: #0078d4; 
    font-size: 24px; 
    margin: 26px 0 12px; 
    border-bottom: 2px solid #e1dfdd; 
    padding-bottom: 8px;
    scroll-margin-top: 100px;
}
h3 { color: #323130; font-size: 20px; margin: 18px 0 10px; font-weight: 600; }
p { margin-bottom: 14px; color: #323130; }
ul { margin-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 10px; }

/* Visual separators between major sections */
.section-separator {
    height: 2px;
    background: linear-gradient(to right, transparent, #e1dfdd, transparent);
    margin: 40px 0;
    border: none;
}

/* Color coding for success/warning/info */
.success-box {
    background: #e8f5e9;
    border-left: 4px solid #107c10;
    padding: 14px 16px;
    border-radius: 5px;
    margin: 18px 0;
}

.warning-box {
    background: #fff4e5;
    border-left: 4px solid #ff8c00;
    padding: 14px 16px;
    border-radius: 5px;
    margin: 18px 0;
}

.info-box {
    background: #e8f4f8;
    border-left: 4px solid #0078d4;
    padding: 14px 16px;
    border-radius: 5px;
    margin: 18px 0;
}

/* Table of Contents */
.table-of-contents {
    background: #f3f2f1;
    border-left: 4px solid #0078d4;
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: 5px;
}

.table-of-contents h3 {
    color: #0078d4;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
}

.table-of-contents ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.table-of-contents li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

.table-of-contents a {
    color: #005a9e;
    text-decoration: none;
    font-weight: 500;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.table-of-contents li li {
    margin-left: 20px;
    font-size: 14px;
    margin-top: 4px;
}

/* Learning Path Diagram */
.learning-path {
    background: #faf9f8;
    border: 2px solid #e1dfdd;
    border-radius: 8px;
    padding: 24px;
    margin: 30px 0;
}

.learning-path h2 {
    margin-top: 0;
    color: #0078d4;
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-left: 50px;
}

.path-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: #0078d4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.path-steps {
    counter-reset: step-counter;
}

.path-step-content {
    flex: 1;
}

.path-step h3 {
    margin-top: 0;
    color: #0078d4;
    font-size: 20px;
}

.path-step p {
    margin-bottom: 8px;
}

.path-step .path-link {
    display: inline-block;
    margin-top: 8px;
    color: #0078d4;
    font-weight: 600;
    text-decoration: none;
}

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

.path-connector {
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: -20px;
    width: 2px;
    background: #d0e6f5;
}

.path-step:last-child .path-connector {
    display: none;
}

.box {
    background: #f3f2f1;
    border-left: 4px solid #0078d4;
    padding: 14px 16px;
    border-radius: 5px;
    margin: 18px 0;
}

.highlight {
    background: #e8f4f8;
    border-left: 4px solid #0078d4;
    padding: 14px 16px;
    border-radius: 5px;
    margin: 18px 0;
}

.prompt {
    background: #e8f4f8;
    border: 1px solid #d0e6f5;
    border-left: 4px solid #0078d4;
    padding: 12px 14px;
    border-radius: 5px;
    font-family: 'Roboto Mono','Courier New', monospace;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* Copy button for prompts and code */
.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: background 0.2s;
    z-index: 5;
}

.copy-btn:hover {
    background: #005a9e;
}

.copy-btn:active {
    background: #004578;
}

.copy-btn.copied {
    background: #107c10;
}

.copy-btn.copied::after {
    content: ' ✓';
}

/* Code blocks with copy button */
code, pre {
    position: relative;
}

pre {
    padding-right: 60px;
}

.tag {
    display: inline-block;
    background: #0078d4;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-right: 8px;
}

.button {
    display: inline-block;
    align-self: flex-start;
    background: #0078d4;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.button:hover { background: #005a9e; }

.sticky-footer {
    position: static;
    background: #0a5fb4;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    box-shadow: none;
    margin-top: 32px;
}

/* Feedback component */
.feedback-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1dfdd;
}

.feedback-section h3 {
    color: #0078d4;
    font-size: 20px;
    margin-bottom: 12px;
}

.feedback-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.feedback-btn {
    background: #f3f2f1;
    border: 2px solid #0078d4;
    color: #0078d4;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    min-height: 44px;
    touch-action: manipulation;
}

.feedback-btn:hover {
    background: #0078d4;
    color: #fff;
}

.feedback-btn.selected {
    background: #0078d4;
    color: #fff;
}

.feedback-thanks {
    margin-top: 12px;
    color: #107c10;
    font-weight: 600;
    display: none;
}

.feedback-thanks.show {
    display: block;
}

/* Progress indicator for multi-step guides */
.progress-indicator {
    background: #f3f2f1;
    border-left: 4px solid #0078d4;
    padding: 16px;
    margin: 24px 0;
    border-radius: 5px;
}

.progress-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.progress-step {
    background: #fff;
    border: 2px solid #e1dfdd;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.progress-step.active {
    background: #0078d4;
    color: #fff;
    border-color: #0078d4;
}

.progress-step.completed {
    background: #107c10;
    color: #fff;
    border-color: #107c10;
}

/* What's New section */
.whats-new {
    background: #e8f4f8;
    border-left: 4px solid #0078d4;
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: 5px;
}

.whats-new h2 {
    margin-top: 0;
    color: #0078d4;
}

.whats-new-item {
    margin: 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #d0e6f5;
}

.whats-new-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.whats-new-date {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.whats-new-title {
    color: #0078d4;
    font-weight: 600;
    margin-bottom: 4px;
}

.whats-new-content {
    color: #323130;
    margin-top: 6px;
}

.citation {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
    padding-left: 20px;
    border-left: 2px solid #e1dfdd;
}

.citation a {
    color: #005a9e;
    text-decoration: none;
}

.citation a:hover {
    text-decoration: underline;
}

@media print {
    .nav, .top-bar, .footer, .sticky-footer {
        display: none;
    }
    body {
        padding: 20px;
        background: #fff;
    }
    .page {
        max-width: 100%;
    }
    .box, .highlight {
        page-break-inside: avoid;
        border-left-width: 3px;
    }
    h2 {
        page-break-after: avoid;
    }
    a {
        color: #005a9e;
        text-decoration: underline;
    }
    .prompt, .prompt-box {
        page-break-inside: avoid;
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
    .citation {
        font-size: 12px;
        color: #555;
    }
    /* Hide interactive elements for print */
    .copy-btn, .feedback-section, .feedback-buttons, .feedback-btn {
        display: none !important;
    }
    /* Remove padding added for copy buttons */
    .prompt, .prompt-box, code, pre {
        padding-right: 12px !important;
    }
    .prompt-box p {
        padding-right: 10px !important;
    }
}

