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

:root {
    --bg: #0f0f0f;
    --surface: #1a1a1a;
    --border: #2a2a2a;
    --text: #f5f5f5;
    --text-muted: #888;
    --accent: #f56565;
    --accent-merge: #3b82f6;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-stack);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container.center {
    text-align: center;
}

a {
    color: var(--accent-merge);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hero {
    margin-bottom: 4rem;
}

.container.center .hero {
    margin-bottom: 5rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.accent {
    color: var(--accent);
}

.accent-merge {
    color: var(--accent-merge);
}

/* Lista de apps en index del subdominio */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.app-card:hover {
    border-color: var(--accent-merge);
    text-decoration: none;
    transform: translateY(-1px);
}

.app-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;       /* ~22% — squircle-ish, parecido a un icono de app */
    flex-shrink: 0;
    object-fit: cover;          /* por si una SVG llegase con relación distinta */
    display: block;
}

.app-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-card-name {
    font-size: 1.05rem;
    font-weight: 500;
}

.app-card-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Páginas de contenido (privacy, landings de apps) */
.content h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 2.5rem 0 0.75rem;
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 1rem;
    color: var(--text);
}

.content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.4rem;
}

.content .muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn:hover {
    text-decoration: none;
    border-color: var(--accent-merge);
}

.btn-primary {
    background: var(--accent-merge);
    border-color: var(--accent-merge);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    border-color: var(--accent-merge);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

footer {
    margin-top: auto;
    padding-top: 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.container.center footer {
    text-align: center;
}

@media (max-width: 600px) {
    .container {
        padding: 4rem 1.25rem 2rem;
    }
    .hero {
        margin-bottom: 3rem;
    }
    .container.center .hero {
        margin-bottom: 3.5rem;
    }
    .hero h1 {
        font-size: 1.65rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .app-card {
        padding: 1rem 1.1rem;
        gap: 1rem;
    }
}
