:root {
  --font-sans: "Public Sans", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
}

body {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: #202a30;
    background: #faf9f4;
    line-height: 1.6;
}
a {
    color: #205741;
    text-underline-offset: 0.2em;
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #957133;
    outline-offset: 3px;
}
.wrap {
    width: min(1152px, calc(100% - 64px));
    margin: auto;
}
.top {
    background: #24352e;
    color: #eeede7;
    font-size: 0.82rem;
    padding: 0.44rem 0;
}
.header {
    background: #fcfbf7;
    border-bottom: 1px solid #dcd9cd;
}
.bar,
nav,
.links,
.filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.bar {
    justify-content: space-between;
    padding: 20px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #202a30;
    font: 600 1.75rem var(--font-serif);
    line-height: 1;
}
.brand img {
    width: 42px;
}
.brand small {
    display: block;
    font: 600 0.64rem var(--font-sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 5px;
    color: #607168;
}
nav {
    gap: 24px;
}
nav a {
    font-size: 0.94rem;
    text-decoration: none;
    color: #273931;
}
nav a:hover,
.card a:hover {
    text-decoration: underline;
}
.hero {
    background: #f3efe5;
    border-bottom: 1px solid #d8d4c6;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: clamp(30px, 6vw, 86px);
    padding-block: clamp(36px, 6vw, 80px);
}
.label {
    color: #245641;
    letter-spacing: 0.12em;
    font-size: 0.73rem;
    text-transform: uppercase;
    font-weight: 700;
}
.hero h1 {
    font-size: clamp(3rem, 5.6vw, 5rem);
    max-width: 13ch;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 16px 0;
}
.lead {
    font-size: 1.12rem;
    max-width: 55ch;
    color: #47544b;
}
.featured,
.card {
    border: 1px solid #dcd9cb;
    border-radius: 13px;
    background: #fffefa;
}
.featured {
    padding: clamp(20px, 3vw, 38px);
    box-shadow: 0 14px 36px -28px #483c28;
    border-top: 4px solid #b29248;
}
.featured h2 {
    font-size: 2.6rem;
    margin: 12px 0;
}
.meta {
    color: #54655b;
    font-size: 0.88rem;
}
.featured hr {
    border: 0;
    border-top: 1px solid #e3ded1;
}
.go {
    font-weight: 650;
}
.search {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: #fff;
    padding: 6px;
    border: 1px solid #c9c4b6;
    border-radius: 10px;
}
.search input {
    flex: 2 1 160px;
    min-width: 0;
}
.search input,
.search select {
    border: 0;
    background: transparent;
    padding: 9px;
    color: inherit;
}
.search button {
    padding: 8px 20px;
    background: #235c47;
    color: #fff;
    border: 0;
    border-radius: 6px;
}
h1,
h2,
h3 {
    line-height: 1.12;
    font-weight: 500;
}
.section {
    padding-block: 44px;
    border-bottom: 1px solid #ddd9ce;
}
.section h2 {
    font-size: 2.25rem;
    margin: 0.3em 0 0.6em;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}
.card {
    padding: 21px;
}
.card h3 {
    font-size: 1.7rem;
    margin: 8px 0;
}
.card h3 a {
    color: inherit;
}
.card p {
    margin: 0;
}
.links a {
    border: 1px solid #ccc8ba;
    border-radius: 100px;
    padding: 5px 13px;
    background: #fffefa;
    text-decoration: none;
}
.article {
    max-width: 730px;
    padding-block: 42px 75px;
}
.article h1 {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    letter-spacing: -0.04em;
    margin: 16px 0;
}
.article h2 {
    font-size: 2rem;
    margin-top: 1.6em;
}
.prose {
    font-size: 1.07rem;
}
.prose img,
.article img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.prose figure {
    margin: 1.5em 0;
}
.prose figcaption {
    font-size: 0.9em;
    color: #526055;
}
.prose {
    overflow-wrap: anywhere;
}
.prose pre {
    overflow-x: auto;
}
.foot {
    background: #23382f;
    color: #fff;
    padding: 26px 0;
}
.foot a {
    color: inherit;
}
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
[hidden] {
    display: none !important;
}
ul.entries {
    padding-left: 1.3em;
}
.entries li {
    margin: 0.5em 0;
}
@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 34px);
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .bar {
        gap: 16px;
    }
    nav {
        gap: 10px 16px;
    }
    .section {
        padding-block: 30px;
    }
    .search select {
        max-width: 100%;
    }
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.comparison div {
    background: #f3efe6;
    border-radius: 9px;
    padding: 12px;
}
.comparison div + div {
    background: #e9f1e8;
}
.comparison dt {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}
.comparison dd {
    font-family: var(--font-serif);
    margin: 4px 0 0;
    line-height: 1.35;
    font-size: 1.12rem;
}
