:root {
  --jgs-font: Menlo, Monaco, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", "Courier New", monospace;
  --jgs-radius: 14px; --jgs-radius-sm: 8px; --jgs-gap: 16px; --jgs-hdr-h: 86px;
  --jgs-primary: #2A7650; --jgs-on-primary: #FFFFFF;
  --jgs-bg: #16201C; --jgs-bg2: #1A2621; --jgs-surface: #1D2A25; --jgs-surface2: #24342E; --jgs-line: #3A4F46;
  --jgs-ink: #E7EFE9; --jgs-muted: #AFC0B5; --jgs-accent: #7CCBA2; --jgs-red: #FF8F84; --jgs-focus: #8CC2A6;
  --jgs-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.55);
  --jgs-hdr-bg: rgba(47, 63, 56, 0.94);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --jgs-bg: #F2F8F5; --jgs-bg2: #E3F1EA; --jgs-surface: #FFFFFF; --jgs-surface2: #EAF3EE; --jgs-line: #B4CBBF;
    --jgs-ink: #11201A; --jgs-muted: #4C5B52; --jgs-accent: #1F5A41; --jgs-red: #A02C20; --jgs-focus: #2A7650;
    --jgs-shadow: 0 10px 24px -16px rgba(17, 40, 26, 0.35); --jgs-hdr-bg: rgba(212, 229, 220, 0.94);
  }
}
:root[data-theme="light"] {
  --jgs-bg: #F2F8F5; --jgs-bg2: #E3F1EA; --jgs-surface: #FFFFFF; --jgs-surface2: #EAF3EE; --jgs-line: #B4CBBF;
  --jgs-ink: #11201A; --jgs-muted: #4C5B52; --jgs-accent: #1F5A41; --jgs-red: #A02C20; --jgs-focus: #2A7650;
  --jgs-shadow: 0 10px 24px -16px rgba(17, 40, 26, 0.35); --jgs-hdr-bg: rgba(212, 229, 220, 0.94);
}
body { margin: 0; }
.jg-wrap { box-sizing: border-box; width: min(100%, 1800px); margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); }   
@media (min-width: 600px) { .jg-wrap { width: min(94vw, 1800px); } }
.jg-section { padding: 40px 0; }
.jg-section-kicker { display: block; margin: 0 0 6px; font: 650 12px/1.2 var(--jgs-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--jgs-accent); }
.jg-section-title { margin: 0 0 18px; font: 750 clamp(22px, 3.4vw, 30px)/1.2 var(--jgs-font); letter-spacing: -0.01em; color: var(--jgs-ink); }
.jg-muted { color: var(--jgs-muted); }
.jg-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jg-grid { display: grid; gap: var(--jgs-gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
@media (min-width: 900px) { .jg-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .jg-grid--3 { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .jg-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 999px) { .jg-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .jg-grid--4 { grid-template-columns: 1fr; } }
.jg-back { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--jgs-accent); font: 600 14px/1 var(--jgs-font); text-decoration: none; }
.jg-back:hover { text-decoration: underline; }
.jg-crumb { padding-top: 6px; padding-bottom: 0; }
.jg-badge { display: inline-flex; align-items: center; padding: 2px 10px; font: 650 11px/1.6 var(--jgs-font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--jgs-accent); background: var(--jgs-surface); border: 1px solid var(--jgs-line); border-radius: 999px; }
.jg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  font: 650 15px/1.2 var(--jgs-font); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  color: var(--jgs-ink); background: var(--jgs-surface); border: 1px solid var(--jgs-line); border-radius: var(--jgs-radius-sm);
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.jg-btn:hover { border-color: var(--jgs-accent); text-decoration: none; }
.jg-btn:active { transform: translateY(1px); }
.jg-btn--primary, .jg-btn.jg-btn--primary { color: var(--jgs-on-primary); background: var(--jgs-primary); border-color: var(--jgs-primary); }
.jg-btn--primary:hover { background: #1F5A41; border-color: #1F5A41; }
.jg-btn--secondary { background: transparent; color: var(--jgs-accent); border-color: var(--jgs-accent); }
.jg-btn--secondary:hover { background: var(--jgs-surface); }
.jg-btn--block { display: flex; width: 100%; }
.jg-btn[disabled], .jg-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.jg-input { width: 100%; min-height: 44px; padding: 0 12px; font: 400 16px/1.4 var(--jgs-font); color: var(--jgs-ink); background: var(--jgs-surface); border: 1px solid var(--jgs-line); border-radius: var(--jgs-radius-sm); }
.jg-input::placeholder { color: var(--jgs-muted); }
.jg-hdr a:focus-visible, .jg-ftr a:focus-visible, .jg-btn:focus-visible, .jg-icon-btn:focus-visible, .jg-input:focus-visible, .jg-card-open > summary:focus-visible, .jg-carousel__btn:focus-visible, .jg-card--link:focus-visible { outline: 3px solid var(--jgs-focus); outline-offset: 2px; }
.jg-card { background: var(--jgs-surface); color: var(--jgs-ink); border: 1px solid var(--jgs-line); border-radius: var(--jgs-radius); padding: 20px; box-shadow: var(--jgs-shadow); min-width: 0; }
.jg-card h3 { margin: 0 0 8px; font: 700 18px/1.25 var(--jgs-font); }
.jg-card p { margin: 0 0 10px; color: var(--jgs-muted); font-size: 15px; line-height: 1.55; }
.jg-card--link { display: block; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
.jg-card--link:hover { transform: translateY(-2px); border-color: var(--jgs-accent); }
.jg-card-open { padding: 0; }
.jg-card-open > summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center;
  min-height: 64px; padding: 16px 20px;
}
.jg-card-open > summary::-webkit-details-marker { display: none; }
.jg-card-open > summary::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--jgs-accent); border-bottom: 2px solid var(--jgs-accent); transform: rotate(45deg); transition: transform 180ms ease;
}
.jg-card-open[open] > summary::after { transform: rotate(-135deg); }
.jg-card-open__title { font: 700 18px/1.25 var(--jgs-font); color: var(--jgs-ink); }
.jg-card-open__sub { grid-column: 1; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--jgs-muted); }
.jg-card-open__body { padding: 0 20px 20px; border-top: 1px solid var(--jgs-line); padding-top: 14px; animation: jg-fade 200ms ease; }
.jg-card-open__body p { margin: 0 0 14px; }
@keyframes jg-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.jg-carousel { position: relative; }
.jg-carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--jgs-radius-sm); }
.jg-carousel__track::-webkit-scrollbar { display: none; }
.jg-carousel__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; background: var(--jgs-surface2); border: 1px solid var(--jgs-line); border-radius: var(--jgs-radius-sm); overflow: hidden; }
.jg-carousel__slide img { display: block; width: 100%; height: auto; }
.jg-carousel__slide figcaption { padding: 8px 12px; font-size: 13px; color: var(--jgs-muted); }
.jg-carousel__btn {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: inline-flex; align-items: center; justify-content: center;
  font: 400 28px/1 var(--jgs-font); color: var(--jgs-ink); background: var(--jgs-hdr-bg); border: 1px solid var(--jgs-line); border-radius: 50%; cursor: pointer;
}
.jg-carousel__btn:hover { border-color: var(--jgs-accent); }
.jg-carousel__btn--prev { left: 8px; } .jg-carousel__btn--next { right: 8px; }
.jg-carousel__btn[disabled] { opacity: 0.35; cursor: default; }
.jg-note-red { margin: 40px 0 32px; padding: 18px 20px; background: var(--jgs-surface); border: 1px solid var(--jgs-line); border-left: 5px solid var(--jgs-red); border-radius: var(--jgs-radius-sm); color: var(--jgs-red); }
.jg-note-red h2, .jg-note-red h3 { margin: 0 0 8px; font: 750 20px/1.25 var(--jgs-font); color: var(--jgs-red); }
.jg-note-red p { margin: 0 0 8px; color: var(--jgs-red); font-size: 15px; line-height: 1.55; }
.jg-note-red a { color: var(--jgs-red); }
.jg-hdr { margin: 0; padding: 0; color: var(--jgs-ink); position: sticky; top: 0; z-index: 60; font-family: var(--jgs-font); background: var(--jgs-hdr-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--jgs-line); }
.jg-hdr__in { width: min(100%, 1800px); margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); box-sizing: border-box; min-height: var(--jgs-hdr-h); display: flex; align-items: center; gap: 10px; position: relative; }
@media (min-width: 600px) { .jg-hdr__in { width: min(94vw, 1800px); } }
.jg-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; color: var(--jgs-ink); text-decoration: none; font: 700 21.5px/1 var(--jgs-font); letter-spacing: -0.02em; }
.jg-brand__mark { width: 44px; height: 44px; flex: none; }
.jg-brand b { color: var(--jgs-accent); font-weight: 800; }
.jg-nav-main { display: flex; align-items: center; gap: 6px; }
.jg-nav-main a:not(.jg-btn) { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--jgs-ink); text-decoration: none; font: 600 16px/1 var(--jgs-font); border-radius: var(--jgs-radius-sm); }
.jg-nav-main a:not(.jg-btn):hover { background: var(--jgs-surface); color: var(--jgs-accent); }
.jg-nav-main a[aria-current="page"]:not(.jg-btn) { color: var(--jgs-accent); box-shadow: inset 0 -3px 0 var(--jgs-accent); border-radius: 0; }
.jg-nav-cta { margin-left: 6px; min-height: 48px; }
.jg-icon-btn { width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--jgs-ink); background: var(--jgs-surface); border: 1px solid var(--jgs-line); border-radius: var(--jgs-radius-sm); cursor: pointer; }
.jg-icon-btn:hover { border-color: var(--jgs-accent); }
.jg-icon-btn .jg-moon { display: none; }
:root[data-theme="light"] .jg-icon-btn .jg-sun { display: none; } :root[data-theme="light"] .jg-icon-btn .jg-moon { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .jg-icon-btn .jg-sun { display: none; } :root:not([data-theme="dark"]) .jg-icon-btn .jg-moon { display: block; } }
.jg-menu-btn { display: none; }
@media (max-width: 859px) {
  .jg-menu-btn { display: inline-flex; }
  .jg-brand { font-size: 17.5px; gap: 9px; } .jg-brand__mark { width: 40px; height: 40px; }
  .jg-nav-main {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
    background: var(--jgs-bg); border-bottom: 1px solid var(--jgs-line); box-shadow: var(--jgs-shadow);
    opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  }
  .jg-hdr.is-open .jg-nav-main { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .jg-nav-main a:not(.jg-btn) { min-height: 52px; font-size: 17px; }
  .jg-nav-cta { margin: 6px 0 0; }
}
@media (max-width: 420px) { .jg-brand { font-size: 14.5px; gap: 7px; } .jg-hdr__in { gap: 6px; padding: 0 12px; } .jg-icon-btn { width: 44px; height: 44px; } }
.jg-ftr { font-family: var(--jgs-font); background: var(--jgs-bg2); color: var(--jgs-muted); border-top: 1px solid var(--jgs-line); padding: 28px 0 32px; }
.jg-ftr__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; box-sizing: border-box; font-size: 14.5px; line-height: 1.55; }
.jg-ftr p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.jg-ftr__brand b { color: var(--jgs-ink); }
.jg-ftr a { color: var(--jgs-accent); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 32px; }
@media (min-width: 760px) { .jg-ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; } .jg-ftr p { overflow-wrap: normal; } .jg-ftr__brand { flex: 0 1 auto; max-width: 520px; } .jg-ftr__links, .jg-ftr__copy { flex: 0 1 auto; } }
@media (prefers-reduced-motion: reduce) {
  .jg-btn, .jg-card--link, .jg-nav-main, .jg-card-open > summary::after { transition: none; }
  .jg-card-open__body { animation: none; } .jg-carousel__track { scroll-behavior: auto; }
}
.jg-brand { min-height: 44px; }
.jg-ftr a { min-height: 44px; }
.go, .crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.jg-ftr .jg-ftr__ai { color: var(--jgs-red); font-weight: 600; padding-left: 12px; border-left: 4px solid var(--jgs-red); }
.crumb a { min-width: 44px; }
@media (max-width: 760px) { main button:not(.dg-dot), main .btn, main summary, main select { min-height: 44px; } }
:root { --jg-bw: 1px; --jg-line: var(--jgs-line); --jg-field-line: #5C7367; --jg-r-card: 22px; --jg-r-inner: 14px; --jg-r-control: 12px; --jg-r-btn: 999px; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --jg-field-line: #6B8579; } }
:root[data-theme="light"] { --jg-field-line: #6B8579; }
html body :is(.card, details.card, .jg-card, .jg-card-open, .offer, .shop-card, .div-card, .lead, li.sc, .cm-prev, .cm-box, #contact-form, #jg-office, .band, .join, #authBox, .cart-sum, .spf-panel) {
  border-radius: var(--jg-r-card); border-width: var(--jg-bw); border-style: solid; border-color: var(--jg-line); }
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]), select, textarea) {
  border: var(--jg-bw) solid var(--jg-field-line); border-radius: var(--jg-r-control); }
html body :is(.btn, .jg-btn, .btn-primary, .btn-ghost, #add-print) { border-width: var(--jg-bw); border-radius: var(--jg-r-btn); }
html body :is(.btn-ghost, .btn:not(.primary):not(.btn-primary):not(.danger), .jg-btn:not(.jg-btn--primary)) { border-color: var(--jg-line); }
html body :is(.jg-icon-btn, .jg-btn--icon) { border-radius: var(--jg-r-control); }
html body :is(.dg-stage, .simg, .dg-slide, .cm-stage) { border-radius: var(--jg-r-inner); }
:root { --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; }
html:root { --section: var(--sp-4); --gutter: clamp(16px, 3vw, 56px); --jg-section-y: var(--sp-4); }
@media (min-width: 760px) { html:root { --section: var(--sp-5); --jg-section-y: var(--sp-5); } }
.jg-section { padding: var(--jg-section-y) 0; }
.jg-section-title { margin-bottom: var(--sp-3); }
.jg-grid { gap: var(--sp-4); }
.jg-card { padding: var(--sp-4) var(--sp-4); }
@media (min-width: 760px) { .jg-card { padding: 20px; } }
.jg-crumb { padding-top: var(--sp-1); padding-bottom: var(--sp-1); margin-top: 0; margin-bottom: 0; }   
.jg-back { gap: var(--sp-2); }
.hero, .hero-short { padding-top: var(--sp-3); padding-bottom: var(--section); }
.hero-short { padding-bottom: var(--sp-2); }
.hero-actions { margin-top: var(--sp-4); }
.hero-stats { margin-top: var(--sp-5); gap: var(--sp-3); }
.hero .lede { margin-top: var(--sp-3); }
.hero h1 { margin-top: var(--sp-3); }
.sec-head { margin-bottom: var(--sp-3); }
.sec-head h2 { margin-top: var(--sp-2); }
.sec-head p { margin-top: var(--sp-2); }
.grid { gap: var(--sp-4); }
.card { padding: var(--sp-4); }
@media (min-width: 760px) { .card { padding: 20px; } }
.about-card { padding: var(--sp-4); }
@media (min-width: 760px) { .about-card { padding: 20px; } }
.band { padding: var(--sp-5) var(--sp-4); }
.band p { margin-top: var(--sp-2); }
.band .hero-actions { margin-top: var(--sp-3); }
.steps-sec h2, .offers-sec h2, .divisions h2 { margin-bottom: var(--sp-3); }
.policy h2 { margin: var(--sp-5) 0 var(--sp-2); }
.jg-note-red { margin: var(--sp-5) 0 var(--sp-4); padding: var(--sp-3) var(--sp-4); }
.jg-ftr { padding: var(--sp-5) 0; }
.jg-ftr__in { gap: var(--sp-2); }
@media (max-width: 599px) { .narrow, .wrap.narrow { max-width: none; } }   
.jg-crumb + .hero, .jg-crumb + .hero-short, .jg-crumb + main > .hero { padding-top: var(--sp-1); }
.jg-ftr { padding: var(--sp-4) 0 var(--sp-5); }
html body .psalms { padding-top: var(--sp-4); padding-bottom: var(--sp-4); gap: var(--sp-4); }
@media (min-width: 860px) { html body .psalms { gap: var(--sp-6); } }
html body .dg-contact { padding: var(--sp-5) 0; }
html body .dg-hero { padding-top: var(--sp-3); padding-bottom: var(--sp-4); }
html body .dg-form { gap: var(--sp-3); }
@media (min-width: 860px) { html body .dg-contact__in { gap: var(--sp-6); } }
html body .sg-grid { gap: var(--sp-4); align-items: start; }
html body .sc-body { gap: var(--sp-3); padding: var(--sp-4); }
html body main.cm { padding-top: var(--sp-2); padding-bottom: var(--sp-5); }
html body .cm .lead { margin-bottom: var(--sp-3); }
html body .cm-grid { gap: var(--sp-4); }
html body .cm-form { gap: var(--sp-3); }
html body .authbox { margin-top: var(--sp-4); }
@media (max-width: 420px) { html body .jg-hdr__in { padding-left: var(--sp-4); padding-right: var(--sp-4); } }
html body main.wrap, html body main.jg-wrap { box-sizing: border-box; max-width: none; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
@media (min-width: 600px) { html body main.wrap, html body main.jg-wrap { width: min(94vw, 1800px); } }
@media (max-width: 599px) { html body main.wrap, html body main.jg-wrap { width: 100%; } }
