/* Clearweb Styles - Privacy-focused design */

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

:root {
    --bg-color: #fafafa;
    --text-color: #333333;
    --link-color: #2c5282;
    --link-hover: #1a365d;
    --header-bg: #2c5282;
    --header-text: #ffffff;
    --section-bg: #ffffff;
    --border-color: #e2e8f0;
    --code-bg: #f1f5f9;
    --footer-bg: #f7fafc;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
}

main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

section {
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

section h2 {
    font-size: 1.5rem;
    color: var(--header-bg);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

section p {
    margin-bottom: 1rem;
}

section ul, section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover, a:focus {
    color: var(--link-hover);
}

a:focus {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
}

.onion-url-box {
    background-color: var(--code-bg);
    border: 2px dashed var(--header-bg);
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    border-radius: 8px;
}

.onion-address {
    display: block;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #1a202c;
    color: #68d391;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    word-break: break-all;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.step-list {
    counter-reset: step;
    list-style: none;
    margin-left: 0;
}

.step-list li {
    counter-increment: step;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--header-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-list li strong {
    display: block;
    margin-bottom: 0.25rem;
}

.step-list li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

code {
    font-family: "Courier New", Courier, monospace;
    background-color: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.placeholder-box {
    background-color: #fffbeb;
    border: 1px solid #f6e05e;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.placeholder-box p {
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

footer p {
    margin-bottom: 0.5rem;
}

footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    section {
        padding: 1rem;
    }

    .step-list li {
        padding-left: 2rem;
    }

    .step-list li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.875rem;
    }
}