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

:root {
    --black: #1a1a1a;
    --blue-accent: #2962ff;
    --border-color: #e0e0e0;
    --bg-light: #fafafa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: #ffffff;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navbar */
.navbar {
    border-bottom: 3px solid var(--black);
    padding: 25px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.brand {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.links {
    float: right;
}

.links a {
    text-decoration: none;
    color: var(--black);
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* FAQ Accordion Styling */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    /* Removes default arrow */
    position: relative;
    padding-right: 30px;
}

/* Custom indicator (+) */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    color: var(--blue-accent);
}

/* Rotate indicator when open */
.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 15px 20px;
    background: #f9f9f9;
    margin-top: 10px;
    border-left: 3px solid var(--black);
    font-size: 0.95rem;
}

.faq-content ul,
.faq-content ol {
    margin-left: 20px;
    padding: 0;
}

.faq-content li {
    margin-bottom: 8px;
}

/* New Toggle Button Style */
.menu-toggle {
    display: none;
    float: right;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    font-weight: 900;
}

/* Updated Responsive Rules */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .links {
        display: none;
        /* Hidden by default on mobile */
        width: 100%;
        float: none;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        margin-top: 15px;
    }

    .links.active {
        display: flex;
        flex-direction: column;
    }

    .links a {
        margin: 10px 0;
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.2rem;
    }
}

/* Hero */
.hero {
    padding: 100px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Sections */
.content-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-accent);
    margin-bottom: 30px;
}

h3 {
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.list-item {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--black);
}

/* Technical Components */
.license-box {
    background: #f0f0f0;
    padding: 25px;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    border-radius: 4px;
}

footer {
    padding: 60px 0;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.license-box a {
    color: #4da3ff;
    text-decoration: none;
    word-break: break-all;
}

.license-box a:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .links {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }
}