@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --sage-50: #f6f7f6;
    --sage-100: #e3e7e3;
    --sage-200: #c7d0c7;
    --sage-500: #6b7c6b;
    --sage-600: #4a5c4a;
    --sage-700: #3d4a3d;
    
    --clay-50: #fdf8f6;
    --clay-100: #f9ebe5;
    --clay-500: #b07d62;
    --clay-600: #96624a;
    
    --sky-50: #f5f9fc;
    --sky-100: #e3eff7;
    --sky-500: #5b8fb3;
    --sky-600: #3d7199;
    
    --plum-50: #f9f7fa;
    --plum-100: #ede8f0;
    --plum-500: #7d6b8a;
    --plum-600: #5e4d6b;
    
    --moss-50: #f6f8f5;
    --moss-100: #e5ebe3;
    --moss-500: #5a7356;
    --moss-600: #445941;
}

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

body {
    font-family: var(--font-sans);
    background: var(--stone-50);
    color: var(--stone-800);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Navigation - Simple underline style */
.site-nav {
    background: white;
    border-bottom: 1px solid var(--stone-200);
    padding: 18px 24px;
}

.site-nav-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--stone-800);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.site-title:hover {
    color: var(--stone-600);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone-500);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--stone-800);
    border-bottom-color: var(--stone-300);
}

/* Page Headers - Muted colors, no gradients */
.page-header {
    padding: 64px 24px;
    text-align: center;
    background: var(--stone-100);
    border-bottom: 1px solid var(--stone-200);
}

.page-header.audio { background: var(--clay-50); border-bottom-color: var(--clay-100); }
.page-header.visual { background: var(--sky-50); border-bottom-color: var(--sky-100); }
.page-header.readwrite { background: var(--plum-50); border-bottom-color: var(--plum-100); }
.page-header.kinesthetic { background: var(--moss-50); border-bottom-color: var(--moss-100); }
.page-header.training { background: var(--clay-50); border-bottom-color: var(--clay-100); }
.page-header.time { background: var(--sky-50); border-bottom-color: var(--sky-100); }
.page-header.problems { background: var(--plum-50); border-bottom-color: var(--plum-100); }
.page-header.getting-started { background: var(--sage-50); border-bottom-color: var(--sage-100); }
.page-header.prompts { background: var(--moss-50); border-bottom-color: var(--moss-100); }
.page-header.troubleshooting { background: var(--clay-50); border-bottom-color: var(--clay-100); }
.page-header.study { background: var(--sky-50); border-bottom-color: var(--sky-100); }

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-header .subtitle {
    font-size: 1.05rem;
    color: var(--stone-500);
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--stone-400);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--stone-500);
    text-decoration: none;
}

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

/* Main Content */
.main-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* Typography */
h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--stone-700);
    margin: 32px 0 12px;
}

p {
    margin-bottom: 16px;
    color: var(--stone-700);
}

ul, ol {
    margin: 16px 0;
    padding-left: 20px;
    color: var(--stone-700);
}

li {
    margin-bottom: 8px;
    padding-left: 4px;
}

li::marker {
    color: var(--stone-400);
}

strong {
    font-weight: 600;
    color: var(--stone-800);
}

/* Callout Boxes - Subtle, no icons */
.tip {
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
}

.tip-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sage-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.warning {
    background: var(--clay-50);
    border: 1px solid var(--clay-100);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
}

.warning-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clay-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quick Start Box */
.quick-start {
    background: white;
    border: 2px solid var(--sage-200);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 0;
}

.quick-start-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sage-600);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quick-start ol {
    margin: 0;
    padding-left: 24px;
}

.quick-start li {
    margin-bottom: 12px;
}

.quick-start .time-estimate {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--stone-200);
    font-size: 0.9rem;
    color: var(--stone-500);
}

/* Section Intro Box */
.section-intro {
    background: var(--stone-100);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.section-intro p {
    margin-bottom: 12px;
    color: var(--stone-600);
}

.section-intro p:last-child {
    margin-bottom: 0;
}

.section-intro .learn-list {
    margin: 12px 0 0 0;
    padding-left: 20px;
}

.section-intro .learn-list li {
    margin-bottom: 6px;
    color: var(--stone-600);
}

.section-intro .meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--stone-200);
    font-size: 0.9rem;
    color: var(--stone-500);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Action Box - Distinct style */
.action-box {
    background: white;
    border: 2px solid var(--stone-200);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 36px 0;
}

.action-box h3 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone-500);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.action-box p {
    margin-bottom: 8px;
}

.action-box p:last-child {
    margin-bottom: 0;
}

/* Try It Now Box */
.try-it-now {
    background: var(--sky-50);
    border: 1px solid var(--sky-100);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 0;
}

.try-it-now-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sky-600);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.try-it-now .example-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--stone-500);
    margin-bottom: 4px;
}

.try-it-now .example-content {
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--stone-700);
}

.try-it-now .example-content:last-child {
    margin-bottom: 0;
}

/* Prompt Box */
.prompt-box {
    background: var(--stone-800);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
    position: relative;
}

.prompt-box code {
    display: block;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--stone-100);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
}

.prompt-box .copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--stone-700);
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: var(--stone-300);
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-box .copy-btn:hover {
    background: var(--stone-600);
    color: var(--stone-100);
}

.prompt-box .copy-btn.copied {
    background: var(--sage-600);
    color: white;
}

/* Prompt Category */
.prompt-category {
    margin: 40px 0;
}

.prompt-category h3 {
    margin-bottom: 8px;
}

.prompt-category > p {
    color: var(--stone-500);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    border-bottom: 1px solid var(--stone-200);
    padding: 20px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--stone-200);
}

.faq-question {
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--stone-400);
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--stone-600);
    font-size: 0.95rem;
    display: none;
    padding-top: 8px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* What You Can Create Grid */
.create-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.create-item {
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--stone-700);
}

/* Navigation Cards - Pill style, no icons */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.card {
    display: block;
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 24px 28px;
    text-decoration: none;
    transition: all 0.2s;
}

.card:hover {
    border-color: var(--stone-300);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

.card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: var(--stone-500);
    margin: 0;
    line-height: 1.5;
}

/* Section Links - Clean list style */
.link-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.link-list li {
    padding: 0;
    margin: 0;
}

.link-list a {
    display: block;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.link-list a:hover {
    border-color: var(--stone-300);
    background: var(--stone-50);
}

.link-list .link-title {
    display: block;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 4px;
}

.link-list .link-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--stone-500);
}

/* Step List */
.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--sage-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sage-600);
}

.step-list .step-title {
    font-weight: 600;
    color: var(--stone-800);
    display: block;
    margin-bottom: 4px;
}

.step-list .step-desc {
    color: var(--stone-600);
    font-size: 0.95rem;
}

/* Enrollment Gate Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: white;
    border-radius: 14px;
    padding: 36px 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.modal-box h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 0 0 12px;
}

.modal-box p {
    color: var(--stone-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    flex: 1;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--sky-500);
}

.btn-secondary {
    background: var(--stone-100);
    color: var(--stone-700);
}

.btn-secondary:hover {
    background: var(--stone-200);
}

.modal-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--stone-200);
}

.modal-note .btn-secondary {
    display: block;
    width: 100%;
}

/* Study copy blocks */
.study-copy {
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 10px;
    padding: 22px 26px;
    margin: 20px 0;
}

.study-copy p:last-child {
    margin-bottom: 0;
}

.study-copy-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--sky-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* Timepoint Accordion */
.timepoint-list {
    margin: 32px 0;
}

.timepoint {
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    margin-bottom: 14px;
    background: white;
    overflow: hidden;
}

.timepoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
}

.timepoint-week {
    display: inline-block;
    background: var(--sky-100);
    color: var(--sky-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 6px;
}

.timepoint-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone-800);
}

.timepoint-header::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--stone-400);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.timepoint.open .timepoint-header::after {
    transform: rotate(45deg);
}

.timepoint-body {
    display: none;
    padding: 0 24px 24px;
}

.timepoint.open .timepoint-body {
    display: block;
}

.timepoint-goal {
    font-style: italic;
    color: var(--stone-600);
    margin-bottom: 14px;
}

.timepoint-body ul {
    margin: 0 0 18px;
}

.timepoint-survey-link {
    display: inline-block;
    background: var(--sky-600);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 100px;
}

.timepoint-survey-link:hover {
    background: var(--sky-500);
}

/* Post Navigation - Pill buttons */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--stone-200);
}

.post-nav a {
    flex: 1;
    padding: 16px 20px;
    background: var(--stone-100);
    border-radius: 100px;
    text-decoration: none;
    color: var(--stone-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.post-nav a:hover {
    background: var(--stone-200);
    color: var(--stone-800);
}

.post-nav .next {
    text-align: right;
}

.post-nav .nav-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--stone-400);
    margin-bottom: 2px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--stone-200);
}

th {
    font-weight: 600;
    color: var(--stone-600);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer - Simple */
.site-footer {
    background: var(--stone-100);
    border-top: 1px solid var(--stone-200);
    padding: 48px 24px;
    text-align: center;
    margin-top: 64px;
}

.site-footer p {
    color: var(--stone-500);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--stone-600);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--stone-800);
}

/* Responsive */
@media (max-width: 640px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .post-nav {
        flex-direction: column;
    }
    
    .post-nav a {
        text-align: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .create-grid {
        grid-template-columns: 1fr;
    }
    
    .section-intro .meta {
        flex-direction: column;
        gap: 8px;
    }
}
