:root {
    --color-brand: #d946ef;
    --color-cta: #00f5d4;
    --font-main: 'Trebuchet MS', Helvetica, sans-serif;
    --text-muted: #777;
    --border: #ddd;
    --bg-card: #f9f7fb;
    --bg-dark: #1a0a2e;
    --bg-section-alt: #f3eef7;
    --text-dark: #222;
    --text-light: #fff;
}

* {
    font-family: var(--font-main);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--text-light);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.65;
    color: var(--color-brand);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-dark); font-size: 1rem; }

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

a:hover { color: #b830cc; }
a:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 2px; }

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

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

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

td, th {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 0.95rem;
}

th {
    font-weight: 700;
    background: var(--bg-section-alt);
    color: var(--color-brand);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.btn:focus-visible {
    outline: 3px solid var(--color-cta);
    outline-offset: 2px;
}

.btn-cta {
    background: var(--color-cta);
    color: var(--text-dark);
}

.btn-cta:hover {
    background: #00ddb8;
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(0, 245, 212, 0.35);
}

.btn-brand {
    background: var(--color-brand);
    color: var(--text-light);
}

.btn-brand:hover {
    background: #b830cc;
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(217, 70, 239, 0.35);
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-brand);
    color: var(--text-light);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 768px) {
    body { overflow-x: hidden; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .container { width: 94%; padding: 0 12px; }
    .grid, [class*="grid"] { grid-template-columns: 1fr !important; }
    td, th { padding: 7px 10px; font-size: 0.85rem; }
}