/* Agile Skincare Manifesto Styles
   Design philosophy: Minimalist, typographical, readable, focused on content.
*/

:root {
    --bg-color: #fcfcfc;      /* Slightly warm off-white for reading comfort */
    --text-color: #2a2a2a;    /* Soft black */
    --accent-color: #555;     /* Muted gray for meta info */
    --link-color: #0056b3;    /* Classic restrained blue */
    --font-serif: 'Georgia', 'Times New Roman', Times, serif;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-unit: 1.5rem;
    --content-width: 720px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: 1.7;
    font-size: 18px; /* Slightly larger base font for readability */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Container --- */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* --- Navigation / Language Switcher --- */
.lang-switch {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-align: right;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.lang-switch a {
    text-decoration: none;
    color: var(--accent-color);
    margin-left: 10px;
    padding: 5px;
    transition: color 0.2s;
}

.lang-switch a:hover {
    color: #000;
}

.lang-switch a.active {
    font-weight: bold;
    color: #000;
    border-bottom: 1px solid #000;
}

/* --- Typography & Elements --- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
    letter-spacing: -0.02em;
    border-bottom: 4px solid #eee;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 2em;
    color: #444;
}

.subtitle {
    font-family: var(--font-sans);
    font-style: italic;
    color: var(--accent-color);
    margin-top: -0.5rem;
    margin-bottom: 3rem;
    display: block;
}

p {
    margin-bottom: 1.5rem;
}

strong {
    font-weight: 700;
    color: #111;
}

/* --- Lists --- */
ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* --- Principles Section Styling --- */
.principle {
    margin-bottom: 2rem;
}

.principle-title {
    display: block;
    font-family: var(--font-sans);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #000;
}

/* --- Horizontal Rules --- */
hr {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 4rem 0;
}

/* --- Footer --- */
footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-sans);
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    .container {
        padding: 2rem 1.25rem;
    }
    h1 {
        font-size: 2rem;
    }
}

/* --- Print Styles --- */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    .lang-switch {
        display: none;
    }
    a {
        text-decoration: none;
        color: black;
    }
}
