:root {
    --lit-bg: #fdfdfd;
    --lit-text: #222222;
    --lit-primary: #ff6b6b; /* Warm Coral */
    --lit-secondary: #f0f0f0;
    --lit-accent: #4ecdc4; /* Soft Teal */
    --lit-border: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--lit-bg); color: var(--lit-text);
    font-family: 'Georgia', serif; /* Serif for literary feel */
    line-height: 1.8; overflow-x: hidden;
}

/* Literary Background */
.lit-bg-effect {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIi8+CjxwYXRoIGQ9Ik0wIDBMMCA0TDIgNEwyIDBaIiBmaWxsPSIjZmFmYWZhIi8+Cjwvc3ZnPg==');
    opacity: 0.8;
}

.lit-container { max-width: 900px; margin: 0 auto; padding: 0 40px;}

/* Header */
.lit-header {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 50px 0 30px; margin-bottom: 50px; border-bottom: 2px solid var(--lit-text);
}
.lit-brand {
    font-size: 28px; font-weight: bold; color: var(--lit-text);
    letter-spacing: 1px; font-style: italic;
}
.lit-nav { display: flex; gap: 20px; }
.lit-nav a {
    font-size: 14px; color: #555; text-decoration: none; text-transform: uppercase;
    letter-spacing: 2px; transition: color 0.3s;
}
.lit-nav a:hover, .lit-nav a.active { color: var(--lit-primary); }

/* Hero */
.lit-hero {
    text-align: center; margin-bottom: 80px; padding: 60px 0;
    position: relative;
}
.lit-hero::before, .lit-hero::after {
    content: '”'; position: absolute; font-size: 120px; color: var(--lit-secondary);
    font-family: serif; line-height: 1; z-index: -1;
}
.lit-hero::before { content: '“'; top: -20px; left: 10%; }
.lit-hero::after { bottom: -40px; right: 10%; }

.lit-hero h1 {
    font-size: 48px; font-weight: normal; margin-bottom: 20px; color: var(--lit-text);
    line-height: 1.2;
}
.lit-hero p { font-size: 18px; color: #666; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;}

.btn-lit {
    display: inline-block; padding: 12px 30px; font-size: 14px;
    color: var(--lit-text); background: transparent; border: 1px solid var(--lit-text);
    transition: all 0.3s; margin: 0 10px; text-transform: uppercase; letter-spacing: 1px;
}
.btn-lit:hover { background: var(--lit-text); color: var(--lit-bg); }
.btn-lit-alt {
    display: inline-block; padding: 12px 30px; font-size: 14px;
    color: #fff; background: var(--lit-primary); border: 1px solid var(--lit-primary);
    transition: all 0.3s; margin: 0 10px; text-transform: uppercase; letter-spacing: 1px;
}
.btn-lit-alt:hover { background: transparent; color: var(--lit-primary); }

/* Stats (Chapters) */
.lit-stats {
    display: flex; justify-content: space-around; margin-bottom: 80px;
    border-top: 1px solid var(--lit-border); border-bottom: 1px solid var(--lit-border);
    padding: 30px 0;
}
.ls-item { text-align: center; }
.ls-val { font-size: 36px; font-style: italic; color: var(--lit-accent); }
.ls-lbl { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px;}

/* Features (Paragraphs) */
.lit-features { margin-bottom: 80px;}
.lit-features h2 {
    font-size: 24px; font-style: italic; text-align: center; margin-bottom: 40px;
    position: relative;
}
.lit-features h2::after {
    content: ''; display: block; width: 50px; height: 1px; background: var(--lit-primary);
    margin: 15px auto 0;
}
.lf-grid { display: flex; flex-direction: column; gap: 40px;}
.lf-card {
    display: flex; gap: 40px; align-items: flex-start;
}
.lf-card:nth-child(even) { flex-direction: row-reverse; text-align: right;}
.lf-num {
    font-size: 64px; font-weight: bold; color: var(--lit-secondary); line-height: 0.8;
}
.lf-content h3 { font-size: 20px; margin-bottom: 10px; color: var(--lit-text);}
.lf-content p { font-size: 16px; color: #555;}

/* Nodes (Index) */
.lit-nodes { margin-bottom: 80px; text-align: center;}
.lit-nodes h2 { font-size: 24px; font-style: italic; margin-bottom: 30px;}
.ln-list { display: inline-block; text-align: left;}
.ln-item {
    font-size: 16px; color: #666; margin-bottom: 10px; border-bottom: 1px dotted #ccc;
    padding-bottom: 5px; width: 300px; display: flex; justify-content: space-between;
}
.ln-item span { font-style: italic; color: var(--lit-accent);}

/* FAQ (Appendix) */
.lit-faq { margin-bottom: 100px;}
.lit-faq h2 { font-size: 24px; font-style: italic; text-align: center; margin-bottom: 40px;}
.l-faq-item { margin-bottom: 30px; }
.l-fq { font-size: 18px; font-weight: bold; color: var(--lit-text); margin-bottom: 10px;}
.l-fa { font-size: 15px; color: #555; padding-left: 20px; border-left: 2px solid var(--lit-secondary);}

footer {
    text-align: center; padding: 40px 0; border-top: 1px solid var(--lit-border);
    color: #999; font-size: 12px; font-style: italic;
}

@media (max-width: 768px) {
    .lit-header { flex-direction: column; align-items: center; gap: 20px; padding-bottom: 20px;}
    .lit-hero h1 { font-size: 36px; }
    .lit-stats { flex-direction: column; gap: 20px; }
    .lf-card, .lf-card:nth-child(even) { flex-direction: column; text-align: left; gap: 10px;}
    .btn-lit, .btn-lit-alt { display: block; margin: 10px auto; width: 80%;}
}