/* Content pages (About, Contact, Tech Blog): small, self-contained, fast. */
:root {
    --ink: #0f172a; --body: #334155; --muted: #64748b; --line: #e2e8f0; --soft: #f6f8fb;
    --brand: #008a00; --brand-dark: #006d00; --brand-soft: #e7f6e7; --yellow: #ffbf00;
    --radius: 20px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px -16px rgba(15,23,42,.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pg { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--body); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pg a { color: inherit; }
.pg img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid rgba(0,138,0,.35); outline-offset: 2px; border-radius: 8px; }

/* header (matches the shop: info strip, green bar with search, white menu row) */
.pg-strip { background: #0f172a; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; }
.pg-strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.pg-strip a { text-decoration: none; margin-right: 16px; } .pg-strip a:hover { color: #fff; } .pg-strip i { color: var(--yellow); margin-right: 6px; }
.pg-head { position: sticky; top: 0; z-index: 100; background: var(--brand); box-shadow: 0 6px 20px -12px rgba(0,0,0,.35); }
.pg-head > .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.pg-logo img { height: 48px; width: auto; filter: drop-shadow(.5px 0 0 #fff) drop-shadow(-.5px 0 0 #fff) drop-shadow(0 .5px 0 #fff) drop-shadow(0 -.5px 0 #fff); }
.pg-search { flex: 1; max-width: 620px; margin-inline: auto; display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.pg-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 16px; font: 600 15px 'Montserrat', sans-serif; color: var(--ink); }
.pg-search button { border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 800 12px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 0 18px; height: 40px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pg-search button:hover { background: var(--brand-dark); }
.pg-search:focus-within { box-shadow: 0 0 0 3px rgba(255,191,0,.55); }
.pg-tools { display: flex; gap: 8px; align-items: center; }
.pg-icon { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; }
.pg-icon:hover { background: rgba(255,255,255,.26); }
.pg-icon .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: #111; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.pg-icon .count[hidden] { display: none; }
.pg-sub { background: #fff; border-bottom: 1px solid var(--line); }
.pg-nav { display: flex; align-items: center; gap: 2px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.pg-nav::-webkit-scrollbar { display: none; }
.pg-nav a { color: #475569; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.pg-nav a:first-child { background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 16px; margin-right: 8px; }
.pg-nav a:hover { color: var(--brand); background: var(--brand-soft); } .pg-nav a:first-child:hover { background: var(--brand-dark); color: #fff; }
.pg-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.pg-sep { flex: 1; }
.pg-burger { display: none; }
body.pg #back-to-top { opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; }
body.pg #back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
body.pg footer { margin-top: 0 !important; }
@media (max-width: 880px) {
    .hide-sm { display: none !important; }
    .pg-strip .wrap { justify-content: center; } .pg-strip .wrap > span:last-child { display: none; }
    .pg-head > .wrap { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
    .pg-logo img { height: 40px; }
    .pg-tools { margin-left: auto; }
    .pg-search { order: 3; flex-basis: 100%; max-width: none; }
    .pg-search button { padding: 0 14px; }
    .pg-burger { display: grid; }
    .pg-sub { display: none; } .pg-sub:has(.pg-nav.open) { display: block; }
    .pg-nav { flex-direction: column; align-items: stretch; height: auto; padding: 8px 0 12px; }
    .pg-nav a { padding: 12px; font-size: 13px; } .pg-nav a:first-child { margin: 0 0 6px; text-align: center; }
    .pg-sep { display: none; }
}

/* sections */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #eaf7ea 0%, transparent 60%), radial-gradient(900px 300px at 100% 0%, #fff6db 0%, transparent 55%), var(--soft); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin: 16px 0 14px; text-wrap: balance; }
.h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 0; }
.h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 0 0 10px; line-height: 1.15; }
.sec { padding: clamp(44px, 6vw, 80px) 0; }
.sec.alt { background: var(--soft); }
.sec-head { max-width: 640px; margin-bottom: 28px; }
.sec-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 17px; color: var(--ink); margin: 12px 0 6px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; background: var(--brand-soft); color: var(--brand); }
.ico.y { background: #fff4d1; color: #a16207; } .ico.b { background: #e0f2fe; color: #0369a1; } .ico.v { background: #ede9fe; color: #6d28d9; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font: 700 15px 'Montserrat', sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .1s, color .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--brand); color: #fff !important; } .btn-p:hover { background: var(--brand-dark); }
.btn-o { background: #fff; color: var(--ink); border-color: var(--line); } .btn-o:hover { border-color: var(--brand); color: var(--brand); }
.btn[disabled] { opacity: .6; cursor: progress; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.stat b { display: block; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 4px 0 4px; font-size: 16px; color: var(--ink); } .step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cta { background: linear-gradient(135deg, #006d00, #008a00 60%, #2f9e1f); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); } .cta p { margin: 0; color: rgba(255,255,255,.85); }
.cta .btn-o { border-color: transparent; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 12px; }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
a.info:hover { border-color: var(--brand); transform: translateY(-1px); }
.info b { display: block; color: var(--ink); font-size: 15px; } .info span { color: var(--muted); font-size: 14px; }
.form { display: grid; gap: 14px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label small { color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; font: 500 16px 'Montserrat', sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0,138,0,.12); }
.field .err { display: none; color: #b91c1c; font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #ef4444; }
.field.bad .err { display: block; }
.hp { position: absolute; left: -10000px; }
.note { font-size: 13px; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 14.5px; display: none; }
.alert.ok { display: block; background: var(--brand-soft); color: #14532d; } .alert.no { display: block; background: #fee2e2; color: #7f1d1d; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* blog */
.blog-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--body); padding: 8px 14px; border-radius: 999px; font: 700 13px 'Montserrat', sans-serif; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-search { position: relative; margin-left: auto; min-width: 240px; }
.b-search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px 0 38px; font: 600 15px 'Montserrat', sans-serif; background: #f8fafc; }
.b-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
@media (max-width: 620px) { .b-search { min-width: 100%; order: -1; } }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(15,23,42,.4); }
.post img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; background: #eef2f6; }
.post .pb { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.post h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--ink); font-weight: 800; }
.post p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post .meta { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: #94a3b8; font-weight: 600; }
.post.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post.featured img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.post.featured h3 { font-size: clamp(20px, 2.4vw, 28px); }
@media (max-width: 760px) { .post.featured { display: flex; } .post.featured img { min-height: 0; aspect-ratio: 1200 / 630; } }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* article */
.art-head { padding: clamp(36px, 5vw, 64px) 0 24px; }
.crumbs { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--brand); }
.art-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 10px; }
.art-cover { border-radius: 22px; overflow: hidden; margin: 8px 0 28px; box-shadow: var(--shadow); }
.art-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.article { font-size: 17.5px; line-height: 1.75; color: #1f2937; }
.article h2 { font-size: clamp(21px, 2.4vw, 26px); color: var(--ink); margin: 36px 0 10px; letter-spacing: -.01em; line-height: 1.25; scroll-margin-top: 90px; }
.article h3 { font-size: 19px; color: var(--ink); margin: 26px 0 8px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; } .article li { margin: 6px 0; }
.article strong { color: var(--ink); }
.article a { color: var(--brand); font-weight: 600; }
.tip { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 20px 0; font-size: 16px; }
.warn { background: #fff7e0; border-left: 4px solid var(--yellow); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 20px 0; font-size: 16px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 0 0 28px; background: var(--soft); }
.toc b { color: var(--ink); font-size: 14px; } .toc ol { margin: 8px 0 0; padding-left: 20px; font-size: 15px; } .toc a { text-decoration: none; color: var(--body); } .toc a:hover { color: var(--brand); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.share b { color: var(--ink); margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--body); text-decoration: none; cursor: pointer; font-size: 16px; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }
.art-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15.5px; }
.art-table th, .art-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.art-table th { background: var(--soft); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .post, .info { transition: none; } html { scroll-behavior: auto; } }

/* shared footer on content pages: some of its utility classes aren't in the compiled CSS */
body.pg footer img { height: 56px !important; width: auto !important; max-width: none; margin: 0 -10px; }
body.pg footer .container { width: min(1160px, 100% - 32px); margin-inline: auto; padding-inline: 0; }
body.pg footer h5 { letter-spacing: .14em; }
body.pg footer a { text-decoration: none; }
