/* Reset and layout baseline */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Sticky footer layout using Flexbox */
body {
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #fcfcfc;
    color: #333;
}

/* Header styling and alignment */
header {
    text-align: center;
    padding: 40px 20px 20px 20px;
}

header h1 {
    margin: 0 0 5px 0;
    font-size: 2.2rem;
}

header h2 {
    margin: 0;
    font-weight: normal;
    color: #666;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main content area: Centered column layout for all screens */
main {
    flex: 1;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    gap: 40px; 
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

main img {
    max-width: 100%;
    width: 300px;
    height: auto;
}

/* List container: keeps the inner items left-aligned but sits dead center */
main ul {
    list-style: none; /* Removes old, uneven dots */
    padding: 0;
    margin: 0;
    display: inline-block; /* Wraps closely around text length */
    text-align: left; /* Lines up sentence starts perfectly */
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Custom Checkbox Styling */
main li {
    position: relative;
    padding-left: 30px; /* Leaves room for the checkbox icon */
    margin-bottom: 8px;
}

main li::before {
    content: "☑"; /* Modern checkbox character */
    position: absolute;
    left: 0;
    top: 0;
    color: #4caf50; /* A nice crisp green for your checks */
    font-size: 1.25rem;
}

/* Footer styling */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
}

footer small {
    display: block;
    color: #aaa;
    margin-bottom: 5px;
}

footer p {
    margin: 0;
}
