:root {
    --bg: #0e0e12;
    --surface: #1a1a22;
    --accent: #00e5ff;
    --accent-dim: rgba(0, 229, 255, 0.15);
    --accent-glow: rgba(0, 229, 255, 0.3);
    --text: #e8e8f0;
    --muted: #606080;
    --border: rgba(0, 229, 255, 0.14);
    --max-w: 1080px;
    --header-max-w: 1080px;
}

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

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(14, 14, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-inner {
    max-width: var(--header-max-w);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    text-decoration: none;
}

.nav-brand .brand-o,
.nav-brand .brand-rbit {
    font-size: 1.3rem;
    color: var(--accent);
}

.nav-brand .brand-o {
    font-weight: 700;
}

.nav-brand .brand-rbit {
    font-weight: 400;
}

.nav-brand .brand-by {
    font-size: 0.65rem;
    color: var(--muted);
    margin-left: 0.5rem;
}

.nav-brand .brand-dza {
    font-size: 0.65rem;
    color: #dc3232;
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

.nav-back {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--text);
    text-decoration: none;
}

.shell {
    width: min(100% - 2rem, var(--max-w));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 14, 0.86);
    border-bottom: 1px solid var(--border);
}

.site-header .shell {
    width: min(100% - 2rem, var(--header-max-w));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: baseline;
    text-decoration: none;
}

.brand .brand-o,
.brand .brand-rbit {
    font-size: 1.3rem;
    color: var(--accent);
}

.brand .brand-o {
    font-weight: 700;
}

.brand .brand-rbit {
    font-weight: 400;
}

.brand .brand-by {
    font-size: 0.68rem;
    color: var(--muted);
    margin-left: 0.4rem;
}

.brand .brand-dza {
    font-size: 0.68rem;
    color: #dc3232;
    margin-left: 0.25rem;
}

.header-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 0.95rem;
}

.header-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.header-links a:hover,
.header-links a:focus-visible {
    color: var(--text);
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    background: #33ebff;
    box-shadow: 0 0 20px var(--accent-glow);
    text-decoration: none;
}

.btn-primary:active {
    background: #00c4db;
    box-shadow: 0 0 8px var(--accent-glow);
    transform: scale(0.97);
}

.btn-large {
    font-size: 1.1rem;
    padding: 0.9rem 2.5rem;
}

.btn-small {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-dim);
    text-decoration: none;
}

.btn-outline:active {
    background: rgba(0, 229, 255, 0.25);
    transform: scale(0.97);
}
