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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--em-font);
  font-size: var(--em-fs-body);
  line-height: 1.55;
  color: var(--em-muted);
  background: var(--em-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(--em-violet); line-height: 1.12; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--em-red); outline-offset: 3px; border-radius: 8px; }

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

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

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

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

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

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

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

.em-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--em-ease), transform .7s var(--em-ease); }
.em-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; }
  .em-reveal { opacity: 1; transform: none; }
}
.em-glyph { display: inline-grid; place-items: center; min-width: 1.4em; font-weight: 800; line-height: 1; }
.em-stat .em-glyph { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.55); font-size: 1.5rem; color: var(--em-violet); }
.em-base__note .em-glyph { width: 83px; height: 83px; border-radius: 50%; border: 3px solid var(--em-violet); color: var(--em-violet); font-size: 1.6rem; flex: 0 0 auto; }
.em-base__gamcare .em-glyph { font-size: 2rem; color: var(--em-violet); padding: 8px 18px; border-left: 1px solid var(--em-violet); }
.em-chip .em-glyph, .em-pill .em-glyph { font-size: 1.1rem; }
.em-quest__head .em-glyph { color: var(--em-violet); font-size: 1.4rem; }
