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

body {
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #111;
    background: #f7f7f8;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px clamp(12px, 3vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}  

.nav-links {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 150ms ease; 
}

.nav-links a:hover {
   background-color: #f2f2f3;
}

.brand {
    font-size: 20px;
    white-space: nowrap;
}

.brand-link {
    display: inline-flex; /* in case we want to add an icon later */
    align-items: center;
    padding: 10px 0;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: inherit;
    text-decoration: none;
    transition: opacity 150ms ease;

}

.brand-link:hover {
    opacity: 0.75;
}   

.brand-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 6px;
}


h1 {
    margin-top: 0;
    font-size: 32px;
}

p {
    max-width: 70ch;
}

.hero {
    padding: 48px 0 32px;
}

.hero h1 {
    font-size: 36px;
    max-width: 28ch;
}

.hero p {
    font-size: 18px;
    color: #444;
    max-width: 60ch;
}