/* --- FOUNDATION --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    line-height: 1.8; 
    background-color: #ffffff; /* Pure White Background */ 
    color: #334155; /* Slate Gray Text for readability */
    margin: 0; 
    padding: 80px 20px; /* Generous top/bottom padding for breathing room */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container { 
    max-width: 650px; /* Narrower measure for a professional, editorial feel */
    width: 100%;
}

/* --- TYPOGRAPHY & HEADER --- */
header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.overline { 
    text-transform: uppercase; 
    letter-spacing: 0.2em; 
    font-size: 0.7rem; 
    font-weight: 700; 
    color: #94a3b8; /* Lighter gray for the overline */ 
    margin-bottom: 15px; 
}

h1 { 
    font-size: 3rem; 
    color: #0f172a; /* Almost black for strong title hierarchy */
    margin: 0; 
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    color: #0f172a;
    font-weight: 600;
    margin-top: 0;
    font-size: 1.5rem;
}

p {
    margin-bottom: 25px;
    font-weight: 300; /* Lighter font weight for body text adds elegance */
    font-size: 1.1rem;
}

/* --- CARDS & CONTAINERS --- */
.card { 
    background: #ffffff;
    border: 1px solid #e2e8f0; /* Subtle border instead of harsh shadows */
    padding: 60px; 
    border-radius: 16px; 
}

/* --- BUTTONS --- */
button { 
    background: #0f172a; 
    color: #ffffff; 
    padding: 20px 40px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: 600;
    width: 100%;
    transition: background-color 0.2s ease;
    margin-top: 20px;
}

button:hover { 
    background-color: #334155; 
}

/* --- LISTS --- */
ul { 
    margin: 30px 0; 
    padding-left: 20px; 
    color: #334155;
}

li { 
    margin-bottom: 18px; 
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- DIAGRAM/IMAGE AREA --- */
.diagram-container {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden; /* Ensures image fits radius */
    border: 1px solid #e2e8f0;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 600px) {
    body { padding: 40px 20px; }
    .card { padding: 30px; }
    h1 { font-size: 2.2rem; }
}
