/* Speak Safely — UNIT9 design system */

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

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: #000000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 48px;
    width: auto;
}

.main-content {
    flex: 1;
    padding: 40px 0 100px;
}

.dashboard-card {
    background: #ffffff;
    color: #000000;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
}

.dashboard-header {
    background: #000000;
    color: #ffffff;
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid #333;
}

.dashboard-header h1 {
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 10px;
    color: #ffffff;
}

.dashboard-header p {
    opacity: 0.9;
    font-size: 1.5em;
    margin: 0;
}

@media (max-width: 640px) {
    .dashboard-header h1 {
        font-size: 2em;
    }

    .dashboard-header p {
        font-size: 1.1em;
    }
}

.hub-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.tiles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 800px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tile-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 24px;
    color: #000000;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.tile-card:hover {
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.tile-header {
    margin-bottom: 16px;
}

.tile-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.tile-excerpt {
    color: #666666;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
    flex: 1;
}

.tile-actions {
    margin-top: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    width: 100%;
}

.button-primary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    border-top: 1px solid #333;
}

.footer-copyright,
.footer-link {
    color: #ffffff;
    font-size: 14px;
}

.footer-link {
    text-decoration: none;
}

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

@media (max-width: 640px) {
    .footer {
        padding: 12px 16px;
    }

    .footer-copyright,
    .footer-link {
        font-size: 12px;
    }
}
