:root {
    --bg: #1a1a2e;
    --panel: #16213e;
    --panel-strong: #111a33;
    --line: #2a2a4e;
    --text: #ffffff;
    --muted: #b0b0c0;
    --body: #d0d0e0;
    --brand: #4a6cf7;
    --ok: #4caf50;
    --cyan: #00bcd4;
    --pink: #e91e63;
    --warning: #ffb300;
}

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

html {
    background: var(--bg);
}

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(74, 108, 247, 0.14), transparent 360px),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.75;
}

.rainbow-bar {
    background: linear-gradient(90deg, #e91e63, #f44336, #ff9800, #ffeb3b, #4caf50, #00bcd4, #2196f3, #9c27b0);
    height: 4px;
}

.site-header {
    margin: 0 auto;
    max-width: 940px;
    padding: 40px 24px 24px;
    text-align: center;
}

.brand-logo {
    height: auto;
    max-width: 280px;
    width: 72%;
}

.product-name {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 14px;
    text-transform: uppercase;
}

.language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.language-links a {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--body);
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
}

.language-links a:hover {
    border-color: var(--brand);
    color: var(--text);
}

.container {
    margin: 0 auto;
    max-width: 860px;
    padding: 0 24px 42px;
}

.narrow {
    max-width: 680px;
}

.hero-card,
.section,
.contact-card,
.delete-card {
    background: linear-gradient(135deg, var(--panel), var(--panel-strong));
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-card {
    margin-bottom: 28px;
    padding: 34px 28px;
    text-align: center;
}

.hero-icon {
    color: var(--brand);
    display: inline-flex;
    height: 54px;
    margin-bottom: 16px;
    width: 54px;
}

.hero-card h1 {
    font-size: 28px;
    font-weight: 750;
    line-height: 1.25;
    margin-bottom: 10px;
}

.date-line,
.summary {
    color: var(--muted);
    font-size: 14px;
}

.summary {
    margin: 14px auto 0;
    max-width: 680px;
}

.section,
.contact-card,
.delete-card {
    margin-bottom: 20px;
    padding: 28px;
}

.section h2,
.contact-card h2,
.delete-card h1 {
    align-items: center;
    color: var(--brand);
    display: flex;
    font-size: 19px;
    gap: 10px;
    line-height: 1.35;
    margin-bottom: 16px;
}

.section h3 {
    color: var(--text);
    font-size: 16px;
    margin: 18px 0 8px 34px;
}

.section p,
.delete-card p {
    color: var(--body);
    margin: 0 0 13px 34px;
}

.section ul,
.delete-card ul {
    margin: 0 0 13px 58px;
}

.section li,
.delete-card li {
    color: var(--body);
    margin-bottom: 8px;
}

strong {
    color: var(--text);
}

.link {
    color: var(--cyan);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.notice {
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid rgba(255, 179, 0, 0.42);
    border-radius: 8px;
    color: #ffe0a3;
    margin: 14px 0 0 34px;
    padding: 12px 14px;
}

.safe-list {
    display: grid;
    gap: 10px;
    margin-left: 34px;
}

.safe-item {
    align-items: center;
    background: rgba(76, 175, 80, 0.11);
    border: 1px solid rgba(76, 175, 80, 0.46);
    border-radius: 8px;
    color: #c8e6c9;
    display: flex;
    gap: 12px;
    padding: 12px 14px;
}

.contact-row {
    align-items: center;
    color: var(--body);
    display: flex;
    gap: 12px;
    margin: 0 0 12px 34px;
}

.contact-row a {
    color: var(--text);
    text-decoration: none;
}

.contact-row a:hover {
    color: var(--cyan);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 26px 0;
}

.button {
    align-items: center;
    border-radius: 8px;
    color: var(--text);
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    text-decoration: none;
}

.button-primary {
    background: linear-gradient(90deg, var(--pink), var(--cyan), var(--ok));
}

.button-secondary {
    background: #25d366;
}

.info-box {
    background: rgba(74, 108, 247, 0.12);
    border: 1px solid rgba(74, 108, 247, 0.52);
    border-radius: 8px;
    color: #cbd7ff;
    margin-top: 18px;
    padding: 14px 16px;
}

.site-footer {
    color: var(--muted);
    font-size: 12px;
    padding: 32px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.footer-links a {
    color: var(--cyan);
    text-decoration: none;
}

.icon {
    background: currentColor;
    display: inline-block;
    flex: 0 0 auto;
    height: 1.1em;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
    width: 1.1em;
}

.hero-icon .icon {
    height: 100%;
    width: 100%;
}

@media (max-width: 640px) {
    .site-header {
        padding-top: 32px;
    }

    .hero-card,
    .section,
    .contact-card,
    .delete-card {
        padding: 22px 16px;
    }

    .hero-card h1 {
        font-size: 24px;
    }

    .section h2,
    .contact-card h2,
    .delete-card h1 {
        font-size: 18px;
    }

    .section h3,
    .section p,
    .notice,
    .safe-list,
    .contact-row,
    .delete-card p {
        margin-left: 0;
    }

    .section ul,
    .delete-card ul {
        margin-left: 24px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        justify-content: center;
        width: 100%;
    }
}
