@import "fonts.css";

:root {
    --max: 1060px;
}

* {
    font-family:
        "Poppins",
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial;
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
    color: #111;
}

a {
    color: inherit;
}

header {
    padding: 20px 32px;
    border-bottom: 1.5px solid hsl(0, 0%, 90%);
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.2px;
}

a.contact {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    background: hsl(226.97 100% 42%);
    color: white;
    border: none;
}

a.contact:hover {
    background: hsl(226.97 100% 32%);
}

h1 {
    font-size: clamp(24px, 5vw, 48px);
    line-height: 1.05;
    margin: 28px 0 12px;
}

.lead {
    font-size: 18px;
    max-width: 70ch;
    color: #222;
}

main {
    padding: 36px 20px;
    background: hsl(0, 0%, 98%);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    border: 1.5px solid hsl(0, 0%, 90%);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}

h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

h3 {
    margin: 18px 0 6px;
    font-size: 18px;
}

ul {
    margin: 10px 0 0 18px;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

footer {
    padding: 24px 20px 48px;
    border-top: 1.5px solid hsl(0, 0%, 90%);
    color: #444;
    font-size: 14px;
}

.muted {
    color: #555;
}

.small {
    font-size: 13px;
}

.note {
    background: #fafafa;
    border: 1.5px solid hsl(0, 0%, 90%);
    border-radius: 16px;
    padding: 14px 16px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ig-link {
    width: 24px;
    height: 24px;
    background-color: hsl(0, 0%, 20%);
    -webkit-mask-image: url("/assets/instagram.png");
    mask-image: url("/assets/instagram.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.ig-link:hover,
.ig-link:active {
    background-image: linear-gradient(to right, #ff5c00, #ff0069, #d300c5);
}

.fb-link {
    width: 24px;
    height: 24px;
    background-color: hsl(0, 0%, 20%);
    -webkit-mask-image: url("/assets/facebook.png");
    mask-image: url("/assets/facebook.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.fb-link:hover,
.fb-link:active {
    background-color: hsl(213.21, 100%, 43.92%);
}

.hstack {
    display: flex;
}
