/* ppss.ee - Minimalist Utility Interface */
/* Colors from DESIGN.md:
   White #FFFFFF - background
   Charcoal #2D3436 - headings
   Slate #636E72 - body text
   Blue #0984E3 - links
   Light Gray #F1F3F5 - code blocks
   Border #DEE2E6 - dividers
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #636E72;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Navigation */
.nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nav a {
    color: #636E72;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.15s ease;
}

.nav a:hover {
    color: #0984E3;
}

/* Hero */
.hero {
    margin-bottom: 3rem;
}

.domain-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #2D3436;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: #636E72;
}

/* Dividers */
.divider {
    border: none;
    border-top: 1px solid #DEE2E6;
    margin: 0;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section p {
    margin-bottom: 1rem;
}

.icon {
    flex-shrink: 0;
}

/* Details / Progressive Disclosure */
details {
    margin-bottom: 0.75rem;
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    overflow: hidden;
}

details + details {
    margin-top: 0.5rem;
}

summary {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #2D3436;
    cursor: pointer;
    font-size: 0.9375rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #DEE2E6;
    flex-shrink: 0;
}

details[open] summary::before {
    background-color: #0984E3;
}

details > p,
details > div {
    padding: 0 1rem 0.75rem 1rem;
}

details > p:first-of-type {
    padding-top: 0;
}

/* Code Blocks */
.code-block {
    background-color: #F1F3F5;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 0.8125rem;
    color: #2D3436;
    white-space: pre;
}

code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 0.8125rem;
    background-color: #F1F3F5;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    color: #2D3436;
}

/* Links */
a {
    color: #0984E3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding-top: 3rem;
}

.footer p {
    font-size: 0.8125rem;
    color: #636E72;
    text-align: center;
}

/* List markers - geometric circles */
ul {
    list-style: none;
    padding-left: 1.25rem;
}

ul li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #DEE2E6;
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .section {
        padding: 2rem 0;
    }
}
