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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #e8e8e8;
}

/* ── Header ── */

.site-header {
    background-color: #222;
    padding: 10px 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.header-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.header-title-block {
    display: flex;
    flex-direction: column;
}

.header-title {
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.25px;
    word-spacing: -2px;
}

.header-title strong {
    font-weight: 700;
}

.header-subtitle {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}

/* ── Main Content ── */

.main-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.app-title {
    font-size: 22px;
    font-weight: 400;
    color: #222;
    margin-bottom: 8px;
}

/* ── Page Nav ── */

.page-nav {
    margin-bottom: 20px;
    font-size: 13px;
}

.page-nav a {
    color: #0645ad;
    text-decoration: none;
}

.page-nav a:hover {
    text-decoration: underline;
}

.nav-divider {
    margin: 0 6px;
    color: #888;
}

/* ── App Description Block ── */

.app-description-block {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.app-image-block {
    flex-shrink: 0;
    text-align: center;
    width: 130px;
}

.app-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #ccc;
}

.app-image-caption {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
    line-height: 1.4;
}

.app-description-text p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.app-description-text p:last-child {
    margin-bottom: 0;
}

/* ── Disclaimers ── */

.disclaimer {
    margin-bottom: 12px;
    line-height: 1.6;
}

.disclaimer.warning {
    font-weight: 600;
}

/* ── Store Buttons ── */

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.store-link img {
    height: 50px;
    object-fit: contain;
}

/* ── Captcha ── */

.captcha-block {
    margin-top: 10px;
}

.captcha-prompt {
    margin-bottom: 16px;
    line-height: 1.6;
}

.captcha-problem {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.captcha-problem input {
    width: 80px;
    padding: 5px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.captcha-problem button {
    padding: 5px 14px;
    font-size: 14px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.captcha-problem button:hover {
    background-color: #444;
}

.captcha-error {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 10px;
}

.captcha-result {
    margin-top: 10px;
}

/* ── Markdown Content ── */

.markdown-content p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* ── Footer ── */

.site-footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    padding: 20px;
    border-top: 1px solid #ccc;
}
