@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f0f4f8;
    --surface: #ffffff;
    --text: #1a2332;
    --text-alt: #3d5068;
    --text-muted: #8496a9;
    --accent: #2E86C1;
    --accent-hover: #2471A3;
    --accent-subtle: #D6EAF8;
    --success: #10b981;
    --success-subtle: #ecfdf5;
    --border: #d5dbe3;
    --border-hover: #b8c4d0;
    --star: #f59e0b;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'Cascadia Code', 'SF Mono', 'Consolas', monospace;
    --max-w: 1140px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.07);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.site-header {
    background: var(--surface);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.brand span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    color: var(--text-alt);
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}

.main-nav a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text);
}

.mobile-nav {
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 28px;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: var(--text-alt);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.hero-banner {
    padding: 76px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-banner h1 {
    font-size: 46px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1.2px;
    margin-bottom: 18px;
    line-height: 1.12;
}

.hero-banner .tagline {
    font-size: 18px;
    color: var(--text-alt);
    max-width: 660px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.onion-display {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.onion-address {
    flex: 1;
    min-width: 0;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text);
    word-break: break-all;
    text-align: left;
}

.copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.copy-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success-subtle);
    color: var(--success);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.block {
    padding: 68px 0;
}

.block-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.block-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: -0.6px;
}

.block-lead {
    font-size: 17px;
    color: var(--text-alt);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 44px;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.mirror-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .2s, box-shadow .2s;
}

.mirror-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.mirror-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: 14px;
}

.mirror-url {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    word-break: break-all;
    background: var(--bg);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 14px;
}

.mirror-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid transparent;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.copy-sm:hover {
    background: #c3dff0;
}

.copy-sm svg {
    width: 14px;
    height: 14px;
}

.prose {
    max-width: 780px;
    margin: 0 auto;
}

.prose p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-alt);
    margin-bottom: 18px;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: border-color .2s, box-shadow .2s;
}

.info-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    color: var(--accent);
    margin-bottom: 18px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.65;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 26px;
}

.trust-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.trust-card p {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.7;
}

.data-table {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 16px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-alt);
    background: var(--bg);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 16px 18px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--bg);
}

.data-url {
    font-family: var(--mono);
    font-size: 13px;
    word-break: break-all;
}

.data-badge {
    color: var(--success);
    font-weight: 600;
    font-size: 13px;
}

.steps-list {
    max-width: 740px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 22px;
    margin-bottom: 28px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .2s;
}

.step-card:hover {
    box-shadow: var(--shadow);
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.step-card p {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.7;
}

.feedback-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feedback-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: box-shadow .2s;
}

.feedback-card:hover {
    box-shadow: var(--shadow);
}

.feedback-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.feedback-author {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

.feedback-when {
    font-size: 13px;
    color: var(--text-muted);
}

.feedback-rating {
    color: var(--star);
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.feedback-body {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.6;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: box-shadow .2s;
}

.news-card:hover {
    box-shadow: var(--shadow);
}

.news-when {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.news-card p {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.7;
}

.help-list {
    max-width: 780px;
    margin: 0 auto;
}

.help-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 18px;
    transition: border-color .2s;
}

.help-item:hover {
    border-color: var(--border-hover);
}

.help-q {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.help-a {
    font-size: 15px;
    color: var(--text-alt);
    line-height: 1.7;
}

.action-box {
    text-align: center;
    padding: 60px 28px;
    background: var(--accent-subtle);
    border-radius: var(--radius);
    max-width: var(--max-w);
    margin: 0 auto;
}

.action-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.action-box p {
    font-size: 17px;
    color: var(--text-alt);
    margin-bottom: 26px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 15px 40px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: background .2s, transform .15s;
}

.action-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.page-footer {
    background: var(--surface);
    border-top: 2px solid var(--accent);
    padding: 52px 0 28px;
    margin-top: 68px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-columns h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.footer-columns p {
    font-size: 14px;
    color: var(--text-alt);
    line-height: 1.7;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-alt);
    transition: color .2s;
}

.footer-nav a:hover {
    color: var(--accent);
}

.legal-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-banner h1 {
        font-size: 32px;
    }

    .hero-banner .tagline {
        font-size: 16px;
    }

    .block-heading {
        font-size: 26px;
    }

    .mirrors-grid,
    .info-row,
    .trust-row,
    .feedback-row,
    .news-row {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .onion-display {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .step-card {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 26px;
    }

    .block {
        padding: 48px 0;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        padding: 48px 0 40px;
    }
}