@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk';
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--slate-50), var(--white));
    color: var(--slate-700);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--slate-200);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 2rem;
    width: 2rem;
    border-radius: 0.375rem;
    background: linear-gradient(to bottom right, var(--blue-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--blue-600), var(--indigo-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
}

.btn-ghost:hover {
    background: var(--slate-100);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
}

.btn-outline:hover {
    background: var(--slate-100);
}

main {
    padding: 3rem 0;
    position: relative;
}

.max-w-5xl {
    max-width: 64rem;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--blue-600), var(--indigo-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .title {
        font-size: 3rem;
    }
}

.date {
    color: var(--slate-500);
}

.intro {
    margin-bottom: 2rem;
}

.card {
    background: var(--white);
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.toc {
    margin-bottom: 2.5rem;
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-700);
    transition: color 0.2s;
}

.toc-link:hover {
    color: var(--blue-600);
}

.chevron-right {
    width: 16px;
    height: 16px;
}

.section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-number {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background-color: var(--blue-100);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list {
    display: grid;
    gap: 0.75rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.list-marker {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 9999px;
    background-color: var(--blue-100);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.list-marker-dot {
    height: 0.375rem;
    width: 0.375rem;
    border-radius: 9999px;
    background-color: var(--blue-600);
}

.highlight-box {
    background-color: var(--blue-50);
    border-radius: 0.5rem;
    padding: 1rem;
}

.highlight-title {
    font-weight: 600;
    color: var(--blue-700);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--blue-600);
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    height: 2.5rem;
    width: 2.5rem;
    background-color: var(--blue-600);
    color: var(--white);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s;
}

.back-to-top:hover {
    background-color: var(--blue-700);
}

.arrow-up {
    width: 20px;
    height: 20px;
}

footer {
    background-color: var(--slate-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-logo {
        margin-bottom: 0;
    }
}

.footer-logo-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 0.375rem;
    background: linear-gradient(to bottom right, var(--blue-500), var(--indigo-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--slate-300);
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .copyright {
        margin-bottom: 0;
    }
}

.footer-buttons {
    display: flex;
    gap: 1rem;
}

.footer-btn {
    font-size: 0.875rem;
    color: var(--slate-300);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.footer-btn:hover {
    color: var(--white);
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr 1fr;
    }
}

.col-span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .col-span-2 {
        grid-column: span 2;
    }
}

.blue-box {
    background-color: var(--blue-50);
    padding: 1rem;
    border-radius: 0.5rem;
}

.blue-title {
    font-weight: 600;
    color: var(--blue-700);
}

.blue-border {
    border: 1px solid var(--blue-100);
}

.mt-4 {
    margin-top: 1rem;
}