/* site.css - Extracted styles for aisafetycommunity.net */

/* Hero pattern background */
.hero-pattern {
    background-color: #0f172a;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Desktop viewport height */
.desktop {
    --h: 100vh;
    --h: 100dvh;
}

/* UI Variables */
:root {
    --ui-accent: rgba(255, 255, 255, 0.97);
    --ui-depth: 999999;
    --ui-blur: 8px;
    --content-fade: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.85) 15%, var(--ui-accent) 40%);
}

/* Reader/Intro overlay component */
[data-component="ada-hint"] {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
}

.desktop[data-component="ada-hint"] {
    block-size: var(--h);
    z-index: var(--ui-depth);
    background: var(--content-fade);
    backdrop-filter: blur(var(--ui-blur));
    -webkit-backdrop-filter: blur(var(--ui-blur));
}

/* Crisp content area */
.crisp {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    block-size: max(360px, 45vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.crisp h2 {
    font-size: 1.6rem;
    margin: 1rem 0 0.5rem;
    color: #1a1a1a;
}

.crisp p {
    color: #555;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

/* Primary button style */
.uprimseceprom {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.uprimseceprom:hover {
    background: #1d4ed8;
}

/* Secondary button style */
.usecondseceprom {
    background: none;
    border: none;
    color: #666;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: #0ea5e9;
}

/* Page header for inner pages */
.page-header {
    background-color: #0f172a;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 30px 30px;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.page-header h1 {
    color: white;
}

.page-header p {
    color: #94a3b8;
}
