:root {
    --ink: #172a25;
    --ink-soft: #263b35;
    --muted: #6f7e77;
    --paper: #f7f7f1;
    --white: #fffefa;
    --line: #e5e9df;
    --green: #2e5b46;
    --green-deep: #173c30;
    --lime: #d8ee93;
    --clay: #ce7559;
    --serif: 'Manrope', 'DM Sans', sans-serif;
    --sans: 'DM Sans', sans-serif;
}

.notice { padding: 14px 18px; margin: 18px 0; border: 1px solid #bdd9c5; border-radius: 10px; background: #eef8f0; color: #215c32; }
.notice.error { border-color: #e6c0bb; background: #fff3f1; color: #8b3028; }
.form h2 { margin: 24px 0 12px; font: 700 24px var(--serif); }
.article-sources { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.article-sources h2 { font: 700 22px var(--serif); }
.article-sources li { margin: 8px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #527c61; outline-offset: 3px; }
button, .button { transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
button:hover, .button:hover { transform: translateY(-1px); }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }

.nav { position: relative; z-index: 10; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(23,42,37,.11); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 800 18px/1 var(--serif); letter-spacing: -.75px; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; width: 214px; height: auto; }
.brand-copy { display: grid; gap: 5px; }
.brand-copy small { max-width: 180px; color: var(--muted); font: 600 9px/1.25 var(--sans); letter-spacing: .8px; text-transform: uppercase; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: #f0f4eb; }
.navlinks { display: flex; align-items: center; gap: 22px; color: #52635b; font-size: 13px; font-weight: 600; }
.navlinks a:not(.pill):hover { color: var(--green); }
.nav-topics { position: relative; }
.nav-topics summary { display: flex; align-items: center; gap: 5px; min-height: 42px; cursor: pointer; list-style: none; }
.nav-topics summary::-webkit-details-marker { display: none; }
.nav-dropdown { position: absolute; top: calc(100% + 4px); left: -12px; z-index: 15; display: grid; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 34px #172a251a; }
.nav-dropdown a { padding: 8px 10px; border-radius: 6px; }
.nav-dropdown a:hover { background: #f1f5ec; }
.nav-signout { margin: 0; }
.nav-signout button { min-height: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; }
.nav-signout button:hover { background: transparent; color: var(--green); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 99px; background: var(--ink); color: white !important; font-size: 12px; font-weight: 700; }
.pill:hover { background: var(--green); border-color: var(--green); box-shadow: 0 8px 20px #173c3021; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.04fr .96fr; gap: 38px; align-items: center; min-height: 505px; margin: 34px 0 0; padding: 58px 60px; overflow: hidden; border: 1px solid #dfe6db; border-radius: 24px; background: #e9eee2; }
.hero:before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 18% 0%, #fff9 0, transparent 45%), radial-gradient(ellipse at 90% 100%, #d8e3ce 0, transparent 42%); content: ''; }
.hero-copy { max-width: 510px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow:before { width: 19px; height: 1px; background: currentColor; content: ''; }
.hero h1 { margin: 18px 0 20px; max-width: 570px; color: var(--ink); font: 700 clamp(42px, 5vw, 66px)/1.04 var(--serif); letter-spacing: -3.6px; }
.hero p { max-width: 475px; margin: 0 0 28px; color: #65766e; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--green-deep); color: #fff !important; font-size: 12px; font-weight: 700; box-shadow: 0 8px 18px #173c3020; }
.button:hover { background: var(--green); box-shadow: 0 11px 24px #173c3033; }
.button-secondary { border: 1px solid var(--line); background: transparent; color: var(--ink) !important; box-shadow: none; }
.button-secondary:hover { background: var(--white); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #55675e; font-size: 12px; font-weight: 700; }
.hero-art { position: relative; min-height: 355px; overflow: hidden; border-radius: 18px; background: #183d31; box-shadow: 0 22px 45px #173c3026; }
.hero-art:before { position: absolute; width: 300px; height: 300px; top: 18px; right: 7%; border: 1px solid #ffffff27; border-radius: 50%; content: ''; }
.hero-art:after { position: absolute; width: 220px; height: 220px; top: 58px; right: calc(7% + 40px); border: 1px solid #ffffff24; border-radius: 50%; content: ''; }
.art-sun { position: absolute; width: 175px; height: 175px; top: 56px; right: 16%; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #f1e5b3 0, #d69a69 52%, #b96953 100%); box-shadow: 0 10px 40px #d17a5a55; }
.art-hill { position: absolute; right: -8%; bottom: -108px; width: 115%; height: 230px; border-radius: 50% 50% 0 0; background: #315e48; transform: rotate(-8deg); }
.art-hill:after { position: absolute; top: -39px; left: -8%; width: 110%; height: 205px; border-radius: 50% 50% 0 0; background: #91a77a; transform: rotate(12deg); content: ''; }
.art-label { position: absolute; z-index: 2; top: 22px; left: 24px; color: #ffffffbd; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.art-index { position: absolute; z-index: 2; right: 24px; bottom: 20px; color: #ffffffb8; font-size: 10px; letter-spacing: 1.5px; }
.art-card { position: absolute; z-index: 3; left: 24px; bottom: 27px; width: 188px; padding: 15px 17px; border: 1px solid #ffffff4a; border-radius: 10px; background: #f7f4e9; box-shadow: 0 14px 30px #10281d4d; transform: rotate(-4deg); }
.art-card small { color: var(--green); font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.art-card strong { display: block; margin-top: 5px; color: var(--ink); font: 700 15px/1.25 var(--serif); }
.art-card span { display: block; margin-top: 7px; color: #718078; font-size: 9px; }
.hero-caption { position: absolute; top: 24px; right: 25px; z-index: 2; display: flex; align-items: center; gap: 7px; color: #ffffffc9; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.hero-caption:before { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); content: ''; }

.section { padding: 83px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.section-heading h2 { margin: 9px 0 0; font: 700 29px/1.15 var(--serif); letter-spacing: -1.1px; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.section-kicker { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.page-intro { max-width: 760px; padding: 65px 0 32px; }
.page-intro h1 { margin: 12px 0 10px; font: 700 clamp(40px,5vw,58px)/1.08 var(--serif); letter-spacing: -2.8px; }
.page-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; }
.page-wrap { padding-bottom: 18px; }
.ai-intro { max-width: 790px; padding-bottom: 37px; }
.ai-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 11px; border: 1px solid #dfe4d9; border-radius: 99px; background: #fffefa; color: #728078; font-size: 10px; font-weight: 600; }
.status-indicator { width: 7px; height: 7px; border-radius: 50%; background: #c78c59; box-shadow: 0 0 0 3px #c78c5920; }
.ai-status.is-ready .status-indicator { background: #52926c; box-shadow: 0 0 0 3px #52926c20; }
.ai-workspace { display: grid; grid-template-columns: 286px minmax(0,1fr); align-items: start; gap: 19px; padding-bottom: 40px; }
.ai-sidebar, .ai-editor { border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.ai-sidebar { padding: 17px 12px 13px; }
.ai-side-heading { display: flex; align-items: center; justify-content: space-between; margin: 1px 7px 12px; }
.ai-count { color: #9ba69e; font-size: 9px; letter-spacing: 1px; }
.ai-tool-choice { display: flex; align-items: center; width: 100%; min-height: 59px; margin: 3px 0; padding: 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; }
.ai-tool-choice:hover { background: #f7f8f2; }
.ai-tool-choice.is-active { border-color: #dfe7d9; background: #eff3ea; }
.tool-number { align-self: flex-start; width: 26px; padding-top: 3px; color: #91a096; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.tool-copy { display: grid; gap: 3px; min-width: 0; }
.tool-copy strong { color: var(--ink-soft); font-size: 11px; }
.tool-copy small { color: #849087; font-size: 9px; font-weight: 400; }
.tool-arrow { margin-left: auto; color: #8a9b8f; font-size: 13px; opacity: 0; }
.ai-tool-choice.is-active .tool-arrow { opacity: 1; }
.ai-privacy { display: flex; gap: 10px; margin: 17px 2px 0; padding: 13px 10px; border-top: 1px solid var(--line); color: var(--green); }
.ai-privacy>span { flex: 0 0 14px; padding-top: 2px; font-size: 12px; }
.ai-privacy p { margin: 0; color: #7e8981; font-size: 9px; line-height: 1.6; }
.ai-privacy strong { color: var(--green-deep); font-size: 9px; }
.ai-editor { padding: 24px; }
.ai-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 17px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.ai-editor-head h2 { margin: 6px 0 4px; font: 700 22px var(--serif); letter-spacing: -.5px; }
.ai-editor-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 10px; }
.ai-local-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #dee7d9; border-radius: 99px; color: #718579; font-size: 8px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.ai-local-tag i { width: 5px; height: 5px; border-radius: 50%; background: #74976e; }
.ai-editor form { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.ai-editor .field { margin-bottom: 12px; }
.ai-editor .field label { color: var(--ink-soft); font-size: 10px; }
.ai-editor .field textarea { min-height: 134px; padding: 13px 14px; background: #fff; font-size: 11px; line-height: 1.65; }
.input-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; color: #929c94; font-size: 9px; }
.input-footer b { color: #66766d; font-weight: 600; }
.tone-field[hidden] { display: none; }
.tone-field select { max-width: 260px; }
.ai-actions { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.ai-generate { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 195px; padding: 0 15px; }
.ai-generate:disabled { cursor: not-allowed; background: #a4b1a8; box-shadow: none; transform: none; }
.ai-disclaimer { color: #89958c; font-size: 9px; }
.ai-output { padding-top: 19px; }
.output-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.output-head h3 { margin: 5px 0 0; font: 700 14px var(--serif); }
.copy-button { min-height: 31px; padding: 0 11px; border: 1px solid #dce4d9; background: transparent; color: var(--green); font-size: 9px; }
.copy-button:hover { background: #eef3e9; }
.copy-button:disabled { cursor: default; opacity: .5; transform: none; }
.output-content { min-height: 116px; margin-top: 12px; padding: 15px; border: 1px solid #e9ece6; border-radius: 8px; background: #fafbf7; color: #3d5146; font: 11px/1.8 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.output-content.has-result { border-color: #dfe6d9; background: #f5f7f1; }
.output-content.has-error { border-color: #efdad3; background: #fcf6f3; color: #9b5141; }
.output-placeholder { display: grid; justify-items: start; gap: 8px; color: #89948b; }
.output-placeholder p { margin: 0; font-size: 10px; }
.placeholder-spark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: #eaf0e4; color: var(--green); font-size: 14px; }
.output-placeholder.is-loading .loading-dots { color: var(--green); font-weight: 700; letter-spacing: 4px; animation: pulse 1.1s infinite ease-in-out; }
@keyframes pulse { 50% { opacity: .35; } }
.categories { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid #dce3d8; border-radius: 99px; background: #fffefa9c; color: #51645a; font-size: 11px; font-weight: 600; transition: all .18s ease; }
.tag:hover { border-color: var(--green); background: var(--green); color: white; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: #d2dbce; box-shadow: 0 16px 35px #1c392213; }
.article-card { min-height: 255px; padding: 25px; }
.article-card.has-thumbnail { padding-top: 0; }
.article-thumbnail { display: block; height: 160px; margin: 0 -25px 17px; overflow: hidden; background: #e9eee2; }
.article-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.article-featured-image { margin: 32px 0; }
.article-featured-image img { display: block; width: 100%; max-height: 640px; border-radius: 14px; object-fit: cover; }
.article-card:before { position: absolute; top: 0; right: 0; width: 78px; height: 4px; background: var(--accent, var(--green)); content: ''; }
.article-card:nth-child(3n+2) { --accent: var(--clay); }
.article-card:nth-child(3n) { --accent: #85966d; }
.card-meta { display: flex; align-items: center; gap: 8px; color: #829087; font-size: 10px; font-weight: 600; }
.card-meta i { width: 3px; height: 3px; border-radius: 50%; background: #bac3bc; }
.article-card h3 { margin: 17px 0 10px; max-width: 370px; font: 700 20px/1.35 var(--serif); letter-spacing: -.4px; }
.article-card p { margin: 0 0 23px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.byline { position: absolute; right: 25px; bottom: 22px; left: 25px; display: flex; align-items: center; gap: 8px; color: #7a8980; font-size: 10px; }
.avatar-dot { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: #e1eadc; color: var(--green); font-size: 9px; font-weight: 700; }
.empty-card { grid-column: span 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: 255px; padding: 31px 36px; background: #eef1e8; }
.empty-card h3 { max-width: 370px; margin: 11px 0 8px; font: 700 25px/1.2 var(--serif); letter-spacing: -.7px; }
.empty-card p { max-width: 400px; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.empty-note { display: grid; place-items: center; min-height: 158px; border: 1px solid #cfd8ca; border-radius: 10px; background: linear-gradient(145deg,#f9faf4,#e0e8d8); color: var(--green); transform: rotate(3deg); }
.empty-note span { font-size: 8px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.empty-note strong { font: 700 20px var(--serif); letter-spacing: -1px; }
.empty-note small { color: #74847a; font-size: 9px; }
.pagination { margin: 26px 0; color: var(--green); font-size: 12px; }
.promo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.promo-card { min-height: 190px; padding: 27px 29px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.promo-card.dark { border-color: var(--green-deep); background: var(--green-deep); color: white; }
.promo-card .promo-icon { margin-bottom: 17px; color: var(--green); }
.promo-card.dark .promo-icon { color: var(--lime); }
.promo-card h3 { margin: 0 0 6px; font: 700 18px var(--serif); }
.promo-card p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; }
.promo-card.dark p { color: #c1d0c5; }
.promo-card .text-link { margin-top: 15px; color: var(--green); }
.promo-card.dark .text-link { color: var(--lime); }

.content { width: min(780px, 100%); margin: 78px auto 100px; }
.content h1 { margin: 18px 0 16px; font: 700 clamp(40px,5vw,60px)/1.06 var(--serif); letter-spacing: -2.8px; }
.content>p { color: var(--muted); font-size: 16px; }
.content>.meta { color: #829087; font-size: 11px; }
.articlebody { margin-top: 35px; color: #34453d; font-size: 17px; line-height: 1.9; }
.articlebody h2 { margin: 42px 0 13px; color: var(--ink); font: 700 29px/1.2 var(--serif); letter-spacing: -.8px; }
.articlebody h3 { margin: 30px 0 10px; color: var(--ink); font: 700 21px var(--serif); }
.articlebody a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content p a:not(.button):not(.button-secondary), .content li a:not(.button):not(.button-secondary), .content .notice a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.articlebody blockquote { margin: 28px 0; padding: 7px 22px; border-left: 2px solid var(--clay); color: var(--muted); font-family: Georgia,serif; font-size: 20px; }
.articlebody img { max-width: 100%; height: auto; border-radius: 12px; }

.form { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 10px 35px #203b2f08; }
.form h3 { margin: 0 0 8px; font: 700 21px var(--serif); }
.field { margin: 0 0 19px; }
.field label { display: block; margin: 0 0 7px; color: #43564b; font-size: 11px; font-weight: 700; }
.field input, .field textarea, .field select, .cols input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dbe3d9; border-radius: 7px; outline: none; background: #fff; color: var(--ink); font: 13px var(--sans); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .cols input:focus { border-color: #71947b; box-shadow: 0 0 0 3px #2e5b4618; }
button { min-height: 43px; padding: 0 17px; border: 0; border-radius: 7px; background: var(--green-deep); color: white; font-size: 11px; font-weight: 700; cursor: pointer; }
button:hover { background: var(--green); }
.error { margin-top: 4px; color: #ab4938; font-size: 11px; }
.success { margin: 14px auto 0; padding: 12px 16px; border: 1px solid #cddfc5; border-radius: 8px; background: #edf4e8; color: #31543d; font-size: 12px; }
.toolresult { min-height: 44px; padding: 11px 12px; border: 1px solid #dfe7d8; border-radius: 7px; background: #f2f5ed; color: var(--green-deep); font-size: 11px; font-weight: 600; }
.content .grid .card { padding: 25px; }
.content .grid .card h3 { margin: 8px 0; font: 700 20px var(--serif); }
.content .grid .card p { color: var(--muted); font-size: 12px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 382px; padding: 25px; }
.tool-card h3 { margin: 12px 0 7px; font: 700 22px/1.25 var(--serif); letter-spacing: -.5px; }
.tool-card>p:not(.toolresult) { min-height: 48px; margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.tool-card .field { width: 100%; margin-bottom: 13px; }
.tool-card button { margin-top: auto; }
.tool-card .toolresult { width: 100%; margin: 15px 0 0; }
.tool-grid.tool-single { grid-template-columns: minmax(0, 720px); justify-content: center; margin-bottom: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.related-card { display: block; padding: 18px 20px; color: var(--ink); text-decoration: none; }
.related-card h3 { margin: 0 0 6px; font: 700 17px/1.3 var(--serif); letter-spacing: -.3px; }
.related-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.qr-output { display: grid; place-items: center; width: 100%; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #f7f8f4; }
.qr-output canvas { display: block; width: min(100%, 320px); height: auto; image-rendering: pixelated; background: #fff; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 12px 0 20px; }
.catalog-heading h2 { margin: 7px 0 0; font: 700 26px/1.2 var(--serif); letter-spacing: -.8px; }
.catalog-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.catalog-total, .category-stats { color: var(--muted); font-size: 11px; }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 45px; }
.category-card { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); transition: .18s ease; }
.category-card:hover { border-color: #b9c9b6; box-shadow: 0 9px 22px #1c39220f; transform: translateY(-2px); }
.category-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 11px; background: #eef2e8; color: var(--green); font: 700 16px var(--serif); }
.category-card-copy { display: grid; flex: 1; gap: 4px; }
.category-card-copy strong { font: 700 13px var(--serif); }
.category-card-copy small { color: var(--muted); font-size: 10px; }
.available-heading { margin-top: 0; }
.breadcrumbs { display: flex; gap: 9px; padding-top: 27px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { color: var(--green); font-weight: 700; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subcategory-list { margin: 6px 0 28px; }
.subcategory-list .section-kicker { display: block; margin-bottom: 10px; }
.subcategory-tag { border-style: dashed !important; }
.search-form { display: flex; width: min(100%, 640px); gap: 10px; margin-top: 22px; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 15px; border: 1px solid #dbe3d9; border-radius: 8px; background: var(--white); color: var(--ink); font: 13px var(--sans); }
.search-count { margin-top: 15px !important; font-size: 12px !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0; }
.related-section { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-section .section-heading { margin-bottom: 18px; }
.article-excerpt { color: var(--muted); font-size: 20px; }
.category-intro { padding-top: 34px; }
.category-stats { display: flex; gap: 20px; margin-top: 17px; }
.category-stats strong { color: var(--green-deep); }
.catalog-section { margin: 20px 0 42px; }
.catalog-section .catalog-heading { margin-bottom: 15px; }
.catalog-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.catalog-tool { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 66px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.catalog-tool h3 { margin: 0 0 5px; font: 700 13px var(--serif); }
.tool-status { color: #3d7350; font-size: 9px; font-weight: 700; }
.catalog-tool .text-link { white-space: nowrap; font-size: 10px; }
.planned-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.planned-tool { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 43px; padding: 9px 12px; border: 1px solid #e7eae3; border-radius: 7px; background: #fbfcf8; color: #66766d; font-size: 10px; }
.planned-tool small { flex: 0 0 auto; color: #9aa59c; font-size: 8px; }
.catalog-back { margin: 27px 0; }
.content .hero { margin-top: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }


.skip-link { position: absolute; z-index: 100; top: 8px; left: 8px; padding: 9px 13px; transform: translateY(-150%); border-radius: 7px; background: var(--green-deep); color: #fff; font-size: 13px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.footer { display: grid; grid-template-columns: minmax(260px,1.5fr) 1fr 1fr; gap: 28px; margin-top: 95px; padding: 30px 0 31px; border-top: 1px solid var(--line); color: #718078; font-size: 12px; }
.footer-about { max-width: 430px; }
.footer-about p { margin: 10px 0 8px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 16px; font-weight: 800; }
.footer-brand img { display: block; }
.footer-contact { color: var(--green); font-weight: 700; }
.footer-links, .footer-topics { display: flex; align-content: start; flex-wrap: wrap; gap: 9px 16px; }
.footer-links { flex-direction: column; }
.footer-heading { width: 100%; color: var(--ink); font-weight: 700; }
.footer-copyright { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid var(--line); color: #819087; font-size: 11px; }
.footer-links a:hover { color: var(--green); }
.footer-topics a:hover { color: var(--green); }

@media (max-width: 880px) {
    .wrap { width: min(100% - 36px, 700px); }
    .nav { min-height: 75px; gap: 14px; }
    .brand-logo { width: 198px; }
    html.js .nav-toggle { display: grid; }
    html.js #primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 15px 30px #172a2518; }
    html.js #primary-navigation.is-open { display: flex; }
    #primary-navigation > a, #primary-navigation > details > summary, #primary-navigation .nav-signout button { display: flex; align-items: center; min-height: 43px; padding: 7px 10px; font-size: 14px; }
    #primary-navigation .pill { justify-content: flex-start; margin-top: 4px; }
    .nav-topics summary { cursor: pointer; }
    .nav-dropdown { position: static; min-width: 0; margin: 0 0 5px 10px; border: 0; box-shadow: none; }
    .hero { grid-template-columns: 1fr .8fr; gap: 22px; min-height: 440px; padding: 39px; }
    .hero h1 { font-size: 49px; letter-spacing: -2.6px; }
    .hero-art { min-height: 310px; }
    .art-sun { width: 145px; height: 145px; }
    .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .planned-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .article-card:last-child:nth-child(odd) { grid-column: span 2; }
    .promo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .promo-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 30px); }
    .nav { min-height: 68px; gap: 8px; }
    .brand-logo { width: 188px; }
    .brand-copy { display: none; }
    .hero { grid-template-columns: 1fr; gap: 27px; min-height: auto; margin-top: 17px; padding: 32px 24px 24px; border-radius: 17px; }
    .hero h1 { max-width: 470px; margin: 14px 0; font-size: clamp(39px,12vw,53px); letter-spacing: -2.8px; }
    .hero p { margin-bottom: 20px; font-size: 13px; }
    .hero-art { min-height: 245px; }
    .hero-art:before { width: 240px; height: 240px; }
    .hero-art:after { width: 170px; height: 170px; }
    .art-sun { width: 130px; height: 130px; top: 39px; }
    .art-card { bottom: 18px; left: 18px; transform: scale(.88) rotate(-4deg); transform-origin: bottom left; }
    .section { padding-top: 56px; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 25px; }
    .section-heading> .text-link { max-width: 92px; text-align: right; }
    .grid { grid-template-columns: 1fr; }
    .category-grid, .catalog-list, .planned-list { grid-template-columns: 1fr; }
    .catalog-heading { align-items: flex-start; }
    .catalog-total { max-width: 90px; text-align: right; }
    .category-stats { flex-wrap: wrap; gap: 8px 14px; }
    .article-card:last-child:nth-child(odd), .empty-card { grid-column: auto; }
    .article-card { min-height: 220px; }
    .empty-card { grid-template-columns: 1fr; padding: 24px; }
    .empty-note { display: none; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card:last-child:nth-child(odd) { grid-column: auto; }
    .content { margin: 48px auto 70px; }
    .page-intro { padding: 45px 0 24px; }
    .ai-intro { padding-top: 45px; }
    .ai-workspace { grid-template-columns: 1fr; gap: 12px; }
    .ai-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; }
    .ai-side-heading, .ai-privacy { grid-column: span 2; }
    .ai-tool-choice { min-height: 55px; padding: 7px; }
    .ai-tool-choice .tool-copy small { display: none; }
    .ai-editor { padding: 18px; }
    .ai-editor-head h2 { font-size: 20px; }
    .ai-actions { align-items: flex-start; flex-direction: column; }
    .content h1 { font-size: 42px; letter-spacing: -2px; }
    .cols { grid-template-columns: 1fr; gap: 0; }
    .form { padding: 21px; }
    .footer { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 65px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-links { margin-top: 0; }
    .footer-topics { gap: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Google's reCAPTCHA checkbox is a fixed 304px wide; shrink it on very narrow phones so it stays inside the form. */
@media (max-width: 400px) { .recaptcha-field .g-recaptcha { transform: scale(.85); transform-origin: 0 0; height: 66px; } }
/* Administrators' preview of a draft or scheduled article (never shown to readers). */
.article-preview-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 24px; padding: 12px 16px; border: 1px solid #c8d3ea; border-radius: 10px; background: #edf1fa; color: #2c4479; font-size: 13px; }
.article-preview-banner a { color: #2c4479; font-weight: 700; text-decoration: underline; }

/* Cookie consent banner: both choices share one button style on purpose, so neither is more prominent. */
.consent-banner { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 18px 44px #173c3029; font-size: 14px; line-height: 1.55; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 10px; }
.consent-banner a { text-decoration: underline; }
.consent-banner .consent-title { margin-bottom: 4px; font: 700 17px var(--serif); }
.consent-banner .consent-status { font-weight: 700; }
.consent-banner .consent-status[hidden] { display: none; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent-actions button { min-height: 44px; font-size: 13px; }
.link-button { min-height: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; text-align: left; }
.link-button:hover { background: none; color: var(--green); transform: none; }
.link-button[hidden] { display: none; }
@media (max-width: 400px) { .consent-actions { grid-template-columns: 1fr; } }
@media print { .consent-banner { display: none; } }
