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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 900px; 
    margin: 0 auto;
    line-height: 24px;
    color: #1f2933;
    background: 
      radial-gradient(circle at top left, rgba(59, 130, 246, 0.09), transparent 60%),
      radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.09), transparent 60%),
      #f5f7fb;
}

/* ======= Main Layout ========= */

.page {
    max-width: 880px; 
    margin: 40px auto 56px;
    padding: 0 16px;
}

@media(min-width: 768px){
    .page {
        margin-top: 56px; 
        margin-bottom: 72px; 
        padding: 0 24px;
    }
}

/* ======== Main Header ======== */ 

.hero {
    margin-bottom: 24px; 
    text-align: left;
}

.hero-title{
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700; 
    letter-spacing: -0.02em;
    color: #0b1220;
    margin: 0 0 6px;
}

.hero-subtitle {
    font-size: 0.95rem; 
    color: #6b7280;
    margin: 0 0 4px;
}

.hero-meta {
    font-size: 0.85rem; 
    color: #9ca3af;
}

/* ======== Section ======= */

section:first-of-type {
    background: transparent; 
    padding: 0; 
    margin-bottom: 24px; 
    box-shadow: none;
}

section {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 18px;
    margin-bottom: 18px; 
    border-radius: 14px; 
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

@media(min-width: 768px){
    section {
        padding: 22px 22px; 
        margin-bottom: 20px; 
        border-radius: 16px;
    }
}

/* ======= Headers ====== */ 
h1, h2, h3 {
    color: #111827;
    font-weight: 650; 
    margin-top: 0; 
    letter-spacing: -0.01rem; 
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

h2{
    font-size: 1.1rem; 
    margin-bottom: 0.4rem;
}

p{
    margin: 0 0 0 0.75rem;
    font-size: 0.95rem;
}

ul {
    margin: 0.rem 0 0.9rem 1.25rem; 
    padding: 0; 
    font-size: 0.95rem;
}

li{
    margin-bottom: 0.35rem;
}

/* ======== Links ====== */ 

a{
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.25); 
    padding-bottom: 1px; 
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.05);
    background-color: rgba(37, 99, 235, 0.04);
}

/* ======= Separator ====== */
hr {
    border: none; 
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    margin: 28px 0 22px;
}

/* ====== Responsive Tweaks ====== */ 
@media (max-width: 480px){
    section {
        padding: 18px 14px; 
    }
    p, 
    h1 {
        font-size: 0.93rem
    }
}

small {
    color: #9ca3af;
    font-size: 0.8rem;
}