:root {
    --htl-red: #c8102e;
    --elec-green: #00a651;
    --elec-cyan: #00b8d4;
    --elec-dark: #0d1b2a;
    --htl-light: #f5f5f5;
    --htl-accent: #2c5282;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--htl-light);
    color: var(--htl-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, var(--elec-dark) 0%, #1b263b 50%, var(--elec-green) 100%);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

main {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.intro {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--elec-green);
}

.facts {
    list-style: none;
    counter-reset: fact-counter;
}

.facts li {
    background: white;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem 1.25rem 4.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    counter-increment: fact-counter;
}

.facts li:hover {
    transform: translateX(4px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.facts li::before {
    content: counter(fact-counter);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    background: var(--elec-cyan);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px 0 0 8px;
}

.endpoints {
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.endpoints h2 {
    color: var(--elec-green);
    margin-bottom: 1rem;
}

.endpoints ul {
    list-style: none;
}

.endpoints li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.endpoints li:last-child {
    border-bottom: none;
}

.endpoints a {
    color: var(--htl-accent);
    text-decoration: none;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 0.95rem;
}

.endpoints a:hover {
    text-decoration: underline;
}

footer {
    background: var(--elec-dark);
    color: #ccc;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    header h1 { font-size: 1.8rem; }
    .facts li { padding-left: 3.5rem; }
    .facts li::before { width: 2.8rem; font-size: 1.2rem; }
}
