:root {
    --ink: #173238;
    --muted: #60777a;
    --cream: #f8f3e8;
    --paper: #fffdf7;
    --teal: #1f716d;
    --coral: #e67453;
    --line: #d9e3dc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 7%, rgba(230, 116, 83, .12), transparent 24rem),
        radial-gradient(circle at 92% 24%, rgba(31, 113, 109, .13), transparent 28rem),
        var(--cream);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
}

a {
    color: inherit;
}

.site-header,
main,
footer {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    border-bottom: 1px solid rgba(23, 50, 56, .14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: white;
    background: var(--teal);
    border-radius: 50% 50% 44% 44%;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: var(--muted);
    font-size: .94rem;
    text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
    color: var(--teal);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    min-height: 590px;
    padding: 70px 0 80px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--coral);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.055em;
}

.lead {
    max-width: 600px;
    margin: 30px 0;
    color: var(--muted);
    font-size: 1.16rem;
    line-height: 1.7;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    color: white;
    background: var(--teal);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.cat-portrait {
    position: relative;
    width: min(390px, 90%);
    aspect-ratio: 1;
    justify-self: end;
    filter: drop-shadow(0 28px 35px rgba(23, 50, 56, .18));
}

.face {
    position: absolute;
    inset: 18% 3% 2%;
    background: linear-gradient(145deg, #f2a14b, #df7149);
    border-radius: 48% 52% 45% 45%;
}

.ear {
    position: absolute;
    z-index: -1;
    top: 3%;
    width: 43%;
    height: 48%;
    background: #e8874b;
}

.ear-left {
    left: 5%;
    clip-path: polygon(0 0, 100% 42%, 28% 100%);
}

.ear-right {
    right: 5%;
    clip-path: polygon(100% 0, 72% 100%, 0 42%);
}

.eye {
    position: absolute;
    top: 42%;
    width: 13%;
    height: 7%;
    background: var(--ink);
    border-radius: 50%;
}

.eye-left {
    left: 26%;
}

.eye-right {
    right: 26%;
}

.nose {
    position: absolute;
    top: 59%;
    left: 46%;
    width: 8%;
    height: 6%;
    background: #8d3e38;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.notes {
    padding: 90px 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.section-heading h2,
.daily-note h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 500;
    line-height: 1.05;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    min-height: 290px;
    padding: 28px;
    background: rgba(255, 253, 247, .82);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.card-number {
    color: var(--coral);
    font-weight: 700;
}

.card h3 {
    margin: 56px 0 16px;
    font-size: 1.55rem;
}

.card p,
.daily-note > p {
    color: var(--muted);
    line-height: 1.65;
}

.daily-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 90px;
    padding: 48px;
    color: white;
    background: var(--ink);
    border-radius: 28px;
}

.daily-note > p {
    margin: 0;
    color: #c9d7d6;
    font-size: 1.06rem;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 46px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: .9rem;
}

@media (max-width: 760px) {
    .site-header {
        min-height: 72px;
    }

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: auto;
        padding: 60px 0;
    }

    .cat-portrait {
        width: min(320px, 82vw);
        justify-self: center;
    }

    .card-grid,
    .daily-note {
        grid-template-columns: 1fr;
    }

    .daily-note {
        gap: 28px;
        padding: 32px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
    }
}
