:root {
--bg: #1f1f1f;
--text: #ffffff;
--muted: #888888;
--link: #bbbbbb;
--link-hover: #ffffff;
--border: #444444;
--surface: #262626;
}

* {
  box-sizing: border-box;
  }

html,
body {
margin: 0;
min-height: 100%;
}

body {
background-color: var(--bg);
color: var(--text);
font-family: "Roboto Condensed", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.6;
}

a {
color: var(--link);
text-decoration: none;
transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
color: var(--link-hover);
}

a:focus-visible {
outline: 1px solid var(--muted);
outline-offset: 4px;
}

/* Home page */

.home-page {
height: 100vh;
overflow: hidden;
position: relative;
}

.home-header {
position: absolute;
top: 20px;
left: 20px;
right: 20px;
display: flex;
align-items: flex-start;
justify-content: space-between;
z-index: 10;
}

.logo-link {
display: inline-flex;
align-items: center;
}

.logo {
width: 150px;
height: auto;
max-width: 100%;
}

.top-nav {
display: flex;
gap: 18px;
font-size: 0.85rem;
}

.top-nav a::before {
content: "// ";
color: #666666;
}

.home-main {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.home-title h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
letter-spacing: 0.02em;
}

.home-title p {
margin: 4px 0 0;
color: var(--muted);
font-size: 1rem;
}

.home-footer {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: var(--muted);
font-size: 0.75rem;
z-index: 10;
}

.footer-links {
margin-top: 2px;
display: flex;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
}

/* Content pages */

.content-page {
max-width: 760px;
width: 100%;
margin: 0 auto;
padding: 40px 20px;
}

.content-page h1 {
margin-top: 0;
color: var(--text);
font-size: 1.9rem;
border-bottom: 1px solid var(--border);
padding-bottom: 10px;
}

.content-page h2 {
margin-top: 34px;
color: var(--text);
font-size: 1.25rem;
}

.content-page p,
.content-page li {
color: #aaaaaa;
font-size: 0.98rem;
}

.content-page ul {
padding-left: 22px;
}

.info-box {
margin: 24px 0;
padding: 18px;
background-color: var(--surface);
border-left: 3px solid #555555;
}

.back-link {
display: inline-block;
margin-top: 40px;
font-size: 0.9rem;
color: var(--muted);
}

/* Mobile */

@media (max-width: 700px) {
.home-page {
min-height: 100vh;
height: auto;
overflow: auto;
}

.home-header {
    position: static;
    padding: 18px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 120px;
}

.top-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.home-main {
    min-height: 50vh;
    height: auto;
    padding: 40px 18px;
}

.home-title h1 {
    font-size: 1.8rem;
}

.home-footer {
    position: static;
    transform: none;
    padding: 18px;
}

}
