@import url("https://rsms.me/inter/inter.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/atkinson-hyperlegible/index.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/400-italic.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/400.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/500.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/600.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/700.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/lora/700-italic.css");

:root {
    color-scheme: light;
    color: #273139;
    /* background: #f5f6f7; */
    background: #edebe8;
    /* font-family: "Inter", sans-serif; */
    font-family: "Lora", sans-serif;
    line-height: 1.6;
    /* font-size: 15px; */
    font-size: 16px;
    font-weight: 400;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
}

strong {
    font-weight: 500;
    color: #141d25;
    /* color: white; */
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

a:after {
    content: "🡭";
}

.page-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: clamp(2rem, 5vw, 4rem); */
    gap: clamp(1rem, 5vw, 2rem);
    width: 100%;
    /* max-width: 760px; */
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(2.25rem, 4vw, 4rem);
}

.top-section {
    width: 100%;
}

.hero-panel {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 700px;
    margin-top: clamp(4rem, 12vh, 12rem);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(45, 50, 54, 0.06);
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 760px;
    width: 100%;
}

.hero-header {
    width: 100%;
    text-align: right;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    /* gap: 1.5rem 2.5rem; */
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    /* color: #4a505a; */
}

.detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item i {
    width: 0.9rem;
    height: 0.9rem;
    /* color: #8b8e91; */
}

.eyebrow {
    margin: 0 0 0.75rem;
    /* font-family: "Atkinson Hyperlegible", sans-serif; */
    /* font-family: "D-Din Exp", sans-serif; */
    font-family: "Lora", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* color: #8b8e91; */
    font-size: 0.7rem;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow {
    /* font-family: "Atkinson Hyperlegible", sans-serif; */
    /* font-family: "D-Din Exp", sans-serif; */
    font-family: "Lora", sans-serif;
}

h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
}
h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h3 {
    margin: 0.15rem 0 0.15rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.subtitle,
.subtle {
    margin: 0.5rem 0 0;
    /* max-width: 620px; */
    /* color: #5a5f63; */
    font-family: "Lora", serif;
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 400;
}

.content-grid {
    display: grid;
    width: 100%;
    gap: clamp(2rem, 3vw, 2.5rem);
    max-width: 700px;
}

.content-block {
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(45, 50, 54, 0.06);
}

.content-block:first-child {
    /* padding-top: 0; */
    /* border-top: none; */
}

/* .content-block h2 { */
.content-block p {
    margin: 0 0 0.9rem;
    /* color: #4a505a; */
    font-size: 0.95rem;
    line-height: 1.7;
}

.content-block ul {
    margin: 0;
    padding-left: 1.15rem;
    /* color: #4a505a; */
    font-size: 0.95rem;
}

.content-block li {
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.glance-section {
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(45, 50, 54, 0.06);
}

.glance-grid {
    display: flex;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    justify-content: space-evenly;
}

.glance-item {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    text-align: center;
    align-items: center;
}

.glance-item svg {
    /* height: 100%; */
    width: 1.1em;
}

.glance-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    /* color: #8b8e91; */
    font-weight: 500;
    font-family: "Atkinson Hyperlegible", sans-serif;
}

.glance-value {
    font-size: 1rem;
    font-weight: 600;
    /* color: #2d3236; */
}

.keywords-container {
    width: 100%;
}

.keywords-section {
    font-weight: 500;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.5rem;
    text-align: justify;
}

.keywords-section:first-of-type {
    padding-top: 0px;
}

.keyword-item {
    font-size: 0.9rem;
    padding: 1px 0.5rem;
    margin: 0.25rem;
    border-radius: 7px;
    border: 1px solid rgba(45, 50, 54, 0.06);
}

/* .keyword-item {
    font-size: 0.90rem;
    word-spacing: 1rem;
}
.keyword-item:not(:last-child)::after {
    content: " • ";
} */

@media (max-width: 600px) {
    :root {
        font-size: 16px;
    }

    .page-shell {
        gap: clamp(1.5rem, 4vw, 2.5rem);
        padding: clamp(2rem, 3vw, 2.5rem);
    }

    .hero-panel {
        margin-top: clamp(4rem, 12vh, 12rem);
        padding: 1.5rem 0 1rem;
    }

    .hero-top {
        gap: 0.75rem;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    h2 {
        margin: 0 0 0.6rem;
        font-size: 1.25rem;
    }
    h3 {
        margin: 0.15rem 0 0.15rem;
        font-size: 1.05rem;
    }

    .subtitle,
    .subtle {
        font-size: 0.9rem;
    }

    .hero-details {
        gap: 1rem 1.5rem;
        font-size: 0.85rem;
        justify-content: end;
    }

    .detail-item {
        gap: 0.4rem;
    }

    .detail-item i {
        width: 0.8rem;
        height: 0.8rem;
    }

    .glance-section {
        padding: 1rem 0;
    }

    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .glance-label {
        font-size: 0.7rem;
    }

    .glance-value {
        font-size: 0.95rem;
    }

    .keywords-section {
        justify-content: left;
    }

    .content-grid {
        gap: clamp(1.5rem, 2vw, 2rem);
    }

    .content-block {
        padding: 1rem 0 0;
    }

    /* .content-block h2 { */
    .content-block p {
        margin: 0 0 0.75rem;
        font-size: 0.9rem;
    }

    .content-block ul {
        padding-left: 1rem;
        font-size: 0.9rem;
    }

    .content-block li {
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 15px;
    }

    .hero-panel {
        margin-top: clamp(4rem, 16vh, 12rem);
    }

    h1 {
        font-size: 2.5rem;
    }
    h2 {
        margin: 0 0 0.4rem;
        font-size: 1.25rem;
    }
    h3 {
        margin: 1rem 0 0.15rem;
        font-size: 1.02rem;
    }

    .hero-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .keywords-section {
        padding-top: 0.5rem;
    }
    .keywords-section:first-of-type {
        padding-top: 0px;
    }

    .keyword-item {
        margin: 0.2rem;
    }

    .content-block {
        padding: 0.75rem 0 0;
    }
}
