:root {
  --ink: #101a2b;
  --indigo: #17345c;
  --denim: #2d5f91;
  --denim-light: #9fc1dd;
  --paper: #fffdf8;
  --ecru: #f4efe6;
  --copper: #b96b3f;
  --charcoal: #20242a;
  --muted: #5b6672;
  --line: #d8d1c6;
  --positive: #2f6b4f;
  --danger: #8c2f2f;
  --shell: 73.75rem;
  --reading: 45rem;
  --shadow: 0 18px 55px rgb(16 26 43 / .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--charcoal); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; margin: 0; overflow-wrap: anywhere; }
body::before { background-image: linear-gradient(90deg, rgb(255 255 255 / .025) 50%, transparent 50%), linear-gradient(rgb(255 255 255 / .02) 50%, transparent 50%); background-size: 5px 5px; content: ""; inset: 0; opacity: .35; pointer-events: none; position: fixed; z-index: 100; }
img, svg { height: auto; max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: .1em; text-underline-offset: .16em; }
a:hover { color: var(--copper); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { color: var(--ink); font-family: Georgia, Cambria, "Times New Roman", serif; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 7vw, 5.2rem); letter-spacing: -.045em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.jg-shell { margin-inline: auto; max-width: var(--shell); padding-inline: clamp(1rem, 4vw, 2rem); width: 100%; }
.jg-skip { background: var(--paper); border: 3px solid var(--copper); color: var(--ink); font-weight: 800; left: 1rem; padding: .65rem 1rem; position: fixed; top: -5rem; z-index: 1000; }
.jg-skip:focus { top: 1rem; }
.jg-eyebrow { color: var(--copper); font-size: .76rem; font-weight: 850; letter-spacing: .13em; margin: 0 0 .65rem; text-transform: uppercase; }
.jg-lead { color: #394657; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; max-width: 52rem; }
.jg-button, .jg-form button, .jg-share button, .jg-share a { align-items: center; background: var(--indigo); border: 2px solid var(--indigo); border-radius: .5rem; color: #fff; display: inline-flex; font-weight: 800; justify-content: center; min-height: 2.9rem; padding: .65rem 1rem; text-decoration: none; }
.jg-button:hover, .jg-share button:hover, .jg-share a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.jg-text-link, .jg-read-link { font-weight: 800; }

.jg-site-header { background: rgb(255 253 248 / .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .jg-site-header { top: 32px; }
.jg-header-inner { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin: auto; max-width: var(--shell); min-height: 4.5rem; padding: .55rem clamp(1rem, 4vw, 2rem); }
.jg-logo { align-items: center; color: var(--ink); display: inline-flex; font-family: Georgia, Cambria, serif; font-size: 1.42rem; font-weight: 800; gap: .55rem; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.jg-logo small { color: var(--copper); font: inherit; }
.jg-logo svg { fill: var(--denim); height: 2.35rem; stroke: var(--copper); stroke-linecap: round; stroke-width: 2.6; width: 2.35rem; }
.jg-primary-nav { align-items: center; display: flex; gap: .7rem; }
.jg-nav-list { align-items: center; display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.jg-nav-list a, .jg-search-toggle { background: transparent; border: 0; border-radius: .4rem; color: var(--ink); display: block; font-size: .89rem; font-weight: 750; min-height: 2.75rem; padding: .7rem .58rem; text-decoration: none; }
.jg-nav-list a:hover, .jg-search-toggle:hover { background: var(--ecru); color: var(--indigo); }
.jg-menu-toggle { background: transparent; border: 0; display: none; height: 2.9rem; padding: .65rem; width: 2.9rem; }
.jg-menu-toggle > span:not(.screen-reader-text) { background: var(--ink); display: block; height: 2px; margin: 5px 0; width: 100%; }
.jg-search-panel { background: var(--ecru); border-top: 1px solid var(--line); padding: .75rem max(1rem, calc((100vw - var(--shell)) / 2 + 2rem)); }
.jg-search-panel form, .jg-404 form, .jg-empty form { display: flex; gap: .5rem; max-width: 42rem; }
.jg-search-panel label, .jg-404 label, .jg-empty label { flex: 1; }
.search-field { border: 2px solid #7c8895; border-radius: .45rem; min-height: 2.8rem; padding: .6rem .8rem; width: 100%; }
.search-submit { background: var(--indigo); border: 2px solid var(--indigo); border-radius: .45rem; color: #fff; font-weight: 800; padding: .55rem 1rem; }

.jg-hero { background: var(--ink); color: #eef4f9; display: grid; grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr); min-height: min(48rem, calc(100svh - 4.5rem)); overflow: clip; }
.jg-hero-copy { align-self: center; max-width: 42rem; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 6vw, 6rem) clamp(3rem, 7vw, 7rem) max(1rem, calc((100vw - var(--shell)) / 2 + 2rem)); }
.jg-hero-copy h1 { color: var(--paper); }
.jg-hero-copy > p:not(.jg-eyebrow) { color: #cedbea; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 35rem; }
.jg-hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.jg-hero .jg-button { background: var(--copper); border-color: var(--copper); }
.jg-hero .jg-text-link { color: var(--paper); }
.jg-trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.jg-trust-row li::before { color: var(--copper); content: "◆"; font-size: .65em; margin-right: .5rem; }
.jg-hero-visual { background: #284c75; margin: 0; min-height: 32rem; overflow: hidden; position: relative; }
.jg-hero-visual::after { background: linear-gradient(90deg, var(--ink), transparent 22%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.jg-hero-visual img { display: block; height: 100%; object-fit: cover; object-position: center 24%; width: 100%; }
.jg-hero-visual figcaption { background: rgb(16 26 43 / .84); bottom: .8rem; color: #eef4f9; font-size: .74rem; left: 1rem; max-width: 24rem; padding: .35rem .55rem; position: absolute; z-index: 2; }

.jg-task-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.jg-task-section h2 { margin-top: 0; }
.jg-task-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.jg-task-grid a { background: var(--ecru); border: 1px solid var(--line); border-radius: .85rem; color: var(--charcoal); min-height: 13rem; padding: 1.2rem; position: relative; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.jg-task-grid a:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.jg-task-grid span { color: var(--copper); font-family: Georgia, serif; font-size: 1rem; font-weight: 800; }
.jg-task-grid h3 { margin: 2.5rem 0 .45rem; }
.jg-task-grid p { color: var(--muted); margin: 0; }
.jg-tool-feature { background: var(--indigo); color: #e9f0f7; }
.jg-tool-feature-grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 1fr 1fr; padding-block: clamp(3.5rem, 7vw, 6rem); }
.jg-tool-feature h2 { color: var(--paper); }
.jg-tool-feature img { border: 1px solid rgb(255 255 255 / .18); border-radius: .9rem; box-shadow: var(--shadow); height: 30rem; object-fit: cover; width: 100%; }
.jg-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.jg-section-heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 2rem; }
.jg-section-heading h2 { margin: 0; }
.jg-card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jg-card { background: #fff; border: 1px solid var(--line); border-radius: .85rem; box-shadow: 0 8px 25px rgb(16 26 43 / .06); overflow: hidden; }
.jg-card > div { padding: 1.15rem; }
.jg-card-media { background: var(--ecru); display: block; height: 13.5rem; overflow: hidden; }
.jg-card-media img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.jg-card:hover .jg-card-media img { transform: scale(1.025); }
.jg-card-kicker { color: var(--copper); font-size: .73rem; font-weight: 850; letter-spacing: .1em; margin: 0; text-transform: uppercase; }
.jg-card h2, .jg-card h3 { margin: .4rem 0 .55rem; }
.jg-card h2 a, .jg-card h3 a { color: var(--ink); text-decoration: none; }
.jg-card p { color: var(--muted); }
.jg-material-grid { align-items: center; background: var(--ecru); border-radius: 1rem; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.jg-material-grid img { height: 32rem; object-fit: cover; width: 100%; }
.jg-material-grid > div { padding: 2rem 2rem 2rem 0; }
.jg-newsletter-safe { border-block: 1px solid var(--line); margin-bottom: 5rem; padding-block: 2.5rem; text-align: center; }
.jg-newsletter-safe p { margin-inline: auto; max-width: 44rem; }

.jg-page-main, .jg-archive, .jg-search-results, .jg-404 { min-height: 60vh; }
.jg-page-shell, .jg-archive, .jg-search-results, .jg-404 { padding-block: 1.25rem 5rem; }
.jg-page-header { background: linear-gradient(135deg, var(--ecru), #fff); border-bottom: 1px solid var(--line); margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem)) 2rem; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem); }
.jg-page-header h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 60rem; }
.jg-breadcrumbs { font-size: .84rem; margin-bottom: 1.7rem; }
.jg-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .65rem; list-style: none; margin: 0; padding: 0; }
.jg-breadcrumbs li:not(:last-child)::after { color: #8c939b; content: "/"; margin-left: .65rem; }
.jg-breadcrumbs li[aria-current="page"] { color: var(--muted); max-width: 28rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jg-prose { max-width: var(--reading); }
.jg-prose > *:first-child { margin-top: 0; }
.jg-prose h2 { margin-top: 2.8rem; scroll-margin-top: 6rem; }
.jg-prose h3 { margin-top: 2rem; }
.jg-prose p, .jg-prose li { max-width: 72ch; }
.jg-prose li + li { margin-top: .45rem; }
.jg-prose table { border-collapse: collapse; width: 100%; }
.jg-prose th, .jg-prose td { border: 1px solid var(--line); padding: .7rem; text-align: left; vertical-align: top; }
.jg-prose blockquote { border-left: .3rem solid var(--copper); color: #3f4b58; margin-left: 0; padding-left: 1rem; }
.jg-toc, .jg-quick, .jg-answer, .jg-source-note { border-radius: .7rem; margin: 1.5rem 0; padding: 1rem 1.15rem; }
.jg-toc { background: var(--ecru); border: 1px solid var(--line); }
.jg-toc ol { columns: 2; margin-bottom: 0; }
.jg-quick, .jg-answer { background: #eaf1f7; border-left: .35rem solid var(--denim); }
.jg-source-note { background: #f7f3ec; border: 1px solid var(--line); color: #4a5561; font-size: .92rem; }
.jg-checklist { background: var(--ecru); border-radius: .75rem; margin-top: 2.5rem; padding: 1rem 1.2rem 1.2rem; }
.jg-checklist h2 { margin-top: .4rem; }
.jg-guide-header { padding-block: 1.25rem 2.5rem; }
.jg-guide-head-grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1.15fr .85fr; }
.jg-guide-head-grid h1 { font-size: clamp(2.35rem, 6vw, 4.6rem); }
.jg-guide-head-grid figure { background: var(--ecru); border-radius: .9rem; margin: 0; overflow: hidden; }
.jg-guide-head-grid img { display: block; height: 28rem; object-fit: contain; width: 100%; }
.jg-guide-head-grid figcaption { color: var(--muted); font-size: .78rem; padding: .45rem .7rem; }
.jg-byline { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .83rem; gap: .35rem 1rem; margin-top: 1.2rem; }
.jg-guide-layout { border-top: 1px solid var(--line); display: grid; gap: 3rem; grid-template-columns: minmax(0, var(--reading)) 16rem; justify-content: center; padding-block: 2.5rem 5rem; }
.jg-guide-side { align-self: start; display: grid; gap: 1rem; position: sticky; top: 6rem; }
.jg-side-card { background: var(--ink); border-radius: .7rem; color: var(--paper); display: grid; gap: .75rem; padding: 1rem; }
.jg-side-card a { color: var(--denim-light); }
.jg-ad-slot { border: 1px dashed #9aa2ab; color: var(--muted); font-size: .78rem; min-height: 12rem; padding: .8rem; text-align: center; }
.jg-ad-slot span { letter-spacing: .13em; text-transform: uppercase; }
.jg-share { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; padding-top: 1.2rem; }
.jg-share .jg-button--ghost { background: transparent; color: var(--indigo); }
.jg-share-status { color: var(--positive); font-size: .85rem; }
.jg-contact-form { background: var(--ecru); border: 1px solid var(--line); border-radius: .8rem; display: grid; gap: 1rem; padding: 1.2rem; }
.jg-contact-form label { display: grid; font-weight: 750; gap: .4rem; }
.jg-contact-form input, .jg-contact-form select, .jg-contact-form textarea { background: #fff; border: 2px solid #8793a0; border-radius: .45rem; min-height: 2.8rem; padding: .6rem .75rem; }
.jg-contact-form button { background: var(--indigo); border: 0; border-radius: .45rem; color: #fff; font-weight: 800; min-height: 2.9rem; }
.jg-hp { left: -9999px; position: absolute; }
.jg-notice { border-radius: .5rem; padding: .8rem 1rem; }
.jg-notice--success { background: #e6f4ec; border-left: .3rem solid var(--positive); }
.jg-notice--error { background: #fbe9e9; border-left: .3rem solid var(--danger); }
.jg-result-list { display: grid; gap: 1rem; }
.jg-result-list article { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.jg-result-list article > p:first-child { color: var(--copper); font-size: .74rem; font-weight: 850; text-transform: uppercase; }
.jg-empty, .jg-404 { padding-block: 4rem 6rem; }
.jg-404-links { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.jg-site-footer { background: var(--ink); color: #cfdae6; padding: 3.5rem max(1rem, calc((100vw - var(--shell)) / 2 + 2rem)) 1rem; }
.jg-site-footer a { color: #e8eff7; }
.jg-logo--footer { color: var(--paper) !important; }
.jg-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(3, 1fr); }
.jg-footer-grid h2 { color: var(--paper); font-family: inherit; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.jg-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.jg-footer-grid li + li { margin-top: .45rem; }
.jg-footer-bottom { border-top: 1px solid rgb(255 255 255 / .16); display: flex; font-size: .78rem; gap: 1rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1rem; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 68rem) {
  .jg-menu-toggle { display: block; }
  .jg-primary-nav { align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; left: 0; max-height: calc(100svh - 4.5rem); overflow-y: auto; padding: 1rem; position: absolute; right: 0; top: 100%; }
  .jg-primary-nav.is-open { display: block; }
  .jg-nav-list { align-items: stretch; display: grid; }
  .jg-nav-list a, .jg-search-toggle { font-size: 1rem; text-align: left; width: 100%; }
  .jg-task-grid { grid-template-columns: repeat(2, 1fr); }
  .jg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .admin-bar .jg-site-header { top: 46px; }
  .jg-hero { display: flex; flex-direction: column; min-height: 0; }
  .jg-hero-copy { order: 1; padding-block: 2.7rem 2rem; }
  .jg-hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4.3rem); }
  .jg-hero-visual { height: min(71vh, 36rem); min-height: 25rem; order: 2; }
  .jg-hero-visual::after { background: linear-gradient(180deg, var(--ink), transparent 18%); }
  .jg-hero-visual img { object-position: center 18%; }
  .jg-task-grid, .jg-card-grid { grid-template-columns: 1fr; }
  .jg-task-grid a { min-height: 10.5rem; }
  .jg-task-grid h3 { margin-top: 1.5rem; }
  .jg-tool-feature-grid, .jg-material-grid, .jg-guide-head-grid, .jg-guide-layout { grid-template-columns: 1fr; }
  .jg-tool-feature-grid img { height: 22rem; order: -1; }
  .jg-material-grid img { height: 22rem; }
  .jg-material-grid > div { padding: 0 1.2rem 1.7rem; }
  .jg-card-media { height: 14rem; }
  .jg-guide-head-grid img { height: 23rem; }
  .jg-guide-side { position: static; }
  .jg-ad-slot { min-height: 7rem; }
  .jg-toc ol { columns: 1; }
  .jg-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .jg-footer-grid > div:first-child { grid-column: 1 / -1; }
  .jg-footer-bottom { display: block; }
}

@media (max-width: 25rem) {
  .jg-logo { font-size: 1.25rem; }
  .jg-logo svg { height: 2rem; width: 2rem; }
  .jg-hero-actions > * { width: 100%; }
  .jg-footer-grid { grid-template-columns: 1fr; }
  .jg-footer-grid > div:first-child { grid-column: auto; }
}
