:root {
  color-scheme: light;
  --paper: #f8f4ed;
  --card: #fffcf6;
  --ink: #28261e;
  --muted: #5f574a;
  --line: #dcd1bf;
  --olive: #454b33;
  --deep: #333926;
  --accent: #845436;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #a1622e; outline-offset: 4px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.narrow { max-width: 48rem; margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 10; transform: translateY(-200%); background: var(--card); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.header-row { min-height: 4.7rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem clamp(.8rem, 2.2vw, 1.75rem); }
.wordmark { display: inline-flex; align-items: center; gap: .68rem; width: fit-content; color: inherit; text-decoration: none; white-space: nowrap; font: 700 clamp(1.4rem, 3vw, 1.86rem)/1 var(--display); letter-spacing: -.06em; }
.logo-icon { position: relative; display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: .67rem; color: #e7bd8b; background: var(--olive); }
.logo-icon::before { content: ""; position: absolute; top: 24%; width: 56%; height: 37%; border-radius: 2px; background: currentColor; clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%); }
.logo-icon::after { content: ""; position: absolute; top: 60%; width: 45%; height: 20%; border-bottom: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); }
.desktop-nav a, .mobile-nav a { font-weight: 650; font-size: .92rem; text-decoration: none; }
.desktop-nav [aria-current] { text-decoration: underline; }
.header-search { display: flex; align-items: center; min-width: 0; width: min(100%, 17rem); border: 1px solid var(--line); border-radius: .58rem; background: #fffefa; }
.header-search input { width: 0; min-width: 0; flex: 1; padding: .55rem .7rem; border: 0; border-radius: .58rem; background: transparent; color: var(--ink); font-size: .9rem; }
.header-search button { display: grid; place-items: center; flex: none; width: 2.65rem; min-height: 2.65rem; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: var(--olive); }
.header-search button:hover { background: #efefe5; }
.search-icon { display: inline-block; position: relative; width: .82rem; height: .82rem; border: 1.6px solid currentColor; border-radius: 50%; flex: none; }
.search-icon::after { content: ""; position: absolute; top: 100%; left: 86%; width: .33rem; height: 1.6px; border-radius: 1px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; padding: .4rem .55rem; border: 1px solid var(--line); border-radius: .45rem; font-weight: 650; white-space: nowrap; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 13rem; z-index: 2; display: grid; background: var(--card); border: 1px solid var(--line); border-radius: .7rem; padding: .45rem; box-shadow: 0 .5rem 1.4rem #28261e22; }
.mobile-nav a { padding: .6rem .75rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.31fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.8vw, 2.25rem); align-items: center; margin-top: clamp(1.25rem, 3.1vw, 2.55rem); padding: 1rem; border: 1px solid #deddd0; border-radius: 1.5rem; background: #efefe5; }
.hero-copy { min-width: 0; padding-block: clamp(1rem, 2.15vw, 1.65rem); padding-inline-start: clamp(1rem, 2.4vw, 2rem); }
.hero h1 { font: 700 clamp(2.35rem, 3.8vw, 3.5rem)/1.09 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--olive); }
.hero-copy > p { margin-top: .9rem; max-width: 54ch; color: var(--muted); line-height: 1.58; }
.hero-image { position: relative; aspect-ratio: 1.14; overflow: hidden; border-radius: 1.08rem; background: #d3c9b5; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.search-form { min-width: 0; padding: 1.05rem 1.1rem; border: 1px solid #deceba; border-radius: .75rem; background: var(--card); box-shadow: 0 .25rem .95rem #4730150b; }
.search-form label { display: block; margin-bottom: .45rem; color: var(--ink); font-size: .9rem; font-weight: 650; }
.search-field { display: flex; align-items: center; gap: .65rem; border: 1px solid var(--line); padding: .22rem .22rem .22rem .75rem; border-radius: .5rem; background: #fffefa; }
.search-field:focus-within { border-color: #a1622e; }
.search-field > .search-icon { color: var(--muted); }
.search-field input { width: 0; min-width: 0; flex: 1; padding: .45rem .02rem; border: 0; background: transparent; color: var(--ink); outline: none; }
.search-field input:focus-visible { outline: none; }
.search-field button, .button { display: inline-flex; padding: .53rem .95rem; align-items: center; border: 1px solid transparent; border-radius: .4rem; background: var(--olive); color: #fffaf1; text-decoration: none; font-weight: 650; }
.search-field button:hover, .button:hover { background: #363d28; color: #fffaf1; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .55rem; margin-top: 1.25rem; }
.quick-links a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .5rem; min-height: 3.375rem; padding: .42rem .5rem; border: 1px solid #d5d7c7; border-radius: .66rem; background: #fbfcf6; color: var(--ink); font-size: .875rem; font-weight: 650; line-height: 1.26; text-decoration: none; }
.quick-links img { width: 2.125rem; height: 2.125rem; object-fit: cover; border-radius: .42rem; }
.quick-links span { min-width: 0; overflow-wrap: normal; hyphens: manual; }
.quick-links a:hover { background: var(--deep); border-color: var(--deep); color: #fffaf1; }
.quick-links a:focus-visible { outline-offset: 2px; }
.hero-all { display: inline-block; color: var(--olive); font-weight: 650; font-size: .94rem; margin-top: 1.05rem; }

.section { margin-top: clamp(2.6rem, 4.6vw, 4.3rem); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem 1.2rem; margin-bottom: 1.2rem; }
.section-heading h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
.text-action { font-weight: 650; color: var(--olive); }
.text-action span, .hero-all span { margin-left: .15rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.12rem; }
.card { min-width: 0; }
.card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: .88rem; background: var(--card); text-decoration: none; box-shadow: 0 .17rem .65rem #59351207; color: var(--ink); }
.card-link:hover, .card-link:focus-visible { color: var(--ink); border-color: #b09371; }
.card-image { aspect-ratio: 16 / 10; overflow: hidden; background: #e7d8c4; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; position: relative; padding: 1.05rem 3.05rem 1.2rem 1.15rem; }
.card-body h3 { font-size: clamp(1.27rem, 2.4vw, 1.75rem); margin-bottom: .32rem; }
.card-body p { color: var(--muted); font-size: .93rem; }
.card-label { display: block; margin-bottom: .35rem; color: var(--accent); font-weight: 650; font-size: .82rem; }
.card-arrow { position: absolute; top: 1.1rem; right: .9rem; display: grid; place-items: center; height: 1.85rem; width: 1.85rem; border-radius: 50%; background: #f1e6d6; color: var(--olive); font-size: .9rem; }
.card-link:hover .card-arrow, .card-link:focus-visible .card-arrow { color: #fffaf1; background: var(--olive); }
@media (prefers-reduced-motion: no-preference) {
  .card-image img { transition: transform 260ms ease; }
  .card-arrow { transition: background-color 170ms ease, color 170ms ease; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card-link { transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease; }
  .card-link:hover { transform: translateY(-.23rem); box-shadow: 0 .65rem 1.25rem #59351215; }
  .card-link:hover img { transform: scale(1.045); }
}
.catalog-notice { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1.5rem; padding: 1.05rem 1.3rem; border: 1px solid #d6d7c2; border-radius: .7rem; background: #e9eadb; color: var(--deep); margin-top: 3.75rem; font-size: .92rem; }
.catalog-notice a { font-weight: 650; }
main { margin-bottom: clamp(3.2rem, 6vw, 5rem); }

.site-footer { background: var(--deep); color: #fff7e9; padding-top: 2.7rem; }
.site-footer a:hover { color: #f5c495; }
.site-footer :focus-visible { outline-color: #f5c495; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .95fr); gap: 1.5rem 2rem; }
.footer-brand .logo-icon { background: #596044; }
.footer-brand p { max-width: 27ch; margin: 1rem 0 .6rem; color: #eee4d2; }
.footer-grid h2 { color: #efd0aa; font: 650 .95rem/1.3 var(--sans); letter-spacing: 0; margin: .35rem 0 .7rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: .38rem; }
.footer-grid nav a, .footer-brand > a:last-child { font-size: .93rem; text-decoration-color: #c3b69e; }
.footer-disclosure { max-width: 95ch; margin-top: 2.3rem; font-size: .86rem; color: #f3eadb; }
.footer-disclosure strong { color: #fff7e9; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.35rem; border-top: 1px solid #656958; padding: .85rem 0 1.15rem; font-size: .86rem; }

.breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin-top: clamp(1.5rem, 3.2vw, 2.55rem); color: var(--muted); font-size: .86rem; }
.breadcrumb a + a::before { content: "/"; display: inline-block; padding-right: .45rem; }
.page-heading { margin: 1.1rem 0 2rem; }
.page-heading h1, .subhero h1 { font-size: clamp(2.4rem, 5.6vw, 4.55rem); }
.page-heading p, .subhero header > p:not(.article-category, .article-byline) { color: var(--muted); margin-top: .75rem; max-width: 56ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.page-heading .button { margin-top: 1.35rem; }
.catalog .search-form { max-width: 40rem; scroll-margin-top: 1rem; }
.catalog noscript p { margin-top: .75rem; }
.search-status:empty { display: none; }
.search-status { margin-top: .75rem; font-size: .92rem; color: var(--muted); overflow-wrap: anywhere; }
.empty-state { margin-top: 1.3rem; padding: 1.1rem 1.3rem; max-width: 40rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--card); }
.empty-state h2 { margin-bottom: .5rem; }
.empty-state p { margin-bottom: .4rem; }
.subhero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1rem, 4vw, 3.5rem); align-items: center; margin-top: 1rem; }
.subhero img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: .85rem; }
.article-category { color: var(--olive); font-size: .9rem; font-weight: 650; margin-bottom: .6rem; }
.article-byline { margin-top: 1.05rem; color: var(--muted); font-size: .9rem; }
.article-byline a { color: var(--olive); font-weight: 650; }
.article-layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 45rem); justify-content: center; align-items: start; gap: clamp(1.35rem, 5vw, 4.2rem); margin-top: clamp(2.1rem, 5vw, 3.5rem); }
.contents { border: 1px solid var(--line); border-radius: .65rem; background: var(--card); padding: .9rem 1.15rem; }
.contents h2 { font: 650 .93rem/1.4 var(--sans); letter-spacing: 0; }
.contents ol { margin: .4rem 0 0; padding-left: 1.25rem; font-size: .85rem; }
.contents li + li { margin-top: .3rem; }
.subhero + .article-text { margin-top: 2.6rem; }
.prose { line-height: 1.72; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin: 1.7rem 0 .7rem; }
.prose h3 { font-size: 1.34rem; margin: 1.4rem 0 .5rem; }
.prose > section { scroll-margin-top: 1rem; }
.prose > section:first-child h2 { margin-top: 0; }
.prose p + p, .prose section + p { margin-top: .9rem; }
.prose strong { color: var(--ink); }
.prose .source { font-size: .85rem; color: var(--muted); }
.decision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.decision-card { padding: .92rem 1rem; border: 1px solid var(--line); border-top: 3px solid #737b53; border-radius: .65rem; background: var(--card); }
.prose .decision-card h3 { margin: 0 0 .45rem; font: 690 1rem/1.35 var(--sans); }
.decision-card p { margin: 0; font-size: .94rem; }
.comparison-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; }
.comparison-scroll table { width: 100%; min-width: 29rem; border-collapse: collapse; background: var(--card); font-size: .93rem; line-height: 1.55; }
.comparison-scroll th, .comparison-scroll td { padding: .75rem .85rem; text-align: left; vertical-align: top; }
.comparison-scroll thead { background: #e8ebde; color: #333821; }
.comparison-scroll tbody th { width: 25%; }
.comparison-scroll tbody tr { border-top: 1px solid var(--line); }
.article-checklist { margin: .5rem 0 0; padding: .85rem 1.2rem .85rem 2.2rem; background: #edf0e6; border-radius: .65rem; }
.article-checklist li + li { margin-top: .5rem; }
.article-faq details { border-bottom: 1px solid var(--line); padding: .72rem .2rem; }
.article-faq details:first-child { border-top: 1px solid var(--line); }
.article-faq summary { cursor: pointer; font-weight: 670; }
.article-faq details p { margin: .45rem 0 0 1.1rem; }
.article-lede { font-size: 1.12rem; color: var(--muted); }
.info .narrow { margin-top: 1.25rem; }
.info dl { padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: .65rem; }
.info dt { font-weight: 650; margin-top: .65rem; }
.info dt:first-child { margin-top: 0; }
.info dd { margin-left: 0; }

@media (max-width: 1240px) {
  .quick-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; padding: clamp(.85rem, 3.25vw, 1.75rem); }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.35rem); }
  .hero-image { aspect-ratio: 1.28; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 1.8rem); }
  .header-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .7rem; padding: .6rem 0; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: min(100%, 22rem); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; grid-column: 2; grid-row: 1; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .subhero, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .subhero img { max-height: 25rem; }
  .contents { width: min(100%, 24rem); }
}
@media (max-width: 480px) {
  .hero { border-radius: 1.12rem; }
  .hero-image { border-radius: .76rem; }
  .quick-links { gap: .45rem; margin-top: 1.05rem; }
  .quick-links a { gap: .36rem; padding: .36rem .42rem; font-size: .81rem; }
  .quick-links img { width: 1.875rem; height: 1.875rem; }
  .search-form { padding: .83rem; }
  .search-field { gap: .45rem; padding-left: .5rem; }
  .search-field > .search-icon { display: none; }
  .search-field button { padding-inline: .65rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card-image { aspect-ratio: 16 / 8.5; }
  .comparison-scroll table { min-width: 0; table-layout: fixed; font-size: .85rem; }
  .comparison-scroll th, .comparison-scroll td { padding: .56rem .42rem; }
  .comparison-scroll thead th:first-child { width: 26%; }
  .footer-grid { gap: 1.25rem .8rem; }
  .footer-brand { grid-column: 1 / -1; }
}
