body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px; /* larger base font for readability */
    line-height: 1.6;
    color: white;
    margin: 0;
    background: rgb(9, 8, 8);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.navbar {
    background-color: #1b1b1b;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.navbar-logo img {
    height: 40px;
    margin-right: 10px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 55vh; /* not full viewport to reduce excessive whitespace */
    padding: 1rem 1rem;
    text-align: center;
}

.main-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.main-heading .second-line {
    display: block;
    margin-left: 0;
}

header p {
    margin: 1rem auto 1rem;
    max-width: 900px;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.features {
    display: flex;
    max-width: 900px;
    margin: 1rem auto 2rem;
    padding: 0 1rem;
    min-height: 70vh;
    flex-direction: column;
    justify-content: center;
}

.features h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.features p {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.feature-item {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    margin-bottom: 1rem;
}

footer {
    background-color: #1b1b1b;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: #a8e6cf;
    text-decoration: none;
    margin-left: 1rem;
}

/* Small-screen adjustments */
@media (max-width: 600px) {
    body { font-size: 16px; }
    .main-heading { font-size: 1.8rem; }
    header { padding: 2.5rem 1rem; }
}
