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

body {
    background-color: #E8E0D0;
    color: #2a2a2a;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}

/* ── Rules ── */

.rule {
    height: 1px;
    background: #2a2a2a;
    margin: 16px 0;
}

.rule.thick {
    height: 3px;
}

/* ── Header ── */

header {
    text-align: center;
    margin-bottom: 64px;
}

.dateline {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #777;
    margin: 12px 0;
}

h1 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    margin: 12px 0;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
}

/* ── Section Labels ── */

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #B33A2B;
    margin-bottom: 28px;
}

/* ── Apps ── */

.apps {
    margin-bottom: 48px;
}

.app-card {
    display: block;
    border: 1px solid #2a2a2a;
    padding: 28px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #2a2a2a;
    position: relative;
    transition: background-color 0.15s ease;
}

a.app-card:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.app-card.inactive {
    border-color: #aaa;
    color: #888;
}

.app-status {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.app-status.live {
    color: #2E7D32;
}

.app-status.soon {
    color: #C25722;
}

.app-card h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.app-card.inactive h2 {
    color: #888;
}

.app-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.app-card.inactive .app-desc {
    color: #aaa;
}

.app-arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 20px;
    color: #2a2a2a;
}

/* ── Contact ── */

.contact {
    margin: 48px 0;
}

.contact-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.contact a {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}

.contact a:hover {
    opacity: 0.5;
}

/* ── Footer ── */

footer {
    margin-top: 64px;
}

footer p {
    font-size: 11px;
    color: #999;
    margin-top: 16px;
    letter-spacing: 0.05em;
}

.footer-legal {
    font-size: 10px;
    color: #aaa;
    margin-top: 4px;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.footer-legal:first-of-type {
    margin-top: 12px;
}

.footer-address {
    font-size: 11px;
    color: #999;
    margin-top: 16px;
    letter-spacing: 0.02em;
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    font-size: 11px;
    color: #999;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}

.footer-links a:hover {
    opacity: 0.5;
}

.footer-sep {
    margin: 0 8px;
    color: #ccc;
}

/* ── Legal Pages ── */

.legal-header {
    margin-bottom: 48px;
}

.legal-header h1 {
    margin-top: 24px;
}

.back-link {
    font-size: 13px;
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}

.back-link:hover {
    opacity: 0.5;
}

.legal-content h2 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-content p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 8px 0 16px 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.legal-content li {
    margin-bottom: 4px;
}

.legal-content a {
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 1px;
    transition: opacity 0.15s ease;
}

.legal-content a:hover {
    opacity: 0.5;
}

/* ── Responsive ── */

@media (min-width: 520px) {
    h1 {
        font-size: 48px;
    }

    .page {
        padding: 72px 32px 48px;
    }
}
