/* =========================================
   BBS Prototype Style
   Clean, light, modern layout for previews
   ========================================= */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background: #f3f4f6;
}

/* Layout helpers */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem;
}

.section {
    padding: 2rem 0;
}

.section + .section {
    border-top: 1px solid #e5e7eb;
}

/* Header / Nav */

.header {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
    color: #111827;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.nav a {
    text-decoration: none;
    color: #4b5563;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
    background: #e5e7eb;
    color: #111827;
}

/* Hero */

.hero {
    padding: 3rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #4b5563;
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        transform 0.05s ease;
}

.btn-primary {
    background: #111827;
    color: #f9fafb;
    border-color: #111827;
}

.btn-primary:hover {
    background: #020617;
    border-color: #020617;
    transform: translateY(-1px);
}

.btn-ghost {
    background: #ffffff;
    color: #111827;
    border-color: #e5e7eb;
}

.btn-ghost:hover {
    background: #f3f4f6;
}

/* Panel / Cards */

.panel {
    background: #ffffff;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.panel-muted {
    background: #f9fafb;
}

.panel-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.panel-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Grid */

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Badges / Tags */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    background: #f9fafb;
}

/* Lists */

.list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
}

.list li {
    font-size: 0.9rem;
    color: #4b5563;
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.list li::before {
    content: "•";
    position: absolute;
    left: 0.15rem;
    top: 0.1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Tables */

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table thead {
    background: #f3f4f6;
}

.table th,
.table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.table tbody tr:hover {
    background: #f9fafb;
}

/* Footer */

.footer {
    padding: 1.5rem 0 2rem;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

/* Links */

a {
    color: #2563eb;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .hero {
        padding-top: 2rem;
    }

    .nav {
        gap: 0.4rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}
* {
    pointer-events: auto !important;
}
a {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

