/* 
 * 55i.ca styles css lasst updated: May 15, 2026
 */

:root {
    --bg-color: #fdfcfb;
    --text-color: #2d2d2d;
    --text-muted: #555555;
    --accent-color: #4a6fa5;
    --accent-light: #eef2f7;
    --card-bg: #f4f7f9;
    --border-color: #999;
    --white: #ffffff;
    
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --base-size: 20px;
    --container-width: 800px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: var(--base-size);
    line-height: 1.7;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 40px 20px;
}

header {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.brand {
    font-family: var(--font-serif);
    font-size: 160px;
    font-weight: bold;
    color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
    -webkit-text-stroke: 2px var(--text-color);
    line-height: 1;
    margin-bottom: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 0;
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    color: #0052ff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #000;
}

nav ul li:not(:last-child)::after {
    content: "|";
    margin-left: 25px;
    color: #000;
    pointer-events: none;
}

header nav ul li a.active {
    color: #777;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: #1a1a1a;
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.8rem;
}

.card {
    background-color: var(--card-bg);
    padding: 30px 24px 2px 30px;
    border-radius: 25px;
    border: 3px solid #b2b5b6;
    margin: 2rem 0;
}

.highlight-card {
    background-color: var(--accent-light);
    padding: 20px 30px;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}
.cta-link {
    display: inline-block;
    background-color: transparent;
    color: #0052ff;
    padding: 12px 24px;
    border: 2px solid #0052ff;
    border-radius: 16px;
    text-decoration: none;
    font-weight: bold;
    transition: none;
    margin-top: 10px;
}

.cta-link:hover {
    background-color: rgba(0, 82, 255, 0.1);
    color: #000;
}

.lexicon-grid {
    display: grid;
    gap: 20px;
    margin-top: 80px;
}

.lexicon-item {
    border-bottom: 1px solid #999;
    padding-bottom: 20px;
}

.lexicon-item:last-child {
    border-bottom: none;
}

.term {
    font-family: var(--font-sans);
    font-size: var(--base-size);
    line-height: 1.1;
    font-weight: bold;
    color: var(--text-color);
    display: block;
    margin-top: 20px;
}

.lexicon-item p {
    margin-left: 64px;
    margin-bottom: 32px;
}

/* --- Lists --- */
.safe-list {
    list-style: none;
    padding: 0;
}

.safe-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.safe-list li::before {
    position: absolute;
    left: 0;
    font-weight: bold;
}

.safe-list.yes li::before { content: '✓'; color: #2e7d32; }
.safe-list.no li::before { content: '✕'; color: #c62828; }

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #777;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    nav ul { gap: 15px; }
    .container { padding: 20px; }
}

@media (max-width: 480px) {
    .brand { 
        font-size: 50px; 
    }
    
    nav ul { 
        gap: 10px; 
    }
}

/* --- Removed inline styles migrated to classes --- */

.text-warn { color: #c62828; }
.text-safe { color: #2e7d32; }

.h1-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-excerpt {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.page-excerpt-index {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.content-excerpt {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 20px;
}

.link-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.code-wrapper {
    text-align: center;
    margin-top: 15px;
}
.code-wrapper code {
    display: block;
    background-color: #343541;
    color: #e8e8e8;
    padding: 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    white-space: normal;
    max-width: 600px;
    margin: 10px auto 0;
}

.section-spacer {
    text-align: center;
    margin-top: 40px;
}

.page-intro {
    text-align: center;
    margin-bottom: 60px;
}

.safety-grid {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.card-warning {
    border-left: 5px solid #c62828;
}

.card-safe {
    border-left: 5px solid #2e7d32;
    transition: 0.3s;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.clean-list li {
    margin-bottom: 10px;
}
