:root {
  --cr: #c31e3c;
  --cr-d: #85152d;
  --cr-dd: #5c0e1f;
  --cr-soft: #fdecef;
  --au: #f6c445;
  --au-d: #d9a521;
  --au-soft: #fff5d6;
  --bg: #f5f0f1;
  --panel: #ffffff;
  --line: #ead9dd;
  --tx: #23161a;
  --tx-2: #5b4a4f;
  --tx-3: #8e7b80;
  --grad: linear-gradient(135deg, var(--cr) 0%, var(--cr-d) 100%);
  --hd: "Poppins", "Segoe UI", Arial, sans-serif;
  --bd: "Nunito Sans", system-ui, sans-serif;
  --read: 780px;
  --wide: 1200px;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 17.5px/1.7 var(--bd); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cr); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cr-d); text-decoration-thickness: 2px; }
.em-sr, .em-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.em-skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; background: var(--au); color: #000; padding: 8px 12px; border-radius: 6px; }
.em-wordmark { font: 800 26px/1 var(--hd); color: #fff; }
html.em-hold { overflow: hidden; }

/* mast */
.em-mast { position: sticky; top: 0; z-index: 50; background: var(--grad); box-shadow: 0 2px 14px rgba(92, 14, 31, .35); }
.em-mast__in { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 10px 20px; }
.em-mast__logo { flex: none; text-decoration: none; }
.em-mast__logo img { height: 46px; width: auto; }
.em-mast__menu { display: none; }
.em-rail { flex: 1; min-width: 0; }
.em-rail__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.em-rail__list::-webkit-scrollbar { display: none; }
.em-rail__list a { display: block; padding: 9px 12px; border-radius: 999px; color: #fff; font: 600 14.5px/1 var(--hd); text-decoration: none; white-space: nowrap; }
.em-rail__list a:hover { background: rgba(255, 255, 255, .14); }
.em-rail__list .is-here a { background: #fff; color: var(--cr-d); }
.em-mast__acts { flex: none; display: flex; gap: 8px; }

/* keys (buttons) */
.em-key { display: inline-block; font: 700 15px/1 var(--hd); padding: 11px 20px; border-radius: 999px; text-decoration: none; text-align: center; border: 2px solid transparent; }
.em-key--gold { background: linear-gradient(180deg, #ffd96b, var(--au-d)); color: var(--cr-dd); box-shadow: 0 3px 0 #a87b12; }
.em-key--gold:hover { color: var(--cr-dd); filter: brightness(1.06); }
.em-key--line { border-color: #fff; color: #fff; }
.em-key--line:hover { background: #fff; color: var(--cr-d); }
.em-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.em-go .em-key { padding: 15px 30px; font-size: 17px; }

/* front page: stage + tiles */
.em-stage { position: relative; max-width: var(--wide); margin: 18px auto 0; padding: 0 20px; }
.em-stage__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); box-shadow: 0 10px 30px rgba(92, 14, 31, .22); }
.em-stage__strip::-webkit-scrollbar { display: none; }
.em-stage__card { flex: 0 0 100%; scroll-snap-align: start; }
.em-stage img { width: 100%; aspect-ratio: 1920 / 600; object-fit: cover; }
.em-stage__dots { position: absolute; bottom: 12px; right: 36px; margin: 0; display: flex; gap: 6px; }
.em-stage__dots button { width: 26px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; }
.em-stage__dots button.is-on { background: var(--au); width: 40px; }
.em-tiles { max-width: var(--wide); margin: 16px auto 0; padding: 0 20px; }
.em-tiles ul { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; background: var(--panel); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.em-tiles a { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; color: var(--tx); font: 600 13.5px/1.2 var(--hd); text-decoration: none; text-align: center; }
.em-tiles a:hover { background: var(--cr-soft); color: var(--cr-d); }
.em-tiles img, .em-tiles i { width: 56px; height: 56px; border-radius: 50%; }
.em-tiles i { display: grid; place-items: center; background: var(--grad); color: var(--au); font: 800 24px/1 var(--hd); font-style: normal; }

/* title cap */
.em-main { padding-bottom: 56px; }
.em-cap { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.em-cap::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 36px solid rgba(246, 196, 69, .16); pointer-events: none; }
.em-cap--home { background: none; color: var(--tx); }
.em-cap--home::after { content: none; }
.em-cap__in { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; padding: 28px 20px 30px; }
.em-crumbs { font-size: 14px; margin-bottom: 8px; color: rgba(255, 255, 255, .78); }
.em-crumbs a { color: #fff; text-decoration: none; }
.em-cap__h { margin: 0; max-width: 900px; font: 800 clamp(28px, 3.6vw, 44px)/1.12 var(--hd); letter-spacing: -.01em; text-wrap: balance; }
.em-cap--home .em-cap__h { color: var(--cr-d); }
.em-cover { margin: 22px 0 0; max-width: 980px; }
.em-cover figure { margin: 0; }
.em-cover img { width: 100%; border-radius: var(--r); box-shadow: 0 12px 34px rgba(0, 0, 0, .3); cursor: zoom-in; }

/* frame: article + index */
.em-frame { max-width: var(--wide); margin: 0 auto; padding: 26px 20px 0; display: grid; grid-template-columns: minmax(0, var(--read)); justify-content: center; gap: 34px; }
.em-frame--index { grid-template-columns: 250px minmax(0, var(--read)); }
.em-index { position: sticky; top: 92px; align-self: start; background: var(--panel); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: 16px 16px 12px; font-size: 14.5px; max-height: calc(100vh - 110px); overflow: auto; }
.em-index__h { list-style: none; font: 700 13px/1 var(--hd); letter-spacing: .1em; text-transform: uppercase; color: var(--cr); cursor: pointer; }
.em-index__h::-webkit-details-marker { display: none; }
.em-index__list { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: ix; }
.em-index__list li { counter-increment: ix; }
.em-index__list a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 6px; border-radius: 8px; color: var(--tx-2); text-decoration: none; line-height: 1.35; }
.em-index__list a::before { content: counter(ix, decimal-leading-zero); font: 700 12px/1.6 var(--hd); color: var(--tx-3); }
.em-index__list a:hover, .em-index__list a.is-on { background: var(--cr-soft); color: var(--cr-d); }
.em-index__list a.is-on::before { color: var(--cr); }

/* article */
.em-copy { min-width: 0; background: var(--panel); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: 34px 40px 24px; }
.em-copy > *:first-child { margin-top: 0; }
.em-copy p { margin: 0 0 1.1em; }
.em-copy h2 { font: 700 clamp(23px, 2.3vw, 29px)/1.25 var(--hd); color: var(--cr-d); margin: 2em 0 .7em; padding-bottom: 10px; background: linear-gradient(90deg, var(--au) 0 64px, var(--line) 64px) bottom / 100% 3px no-repeat; }
.em-copy h3 { font: 700 20px/1.3 var(--hd); margin: 1.6em 0 .5em; color: var(--tx); }
.em-copy h3::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 10px 2px 0; border-radius: 2px; background: var(--cr); transform: rotate(45deg); }
.em-copy h4 { font: 700 16px/1.3 var(--hd); margin: 1.4em 0 .4em; color: var(--tx-2); }
.em-copy ul, .em-copy ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.em-copy li { margin-bottom: .45em; }
.em-copy ul > li::marker { color: var(--cr); }

/* tables */
.em-grid { margin: 1.7em 0; font-size: 15.5px; line-height: 1.45; }
.em-grid__scroll { overflow-x: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.em-grid table { width: 100%; border-collapse: collapse; }
.em-grid th { text-align: left; font: 600 14px/1.3 var(--hd); color: #fff; background: var(--cr-d); padding: 12px 14px; }
.em-grid td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.em-grid tbody tr:nth-child(even) td { background: #fcf7f8; }
.em-grid figcaption, .em-plate__txt { font-size: 14px; color: var(--tx-3); margin-top: 8px; }
.em-ledger th { background: var(--au); color: var(--cr-dd); }
.em-ledger td:first-child { width: 40%; font-weight: 700; color: var(--tx-2); }

/* components */
.em-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.9em 0; font-size: 16px; }
.em-pair__half { padding: 18px 20px; border-radius: 10px; }
.em-pair__half p { margin: 0; }
.em-pair__say { background: var(--cr-soft); }
.em-pair__fact { background: var(--au-soft); }
.em-pair .em-pair__tag { font: 700 12px/1 var(--hd); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: var(--cr); }
.em-pair__fact .em-pair__tag { color: #8a6400; }
.em-tip { margin: 1.9em 0; padding: 16px 20px 16px 56px; border-radius: 10px; background: var(--au-soft); position: relative; font-size: 16px; }
.em-tip::before { content: "!"; position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--au); color: var(--cr-dd); font: 800 16px/26px var(--hd); text-align: center; }
.em-tip p { margin: 0 0 .5em; } .em-tip p:last-child { margin: 0; }
.em-tip .em-tip__tag { font: 700 12px/1 var(--hd); letter-spacing: .12em; text-transform: uppercase; color: #8a6400; }
.em-copy ol.em-route { list-style: none; padding: 0; margin: 1.8em 0; counter-reset: rt; display: grid; gap: 10px; }
.em-route > li { counter-increment: rt; display: block; position: relative; min-height: 68px; margin: 0; padding: 14px 16px 14px 70px; line-height: 1.55; border-radius: 10px; background: #fbf6f7; box-shadow: inset 4px 0 0 var(--cr); }
.em-route > li::before { content: counter(rt); position: absolute; left: 16px; top: 14px; width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: var(--au); font: 800 18px/40px var(--hd); text-align: center; }

/* images */
.em-plate { margin: 1.9em 0; }
.em-plate img { border-radius: 10px; cursor: zoom-in; }
.em-split { display: grid; grid-template-columns: 42% 1fr; gap: 24px; align-items: start; margin: 1.9em 0; }
.em-split--flip { grid-template-columns: 1fr 42%; }
.em-split--flip .em-split__img { order: 2; }
.em-split .em-plate { margin: 0; }

/* faq */
.em-ask { margin-top: 2.4em; }
.em-ask__item { border-radius: 10px; margin-bottom: 8px; background: #fbf6f7; }
.em-ask__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 15px 18px; font: 600 16.5px/1.35 var(--hd); }
.em-ask__item summary::-webkit-details-marker { display: none; }
.em-ask__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 18px/28px var(--hd); text-align: center; }
.em-ask__item[open] { background: var(--panel); box-shadow: 0 0 0 2px var(--cr); }
.em-ask__item[open] summary::after { content: "\2212"; }
.em-ask__body { padding: 0 18px 16px; color: var(--tx-2); }
.em-ask__body p { margin: 0 0 .6em; }

/* help cards */
.em-aid { max-width: var(--wide); margin: 26px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.em-aid__card { background: var(--grad); color: rgba(255, 255, 255, .86); border-radius: var(--r); padding: 20px; font-size: 15px; line-height: 1.5; }
.em-aid__card p { margin: 0; }
.em-aid .em-aid__h { color: var(--au); font: 700 17px/1.2 var(--hd); margin-bottom: 6px; }

/* footer */
.em-base { background: var(--cr-dd); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.em-pay { background: var(--cr-d); padding: 14px 20px; }
.em-pay .em-pay__h { max-width: var(--wide); margin: 0 auto 8px; font: 700 12px/1 var(--hd); letter-spacing: .12em; text-transform: uppercase; color: var(--au); }
.em-pay ul { list-style: none; max-width: var(--wide); margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.em-pay li { padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 13px/1 var(--hd); }
.em-base__in { max-width: var(--wide); margin: 0 auto; padding: 32px 20px 18px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.em-base__about img { height: 40px; width: auto; margin-bottom: 12px; }
.em-base__about p { margin: 0; }
.em-base .em-base__h { margin: 0 0 10px; color: var(--au); font: 700 14px/1 var(--hd); letter-spacing: .08em; text-transform: uppercase; }
.em-base__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.em-base__list a { color: #fff; text-decoration: none; opacity: .85; }
.em-base__list a:hover { opacity: 1; color: var(--au); }
.em-base__end { max-width: var(--wide); margin: 0 auto; padding: 14px 20px 26px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.em-base__end p { margin: 0; display: flex; align-items: center; gap: 10px; }
.em-adult { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--au); color: var(--cr-dd); font: 800 12px/32px var(--hd); text-align: center; }
.em-tab { position: fixed; z-index: 45; right: 0; top: 42%; writing-mode: vertical-rl; transform: rotate(180deg); background: linear-gradient(180deg, #ffd96b, var(--au-d)); color: var(--cr-dd); font: 700 14px/1 var(--hd); padding: 16px 10px; border-radius: 0 10px 10px 0; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.em-tab:hover { color: var(--cr-dd); filter: brightness(1.06); }
.em-joinbar { display: none; }
.em-lost { text-align: center; }
.em-lost .em-cap__h { margin: 0 auto 18px; }
.em-lost__n { font: 800 92px/1 var(--hd); color: var(--au); margin: 0 0 8px; }

/* tools */
.em-calc { margin: 1.9em 0; padding: 22px; border-radius: var(--r); background: linear-gradient(160deg, #fff 0%, var(--cr-soft) 100%); box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(133, 21, 45, .08); }
.em-calc .em-calc__h { margin: 0 0 14px; font: 700 19px/1.25 var(--hd); color: var(--cr-d); }
.em-calc__field { display: inline-grid; gap: 5px; margin: 0 14px 12px 0; font: 600 13px/1.2 var(--bd); color: var(--tx-2); }
.em-calc__field input, .em-calc__field select { width: 170px; font: 700 18px/1 var(--hd); padding: 10px 12px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--tx); }
.em-calc__field input:focus, .em-calc__field select:focus { outline: none; border-color: var(--cr); }
.em-calc__set { display: flex; flex-wrap: wrap; }
.em-calc__seg { display: inline-flex; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.em-calc__seg button { border: 0; padding: 9px 16px; border-radius: 999px; font: 600 14px/1 var(--hd); background: none; color: var(--tx-2); cursor: pointer; }
.em-calc__seg button[aria-checked=true] { background: var(--grad); color: #fff; }
.em-copy ul.em-calc__cards { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.em-calc__cards li { margin: 0; padding: 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.em-calc__cards li.is-low { box-shadow: 0 0 0 2px var(--au-d); background: var(--au-soft); }
.em-calc__cards li.is-off { opacity: .6; }
.em-calc .em-calc__name { grid-column: 1 / -1; margin: 0 0 4px; font: 700 14.5px/1.3 var(--hd); color: var(--tx); }
.em-calc__k { font-size: 13px; color: var(--tx-3); }
.em-calc__cards b { font: 700 16px/1.2 var(--hd); color: var(--cr-d); text-align: right; }
.em-calc__sum { width: 100%; border-collapse: collapse; margin-top: 4px; background: #fff; border-radius: 10px; overflow: hidden; font-size: 15.5px; }
.em-calc__sum th, .em-calc__sum td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; }
.em-calc__sum td { text-align: right; font: 700 16px/1.2 var(--hd); color: var(--cr-d); }
.em-calc__sum small { color: var(--tx-3); font-weight: 400; }
.em-calc__total th, .em-calc__total td { background: var(--cr-d); color: #fff; }
.em-calc .em-calc__big { margin: 4px 0 6px; font: 800 44px/1 var(--hd); color: var(--cr-d); }
.em-calc__big span { font-size: 18px; color: var(--tx-2); }
.em-calc .em-calc__how { margin: 0; font-size: 14.5px; color: var(--tx-2); min-height: 1.4em; }
.em-calc .em-calc__foot { margin: 14px 0 0; font-size: 13.5px; color: var(--tx-3); }

/* lens */
.em-lens { position: fixed; inset: 0; z-index: 100; background: rgba(40, 6, 14, .92); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.em-lens[hidden] { display: none; }
.em-lens img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 10px; }

@media (max-width: 1100px) {
  .em-rail__list a { padding: 9px 9px; font-size: 13.5px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: 64px; }
  .em-mast__in { gap: 12px; padding: 8px 14px; }
  .em-mast__logo img { height: 36px; }
  .em-mast__acts .em-key--gold { display: none; }
  .em-mast__acts .em-key { padding: 9px 14px; font-size: 14px; }
  .em-mast__acts { margin-left: auto; }
  .em-mast__menu { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .14); border: 0; cursor: pointer; }
  .em-mast__menu i, .em-mast__menu i::before, .em-mast__menu i::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; border-radius: 2px; }
  .em-mast__menu i::before { position: absolute; top: -6px; } .em-mast__menu i::after { position: absolute; top: 6px; }
  .em-rail { display: none; position: fixed; z-index: 60; top: 56px; left: 0; bottom: 0; width: min(300px, 84vw); background: var(--cr-dd); overflow-y: auto; box-shadow: 10px 0 30px rgba(0, 0, 0, .35); }
  .em-rail.is-open { display: block; }
  .em-rail__list { flex-direction: column; padding: 10px; }
  .em-rail__list a { padding: 14px 16px; border-radius: 10px; font-size: 15.5px; }
  .em-tiles ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .em-frame--index { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .em-index { position: static; max-height: none; }
  .em-aid { grid-template-columns: 1fr; }
  .em-base__in { grid-template-columns: 1fr 1fr; }
  .em-base__about { grid-column: 1 / -1; }
  .em-tab { display: none; }
  .em-joinbar { display: block; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 10px; padding: 15px; border-radius: 999px; text-align: center; background: linear-gradient(180deg, #ffd96b, var(--au-d)); color: var(--cr-dd); font: 800 16px/1 var(--hd); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .em-stage { padding: 0; margin-top: 0; }
  .em-stage__strip { border-radius: 0; }
  .em-stage img { aspect-ratio: 900 / 1000; }
  .em-stage__dots { right: 50%; transform: translateX(50%); }
  .em-tiles { padding: 0 12px; }
  .em-tiles ul { padding: 8px; gap: 2px; }
  .em-tiles img, .em-tiles i { width: 46px; height: 46px; }
  .em-cap__in { padding: 22px 16px 24px; }
  .em-frame { padding: 16px 12px 0; }
  .em-copy { padding: 22px 18px 14px; }
  .em-pair, .em-split, .em-split--flip { grid-template-columns: 1fr; }
  .em-split--flip .em-split__img { order: 0; }
  .em-aid { padding: 0 12px; }
  .em-calc { padding: 16px; }
  .em-calc__field input, .em-calc__field select { width: 100%; }
  .em-calc__field { display: grid; margin-right: 0; }
  .em-calc__set { display: block; }
  .em-grid--cards .em-grid__scroll { box-shadow: none; }
  .em-grid--cards thead { display: none; }
  .em-grid--cards table, .em-grid--cards tbody, .em-grid--cards tr, .em-grid--cards td { display: block; }
  .em-grid--cards tr { border-radius: 10px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
  .em-grid--cards td { display: grid; grid-template-columns: 42% 1fr; gap: 10px; background: #fff !important; }
  .em-grid--cards tbody tr td:first-child { border-top: 0; background: var(--cr-d) !important; color: #fff; font-weight: 700; }
  .em-grid--cards td::before { content: attr(data-col); font-size: 12.5px; color: var(--tx-3); }
  .em-grid--cards td:first-child::before { color: rgba(255, 255, 255, .7); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
