*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jg-font);
  font-size: var(--jg-fs-body);
  line-height: 1.55;
  color: var(--jg-muted);
  background: var(--jg-cream);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--jg-violet); line-height: 1.12; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--jg-red); outline-offset: 3px; border-radius: 8px; }

.jg-skip {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  background: var(--jg-violet); color: #fff; padding: 12px 20px; border-radius: var(--jg-pill);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.jg-skip:focus { top: 16px; }
.jg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.jg-shell { width: 100%; max-width: calc(var(--jg-shell) + var(--jg-gutter) * 2); margin-inline: auto; padding-inline: var(--jg-gutter); }
.jg-band { padding-block: var(--jg-section-y); position: relative; }
.jg-band--sky { background: var(--jg-grad-sky); }
.jg-band--cream { background: var(--jg-cream); }
.jg-band--tight { padding-block: clamp(40px, 5vw, 72px); }

.jg-eyebrow {
  display: block; font-size: var(--jg-fs-eyebrow); font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--jg-violet); line-height: 1.35;
}
.jg-title { font-size: var(--jg-fs-h2); font-weight: 800; letter-spacing: -0.04em; line-height: 1.13; }
.jg-title--bold { font-weight: 700; }
.jg-lead { font-size: var(--jg-fs-lead); line-height: 1.5; color: var(--jg-muted); max-width: 62ch; }
.jg-intro { display: grid; gap: 16px; }
.jg-intro--center { text-align: center; justify-items: center; margin-inline: auto; max-width: 1250px; }
.jg-intro--center .jg-lead { max-width: 750px; }

.jg-btn {
  --btn-bg: var(--jg-red);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .55em 1.25em; border-radius: var(--jg-pill);
  font-size: var(--jg-fs-btn); font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: #fff; border: 1px solid rgba(255,255,255,.4);
  box-shadow: var(--jg-shadow-cta); transition: transform .25s var(--jg-ease), background-color .2s, box-shadow .25s;
}
.jg-btn:hover { background: var(--jg-red-hover); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(220,112,140,.3); }
.jg-btn:active { transform: translateY(0); }
.jg-btn--violet { --btn-bg: var(--jg-violet-strong); box-shadow: 0 10px 24px rgba(99,66,171,.25); }
.jg-btn--violet:hover { background: var(--jg-violet-deep); }
.jg-btn--ghost { background: transparent; color: var(--jg-violet-strong); border: 2px solid var(--jg-violet-strong); box-shadow: none; }
.jg-btn--ghost:hover { background: rgba(99,66,171,.08); box-shadow: none; }
.jg-btn--block { width: 100%; }
.jg-btn--sm { font-size: 1rem; min-height: 44px; padding: .5em 1.1em; }
.jg-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.jg-arrow { display: inline-block; font-size: 1.1em; transition: transform .25s var(--jg-ease); }
.jg-btn:hover .jg-arrow { transform: translateX(4px); }
.jg-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.jg-actions--center { justify-content: center; }

.jg-card {
  background: var(--jg-paper); border: 1.5px solid rgba(255,255,255,.8);
  border-radius: var(--jg-radius-xl); box-shadow: var(--jg-shadow-card);
}
.jg-tone--mint { background: var(--jg-grad-mint); }
.jg-tone--lilac { background: var(--jg-grad-lilac); }
.jg-tone--apricot { background: var(--jg-grad-apricot); }
.jg-tone--rose { background: var(--jg-grad-rose); }
.jg-tone--coral { background: var(--jg-grad-coral); }
.jg-tone--white { background: #fff; }

.jg-crumbs { font-size: .95rem; color: var(--jg-muted); }
.jg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.jg-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.jg-crumbs a { color: var(--jg-violet); text-decoration: none; }
.jg-crumbs a:hover { text-decoration: underline; }

.jg-notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--jg-radius-sm);
  background: rgba(255,255,255,.7); border: 1px solid var(--jg-border-soft); color: var(--jg-ink); font-size: .98rem;
}
.jg-notice strong { color: var(--jg-violet); }

.jg-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--jg-ease), transform .7s var(--jg-ease); }
.jg-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .jg-reveal { opacity: 1; transform: none; }
}
.jg-glyph { display: inline-grid; place-items: center; min-width: 1.4em; font-weight: 800; line-height: 1; }
.jg-stat .jg-glyph { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.55); font-size: 1.5rem; color: var(--jg-violet); }
.jg-base__note .jg-glyph { width: 83px; height: 83px; border-radius: 50%; border: 3px solid var(--jg-violet); color: var(--jg-violet); font-size: 1.6rem; flex: 0 0 auto; }
.jg-base__gamcare .jg-glyph { font-size: 2rem; color: var(--jg-violet); padding: 8px 18px; border-left: 1px solid var(--jg-violet); }
.jg-chip .jg-glyph, .jg-pill .jg-glyph { font-size: 1.1rem; }
.jg-quest__head .jg-glyph { color: var(--jg-violet); font-size: 1.4rem; }
