:root {
    --orange: #ff7a1a;
    --orange-dark: #e5650a;
    --teal: #4f8a8b;
    --teal-light: #dcebea;
    --slate: #27323a;
    --muted: #5e6b73;
    --cream: #fff6ea;
    --white: #fff;
    --line: #eadfcf;
    --stage: #ece6dc;
    --intro-gap: 24px;
    box-sizing: border-box;
    scroll-padding-top: 16px;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: var(--stage);
    color: var(--slate);
    font-family: 'DM Sans', sans-serif;
}

h1,
h2,
.brand {
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 16px max(24px, calc((100% - 1120px) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.site-header .header-cta {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--slate);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--orange);
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 500;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.site-search input {
    width: 190px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--slate);
    font: 400 14px 'DM Sans', sans-serif;
}

.site-search button {
    border: 1px solid var(--orange);
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--orange);
    color: var(--white);
    font: 700 13px 'DM Sans', sans-serif;
    cursor: pointer;
}

.site-search button:hover {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.nav a,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--orange-dark);
}

.btn {
    display: inline-block;
    border: 2px solid var(--orange);
    border-radius: 999px;
    padding: 12px 24px;
    background: var(--orange);
    color: var(--white);
    font: 700 15px 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn:hover {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
}

.btn.ghost {
    border-color: var(--teal);
    background: transparent;
    color: var(--slate);
}

.btn.ghost:hover {
    background: var(--teal-light);
}

.btn.sm {
    padding: 10px 20px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
}

.hero {
    padding: 64px 24px 0;
    background: linear-gradient(var(--cream), var(--white) 85%);
    text-align: center;
}

.eyebrow {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 16px;
    background: var(--teal-light);
    color: #2f6162;
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    margin: 20px auto 16px;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
}

.hero > p {
    max-width: 560px;
    margin: 0 auto var(--intro-gap);
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.page-search {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto 34px;
}

.page-search input {
    flex: 1 1 280px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 13px 18px;
    background: var(--white);
    color: var(--slate);
    font: 400 16px 'DM Sans', sans-serif;
}

.search-page {
    display: flow-root;
}

.search-page > .hero {
    padding-bottom: 32px;
}

.hero > p.listing-intro {
    margin-bottom: 40px;
}

.blogs-page > .hero {
    padding-bottom: 48px;
}

.blogs-page > .hero > p.listing-intro {
    margin-bottom: 0;
}

.blogs-page > .articles > .grid {
    padding-top: 24px;
}

.categories-page > .hero {
    padding-bottom: 48px;
}

.categories-page > .categories-empty-state {
    margin: 0;
    padding: 24px 24px 48px;
    background: var(--stage);
}

.categories-page > .hero > p.listing-intro,
.category-page-hero > p.listing-intro {
    margin-bottom: 0;
}

.category-page-hero {
    padding-top: 44px;
    padding-bottom: 48px !important;
}

.category-page-navigation {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.category-page-navigation .category-back {
    margin: 0;
}

.category-browser {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px 56px;
}

.categories-page > #category-browser {
    padding-top: 24px;
}

.categories-page > #category-browser .category-grid {
    padding-top: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 24px 64px;
}

.category-tile {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(39, 50, 58, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: #d8c7b1;
    box-shadow: 0 18px 42px rgba(39, 50, 58, 0.12);
}

.category-tile:focus-visible,
.category-back:focus-visible {
    outline: 3px solid var(--orange-dark);
    outline-offset: 3px;
}

.category-art {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(140deg, #e1f0ed, #c1ddda);
}

.category-art-1 {
    background: linear-gradient(140deg, #ffe8ce, #ffd1a1);
}

.category-art-2 {
    background: linear-gradient(140deg, #e5e5fa, #c7c9ed);
}

.category-art-3 {
    background: linear-gradient(140deg, #f8e2e4, #efc3cb);
}

.category-art-4 {
    background: linear-gradient(140deg, #e4f1fb, #cfe3f5);
}

.category-art svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 250ms ease;
}

.category-tile:hover .category-art svg {
    transform: scale(1.04);
}

.category-art-generated {
    fill: rgba(255, 255, 255, 0.82);
}

.category-art-orbit,
.category-art-line {
    fill: none;
    stroke: #527a79;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.category-art-orbit {
    stroke: rgba(255, 255, 255, 0.8);
    stroke-dasharray: 5 9;
}

.category-art-line {
    stroke: #537675;
    stroke-width: 2.5;
}

.category-art-shadow {
    fill: rgba(67, 93, 91, 0.16);
}

.category-art-book,
.category-art-panel {
    fill: #fffdf8;
    stroke: #547977;
    stroke-linejoin: round;
    stroke-width: 3;
}

.category-art-book-back,
.category-art-panel-inner {
    fill: #d5ebe5;
    stroke: #547977;
    stroke-linejoin: round;
    stroke-width: 3;
}

.category-art-accent {
    fill: #ec9459;
    stroke: #fffdf8;
    stroke-linejoin: round;
    stroke-width: 3;
}

.category-art-sun,
.category-art-dot {
    fill: #f2a65e;
}

.category-art-panel {
    fill: #fffdf8;
}

.category-tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 22px;
}

.category-tile-title {
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.category-teaser {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.category-tile-action {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    color: var(--orange-dark);
    font-size: 14px;
    font-weight: 700;
}

.category-tile-action span {
    font-size: 20px;
    transition: transform 180ms ease;
}

.category-tile:hover .category-tile-action span {
    transform: translateX(4px);
}

.category-detail {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 0 20px;
}

.category-posts-browser {
    max-width: 1120px;
}

.category-posts-browser .grid {
    padding-top: 24px;
}

.category-description-wrap {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto 56px;
}

.category-description {
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(22px, 4vw, 36px);
    background: var(--white);
}

.category-description h2 {
    margin: 0 0 14px;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
}

.category-description p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: normal;
}

.category-description-content {
    min-width: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.category-description-content > * {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.category-description-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.category-description-content > :first-child {
    margin-top: 0;
}

.category-description-content > :last-child {
    margin-bottom: 0;
}

.category-description-content p {
    margin: 0 0 1em;
}

.category-description-content ul,
.category-description-content ol {
    margin: 0 0 1em;
    padding-left: 1.6em;
}

.category-description-content li + li {
    margin-top: .35em;
}

.category-description-content blockquote {
    margin: 0 0 1em;
    border-left: 3px solid var(--teal);
    padding-left: 1em;
}

.category-description-content a {
    color: var(--orange-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.category-detail[hidden] {
    display: none;
}

.category-back {
    display: inline-block;
    margin: 18px 0 0;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--slate);
    font: 700 14px 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.category-back:hover {
    border-color: var(--teal);
    background: var(--teal-light);
}

.category-detail-heading {
    margin: 0 24px 12px;
}

.category-detail-heading h2 {
    margin: 12px 0;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.12;
}

.category-detail-heading p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.category-detail .grid {
    padding: 24px 24px 48px;
}

.search-results {
    max-width: 1120px;
    margin: 0 auto;
}

.search-result-count {
    margin: 12px 24px 0;
    color: var(--muted);
    font-size: 14px;
}

.cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-art {
    max-width: 1000px;
    height: 340px;
    overflow: hidden;
    margin: 44px auto 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffd9b8, #ffb27a 55%, #f58a3c);
}

.hero-art svg,
.card-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.articles {
    max-width: 1120px;
    margin: 0 auto;
}

.articles .pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 44px 24px 8px;
}

.articles .pill {
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    background: var(--white);
    color: var(--slate);
    font: 500 14px 'DM Sans', sans-serif;
    cursor: pointer;
}

.articles .pill[aria-pressed='true'] {
    border-color: var(--slate);
    background: var(--slate);
    color: var(--white);
}

.articles-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 24px;
    padding: 44px 0 4px;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 30px;
    line-height: 1.2;
}

#home > p {
    margin-bottom: var(--intro-gap);
}

#home {
    padding-bottom: 12px;
}

#home .hero-art {
    margin: var(--intro-gap) auto 0;
}

#home + .articles .articles-heading {
    padding-top: 24px;
}

.articles-heading::before {
    width: 5px;
    height: 30px;
    border-radius: 2px;
    background: var(--orange);
    content: '';
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    padding: 24px 24px 64px;
}

.pagination {
    max-width: 1120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: -34px auto 48px;
    padding: 0 24px;
    color: var(--slate);
    font-size: 14px;
}

.pagination-pages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pagination-number,
.pagination-direction {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
    background: var(--white);
    color: var(--slate);
    font-weight: 700;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.pagination-number:hover,
.pagination-direction:hover {
    border-color: var(--teal);
    background: var(--teal-light);
    color: var(--teal);
}

.pagination-number.is-current {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

.pagination-direction.is-disabled {
    background: #f6f7f5;
    color: #a0a9a5;
}

.pagination-ellipsis {
    padding: 0 3px;
    color: var(--muted);
}

.pagination a:focus-visible {
    outline: 3px solid rgba(45, 116, 114, .3);
    outline-offset: 2px;
}

.category-browser > .pagination {
    margin-top: -20px;
}

.card {
    display: block;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e3ddd6;
    border-radius: 18px;
    background: var(--white);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.card-link:focus-visible {
    outline-offset: -4px;
}

.card[hidden] {
    display: none;
}

.card-art {
    aspect-ratio: 2 / 1;
}

.card-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-body {
    border-top: 3px solid var(--orange);
    padding: 18px 20px 22px;
}

.tag {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 11px;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.card h2,
.card h3 {
    margin: 12px 0 8px;
    font-size: 19px;
    line-height: 1.25;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.meta {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.post-heading {
    max-width: 880px;
    margin: 0 auto;
    padding: 42px 24px 28px;
}

.post-heading.post-heading-with-intro {
    padding-bottom: 0;
}

.blog-detail-page {
    background: var(--white);
}

.post-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 13px;
}

.post-breadcrumbs a,
.post-author-card a {
    color: var(--teal);
    text-decoration: none;
}

.post-breadcrumbs a:hover,
.post-author-card a:hover {
    color: var(--orange-dark);
}

.post-breadcrumbs [aria-current='page'] {
    overflow: hidden;
    color: var(--slate);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-category {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 122, 26, .1);
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.post-heading h1 {
    margin: 17px 0 13px;
    font-size: 44px;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.post-excerpt {
    max-width: 760px;
    margin: 0 0 var(--intro-gap);
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.post-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1040px;
    gap: 18px;
    margin: 0 auto 38px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}

.post-author,
.post-meta-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-mark,
.post-newsletter-mark {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.post-author-mark {
    overflow: hidden;
}

.post-author-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author strong,
.post-author small {
    display: block;
}

.post-author strong {
    color: var(--slate);
    font-size: 13px;
}

.post-author small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.post-meta-items {
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--orange);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.post-featured-image {
    max-width: 1040px;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    margin: 0 auto 38px;
    border-radius: 16px;
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 64px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

@media (min-width: 901px) {
    .post-content {
        max-width: 1040px;
    }
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6,
.post-body p,
.post-body li,
.post-body div,
.post-body span,
.post-body blockquote {
    font-family: 'Montserrat', sans-serif;
}

.post-body p,
.post-body li {
    font-weight: normal;
}

.post-body p {
    margin: 0 0 22px;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin: 38px 0 14px;
    color: var(--slate);
    line-height: 1.25;
}

.post-body h2 {
    font-size: 30px;
}

.post-body h3 {
    font-size: 24px;
}

.post-body ul,
.post-body ol {
    margin: 0 0 24px;
    padding-left: 25px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    margin: 34px 0;
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    padding: 22px 25px;
    background: var(--cream);
    color: var(--slate);
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-style: italic;
    line-height: 1.55;
}

.post-body img {
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
}

.post-body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    overflow-wrap: anywhere;
}

.post-body * {
    box-sizing: border-box;
    max-width: 100% !important;
    overflow-wrap: anywhere;
}

.post-body img,
.post-body svg,
.post-body video,
.post-body canvas,
.post-body iframe,
.post-body object,
.post-body embed,
.post-body figure,
.post-body table {
    float: none !important;
    clear: both;
}

.post-body img,
.post-body svg,
.post-body video,
.post-body canvas {
    height: auto !important;
}

.post-body figure,
.post-body table {
    width: 100% !important;
    margin-right: 0;
    margin-left: 0;
}

.post-body table {
    table-layout: fixed !important;
    border-collapse: collapse;
}

.post-body th,
.post-body td {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-body iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
}

.post-body pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    font-weight: normal;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-left: 4px solid #F97316;
    border-radius: 8px;
    padding: 16px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #1F2937;
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
    box-sizing: border-box;
}

.post-body code,
.post-body kbd,
.post-body samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    font-weight: normal;
}

.post-body pre span {
    color: inherit !important;
    background: transparent !important;
}

.post-body a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 44px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    color: var(--slate);
    font-size: 13px;
}

.post-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.post-share-links a,
.post-share-links button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--white);
    color: var(--slate);
    font: 500 12px 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.post-share-links a:hover,
.post-share-links button:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.post-author-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--cream);
}

.post-author-card h2 {
    margin: 0 0 7px;
    color: var(--slate);
    font-size: 17px;
}

.post-author-card p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
}

.post-author-card a {
    font-size: 13px;
    font-weight: 700;
}

.post-related {
    border-top: 1px solid var(--line);
    padding: 48px 24px 20px;
    background: #fbfaf7;
}

.post-related-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.post-related header {
    margin-bottom: 24px;
    text-align: center;
}

.post-related header h2,
.post-newsletter h2 {
    margin: 0 0 8px;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 28px;
}

.post-related header p,
.post-newsletter p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 28px;
}

.post-newsletter {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 48px 24px;
    background: var(--teal-light);
    text-align: center;
}

.post-newsletter-inner {
    max-width: 620px;
    margin: 0 auto;
}

.post-newsletter-mark {
    width: 46px;
    height: 46px;
    margin: 0 auto 15px;
    font-size: 20px;
}

.post-newsletter .newsletter-form {
    max-width: 440px;
    justify-content: center;
    margin: 22px auto 0;
}

.post-newsletter .newsletter-form input {
    background: var(--white);
}

.detail-error {
    padding-bottom: 64px;
}

.detail-error .cta {
    margin-top: 22px;
}

.about-page {
    background: var(--white);
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    align-items: center;
    gap: 56px;
    max-width: 1120px;
    min-height: 460px;
    margin: 0 auto;
    padding: 62px 24px;
}

.about-hero-copy h1 {
    max-width: 620px;
    margin: 20px 0 15px;
    font-size: 48px;
    line-height: 1.08;
}

.about-hero-copy > p {
    max-width: 540px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.about-hero-art {
    position: relative;
    min-height: 300px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(140deg, #fff0df, #dcebea 95%);
}

.about-art-sheet {
    position: relative;
    z-index: 1;
    width: 190px;
    height: 220px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 32px 24px;
    border: 1px solid rgba(39, 50, 58, .08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(39, 50, 58, .12);
    transform: rotate(-4deg);
}

.about-art-sheet > span {
    height: 8px;
    border-radius: 8px;
    background: #dcebea;
}

.about-art-sheet > span:first-child {
    width: 58%;
    height: 11px;
    background: var(--teal);
}

.about-art-sheet > span:nth-child(2) {
    width: 100%;
    margin-top: 12px;
}

.about-art-sheet > span:nth-child(3) {
    width: 78%;
}

.about-art-check {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    margin: auto 0 0 auto;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}

.about-art-disc {
    position: absolute;
    right: 12%;
    bottom: 12%;
    width: 82px;
    height: 82px;
    border: 12px solid rgba(79, 138, 139, .2);
    border-radius: 50%;
}

.about-intro {
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding: 62px 24px 70px;
}

.policy-page {
    min-height: 60vh;
    padding: 58px 24px 76px;
    background: var(--white);
}

.policy-content {
    max-width: 820px;
    margin: 0 auto;
}

.policy-content h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.15;
}

.policy-updated {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 14px;
}

.policy-content h2 {
    margin: 30px 0 8px;
    font-size: 22px;
}

.policy-content p,
.policy-content li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.policy-content ul {
    display: grid;
    gap: 8px;
    padding-left: 22px;
}

.policy-content li::marker {
    color: var(--orange);
}

.tool-article-section {
    padding: 0 24px 64px;
    background: var(--white);
}

.tool-article {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding-top: 42px;
}

.tool-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
}

.tool-article-category {
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--teal-light);
    color: #2f6162;
    font-weight: 700;
}

.tool-article-heading h2 {
    margin: 0;
    color: var(--slate);
    font-size: 32px;
    line-height: 1.2;
}

.tool-article-excerpt {
    margin: 12px 0 28px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.tool-article-content {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.tool-article-content > :first-child { margin-top: 0; }
.tool-article-content > :last-child { margin-bottom: 0; }
.tool-article-content h2,
.tool-article-content h3,
.tool-article-content h4 { color: var(--slate); line-height: 1.3; }
.tool-article-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.tool-article-content img,
.tool-article-content video,
.tool-article-content iframe,
.tool-article-content table { max-width: 100%; }

.policy-content a {
    color: var(--teal);
}

@media (max-width: 600px) {
    .policy-page {
        padding: 42px 20px 58px;
    }

    .policy-content h1 {
        font-size: 34px;
    }
}

.about-kicker {
    margin: 0 0 13px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.about-intro h2,
.about-guidance-heading h2,
.about-bottom-cta h2 {
    max-width: 730px;
    margin: 0;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 34px;
    line-height: 1.2;
}

.about-intro > p:not(.about-kicker),
.about-guidance-list > p {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-intro ul,
.about-guidance-list ul {
    display: grid;
    gap: 11px;
    max-width: 700px;
    margin: 18px 0 0;
    padding-left: 21px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.about-intro li::marker,
.about-guidance-list li::marker {
    color: var(--orange);
}

.about-guidance-list strong {
    color: var(--slate);
}

.about-guidance {
    display: grid;
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
    gap: 70px;
    padding: 64px max(24px, calc((100% - 1072px) / 2));
    background: var(--cream);
}

.about-guidance-heading h2 {
    font-size: 30px;
}

.about-guidance-list > p,
.about-guidance-list li {
    max-width: 560px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.about-guidance-list > p {
    margin: 0 0 14px;
}

.about-guidance-list ul {
    gap: 12px;
    margin: 0 0 20px;
}

.about-bottom-cta {
    display: grid;
    justify-items: center;
    gap: 17px;
    padding: 65px 24px 72px;
    text-align: center;
}

.about-bottom-cta h2 {
    max-width: 620px;
    font-size: 30px;
}

.contact-page {
    background: var(--white);
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 72px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 70px 24px 76px;
}

.contact-intro h1 {
    max-width: 470px;
    margin: 20px 0 15px;
    font-size: 46px;
    line-height: 1.1;
}

.contact-intro > p {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-email-block {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.contact-email-icon {
    width: 40px;
    height: 40px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--orange-dark);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.contact-email-block div,
.contact-email-block div span,
.contact-email-block div a {
    display: block;
}

.contact-email-block div span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.contact-email-block div a {
    color: var(--slate);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.contact-email-block div a:hover {
    color: var(--orange-dark);
}

.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background: #fbfaf7;
}

.contact-form h2 {
    margin: 0 0 6px;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 23px;
}

.contact-form > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
    margin-bottom: 20px;
}

.contact-field {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--slate);
    font-size: 12px;
    font-weight: 700;
}

.contact-required {
    color: var(--orange-dark);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 10px 11px;
    background: var(--white);
    color: var(--slate);
    font: 14px 'DM Sans', sans-serif;
}

.contact-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form .btn:disabled {
    opacity: .65;
    cursor: wait;
}

.contact-form-status {
    margin: 16px 0 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-form-status[data-state='success'] {
    border-color: #c9e2d4;
    background: #f1faf4;
    color: #326949;
}

.contact-form-status[data-state='error'] {
    border-color: #f0c9b7;
    background: #fff6f0;
    color: #8a4025;
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

.contact-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding: 34px max(24px, calc((100% - 1072px) / 2));
    background: var(--cream);
}

.contact-bottom .btn.ghost {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
    color: var(--white);
}

.contact-bottom .btn.ghost:hover {
    border-color: #b94d00;
    background: #b94d00;
}

.contact-bottom h2 {
    max-width: 560px;
    margin: 0;
    color: var(--slate);
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-size: 24px;
    line-height: 1.25;
}

.empty-state {
    padding: 0 24px 48px;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    border-top: 2px solid var(--orange-dark);
    padding: 56px max(24px, calc((100% - 1040px) / 2)) 28px;
    background: var(--cream);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-columns > * {
    min-width: 0;
}

.footer-articles {
    min-width: 0;
}

.footer-articles a {
    overflow-wrap: anywhere;
}

.site-footer .footer-label {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
}

.footer-important .footer-label {
    text-align: left;
}

.site-footer p,
.site-footer a {
    display: block;
    margin: 0 0 8px;
    font-size: 14.5px;
    line-height: 1.6;
}

.site-footer a {
    width: fit-content;
    max-width: 100%;
    transition: color .15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--orange-dark);
}

.site-footer {
    color: #000;
    font-family: 'DM Sans', sans-serif;
}

.site-footer .footer-label {
    color: #000;
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
}

.site-footer p,
.site-footer a,
.site-footer a:hover,
.site-footer a:focus-visible {
    color: #000;
    font-family: 'DM Sans', sans-serif;
}

.site-footer #about > p:not(.footer-label) {
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--orange-dark);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.newsletter-form input {
    flex: 1 1 150px;
    min-width: 0;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--white);
    color: var(--slate);
    font: 15px 'DM Sans', sans-serif;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 50%;
    background: var(--teal-light);
    color: #2f6162;
    font-size: 13px;
    font-weight: 700;
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    border-top: 1px solid var(--orange-dark);
    padding-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.newsletter-form input:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-featured-image {
        margin-right: 24px;
        margin-left: 24px;
    }

    .post-meta-bar {
        margin-right: 24px;
        margin-left: 24px;
    }

    .post-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero {
        gap: 30px;
    }

    .about-hero-copy h1 {
        font-size: 40px;
    }

    .about-guidance {
        gap: 38px;
    }

    .contact-hero {
        gap: 34px;
    }

    .contact-intro h1 {
        font-size: 38px;
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 66px;
        gap: 12px;
        padding: 14px 18px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 5px;
        border: 0;
        border-radius: 12px;
        background: var(--cream);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--slate);
    }

    .nav {
        position: absolute;
        z-index: 2;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 14px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 11px 0;
    }

    .nav .site-search {
        padding: 8px 0;
    }

    .site-search {
        width: 100%;
    }

    .site-search input {
        flex: 1 1 auto;
        width: auto;
    }

    .page-search {
        margin-bottom: 26px;
    }

    .page-search input {
        flex-basis: 100%;
    }

    .category-browser {
        padding: 8px 18px 40px;
    }

    .category-page-navigation {
        padding: 24px 18px 0;
    }

    .category-description-wrap {
        width: calc(100% - 36px);
        margin-bottom: 40px;
    }

    .category-description {
        border-radius: 16px;
        padding: 22px 18px;
    }

    .category-description p {
        font-size: 15px;
        line-height: 1.7;
    }

    .category-grid {
        gap: 16px;
    }

    .category-tile {
        border-radius: 18px;
    }

    .category-art svg {
        max-height: none;
    }

    .category-tile-body {
        padding: 18px 18px 20px;
    }

    .category-detail {
        padding: 8px 0 12px;
    }

    .category-back {
        margin-bottom: 22px;
    }

    .category-detail-heading {
        margin-right: 18px;
        margin-left: 18px;
    }

    .search-result-count {
        margin-right: 18px;
        margin-left: 18px;
    }

    .hero {
        padding: 36px 18px 0;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        padding: 42px 18px;
    }

    .about-hero-copy h1 {
        font-size: 34px;
    }

    .contact-hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 42px 18px;
    }

    .contact-intro h1 {
        font-size: 34px;
    }

    .contact-form {
        padding: 21px 17px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 18px;
    }

    .contact-bottom .btn {
        align-self: center;
    }

    .about-hero-copy > p {
        font-size: 16px;
    }

    .about-hero-art {
        min-height: 245px;
    }

    .about-intro {
        padding: 42px 18px 48px;
    }

    .about-intro h2,
    .about-guidance-heading h2,
    .about-bottom-cta h2 {
        font-size: 26px;
    }

    .about-guidance {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 18px;
    }

    .about-bottom-cta {
        padding: 46px 18px 52px;
    }

    .post-heading {
        padding: 28px 18px 22px;
    }

    .post-breadcrumbs {
        gap: 7px;
        margin-bottom: 20px;
        font-size: 11px;
    }

    .post-heading h1 {
        font-size: 32px;
    }

    .post-meta-bar {
        align-items: flex-start;
        flex-direction: column;
        margin: 0 18px 28px;
    }

    .post-featured-image {
        margin: 0 18px 28px;
        border-radius: 10px;
    }

    .post-content {
        padding: 0 18px 44px;
        font-size: 16px;
    }

    .post-body h2 {
        font-size: 25px;
    }

    .post-body h3 {
        font-size: 21px;
    }

    .post-body blockquote {
        padding: 18px;
        font-size: 18px;
    }

    .post-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .post-author-card {
        gap: 13px;
        padding: 17px;
    }

    .post-related {
        padding: 38px 18px 8px;
    }

    .post-related header h2,
    .post-newsletter h2 {
        font-size: 24px;
    }

    .post-related-grid {
        grid-template-columns: 1fr;
    }

    .post-newsletter {
        padding: 38px 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero > p {
        font-size: 16px;
    }

    .hero-art {
        height: 190px;
        margin-top: 30px;
        border-radius: 22px;
    }

    .articles-heading {
        gap: 11px;
        margin: 0 18px;
        padding-top: 30px;
        font-size: 25px;
    }

    .articles-heading::before {
        height: 26px;
    }

    .grid {
        grid-template-columns: 1fr;
        padding: 18px 18px 40px;
    }

    .pagination {
        gap: 8px;
        margin-top: -18px;
        margin-bottom: 36px;
        padding: 0 18px;
        font-size: 13px;
    }

    .pagination-number,
    .pagination-direction {
        min-width: 36px;
        min-height: 36px;
        border-radius: 8px;
        padding: 0 9px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        padding: 18px 18px 40px;
    }

    .articles .pills {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 30px 18px 6px;
    }

    .articles .pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
    }

    .footer-columns > :first-child {
        grid-column: 1 / -1;
    }

    .footer-articles a {
        white-space: normal;
    }

    .site-footer {
        padding: 40px 18px 22px;
    }

    .copyright {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

}

@media (prefers-reduced-motion: no-preference) {
    .articles .pill,
    .btn {
        transition: background-color .15s, border-color .15s, color .15s;
    }
}

input[type="checkbox"] {
  accent-color: #f97316;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}

ul:has(input[type="checkbox"]) {
  list-style: none;
  padding-left: 0;
}