:root {
    --color-brand: #0891b2;
    --color-cta: #f97316;
    --font-main: Bahnschrift, 'Arial Black', 'Helvetica Neue', sans-serif;
    --text-muted: #777;
    --border: #ddd;
    --text-dark: #222;
    --text-body: #444;
    --bg-light: #f8f8f8;
    --bg-card: #fff;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-body);
    background-color: #fff;
    overflow-x: hidden;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.6;
    color: var(--text-dark);
    margin-top: 0;
}

p {
    margin-top: 0;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

ul, ol {
    padding-left: 20px;
}

li {
    line-height: 1.6;
    margin-bottom: 6px;
}

main {
    min-height: 60vh;
}

.table-wrapper,
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    max-width: 100%;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

th {
    font-weight: 700;
    background-color: var(--color-brand);
    color: #fff;
}

tr:nth-child(even) td {
    background-color: var(--bg-light);
}

tr:hover td {
    background-color: #e8f6fa;
}

input, textarea, select, button {
    font-family: var(--font-main);
    font-size: 16px;
    box-sizing: border-box;
    max-width: 100%;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        font-size: 16px;
    }

    .grid, [class*='grid'] {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    th, td {
        padding: 8px 10px;
        font-size: 13px;
    }

    p {
        font-size: 16px;
    }
}